Thank you very much FlyingDomotic!! I had to fiddle a little to make it work but everything works perfect now. Many thanks.
For those who might need the correct syntax with these growatt inverters here an example how to implement the new options.
@FlyingDomotic . Everything is working fine but I see some strange behaviour when adding/updating mqttmapper plugin in domoticz. Before your last update I could not use the UPDATE button because the fields were empty. So I deleted the entry and added it again. Now I can use the UPDATE button but the fields show twice. Is that something from Domoticz or the MqttMapper plugin ?
Normal behavior is as follow:
- install plug-in with git clone in domoticz/plugins/
- update it when needed by git pull
With more details, update is :
- git pull within plug-in folder
- either restart Domoticz *OR* goto hardware tab, select plug-in, don't change anything and click on "Update"
What you've got is strange (understand a bug, in Domoticz itself as it display plug-in data header twice, while there's only one copy in plug-in).
Concerning "update" button, it appears only when selecting a hardware in upper part, until you click on it.
To (try to) fix the issue, you may delete hardware from Domoticz, restart Domoticz and add the plug-in again.
So I need the output in watts, I have 0 at the moment
Thanks
Syntax seem good. However, topic may not be the right one (here, it's probably HA autodiscovery topic, which contain only device definition not values).
Device data is under another topic line, depending on device itself. If it's a ZigBee device, value is often under zigbee2mqtt/<Z2M device name>. Zwave devices also have the same king of topics. DIY devices are sometimes with <device name>/...
You may install MqttExplorer to have a look at you MQTT tree, and find right topic.
Through the explorer app (mqtt explorer) is see the value of 0,0 so I am wondering why I dont see the same value in Domoticz. I'll know more once I charge the car.
Status: Warning: Expecting svalue with at least 1 elements separated by semicolon, 0 elements received (""), notification not sent (Hardware: 31 - MQTT mapper, ID: homeassistant/easee/power, Unit: 2, Type: F3 - General, SubType: 29 - kWh)
now what do I need to change lol
Attachments
Screenshot 2025-03-10 154526.png (55.37 KiB) Viewed 453 times
2025-03-11 08:43:38.304 Status: Warning: Expecting svalue with at least 1 elements separated by semicolon, 0 elements received (""), notification not sent (Hardware: 31 - MQTT mapper, ID: eas/easee/power, Unit: 7, Type: F3 - General, SubType: 29 - kWh)
So I think it is something wrong with the MQTTsignal, i changed it back to homeassistant, and I got this meassage
2025-03-11 09:48:31.733 MQTT mapper: onMQTTPublish found homeassistant/easee/power, Device 'MQTT mapper - Car charge', message '5.0019998550415'
2025-03-11 09:48:31.733 Error: MQTT mapper: Can't find >values/value< in >5.0019998550415<
2025-03-11 09:48:31.733 MQTT mapper: Setting MQTT mapper - Car charge to ><
2025-03-11 09:48:31.733 (MQTT mapper - Car charge) Updating device from 0:'' to have values 0:''.
So mqttmapper can find the value, but there is someting wrong with the displaying
Would it be possible to get "eas/easee/power" full content?
Concerning the error, it indicates that this kind of device (kWh counter) needs a value, while sent data only contents "" (meaning that value was not found or empty).
With "eas/easee/power" content, I'll help finding the right item.
hjzwiers wrote: ↑Tuesday 11 March 2025 9:55
how do i get "full content"
I was also updating my previous message
In mqtt explorer unfold to folder eas/easee/power
Select the power folder and copy the message/value (not a screenshot!). There is a copy value icon on the top right when the power topic is selected. See for a reference the Wiki for reporting MQTT AD issues https://wiki.domoticz.com/MQTT_AD_Repor ... nd_payload
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar