2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 20:14:56 +01:00

update esphome

This commit is contained in:
kevin
2024-01-03 21:46:43 +08:00
parent 85ba705e1b
commit ec60b138bc
3 changed files with 40 additions and 9 deletions

View File

@@ -38,9 +38,21 @@ INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
^C
>>> ping esphome-esp32c3-ibeacon.lan
^C
>>> exit
$ curl http://esphome-esp32c3-ibeacon.lan/
$ curl -X POST 'http://esphome-esp32c3-ibeacon.lan/light/neopixel_light/turn_on?brightness=255&r=255&g=192&b=203&white_value=0&effect=None'
$ curl http://esphome-esp32c3-ibeacon.lan/light/neopixel_light
{
"id": "light-neopixel_light",
"state": "ON",
"color_mode": "rgb",
"brightness": 255,
"color": {
"r": 255,
"g": 192,
"b": 203
}
}
```
[1]: https://esphome.io/