Replies: 2 comments
-
Hi, I took the liberty of formatting your question so the YAML is readable. I'm not actually familiar with this style of programming but I can see a couple of things that do not look correct.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, Thank you!
Yeah, I tried the hard way. Now I found that it's way easier to use the
Node-RED solution.
Thanks anyway!
Op di 26 nov 2024 om 23:56 schreef Martin Jarvis ***@***.***>:
… Hi,
I took the liberty of formatting your question so the YAML is readable.
I'm not actually familiar with this style of programming but I can see a
couple of things that do not look correct.
1. you have a h1 as being a device type of humidity. This is not
correct. In Victron's dbus humidity is not a separate sensor, it is an
attribute of temperature. So you can send /Temperature, /Pressure and
/Humidity to a temperature type device. Check the services.yaml file to see
the attributes defined for each device type (or check out Victron's dbus
api wiki page).
2 You must use the device id returned in the Dbus message in the topic
path for each published reading. The whole reason for device registration
is to obtain a device id from the dbus. You appear to be hard coding 4, 5,
6, 7 in the topic path instead of using the value returned in registration.
The topic path including the device id is now also returned in the Dbus
message to make life easier for you.
—
Reply to this email directly, view it on GitHub
<#139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADR3PZSQV7EJTDD3JIQCNWT2CT4ARAVCNFSM6AAAAABSRLQJYKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZYHA4DOOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I've been using Home Assistant now for a while. Since I have a lot of ESP devices in my Van (I love temps). I was thinking, This could be better and direct into my Venus. So I found this dbus-mqtt! GREAT!
So, I havn't got a lot of programming experience, but got ESPHome working on Home Assistant.
I like the overview of my devices in my Dashboard and the availability to OTA update them.
Now I wanted to test with 1 of them to communicate with my Cerbo.
I followed your guide and let ChatGPT help me to set u a YAML, but it doesn't work.
It gets stuck in step 3 (No device/tanksensoren/DBus)
What am I doing wrong?
Here My YAML
Offcourse the "POrtalID" is set to mine.
Beta Was this translation helpful? Give feedback.
All reactions