NEWS
MagicHome mit Tasmota nicht steuerbar
-
Hallo,
ich habe meinen Magic Home RGB LED Controller mit Tasmota geflashed und mit dem Sonoff Adapter im iobroker eingebunden. Wenn ich den Controller über die Tasmota Weboberfläche steuere funktioniert alles prima aber wenn ich im iobroker versuche die Werte zu verändern passiert nichts. Wenn ich über die Weboberfläche den Controller steuere aktualisieren sich die meisten relevanten Werte zwar aber nicht alle.
Mein iobroker läuft übrigens auf einem alten Laptop mit Ubuntu falls das wichtig ist?!
-
@Oli19
Hast die GPIO wie im WiKi beschrieben zugewiesen? -
ja, ich kann über die weboberfläche den Controler steuern aber über den iobroker eben nicht
-
@Oli19
Zeig mal Deine Zuordnung -
-
@Oli19
Die stimmt nicht, nimm das Template wenn es ein reiner RGB und kein RGBW ist:{"NAME":"MH-RGB","GPIO":[255,255,255,255,255,37,255,255,38,39,255,255,255],"FLAG":15,"BASE":18}
-
Ist der mit IR?
-
ja der hat einen IR aber der funktioniert damit nicht mehr
-
@Oli19
Doch der sollte auch funktionieren. Im WiKi ist nicht alles richtig und Deine Zuweisung sieht irgendwie anderes aus als meine, abgesehen vom IR.
Laut WiKi ist bei Dir das richtig, hatte bei mir aber auch erst mal basteln müssen, weil beim RGB die PWM vertauscht sind.
-
das mit dem IR ist mir sowieso egal aber mit deinem Template zeigt er mir im iobroker jetzt wenigstens die richtigen Werte für alles an und aktualisiert diese auch immer wenn ich in der Weboberfläche etwas ändere. Im iobroker die Werte ändern bringt leider immer noch nichts
-
-
rules habe ich eingegeben aber beim drücken der Fernbedienung passiert nichts (ist mir nicht so wichtig)
ich konnte allerdings kurzzeitig die Datenpunkte (Channel1..2...3 und Power) bearbeiten jetzt geht es wieder nicht.
Verstehe ich nicht???Wie kann ich den die Zuweisung ändern ohne die Einstellungen aus deinem Template zu ändern ?
-
wenn ich den Controller restarte kann ich im iobroker wieder alle werte bearbeiten aber nach einer gewissen Zeit nimmt er keine Änderung der Datenpunkte an
-
@Oli19
Da stimmt wohl bei der MQTT Verbindung was nicht.
Was zeigt denn die Konsole an?Mit welchem Adapter hast das denn überhaupt laufen?
-
also der iobroker log sagt:
sonoff.0 2019-12-22 17:41:52.948 warn Client "Test" not connectedoder was meinst du mit Konsole?
-
@Oli19
Also das Log bestätigt schon mal das Problem. Wenn nicht verbunden, auch keine Steuerung.
Die Konsole von Tasmota und welcher Adapter läuft da bei DIr? -
ich sehe gerade das der Sonoff Adapter einfach Gelb wird.
im iobroker werden die Datenpunkte aktualisiert aber ich kann die DP nicht mehr ändern -
@Oli19
Das ist das Problem, da kackt die MQTT Verbindung ab. -
die Tasmota Konsole sagt:
17:46:29 MQT: Connected
17:46:29 MQT: tele/tasmota/LWT = Online (retained)
17:46:29 MQT: cmnd/tasmota/POWER =
17:46:29 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:46:29","Uptime":"0T00:09:45","UptimeSec":585,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"04FF00","HSBColor":"119,100,100","Channel":[2,100,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":48,"Signal":-76,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:46:39 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:46:39","Uptime":"0T00:09:55","UptimeSec":595,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"04FF00","HSBColor":"119,100,100","Channel":[2,100,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":48,"Signal":-76,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:46:40 MQT: stat/tasmota/RESULT = {"POWER":"ON","Dimmer":100,"Color":"FFFF00","HSBColor":"60,100,100","Channel":[100,100,0]}
17:46:44 APP: Serial logging disabled
17:46:44 MQT: stat/tasmota/RESULT = {"POWER":"ON","Dimmer":100,"Color":"FF1A00","HSBColor":"6,100,100","Channel":[100,10,0]}
17:46:49 MQT: stat/tasmota/RESULT = {"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0]}
17:46:49 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:46:49","Uptime":"0T00:10:05","UptimeSec":605,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":50,"Signal":-75,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:46:59 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:46:59","Uptime":"0T00:10:15","UptimeSec":615,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":52,"Signal":-74,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:47:09 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:47:09","Uptime":"0T00:10:25","UptimeSec":625,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":56,"Signal":-72,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:47:19 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:47:19","Uptime":"0T00:10:35","UptimeSec":635,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":50,"Signal":-75,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:47:29 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:47:29","Uptime":"0T00:10:45","UptimeSec":645,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":48,"Signal":-76,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:47:39 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:47:39","Uptime":"0T00:10:55","UptimeSec":655,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":54,"Signal":-73,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:47:49 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:47:49","Uptime":"0T00:11:05","UptimeSec":665,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":56,"Signal":-72,"LinkCount":1,"Downtime":"0T00:00:09"}}
17:47:59 MQT: tele/tasmota/STATE = {"Time":"2019-12-22T17:47:59","Uptime":"0T00:11:15","UptimeSec":675,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":4,"POWER":"ON","Dimmer":100,"Color":"FF0000","HSBColor":"0,100,100","Channel":[100,0,0],"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"Thom_D0042615","BSSId":"28:BE:9B:D1:D6:4E","Channel":1,"RSSI":52,"Signal":-74,"LinkCount":1,"Downtime":"0T00:00:09"}} -
@Oli19
pack das bitte mal in "Code Tack", liest sich einfacher.