Hello,
I'm playing with the "dbus-mqtt-devices" from freakent (https://github.com/freakent/dbus-mqtt-devices)
Is it possible, to add a field, for example "location", in a gps-device? I want to fill this field by MQTT.
Thanks for every idea/help...
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hello,
I'm playing with the "dbus-mqtt-devices" from freakent (https://github.com/freakent/dbus-mqtt-devices)
Is it possible, to add a field, for example "location", in a gps-device? I want to fill this field by MQTT.
Thanks for every idea/help...
Well, solved it again by myself... ;-)
The way was to modify the "services.yml" in the /data/drivers/dbus-mqtt-devices.../
added this code at the end of the gps-section
City:
description: "GPS City"
default: "GPS Ort"
persist: true
Then pushed the data via Node-Red (large image)
W/<portal id>/gps/<device instance>/City
The result is what i want. The country and the city on the Venus OS Screen for our RV:

Nice you picked a city in Holland as an example.
I would like to display there the weatherforcast.
My plan is an call to Openweather API and than display the json result somehow.
You think this is feasable and can you point me to a direction?
Thks form Holland
Well, I also have thoughts and plannigs to implement the weatherforcast. But actually not in progress. Maybe in the next months, when it's too cold for traveling. Openweather is my favourite service as well. I'll let you know about the progress...
Would be very interested to see how you would do this.
I'm I right this has to be done by MQTT and than an json message on the dbus?
The MQTT is not that hard but to get it published on the dbus is a hurdle for me.
Guess I have to use the dbus-MQTT driver.
Thanks for asy directions in advance
I'm glad the dbus-mqtt-devices driver is working for you. Is that GX UI using GuiMods? Did you customise the UI too?
37 People are following this question.