Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD_UT_ added new model for Tedsen | ID 94 for user #550

Merged
merged 7 commits into from
Mar 29, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions FHEM/14_SD_UT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ no warnings 'portable'; # Support for 64-bit ints required

#$| = 1; #Puffern abschalten, Hilfreich für PEARL WARNINGS Search

sub SD_UT_bin2tristate($);
sub SD_UT_tristate2bin($);

### HASH for all modul models ###
my %models = (
# keys(model) => values
Expand Down
4 changes: 2 additions & 2 deletions FHEM/lib/SD_ProtocolData.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1208,9 +1208,9 @@ package lib::SD_ProtocolData;
knownFreqs => '433.92',
one => [7,-1],
zero => [1,-7],
start => [1,-55],
start => [-55],
clockabs => 290,
# reconstructBit => '1', TODO: Festlegen ob reconstruct ben�tigt wird und wie mit den Startsequenzen zuk�nftig gearbeitet werden soll
reconstructBit => '1', # TODO: Festlegen ob reconstruct ben�tigt wird und wie mit den Startsequenzen zuk�nftig gearbeitet werden soll
format => 'tristate', # not used now
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wie kommt Ihr auf Format tristate?
one und zero sind nur zwei state.
one, zero und float wäre tristate

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um ein einheitliches Format zur Übergabe an das Modul beizubehalten, wird erst im Modul in Tristate umgewandelt. Definiert werden die Geräte dann z.B. so:
Tedsen_SKX6xx_1F10110

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tristate kann dann ja an dieser Stelle entfallen, wenn es im SIGNALduino Modul nicht umgewandelt wird, was meines Erachtens auch nicht zielführend wäre.

preamble => 'P46#',
clientmodule => 'SD_UT',
Expand Down
5 changes: 4 additions & 1 deletion SD_TOOL/SIGNALduino_TOOL_Dispatch_SD_UT.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,8 @@ RH787T,1_fan_minimum_speed,MU;P0=388;P1=-112;P2=267;P3=-378;P5=585;P6=-693;P7=-1
SA_434_1_mini,receive,MU;P0=-1756;P1=112;P2=-11752;P3=496;P4=-495;P5=998;P6=-988;P7=-17183;D=0123454545634545456345634563734545456345454563456345637345454563454545634563456373454545634545456345634563734545456345454563456345637345454563454545634563456373454545634545456345634563734545456345454563456345637345454563454545634563456373454545634545456;CP=3;R=0;
SF01_01319004,minus,MU;P0=-32001;P1=326;P2=-721;P3=-385;P4=656;P5=-15267;D=01213421343434342134213421343421342134512134213434343421342134213434213421345121342134343434213421342134342134213451213421343434342134213421343421342134512134213434343421342134213434213421345121342134343434213421342134342134213451213421343434342134213421;CP=1;R=10;O;
SF01_01319004_Typ2,plus,MU;P0=-15222;P1=379;P2=-329;P3=712;P6=-661;D=30123236123236161232323616161232361232301232361232361612323236161612323612323012323612323616123232361616123236123230123236123236161232323616161232361232301232361232361612323236161612323612323012323612323616123232361616123236123230123236123236161232323616;CP=1;O;
TEDSEN_SKX1MD,receive,MU;P0=-15829;P1=-3580;P2=1962;P3=-330;P4=245;P5=-2051;D=1234523232345234523232323234523234540023452323234523452323232323452323454023452323234523452323232323452323454023452323234523452323232323452323454023452323234523452323232323452323454023452323234523452323;CP=2;
P46_TEDSEN_SKX1xx,Button:1,MU;P0=-15829;P1=-3580;P2=1962;P3=-330;P4=245;P5=-2051;D=1234523232345234523232323234523234540023452323234523452323232323452323454023452323234523452323232323452323454023452323234523452323232323452323454023452323234523452323232323452323454023452323234523452323;CP=2;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wo habt Ihr diese fehlerhafte MU-Nachricht her?
Es sieht so aus als wäre sie von einer älteren fehlerhaften firmware.
D=1234523232345234523232323234523234540023452323
00 kann nicht sein

Copy link
Contributor

@elektron-bbs elektron-bbs Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sooo lange ist das noch nicht her mit diesem Fehler...
Die Nachrichten stammen alle aus dem Forum: https://forum.fhem.de/index.php/topic,39153.0.html und aus diesem Issue: #91

P46_TEDSEN_SKX2xx,Button:1,MU;P0=-15694;P1=2009;P2=-261;P3=324;P4=-2016;D=01212123412123434121212123434123434301212123412123434121212123434123434301212123412123434121212123434123434301212123412123434121212123434123434301212123412123434121212123434123434301;CP=3;R=30;
P46_TEDSEN_SKX2xx,Button:2,MU;P0=-32001;P1=2072;P2=-260;P3=326;P4=-2015;P5=-15769;D=01212123412123434121212123434123412351212123412123434121212123434123412351212123412123434121212123434123412351212123412123434121212123434123412351212123412123434121212123434123412351212123412123434121212123434123412351212123412123434121212123434123412351;CP=3;R=37;O;
P46_TEDSEN_SKX6xx,Button:6_self_build_last_Bit_1,MU;P0=-32001;P1=2072;P2=-260;P3=326;P4=-2015;P5=-15769;D=01212123412123434121212123434123412151212123412123434121212123434123412151212123412123434121212123434123412151212123412123434121212123434123412151212123412123434121212123434123412151212123412123434121212123434123412151212123412123434121212123434123412151;CP=3;R=37;O;
Unitec_47031,1,MU;P0=309;P1=636;P2=-690;P3=-363;P4=-10027;D=012031203120402031312031203120312031204020313120312031203120312040203131203120312031203120402031312031203120312031204020313120312031203120312040203131203120312031203120402031312031203120312031204020313120312031203120312040203131203120312030;CP=0;O;