freakent / dbus-mqtt-devices

A driver for Victron VenusOS GX devices to support use of dbus-mqtt/flashmq-mqtt
MIT License
101 stars 22 forks source link

Solax PV no longer shows up in the device list. #102

Closed UdoD5 closed 4 months ago

UdoD5 commented 4 months ago

Version

0.6.5 (current)

What version of VenusOS are you running on your GX device

3.21 (current release)

Does this issue occur during installation or at runtime ?

Runtime

Is there a Discussion thread for this issue? Please paste a link.

No response

What is the issue you are actually experiencing?

Hi, I'm using a ESP device to read the values from my solax X1 mini PV inverter and provide the values via dbus mqtt to the Cerbo GX. Unfortunately with the change to Firmware 3.21 the connection broke (upating from 3.14). The entry was still there but no values where received. I switched back to 3.14 and it worked again. So I assumed I probably need update the dbus-mqtt-devices to version 0.6.5.

This is the MQTT code from the ESPHome:

mqtt: broker: 192.168.1.61 # +++ MQTT-Server port: 1883 discovery: false birth_message: topic: device/${client_id}/Status payload: '{"clientId": "${client_id}", "connected": 1, "version": "1", "services": {"${sensor_name}": "pvinverter"}}' will_message: topic: device/${client_id}/Status payload: '{"clientId": "${client_id}", "connected": 0, "version": "1"}' on_json_message: topic: device/${client_id}/DBus then:

and the corresponding sensor data:

`sensor:

I don't know if this is related to the driver or to the code I use. I can see the messages comming in with the MQTT Explorer.

If this is not installation related, what does the status payload look like that you are publishing to the driver to register your device?

I'll update the issue with some screenshots tomorrow from the MQTT Explorer in Cerbo Firmware Version 3.14 and 3.21

freakent commented 4 months ago

After the VenusOS upgrade did you run setup.sh again? You really need to check the log file in var/log/dbus-mqtt-devices/current to check for errors. Please attach the relevant section of the log.

From 0.6.5 onwards, you no longer need to run setup.sh after a venusOS upgrade. I have just released v0.6.6 I suggest you upgrade to that then check your system again.