Skip to content
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

Smart BatteryProtect : DEVICE_STATE : Unkown device state (249) #18

Open
Chris2834 opened this issue Jun 30, 2023 · 6 comments
Open

Smart BatteryProtect : DEVICE_STATE : Unkown device state (249) #18

Chris2834 opened this issue Jun 30, 2023 · 6 comments

Comments

@Chris2834
Copy link

Nicely integrated SmartSolar MPPT 75/15 and Smart BatteryProtect 12V/24V 65A.
Thanks for your code!

So far all running fine, except the unknown device state msg.

text_sensor:

  • platform: victron_ble
    victron_ble_id: MySmartBatteryProtect
    name: "BPS Device State"
    type: DEVICE_STATE

the log file states :
...
[W][victron_ble.text_sensor:267]: [F3:61:37:41:62:C0] Unkown device state (249).
[D][text_sensor:064]: 'BPS Device State': Sending state '249'
....

ESPHome version 2023.6.3

Victron Smart BatteryProtect 12V/24V 65A

  • Firmware 2.11
  • Bootload 1.04
@Fabian-Schmidt
Copy link
Owner

Hi Thanks for the feedback. What does the Victron App state as the current Device State for 249 (0xF9)? It should be displayed on the Device list (start page of the app).

@Chris2834
Copy link
Author

Chris2834 commented Jul 2, 2023

Hi Fabian,

when switching off / on / off by the Victron iPhone APP the „DEVICE_STATE_OFF“ is inverted state of output and „DEVICE_STATE“ switches from "OFF" to "249" and back to "OFF"

Is 249 (0xF9) code for state on with additional encoding for manual switch on by (iPhone) APP?

I will let it run with "automatic" settings only and report later again.

@Fabian-Schmidt
Copy link
Owner

Sounds like 249 should be Device State 'On'?

@Chris2834
Copy link
Author

Chris2834 commented Jul 2, 2023 via email

@Fabian-Schmidt
Copy link
Owner

The fields DEVICE_STATE_FAULT and DEVICE_STATE_OFF are just checks if the DEVICE_STATE has a certain value.

I cannot see the graph you are mentioning.

Is the state 249 potentially related to the separate load ouput state?
What does the Victron App state on the Device List page? All information displayed on the Device list page are fetched via the same method as this library uses.

@jsmath
Copy link

jsmath commented Feb 23, 2024

Just wondering if it is possible to turn on/off the Smart BatteryProtect (to disconnect the battery) via home assistant (esphome API) or if this is only possible via the Victron app. My apologies for posting questions here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants