Closed githubfrance closed 1 year ago
Can you send a screenshot of the JKBMS where you entered the name?
Please post a screenshot of all values on the Device
in the remote console/GUI -> SerialBattery -> Device.
BTW, the name can already be set in the config.ini or by changing it in the remote console/GUI -> SerialBattery -> Device -> Name
regarding config.ini how can I add the name for each mac address ?
It's still in the alpha test phase, so there is no documentation yet except the config default file: https://github.com/Louisvdw/dbus-serialbattery/blob/4af10dd9d323ee9e88c82d8cec3b69a9d04fddfe/etc/dbus-serialbattery/config.default.ini#L197-L201
Please enter the name via GUI and the entry will be added automatically to the config file. I don't know how it behaves for the Bluetooth connected devices, but it's planned to link the name to the unique identifier
, so that if the port changes the name get not lost. See https://github.com/Louisvdw/dbus-serialbattery/issues/100#issuecomment-1585743408.
In the JKBMS app it looks like this: the name can be adjusted by user On DBUS we can access this value under: com.victronenergy.battery.ttyUSB1 and com.victronenergy.battery.ttyUSB2
After the reboot of cerbo gx or reinserting USBs the port assignment may change
On DBUS we can access this value under: com.victronenergy.battery.ttyUSB1 and com.victronenergy.battery.ttyUSB2
Ok, when I was testing this, I got another field. If you open a BMS in the app and scroll down to the limits there is also a User Private Data
field or something like that. What is in this field in your case?
After the reboot of cerbo gx or reinserting USBs the port assignment may change
We are working on it in https://github.com/Louisvdw/dbus-serialbattery/issues/718
ups, written in wrong topic: https://github.com/Louisvdw/dbus-serialbattery/issues/718#issuecomment-1596268819
Is your feature request related to a problem? Please describe.
Hi With the JKBMS app we can change the name of the BMS This name is advertised as you can see with bluetoothctl scan on (my BMS's) Device C8:47:8C:EC:F8:F9 JKBMS-Display Device C8:47:8C:ED:06:11 JKBMS-Heating
But you are not using this name, you replace it with SerialBattery(JKBMS_BLE).
Describe the solution you'd like
I would like to have the advertised name used in Device/Name on Venus OS
Describe alternatives you've considered
An alternative coud be using the name in config.ini
BLUETOOTH_BMS = JKBMS-Heating C8:47:8C:ED:06:11, JKBMS-Display C8:47:8C:EC:F8:F9
Additional context
No response