-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathesp32-ble-example-faker.yaml
35 lines (31 loc) · 1.22 KB
/
esp32-ble-example-faker.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<<: !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
});