Tasmota jetzt mit rules?

Begonnen von satprofi, 01 Mai 2018, 10:55:00

Vorheriges Thema - Nächstes Thema

satprofi

Hallo.
Ab 5.12 sollen rules aktiv sein, wenn man dem glauben kann.
Verstehe ich es richtig , wenn ein ereignis auf einem device kommt, ein anderes per mqtt gesteuert werden kann?

When a button is pressed the user has the possibility to send a MQTT message based on FullTopic and ButtonTopic. This MQTT message is going to be received by the MQTT Broker and if there is any other device(s) subscripted to that Topic, it will receive also that message. So this approach can be used for sending messages/commands to MQTT Broker to Home Automation System, and/or sending messages/commands to MQTT Broker to other device(s).

A problem with this solution is that on a Sonoff 4CH all four buttons will be sending the same MQTT topic using only a different Power index number like cmnd/buttontopic/power3 toggle.
gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

JoWiemann

Zitat von: satprofi am 01 Mai 2018, 10:55:00
Hallo.
Ab 5.12 sollen rules aktiv sein, wenn man dem glauben kann.

Hm, wieso glaubst Du Arendst nicht?

Zitat von: satprofi am 01 Mai 2018, 10:55:00Verstehe ich es richtig , wenn ein Ereignis auf einem device kommt, ein anderes per mqtt gesteuert werden kann?

Ja

Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

satprofi

leider funktioniert das bei mir nicht, command:not found

Gesendet mit Tapatalk

gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

JoWiemann

Zitat von: satprofi am 01 Mai 2018, 20:05:53
leider funktioniert das bei mir nicht, command:not found

Gesendet mit Tapatalk

Hast Du das berücksichtigt: To use rules the define USE_RULES has to be enabled in file user_config_override.h und dann den Sketch neu erstellt?

Grüße Jörg
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM

satprofi

nein. ich dachte rules 1 genügt. muss man neu compilieren?

Gesendet mit Tapatalk

gruss
-----------------------------------------------------------------------
beelink miniPC - Fhem 6.x CUL 868, FS20, NetIO230 CUL 433
HMLAN, HM-CC-RT-DN,Homematic Actoren,LD382A,Telegram

JoWiemann

Zitat von: satprofi am 01 Mai 2018, 21:44:09
nein. ich dachte rules 1 genügt. muss man neu compilieren?

Gesendet mit Tapatalk

Definitiv
Jörg Wiemann

Slave: RPi B+ mit 512 MB, COC (868 MHz), CUL V3 (433.92MHz SlowRF); FHEMduino, Aktuelles FHEM

Master: CubieTruck; Debian; Aktuelles FHEM