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

Documentation for Blue Smart (Device state eg.) #74

Open
Donixon opened this issue Nov 27, 2024 · 2 comments
Open

Documentation for Blue Smart (Device state eg.) #74

Donixon opened this issue Nov 27, 2024 · 2 comments

Comments

@Donixon
Copy link

Donixon commented Nov 27, 2024

With some great luck I managed to make this repo work with our Blue Smart victron device. I'm now looking for documentation for example 'DEVICE_STATE'. It gives back '6', but what does this state mean for this device? I can't it anywhere in the docs. Hopefully someone can direct me somewhere!

sensor:
  # BlueSmart001
  - platform: victron_ble
    victron_ble_id: bluesmart001
    name: "BS001 - Battery voltage"
    type: BATTERY_VOLTAGE
  - platform: victron_ble
    victron_ble_id: bluesmart001
    name: "BS001 - Current" 
    type: BATTERY_CURRENT
  - platform: victron_ble
    victron_ble_id: bluesmart001
    name: "BS001 - Battery power"
    type: BATTERY_POWER
  - platform: victron_ble
    victron_ble_id: bluesmart001
    name: "BS001 - State"
    type: DEVICE_STATE

image

@HBK1
Copy link

HBK1 commented Nov 27, 2024

DEVICE_STATE is a text_sensor:

@Fabian-Schmidt
Copy link
Owner

Hi @Donixon ,
As HBK1 said the device state can either be used a sensor (what you used) or as a text sensor.
Just update your yaml file:

text_sensor:
  - platform: victron_ble
    victron_ble_id: bluesmart001
    name: "BS001 - State"
    type: DEVICE_STATE

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