mirror of
https://github.com/syssi/esphome-votronic.git
synced 2025-07-22 12:10:34 +02:00
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
<<: !include esp32-ble-example-debug.yaml
|
|
|
|
interval:
|
|
- interval: 8s
|
|
then:
|
|
# Solar charger status frame
|
|
- lambda: |-
|
|
id(votronic0).on_votronic_ble_data(0x25, {
|
|
0xE8, 0x04, 0x76, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06,
|
|
0x56, 0x00, 0x09, 0x18, 0x00, 0x22, 0x00, 0x00, 0x00
|
|
});
|
|
- delay: 2s
|
|
|
|
# Battery computer status frame
|
|
- lambda: |-
|
|
id(votronic0).on_votronic_ble_data(0x22, {
|
|
0xE8, 0x04, 0xBF, 0x04, 0x09, 0x01, 0x60, 0x00, 0x5F, 0x00,
|
|
0x9A, 0xFE, 0xFF, 0xF0, 0x0A, 0x5E, 0x14, 0x54, 0x02, 0x04
|
|
});
|
|
- delay: 2s
|
|
|
|
# Battery computer status frame (max current: +8388.607 A)
|
|
- lambda: |-
|
|
id(votronic0).on_votronic_ble_data(0x22, {
|
|
0xE8, 0x04, 0xBF, 0x04, 0x09, 0x01, 0x60, 0x00, 0x5F, 0x00,
|
|
0xFF, 0xFF, 0x7F, 0xF0, 0x0A, 0x5E, 0x14, 0x54, 0x02, 0x04
|
|
});
|
|
- delay: 2s
|
|
|
|
# Battery computer status frame (min current: -8388.608 A)
|
|
- lambda: |-
|
|
id(votronic0).on_votronic_ble_data(0x22, {
|
|
0xE8, 0x04, 0xBF, 0x04, 0x09, 0x01, 0x60, 0x00, 0x5F, 0x00,
|
|
0x00, 0x00, 0x80, 0xF0, 0x0A, 0x5E, 0x14, 0x54, 0x02, 0x04
|
|
});
|