freakent / dbus-mqtt-devices

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

Different service weather forecast #67

Closed DJZorro closed 11 months ago

DJZorro commented 11 months ago

Dear Freakent Thank you for your driver. It took me a while as newby to figure it out but in the end I got it working. What I want is to display the weather on my RPi with Venus OS I would like to publish the weater conditions derrived from Open weather based on the GPS coordinates on the Dbus From there I would like to display it with the edited Guimods. Question: how can I get a weather service. Now I only get a temperature /grid/tank etc. Thks in advance

freakent commented 11 months ago

Simple answer, you can't. You can only use the services that Victron Venus OS supports on the dbus. All the apis (MQTT, ModBus TCP) are just wrappers around the Venus OS dbus api. These dbus services are all described here. https://github.com/victronenergy/venus/wiki/dbus

The best you can do is re-use a field in an existing service. I believe there was an example posted on the Victron Modifications forum that added a weather text field tot e GPS service. The UI was modified to show that.

DJZorro commented 11 months ago

Dear Martin, Thank you for your very fast and clear answer. Bit disappointing as I thought it was a good idea and a nice project. Have to give up this and can only hope the Victron will open its doors with more services. Thank you for your great driver, learned a lot from it, was hoping I could publish any service on the dbus but that is obvious not the case.

Best regards from Holland, and I will be one of your future followers..

Rgds,

Paul

Op vr 20 okt 2023 om 15:12 schreef Martin Jarvis @.***>:

Simple answer, you can't. You can only use the services that Victron Venus OS supports on the dbus. All the apis (MQTT, ModBus TCP) are just wrappers around the Venus OS dbus api. These dbus services are all described here. https://github.com/victronenergy/venus/wiki/dbus

— Reply to this email directly, view it on GitHub https://github.com/freakent/dbus-mqtt-devices/issues/67#issuecomment-1772717212, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR255HCEES5BRPHBJFV4R2TYAJ2CTAVCNFSM6AAAAAA6I7VJPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSG4YTOMRRGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Groet,

Paul Kassenaar

DJZorro commented 11 months ago

Dear Martin, Just wanted to let you know I got it working with your tip about misusing a GPS and your driver. Thanks again for the info