NEWS
OpenDTU-onBattery
-
@ralla66
Sory!
15:13:24.556 RSL: STATE = {"Time":"2023-12-13T15:13:24","Uptime":"0T22:20:09","UptimeSec":80409,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-35,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:13:24.562 RSL: SENSOR = {"Time":"2023-12-13T15:13:24","":{"power":294,"counter_pos":800.90,"counter_neg":94.14}}
15:18:24.560 RSL: STATE = {"Time":"2023-12-13T15:18:24","Uptime":"0T22:25:09","UptimeSec":80709,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-35,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:18:24.565 RSL: SENSOR = {"Time":"2023-12-13T15:18:24","":{"power":2325,"counter_pos":801.02,"counter_neg":94.14}}
15:23:24.582 RSL: STATE = {"Time":"2023-12-13T15:23:24","Uptime":"0T22:30:09","UptimeSec":81009,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-34,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:23:24.588 RSL: SENSOR = {"Time":"2023-12-13T15:23:24","":{"power":2268,"counter_pos":801.21,"counter_neg":94.14}}
15:28:24.591 RSL: STATE = {"Time":"2023-12-13T15:28:24","Uptime":"0T22:35:09","UptimeSec":81309,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-35,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:28:24.597 RSL: SENSOR = {"Time":"2023-12-13T15:28:24","":{"power":2056,"counter_pos":801.39,"counter_neg":94.14}}
15:33:24.580 RSL: STATE = {"Time":"2023-12-13T15:33:24","Uptime":"0T22:40:09","UptimeSec":81609,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-36,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:33:24.585 RSL: SENSOR = {"Time":"2023-12-13T15:33:24","":{"power":2049,"counter_pos":801.57,"counter_neg":94.14}}
15:38:24.581 RSL: STATE = {"Time":"2023-12-13T15:38:24","Uptime":"0T22:45:09","UptimeSec":81909,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-36,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:38:24.586 RSL: SENSOR = {"Time":"2023-12-13T15:38:24","":{"power":2076,"counter_pos":801.75,"counter_neg":94.14}}
15:43:24.961 RSL: STATE = {"Time":"2023-12-13T15:43:24","Uptime":"0T22:50:09","UptimeSec":82209,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-36,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:43:24.967 RSL: SENSOR = {"Time":"2023-12-13T15:43:24","":{"power":2303,"counter_pos":801.93,"counter_neg":94.14}}
15:48:24.583 RSL: STATE = {"Time":"2023-12-13T15:48:24","Uptime":"0T22:55:09","UptimeSec":82509,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-34,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:48:24.588 RSL: SENSOR = {"Time":"2023-12-13T15:48:24","":{"power":339,"counter_pos":801.98,"counter_neg":94.14}}
15:53:24.577 RSL: STATE = {"Time":"2023-12-13T15:53:24","Uptime":"0T23:00:09","UptimeSec":82809,"Heap":18,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"FritzVM","BSSId":"98:9B:CB:A1:8A:DD","Channel":1,"Mode":"11n","RSSI":100,"Signal":-36,"LinkCount":2,"Downtime":"0T00:00:05"}}
15:53:24.583 RSL: SENSOR = {"Time":"2023-12-13T15:53:24","":{"power":243,"counter_pos":802.01,"counter_neg":94.14}} -
Telemetrieperiode in Tasmota steht auf 10 ?
Mqtt hast du eingerichtet in Tasmota ? -
@ralla66
Nein, habe sonst nichts eingerichtet.
Außer Script. -
teste mal im Browser :
http:// deine Tasmota IP /cm?cmnd=Status%2010
dann sollte sowas erscheinen -> -
@ralla66
Muss warscheinlich mttq einrichten. Bei der Eingabe http://192.168.178.62 /cm?cmnd=Status%2010 kommt nichts raus.
Telemetrieperiode hab ich geändert von 300 auf 10 -
ok richte mal Mqtt und Sonoff Adapter ein.
Bei -> http:// deine Tasmota IP /cm?cmnd=Status%2010 achte auf http://
moderne Browser machen da gerne automatisch https raus -
so als Tipp, Port 1886 oder 1887 nehmen da der Mqtt Adapter default 1883 hat
3 Haken setzen
zum testen nimm einfache Paßworte, 1234 oder so, keine Sonderzeichen.
rebooten Adapter und Esp nach den Eingaben -
@ralla66
Das mit https hattest du recht.
Jetzt kommt sowas: {"StatusSNS":{"Time":"2023-12-13T17:33:53","":{"power":1127,"counter_pos":804.78,"counter_neg":94.14}}}Leider kann ich mit sonoff überhaupt nichts anfangen. Ich dachte es wird außer Tasmota Ir und OpenDTU on Battery keine weitere Hardware benötigt. Ist sonoff Software? Werde mich später noch "schlau" googeln.
-
@pv-bastler sagte in OpenDTU-onBattery:
{"StatusSNS":{"Time":"2023-12-13T17:33:53","":{"power":1127,"counter_pos":804.78,"counter_neg":94.14}}}
schwierig da bei dir nur "," steht ,sonst wäre das etwa so
JSON bei dir:
StatusSNS/ ??? /powerbild war falsch
-
mein script
>D >B =>sensor53 r >M 1 +1,3,s,0,9600,MT175 1,77070100000000ff@#
schreibe mal in deinem script hinter 9600, Test hin. ( ist bei mir MT175 )
Also +1,3,s,0,9600,Test
dann teste noch einmal im Browser, dann sollte statt "," dort Test stehen
Dann wäre dein JSON
StatusSNS/Test/powerDann sollte das kommen:
{"StatusSNS":{"Time":"2023-12-13T17:33:53"Test"":{"power":1127,"counter_pos":804.78,"counter_neg":94.14}}}
-
@ralla66
Du bist der Beste. Genau so gemacht und jetzt funktioniert es! -
für die Nachwelt noch ein Bild des Json in OpenDtu on Battery damit es andere leichter haben.
Danke
-
Bei mir bleibt die Http Anfrage wird gesendet unverändert.
Leistung/Netz ändert sich nur bei Aktualisierung der Seite, ist das so normal?
-
schau mal oben im Beitrag am 4 Nov 12:47
hatte http und JSON unter Phase 1 eingetragen -
@pv-bastler said in OpenDTU-onBattery:
Bei mir bleibt die Http Anfrage wird gesendet unverändert.
Leistung/Netz ändert sich nur bei Aktualisierung der Seite, ist das so normal?
Alles läuft wie geschmiert. War mein Fehler.
Danke nochmal! -
Prima, Top
-
Kann ich irgendwie den Wert von meinem Discovergy Zähler in die openDTU onbattery schicken?
Sollte doch auch gehen oder? Habe den wert ja in den Objekten stehen. -
Hab die Lösung gefunden.
evtl. hilft es jemanden.
Hab jetzt das nächste Problem das mir wenn ich "Dynamic Power limiter" aktiviere mir dann von OpenDTU der Wechselrichter ausgestellt wird.
-
@ralla66
Habe alles nach Deiner Anleitung gemacht. Leider noch nicht geklappt, kannst Du mir evtl. weiterhelfen?
Hier meine Tasmota Daten:
{"StatusSNS":{"Time":"2024-01-30T22:57:20","EFR":{"Power":207,"Total":19053.3992,"Voltage":234.8,"Current":0.38,"Supply":0.0000}}}
Habe ganz anständig dieses ins OpenDTU onBattery eingetragen:
StatusSNS/EFR/Power
Vielen Dank
-
dein URL get ist falsch dort fehlt das %20