FHEM Forum

Verschiedenes => Bastelecke => ESP Familie => Thema gestartet von: satprofi am 01 Mai 2018, 10:55:00

Titel: Tasmota jetzt mit rules?
Beitrag von: satprofi am 01 Mai 2018, 10:55:00
Hallo.
Ab 5.12 sollen rules aktiv sein, wenn man dem (https://github.com/arendst/Sonoff-Tasmota/wiki/Rules) 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.
Titel: Antw:Tasmota jetzt mit rules?
Beitrag von: JoWiemann am 01 Mai 2018, 19:34:21
Zitat von: satprofi am 01 Mai 2018, 10:55:00
Hallo.
Ab 5.12 sollen rules aktiv sein, wenn man dem (https://github.com/arendst/Sonoff-Tasmota/wiki/Rules) 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
Titel: Antw:Tasmota jetzt mit rules?
Beitrag von: satprofi am 01 Mai 2018, 20:05:53
leider funktioniert das bei mir nicht, command:not found

Gesendet mit Tapatalk

Titel: Antw:Tasmota jetzt mit rules?
Beitrag von: JoWiemann am 01 Mai 2018, 20:14:36
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
Titel: Antw:Tasmota jetzt mit rules?
Beitrag von: satprofi am 01 Mai 2018, 21:44:09
nein. ich dachte rules 1 genügt. muss man neu compilieren?

Gesendet mit Tapatalk

Titel: Antw:Tasmota jetzt mit rules?
Beitrag von: JoWiemann am 01 Mai 2018, 22:10:40
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