Scott Bender - @naugehyde I am getting an error...
@naugehyde I am getting an error with the bt plugin config. "Something went wrong" .

32 Replies
This makes so that no plugin configs can be accessed at all.
”Anything relevant in the server log?”
Feeding u yr own medicine 😁
🤣 I didn’t see anything in the log
@Scott Bender haven't seen that before. I can't recreate.
any earlier errors? what browser are you running?
Note: the global error (something went wrong) is generated by the admin config page. Any uncaught error in a custom config will cause it. Also, what version of the server?
Note: the global error (something went wrong) is generated by the admin config page. Any uncaught error in a custom config will cause it. Also, what version of the server?
It’s 2.13.5
I’ll look more on the server side…
Looks like the eventSource variable on the client isn't being initialized. It should be non null or an earlier error should show up in the client console at least.
I get the same error running locally from the main branch
No earlier error, only those two
Help me recreate.
What's your client platform? How did you install the plugin?
Hmm. Safari
Works in chrome
Ah. Let met debug in Safari.
Not seeing it in my Safari either. What version of Safari?
It's on Mac, 18.1
seems fine on the phone
Bah. I'm on 18.5 on my Mac.
ok, let me update my Mac...
I'll make a note in the readme about Safari 18.1
Safari 18.5 does invert the Bluetooth logo for some reason!
Working with 18.5
Next problem...

even though I have an Id entered

I'll look into it. What is the sensors...rssi path look like?
sensors.Victron_Orion_Smart_12V|12V-18A_Isolated_DC-DC_Charger-DA-64-FC-ED-05-7E.RSSI
Ok
There's a bug in the Orion code that may have caused the behavior you're seeing. You should see a raft of errors in the log
VC.getOffReason is not a function
or something like that. Can you confirm?I don’t see those errors
Can you confirm that it's a DC-DC charger not an XS? (Easy to mix up all these different models)
Yes, it’s not an XS
And that was in Safari?
The screenshots? Yes.
The config:
Looks like the id param isn't set. Will investigate
It's set in the paths not the params.
If you want to test a fix all you have to do is change
this addDefaultPath("id")
to
this addDefaultParam("id")
in the initSchema() method of the VictronDCDCConverter class.do you need me to test? otherwise I can't wait for an update. no rush.
No prob. I'll let you know when an update is available
One more thing!
I wasn't sure about the SK paths for Victron GX, Victron Smart Battery Protect, and Victron VE Bus devices should be. Can you advise ?
They should probably match what my venus plugin does.
Do you have a list of the data. I can go through it…
Of course it will! I'll take a look at your plug-in first.
Might be easier for me, since the mapping ls are pretty complex there. Let me know!