-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.yaml
190 lines (175 loc) · 3.55 KB
/
example.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
esphome:
name: kingsong-euc
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
external_components:
source: github://lufton/esphome-kingsong-euc@main
ble_client:
id: euc_client
mac_address: !secret euc_mac
kingsong_euc:
ble_client_id: euc_client
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
logger:
level: WARN
binary_sensor:
- platform: kingsong_euc
charging:
name: Charging
fan:
name: Fan
gyroscope_error:
name: Gyroscope error
hall_sensor_error:
name: Hall sensor error
phase_short_circuit:
name: Phase short circuit
button:
- platform: kingsong_euc
beep:
name: Beep
horn:
name: Horn
power_off:
name: Power off
lock:
- platform: kingsong_euc
lock:
name: Lock
number:
- platform: kingsong_euc
alarm_1:
name: Alarm 1
alarm_2:
name: Alarm 2
alarm_3:
name: Alarm 3
command:
name: Command
standby_delay:
name: Standby delay
tilt_back:
name: Tilt back
select:
- platform: kingsong_euc
magic_light_mode:
name: Magic light mode
main_light_mode:
id: main_light_mode
name: Main light mode
ride_mode:
name: Ride mode
spectrum_light_mode:
name: Spectrum light mode
voice_language:
name: Voice language
sensor:
- platform: kingsong_euc
bms_count: 2
cell_count: 30
bms_cell_voltage:
name: BMS cell voltage
bms_current:
name: BMS current
hysteresis: 0.1
bms_factory_capacity:
name: BMS factory capacity
bms_full_cycles:
name: BMS full cycles
bms_mosfet_temperature:
name: BMS mosfet temperature
bms_remaining_capacity:
name: BMS remaining capacity
bms_soc:
name: BMS SoC
bms_temperature_1:
name: BMS temperature 1
bms_temperature_2:
name: BMS temperature 2
bms_temperature_3:
name: BMS temperature 3
bms_temperature_4:
name: BMS temperature 4
bms_temperature_5:
name: BMS temperature 5
bms_temperature_6:
name: BMS temperature 6
bms_voltage:
name: BMS voltage
hysteresis: 0.1
current:
name: Current
hysteresis: 0.1
cpu_load:
name: CPU load
error_code:
name: Error code
mosfet_temperature:
name: Mosfet temperature
motor_temperature:
name: Motor temperature
odometer:
name: Odometer
hysteresis: 0.01
power:
name: Power
hysteresis: 5
pwm:
name: PWM
ride_time:
name: Ride time
hysteresis: 10
speed:
name: Speed
hysteresis: 0.5
speed_limit:
name: Speed limit
trip_distance:
name: Trip distance
hysteresis: 0.01
trip_max_speed:
name: Trip max speed
uptime:
name: Uptime
hysteresis: 10
voltage:
name: Voltage
hysteresis: 0.1
switch:
- platform: kingsong_euc
circle_light:
name: Circle light
lift_sensor:
name: Lift sensor
music_bluetooth:
name: Music bluetooth
spectrum_light:
name: Spectrum light
strobe:
name: Strobe
voice:
name: Voice
text_sensor:
- platform: kingsong_euc
bms_count: 2
bms_firmware:
name: BMS firmware
bms_manufacture_date:
name: BMS manufacture date
bms_serial:
name: BMS serial
charging_status:
name: Charging status
error_description:
name: Error description
model:
name: Model
serial:
name: Serial