Comments (8)
Can we communicate in German?
from rffhem.
Ich habe mir das Modul jetzt nochmal angesehen. Die Umsetzung deines Wunsches ist kein Problem.
Allerdings verstehe ich den Sinn nicht ganz. Beim Senden aus FHEM wird ja trotzdem der Tastencode für all-on/off gesendet, so das alle Steckdosen darauf reagieren.
from rffhem.
Ich will nur die Fernbedienung nutzen und gar nicht die dazu gehörigen Steckdosen (sind teilweise eh schon defekt und nicht in Betrieb). Da das SD_GT Module die Tastendrücke der Fernbedinung erfasst und entsprechend Events auslöst, will ich diese Event nutzen um über ein notify Device andere FHEM Devices zu steuern (z.B. meine Shellies "defmod notify_SD_GT_D043C_D notify SD_GT_D043C_D set shelly_plug_s_b8640d $EVENT)".
Aber aktuell erzeugt der Empfang der 'all' Taste nicht nur einen State Change für das 'all' device aus sondern ändert auch den State der 4 anderen Devices [ABCD], welche wiederum dann die zugeordneten notify Devices triggert. Ich würde aber gern den 'all' Button als unabhängigen 5 Button verwenden.
Es geht um folgende Loop ab Zeile 367 von https://github.com/RFD-FHEM/RFFHEM/blob/master/FHEM/10_SD_GT.pm. Dort sollte per attr setting die loop deaktivierbar sein.
if (defined $level && $level eq 'all') { # received button all
foreach my $d (keys %defs) { # sucht angelegte SD_GT mit gleichem Sytemcode
if(defined($defs{$d}) && $defs{$d}{TYPE} eq 'SD_GT' && $defs{$d}{DEF} =~ /$systemCode/xms && $defs{$d}{DEF} =~ /[ABCD]$/xms && ReadingsVal($d, 'state', $EMPTY) ne $state) {
readingsSingleUpdate($defs{$d}, 'state' , $state , 1);
DoTrigger($d, undef, 0);
Log3 $name, 4, "$ioname: SD_GT_Parse received button $level, set $d $state";
}
}
}
from rffhem.
Ich habe mir schon so etwas in der Art gedacht.
Ich werde ein Attribut "disableSetAllFunction" einbauen, das sowohl beim set als auch beim Empfang wirksam ist.
from rffhem.
Danke
from rffhem.
Ich habe das Attribut jetzt vorerst in einem neuen Branch eingebaut. Installieren kannst du das Update mit folgendem Befehl:
update all https://raw.githubusercontent.com/RFD-FHEM/RFFHEM/master_SD_GT_feature/controls_signalduino.txt
Bitte mal testen und berichten.
from rffhem.
Danke, hab es gerade ausprobiert. Funktioniert wie gewünscht.
from rffhem.
Die Änderung ist jetzt im Master-Branch. Ich schließe dieses Issue.
from rffhem.
Related Issues (20)
- ADE WS1907 is not recognized even though messages were received HOT 43
- RCswitch Protocol 1 - door/window sensor HOT 45
- Wh40 - rain drop sensor HOT 11
- ecowitt WH51 Auswertung mehrerer Bodenfeuchtesensoren HOT 9
- Pavilion's LED with Dooya's controll does not work HOT 13
- The `set-output` command is deprecated and will be disabled soon.
- Attribut Hardware promini HOT 1
- Sendmsg causes stacktrace for LED_XM21_0 HOT 11
- ecowitt WS68 Anemometer HOT 3
- Hideki module - carp error
- Hamulight / Cree - LEDs schalten / dimmen 433MHz HOT 63
- Halemeier HA-HX2 (new definition)
- 00_SIGNALduino.pm - sporadic warning in logfile HOT 2
- 10_SD_GT.pm - sporadic warning in logfile HOT 2
- UNITEC radio-controlled mini sockets
- Rotating codes not stored in backup HOT 4
- TFA Windmesser 30.3168 HOT 1
- noMsgVerbose Commander
- Support for Novy 80049 remote to control Novy Cloud 230 HOT 5
- no DISPATCH from WMBUS Msg´s - Software extension for WMBUS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rffhem.