NEWS
Stromzähler - keine Werte
-
Hallo Leute!
Ich habe einen IR-Lesekopf an meinem Stromzähler (2x) angeschloßen und kann die Werte auch auslesen. Werte werden mir unter Tasmota auch angezeigt:
Leider bekomme ich die Werte aber nicht in den ioBroker rein. Es werden nur die ID übertragen (die unteren 2 Werte). Das sind die Zählernummer, die aktuellen oberen Werte werden nicht übertragen.
Hätte jemand einen Tipp für mich was ich falsch mache bzw. übersehe?
Hier noch was "status" und "status0" ausgibt in der Concole:Status: 13:17:55.652 MQT: stat/sOnOff_4Ch_Stromzähler/STATUS = {"Status":{"Module":0,"DeviceName":"4Channel","FriendlyName":["Bachlauf","RollosRunter","RollosHoch","Sauna"],"Topic":"sOnOff_4Ch_Stromzähler","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}} Status0: 13:18:23.384 MQT: stat/sOnOff_4Ch_Stromzähler/STATUS0 = {"Status":{"Module":0,"DeviceName":"4Channel","FriendlyName":["Bachlauf","RollosRunter","RollosHoch","Sauna"],"Topic":"sOnOff_4Ch_Stromzähler","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0},"StatusPRM":{"Baudrate":9600,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:27:06","StartupUTC":"2023-09-11T11:51:17","Sleep":50,"CfgHolder":4617,"BootCount":60,"BCResetTime":"2021-04-12T18:54:00","SaveCount":489,"SaveAddress":"F8000"},"StatusFWR":{"Version":"12.5.0(tasmota)","BuildDateTime":"2023-05-25T07:54:54","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"405/699"},"StatusLOG":{"SerialLog":0,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Lounge",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A0A002800000000","00000080","00006000","00004000","00000000"]},"StatusMEM":{"ProgramSize":528,"Free":472,"Heap":16,"ProgramFlashSize":1024,"FlashSize":4096,"FlashChipId":"16405E","FlashFrequency":40,"FlashMode":"DOUT","Features":["00000809","00400582","04080001","00000003","00000000","00000008","00000000","00000000","04000000","00000000"],"Drivers":"1,2,4,10,12,62","Sensors":"1,2,53"},"StatusNET":{"Hostname":"sOnOff4Channel","IPAddress":"192.168.220.125","Gateway":"192.168.220.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.220.1","DNSServer2":"0.0.0.0","Mac":"E8:DB:84:AD:BF:7C","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0},"StatusMQT":{"MqttHost":"192.168.220.181","MqttPort":1883,"MqttClientMask":"sOnOff_4Ch_Strom","MqttClient":"sOnOff_4Ch_Strom","MqttUser":"mqtt","MqttCount":3,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4},"StatusTIM":{"UTC":"2023-09-11T12:18:23","Local":"2023-09-11T13:18:23","StartDST":"2023-03-26T02:00:00","EndDST":"2023-10-29T03:00:00","Timezone":"+01:00"},"StatusSNS":{"Time":"2023-09-11T13:18:23","MT175":{"E_in":9716.74,"E_out":21291.59,"Akt":-4355},"PV":{"Total_out":27212.77,"Ertrag":-4439},"MT175":{"ID":"090149534b00044ed864"},"PV":{"ID":"090149534b00044ed865"}},"StatusSTS":{"Time":"2023-09-11T13:18:23","Uptime":"0T00:27:06","UptimeSec":1626,"Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":20,"MqttCount":3,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"Lounge","BSSId":"3C:A6:2F:BC:2F:8F","Channel":11,"Mode":"11n","RSSI":80,"Signal":-60,"LinkCount":1,"Downtime":"0T00:00:03"}}}
MOD-EDIT: Code in code-tags gesetzt!
-
@loco dann liegt das wohl an deiner Programmierung von Tasmota
Die beiden Status enthalten nur
Ich schiebe das dann mal in offTopic
-
@homoran Verstehe ich nicht! Bin relativ neu mit Tasmota und ioBroker. Schreibst Du mir im Detail was da nicht stimmt?
-
@loco sagte in Stromzähler - keine Werte:
Schreibst Du mir im Detail was da nicht stimmt?
nein!
ich habe von Microcontrollerprogrammierung keinen blassen Schimmer.
Das ist, im Gegensatz zu ioBroker, was für Nerds. -
@homoran 'Okay, es geht jetzt. Habe einfach mal die ID-Werte der Zähler ausgeblendet. Jetzt werden die anderen Werte übertragen. Keine Ahnung wieso.
Kann also gelöscht werden....
-
@loco ,
bei mir werden die Objekte mit Tele-Nachrichten erzeugt, evtl. ist das bei dir das Problem.14:51:50.446 MQT: tele/Haus.Stromzähler/STATE = {"Time":"2023-09-11T14:51:50","Uptime":"0T21:35:15","UptimeSec":77715,"Heap":24,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"1GBit","BSSId":"2C:91:AB:BB:BB:BB","Channel":11,"Mode":"11n","RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:10"}} 14:51:50.455 MQT: tele/Haus.Stromzähler/SENSOR = {"Time":"2023-09-11T14:51:50","MT175":{"E_in":24384.8,"E_in_HT":11880.1,"E_in_NT":12504.7,"E_out":2.6,"P":-269.00,"Server_ID":"08154711"}} 14:51:51.781 MQT: tele/Haus.Stromzähler/SENSOR = {"Time":"2023-09-11T14:51:51","MT175":{"P":-267.00}} 14:51:53.070 MQT: tele/Haus.Stromzähler/SENSOR = {"Time":"2023-09-11T14:51:53","MT175":{"P":-269.00}} 14:51:54.482 MQT: tele/Haus.Stromzähler/SENSOR = {"Time":"2023-09-11T14:51:54","MT175":{"P":-269.00}} 14:51:55.751 MQT: tele/Haus.Stromzähler/SENSOR = {"Time":"2023-09-11T14:51:55","MT175":{"P":-269.00}}
-
@wal wie gesagt hab ich von Tasmota 0 Ahnung, sieht für mich aber aus, als ob da ein ungeeignetes Template verbogen worden sei.
-
@homoran ,
er hat anscheinend 2 Hichis an ein 4 Kanal Relays-Modul mit dazu angeschlossen, deshalb diese zusätzlichen Datenpunkte.
Aber er hat es ja gelöst, deshalb ....