MQTT und Sonoff mit Pulsetime
Verfasst: 20. Dez 2022 10:39
Hallo zusammen,
ich bin gerade dabei meine OpenHab2 Instanz nach OH3 zu migrieren.
BTW: In der OH2 Instanz hatte ich noch MQTT1 am Laufen.
Ich nutze Sonoff SV in der Garage um als Taster für die Tore zu agieren.
Diese Sonoffs (Tasmota) sind auf Pulsetime mit 0,5 sec eingestellt.
In OH3 stelle ich fest, dass wenn ich den Schalter triggere, er auf ON springt aber nicht mehr automatisch auf OFF (nach der Pulsetime).
Somit ist der Status falsch.
Das war in meiner bisherigen Konfigration anders.
Kann mir jemand auf die Sprünge helfen was nicht passt?
Things Definition (auszug)
Thing topic sonoff6 "Test Öffner" {
Channels:
Type switch : schalter [ stateTopic="stat/sonoff6/POWER", commandTopic="cmnd/sonoff6/POWER", on="ON", off="OFF" ]
Type switch : kontakt1 [ stateTopic="stat/sonoff6/POWER2", on="AUF", off="ZU" ]
Type switch : kontakt2 [ stateTopic="stat/sonoff6/POWER3", on="ZU", off="AUF" ]
}
Switch Sonoff_6 "Garagenöffner Test" { channel="mqtt:topic:mosquitto:sonoff6:schalter" }
Switch Sonoff_6_Kontakt1 "Garagetor Test offen" { channel="mqtt:topic:mosquitto:sonoff6:kontakt1" }
Switch Sonoff_6_Kontakt2 " Garagentor Test zu" { channel="mqtt:topic:mosquitto:sonoff6:kontakt2" }
Danke & viele Grüße
Tobi
ich bin gerade dabei meine OpenHab2 Instanz nach OH3 zu migrieren.
BTW: In der OH2 Instanz hatte ich noch MQTT1 am Laufen.
Ich nutze Sonoff SV in der Garage um als Taster für die Tore zu agieren.
Diese Sonoffs (Tasmota) sind auf Pulsetime mit 0,5 sec eingestellt.
In OH3 stelle ich fest, dass wenn ich den Schalter triggere, er auf ON springt aber nicht mehr automatisch auf OFF (nach der Pulsetime).
Somit ist der Status falsch.
Das war in meiner bisherigen Konfigration anders.
Kann mir jemand auf die Sprünge helfen was nicht passt?
Things Definition (auszug)
Thing topic sonoff6 "Test Öffner" {
Channels:
Type switch : schalter [ stateTopic="stat/sonoff6/POWER", commandTopic="cmnd/sonoff6/POWER", on="ON", off="OFF" ]
Type switch : kontakt1 [ stateTopic="stat/sonoff6/POWER2", on="AUF", off="ZU" ]
Type switch : kontakt2 [ stateTopic="stat/sonoff6/POWER3", on="ZU", off="AUF" ]
}
Switch Sonoff_6 "Garagenöffner Test" { channel="mqtt:topic:mosquitto:sonoff6:schalter" }
Switch Sonoff_6_Kontakt1 "Garagetor Test offen" { channel="mqtt:topic:mosquitto:sonoff6:kontakt1" }
Switch Sonoff_6_Kontakt2 " Garagentor Test zu" { channel="mqtt:topic:mosquitto:sonoff6:kontakt2" }
Danke & viele Grüße
Tobi