Bekomme uni-meter unter HA nicht zum laufen
Hallo,
versuche gerade uni-meter in HA zum Laufen zu bekommen. Da ich schon mit mehreren Versuchen gescheitert bin, hab ich jetzt zunächst die simpelste Version gewählt: `uni-meter { output = "uni-meter.output-devices.shelly-pro3em"
input = "uni-meter.input-devices.home-assistant"
input-devices { home-assistant { url = "http://192.168.178.111:8123" access-token = "xxxx"
power-phase-mode = "mono-phase"
energy-phase-mode = "mono-phase"
power-sensor = "sensor.evcc_pv_power_1"
energy-consumption-sensor = "sensor.evcc_netzbezug"
energy-production-sensor = "sensor.evcc_netzeinspeisung"
}
} }`
Ich kann trotzdem über http://192.168.178.111:80 kann ich aber nicht drauf zugreifen. Habe ich hier was vergessen oder wo liegt mein Fehler?
`Add-on: uni-meter A universal electrical meter converter
Add-on version: 1.1.20 You are running the latest version of this add-on. System: Home Assistant OS 16.3 (aarch64 / raspberrypi3-64) Home Assistant Core: 2025.11.0 Home Assistant Supervisor: 2025.11.1
Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started [14:13:15] INFO: using custom configuration file: uni-meter.conf 25-11-07 14:13:25.044 INFO uni-meter - ################################################################### 25-11-07 14:13:25.086 INFO uni-meter - # Universal electric meter converter 1.1.20 (2025-10-31 01:00:03) # 25-11-07 14:13:25.088 INFO uni-meter - ################################################################### 25-11-07 14:13:25.090 INFO uni-meter - initializing actor system 25-11-07 14:13:30.004 INFO org.apache.pekko.event.slf4j.Slf4jLogger - Slf4jLogger started 25-11-07 14:13:32.371 INFO uni-meter.controller - creating ShellyPro3EM output device 25-11-07 14:13:32.519 INFO uni-meter.controller - creating HomeAssistant input device 25-11-07 14:13:40.191 INFO uni-meter.http.port-80 - HTTP server is listening on /[0:0:0:0:0:0:0:0]:80`
Hallo, das sieht alles gut aus, das uni-meter läuft und lauscht auf Port 80. Von der uni-meter Seite aus kann man da nichts mehr machen.
Das kann entweder ein Firewall-Problem sein, auf dem HA Rechner ist Port 80 gesperrt. Wahrscheinlicher ist aber denke ich, dass du HA in einem Container laufen lässt? Wenn das der Fall ist, musst du auch den Port 80 des HA Containers "exposen". Du kannst ja mal sagen wie genau HA bei dir läuft.
Hey, bin leider nicht wirklich der Experte hierbei. Was bedeutet Container? Ich habe HA auf einem raspberrypi laufen.
Hello,
it seems that I can now access the page.
Unfortunately, no values are being displayed. Here is the current configuration again:
`uni-meter { output = "uni-meter.output-devices.shelly-pro3em"
input = "uni-meter.input-devices.home-assistant"
input-devices { home-assistant { url = " http://192.168.178.111:8123 " access-token = "eeeeee" power-phase-mode = "tri-phase" energy-phase-mode = "mono-phase"
power-l1-sensor = "sensor.power_l1_sensor" power-l2-sensor = "sensor.power_l2_sensor" power-l3-sensor = "sensor.power_l3_sensor" energy-consumption-sensor = "sensor.grid_consumption" energy-production-sensor = "sensor.feed_in" } } }`
Does anyone have an idea where the error might be
Hallo,
hast du es mittlerweile zum laufen bekommen? Ich bin am gleichen Punkt, habe zugriff über den Port homeassistanIP:80, bekomme aber auch keine Werte angezeigt.
{"energyPhase0":{"totalConsumption":0.0,"totalProduction":0.0},"energyPhase1":{"totalConsumption":0.0,"totalProduction":0.0},"energyPhase2":{"totalConsumption":0.0,"totalProduction":0.0},"powerPhase0":{"apparentPower":0.0,"current":0.0,"frequency":50.0,"power":0.0,"powerFactor":0.0,"voltage":230.0},"powerPhase1":{"apparentPower":0.0,"current":0.0,"frequency":50.0,"power":0.0,"powerFactor":0.0,"voltage":230.0},"powerPhase2":{"apparentPower":0.0,"current":0.0,"frequency":50.0,"power":0.0,"powerFactor":0.0,"voltage":230.0},"usageConstraint":"NONE"}
Hello, it seems that I can now access the page.
Unfortunately, no values are being displayed. Here is the current configuration again:
`uni-meter { output = "uni-meter.output-devices.shelly-pro3em"
input = "uni-meter.input-devices.home-assistant"
input-devices { home-assistant { url = " http://192.168.178.111:8123 " access-token = "eeeeee" power-phase-mode = "tri-phase" energy-phase-mode = "mono-phase"
power-l1-sensor = "sensor.power_l1_sensor" power-l2-sensor = "sensor.power_l2_sensor" power-l3-sensor = "sensor.power_l3_sensor" energy-consumption-sensor = "sensor.grid_consumption" energy-production-sensor = "sensor.feed_in" } } }`
Does anyone have an idea where the error might be
Moin, könnt ihr beide bitte einmal die folgende logback.xml Datei in euer Konfigurationsverzeichnis legen, wo auch die uni-meter.conf Datei liegt:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yy-MM-dd HH:mm:ss.SSS} %-5level %-24logger - %msg%n</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
<logger name="uni-meter.output" level="ERROR" additivity="false">
<appender-ref ref="STDOUT" />
</logger>
<logger name="uni-meter.input" level="TRACE" additivity="false">
<appender-ref ref="STDOUT" />
</logger>
</Configuration>
Anhand der Logausgabe sollte man erkennen können was falsch läuft. Ansonsten am Besten einmal die komplette Logausgabe hier posten.
Hallo,
das ist die auf 100 Zeilen gekürzte Lagausgabe. Danke für dein Feedback.
25-11-23 15:56:05.702 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:05.705 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:05","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.4,"Voltage_L2":238.5,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":274.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:05.707 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:05.708 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:06.723 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:06.724 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:06.806 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:06.806 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:06","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.4,"Voltage_L2":238.5,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":274.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:06.807 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:06.808 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:07.824 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:07.824 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:07.929 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:07.930 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:07","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.4,"Voltage_L2":238.4,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":274.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:07.940 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:07.943 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:08.963 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:08.964 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:09.027 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:09.028 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:08","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.4,"Voltage_L2":238.4,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":308.0,"phase_angle_L2":274.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:09.031 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:09.032 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:10.044 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:10.044 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:10.105 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:10.106 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:09","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":6,"Power_L3":0,"Voltage":236.4,"Voltage_L2":238.4,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":308.0,"phase_angle_L2":274.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:10.106 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:10.107 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:11.123 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:11.124 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:11.190 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:11.190 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:10","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":6,"Power_L3":0,"Voltage":236.3,"Voltage_L2":238.4,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:11.191 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:11.192 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:12.203 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:12.203 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:12.257 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:12.257 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:11","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.3,"Voltage_L2":238.4,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":243,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:12.258 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:12.259 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:13.273 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:13.273 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:13.335 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:13.336 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:12","ENERGY":{"Power":54,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":6,"Power_L3":-2,"Voltage":236.3,"Voltage_L2":238.4,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":243,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:13.337 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:13.341 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:14.354 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:14.354 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:14.406 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:14.406 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:13","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":-2,"Voltage":236.5,"Voltage_L2":238.5,"Voltage_L3":237.6,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":243,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:14.407 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:14.408 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:15.425 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:15.425 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:15.496 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:15.501 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:14","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":-2,"Voltage":236.5,"Voltage_L2":238.5,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":241,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:15.502 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:15.503 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:16.514 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:16.514 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:16.565 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:16.565 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:16","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":-2,"Voltage":236.6,"Voltage_L2":238.5,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.34,"phase_angle_L2_L1":241,"phase_angle_L3_L1":121,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:16.566 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:16.569 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:17.583 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:17.583 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:17.725 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:17.725 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:17","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":51,"Power_L2":5,"Power_L3":-2,"Voltage":236.6,"Voltage_L2":238.6,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.35,"phase_angle_L2_L1":243,"phase_angle_L3_L1":122,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:17.728 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:17.732 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:18.743 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:18.744 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:18.806 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:18.807 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:18","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.6,"Voltage_L2":238.6,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.34,"phase_angle_L2_L1":243,"phase_angle_L3_L1":122,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:18.808 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:18.809 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:19.823 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:19.823 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:19.964 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:19.964 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:19","ENERGY":{"Power":55,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":5,"Power_L3":0,"Voltage":236.6,"Voltage_L2":238.6,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.34,"phase_angle_L2_L1":243,"phase_angle_L3_L1":122,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:19.964 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:19.966 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:20.983 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:20.983 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:21.027 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:21.027 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:20","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":51,"Power_L2":6,"Power_L3":-2,"Voltage":236.6,"Voltage_L2":238.6,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.34,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:21.028 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:21.031 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:22.044 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:22.044 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:22.086 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:22.087 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:21","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":51,"Power_L2":6,"Power_L3":-2,"Voltage":236.6,"Voltage_L2":238.6,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.34,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 15:56:22.090 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:22.091 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 15:56:23.104 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 15:56:23.104 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 15:56:23.142 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 15:56:23.143 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T15:56:22","ENERGY":{"Power":56,"Total":460.56,"Supply":114.03,"Power_L1":50,"Power_L2":6,"Power_L3":0,"Voltage":236.6,"Voltage_L2":238.6,"Voltage_L3":237.7,"Current":0.41,"Current_L2":0.33,"Current_L3":0.34,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":308.0,"phase_angle_L2":275.0,"phase_angle_L3":268.0,"Freq":49.9}}} 25-11-23 15:56:23.144 DEBUG uni-meter.input - no power data available: $.StatusSNS.tasmota_ernergy_power 25-11-23 15:56:23.148 TRACE uni-meter.input - Tasmota.startNextPollingTimer()
Ok, dein Problem hat aber nichts mit dem Problem des Original-Posters zu tun. Der Original-Poster verwendet ja HomeAssistant als Input-Device. Du scheinst ja das Tasmota Input-Device zu verwenden. Bei dir ist nur der JSON-Path falsch konfiguriert. Versuch bitte einmal die folgende Konfiguration inerhalb deiner Tasmota Section, damit sollte es eigentlich klappen (Supply und Total könnten auch genau vertauscht sein, ich weiß nicht wie herum die bei dir definiert sind, also was ist Einspeisung und was Verbrauch):
uni-meter {
# ...
input-devices {
tasmota {
# ...
url = "http://<tasmota-ir-read-head-ip>"
power-json-path = "$.StatusSNS.ENERGY.Power"
energy-consumption-json-path = "$.StatusSNS.ENERGY.Supply"
energy-production-json-path = "$.StatusSNS.ENERGY.Total"
# Das brauchst du nur für einen Marstek Storage
power-phase-mode = "mono-phase"
power-phase = "l1"
}
}
}
Wow. Vielen Dank. Jetzt sollte alles funktionieren. Eine letzte Frage habe ich noch. Falls ich den uni-meter als Ecotracker ausgeben möchte. Muss ich dann nur anstatt Shelly - Ecotracker eintragen? Und ein dickes Dankeschön für das add-on uni-meter.
25-11-23 17:19:51.922 TRACE uni-meter.input - Pulse.notifyPowerData() 25-11-23 17:19:51.922 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 17:19:51.922 TRACE uni-meter.input - InputDevice.onWrappedOutputDeviceAck() 25-11-23 17:19:52.934 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 17:19:52.934 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 17:19:52.969 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 17:19:52.969 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T17:19:52","ENERGY":{"Power":110,"Total":460.67,"Supply":114.03,"Power_L1":99,"Power_L2":11,"Power_L3":0,"Voltage":234.8,"Voltage_L2":236.1,"Voltage_L3":236.5,"Current":0.49,"Current_L2":0.28,"Current_L3":0.23,"phase_angle_L2_L1":241,"phase_angle_L3_L1":120,"phase_angle_L1":17.0,"phase_angle_L2":279.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 17:19:52.969 TRACE uni-meter.input - Pulse.notifyPowerData() 25-11-23 17:19:52.970 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 17:19:52.971 TRACE uni-meter.input - InputDevice.onWrappedOutputDeviceAck() 25-11-23 17:19:53.984 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 17:19:53.985 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 17:19:54.018 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 17:19:54.019 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T17:19:53","ENERGY":{"Power":110,"Total":460.67,"Supply":114.03,"Power_L1":99,"Power_L2":11,"Power_L3":0,"Voltage":234.8,"Voltage_L2":236.1,"Voltage_L3":236.5,"Current":0.49,"Current_L2":0.28,"Current_L3":0.23,"phase_angle_L2_L1":241,"phase_angle_L3_L1":119,"phase_angle_L1":17.0,"phase_angle_L2":279.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 17:19:54.020 TRACE uni-meter.input - Pulse.notifyPowerData() 25-11-23 17:19:54.020 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 17:19:54.020 TRACE uni-meter.input - InputDevice.onWrappedOutputDeviceAck() 25-11-23 17:19:55.034 TRACE uni-meter.input - Tasmota.onExecuteNextStatusPolling() 25-11-23 17:19:55.034 TRACE uni-meter.input - Tasmota.executeStatusPolling() 25-11-23 17:19:55.074 TRACE uni-meter.input - Tasmota.onStatusRequestSuccess() 25-11-23 17:19:55.074 DEBUG uni-meter.input - status response: {"StatusSNS":{"Time":"2025-11-23T17:19:54","ENERGY":{"Power":110,"Total":460.67,"Supply":114.03,"Power_L1":99,"Power_L2":11,"Power_L3":0,"Voltage":234.8,"Voltage_L2":236.1,"Voltage_L3":236.5,"Current":0.49,"Current_L2":0.28,"Current_L3":0.23,"phase_angle_L2_L1":241,"phase_angle_L3_L1":119,"phase_angle_L1":17.0,"phase_angle_L2":279.0,"phase_angle_L3":270.0,"Freq":49.9}}} 25-11-23 17:19:55.075 TRACE uni-meter.input - Pulse.notifyPowerData() 25-11-23 17:19:55.075 TRACE uni-meter.input - Tasmota.startNextPollingTimer() 25-11-23 17:19:55.075 TRACE uni-meter.input - InputDevice.onWrappedOutputDeviceAck()
Ja, um auf Eco-Tracker umzustellen musst du nur die folgende Zeile ändern:
uni-meter {
# ...
output = "uni-meter.output-devices.eco-tracker"
# ...
}
