-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device "Name" resetted after system reboot #425
Comments
I see the same behavior. As I have 4 battery banks, each with an BMS, I would like to which BMS correspond to which bank. |
As a workaround, I set the Name in the incl des NodeRed at startup (over mqtt) |
Hi Pos-ei-don |
Why? Mai "Main" battery is a generic mqtt device, filled by NodeRed. So no Problem with this. |
for the generic device it's no problem. I assume, you always assign the same VRM instance to the generic battery. I thougt, you name your real batteries as well, and there the VRM instance can change... |
Yes, but NodeRed can "detect" the New id and assign the Name I prefer. So the id doesn't matter... |
is this done automatically? or do I need to have a special node for that? |
I scripted this. I just read all the values so i know which battery it is. Every Pack has a little difference so i can distinguish them. One EVE Pack hast 304Ah, one CATL Pack knly 302Ah. |
This is a duplicate of an already existing issue and can be closed. Reference to existing issue #100 For the Node-RED node this is a new feature of node-red-contrib-victron since v1.4.25. Probably it work with one BMS, but I don't think that it will work with multiple BMS, when the If @pos-ei-don is using another driver for a virtual battery, than the |
With which topic do you set the battery name? I assume you use an MQTT out node? could you share the node red flow please? |
Yes, MQTT-OUT. Just write the name you wish at startup to the topic "W/[...]/CustomName" as string. So if is subscribe via mqtt-in to ""N/[vrm-id]/battery/+/InstalledCapacity", I get all my batteries in a seperate payload-message. |
@pos-ei-don |
Ah OK, i have JK-BMS. I stopped using daly as I had way too much Problems. So you need to find a different value you can use. |
@pos-ei-don Still, if I have a look at the remote console of VenusOS, the names did not change. They are still "SerialBattery (Daly)" I tried both, publish at N and W... |
VenusOS requires a json object with value. |
that worked, thank you! |
The changeable "Name" of the bms-instance is resetted after a system reboot. Would be great if this could be fixed somehow...
The text was updated successfully, but these errors were encountered: