You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add my battery to my OpenDTU instance. It's a Zendure SolarFlow which I redirect to a local MQTT server via DNS redirect. The battery sends its status via MQTT in a JSON format. This is what a message looks like:
I tried the Battery data from MQTT Broker setting, to no avail. I set this for SoC Value Topic: /73bkTV/censored/properties/report (this topic is correct) and tried those JSON Paths: electricLevel, properties.electricLevel and $.properties.electricLevel. All result in this error, every time a MQTT message is posted to the topic: [MqttBattery] Topic '/73bkTV/censored/properties/report': Unable to access JSON key 'properties.electricLevel' (JSON path 'properties.electricLevel', position 0).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to add my battery to my OpenDTU instance. It's a Zendure SolarFlow which I redirect to a local MQTT server via DNS redirect. The battery sends its status via MQTT in a JSON format. This is what a message looks like:
I tried the Battery data from MQTT Broker setting, to no avail. I set this for SoC Value Topic: /73bkTV/censored/properties/report (this topic is correct) and tried those JSON Paths: electricLevel, properties.electricLevel and $.properties.electricLevel. All result in this error, every time a MQTT message is posted to the topic: [MqttBattery] Topic '/73bkTV/censored/properties/report': Unable to access JSON key 'properties.electricLevel' (JSON path 'properties.electricLevel', position 0).
Oli
Beta Was this translation helpful? Give feedback.
All reactions