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 noticed when sometimes data is missing in de VW app (don't know why, but see screenshot attached; available km range and available % fuel is not displayed in the app when this happens), it is also directly missing in the raw jason, and then WeConnect-mqtt removes the topic from the broker. (My home-automation sets the values then to zero, causing problems in my sensors/scripts, I'd rather prefer retaining the old topics and values, and wait a few hours for data available again at the VW's server.)
A retained topic is removed from a broker by publishing the topic with the retain-flag and a null ('') payload. WeConnect-mqtt does this on line 544, by sending this command to the broker. I've commented out this command:
Now topics are always retained. Perhaps you could make this configurable with a parameter? (--alwaysretain)?
I've tested a few days and the number of topics stay the same on my broker. Now I can confirm it working for the VW California 6.1 camper, with mosquitto version 2.0.11, Domoticz 2024.7 using domoticz-mqttmapper-plugin
The text was updated successfully, but these errors were encountered:
HI!
I guess I have the same Issue since some days. WeConnect-MQTT does not update Topics anymore.
I am running an Ubuntu Server with PIP installed WeConnect-MQTT. In which Folder i can find the main file of WeConnect-MQTT to change line 544 as you suggested?
HI! I guess I have the same Issue since some days. WeConnect-MQTT does not update Topics anymore. I am running an Ubuntu Server with PIP installed WeConnect-MQTT. In which Folder i can find the main file of WeConnect-MQTT to change line 544 as you suggested?
Hi,
Your problem is unclear to me. Are topics removed or not updated?
If:
Topics are removed from broker, you could use the solution above.
Or:
I'm running WeConnect-MQTT in docker, so I'm unsure where the file is stored in your Ubuntu. You could do a search (as root) for weconnect_mqtt_base.py ?
I noticed when sometimes data is missing in de VW app (don't know why, but see screenshot attached; available km range and available % fuel is not displayed in the app when this happens), it is also directly missing in the raw jason, and then WeConnect-mqtt removes the topic from the broker. (My home-automation sets the values then to zero, causing problems in my sensors/scripts, I'd rather prefer retaining the old topics and values, and wait a few hours for data available again at the VW's server.)
A retained topic is removed from a broker by publishing the topic with the retain-flag and a null ('') payload. WeConnect-mqtt does this on line 544, by sending this command to the broker. I've commented out this command:
Now topics are always retained. Perhaps you could make this configurable with a parameter? (--alwaysretain)?
I've tested a few days and the number of topics stay the same on my broker. Now I can confirm it working for the VW California 6.1 camper, with mosquitto version 2.0.11, Domoticz 2024.7 using domoticz-mqttmapper-plugin
The text was updated successfully, but these errors were encountered: