Home Assistant - Turning LEDs on/off #855
empakoso
started this conversation in
Show and tell
Replies: 1 comment
-
A custom HACS integration 'HyperHDR' is available from here: https://github.com/mjoshd/hyperhdr-ha?tab=readme-ov-file#hyperhdr-custom-component-for-home-assistant |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ok, I was looking for a way to turn on the HyperHDR instance on and off using Home Assistant. Was planning on turning on the LEDs based on presence sensor. Here are the steps I took if it helps someone out there:
######################START of configuration snippet############
shell_command:
hyperhdr_on: >
curl -X POST "http://192.168.0.43:8090/json-rpc?request" -d'{"command":"componentstate","componentstate":{"component":"LEDDEVICE","state": true}}' -H "Content-Type: application/json"
hyperhdr_off: >
curl -X POST "http://192.168.0.43:8090/json-rpc?request" -d'{"command":"componentstate","componentstate":{"component":"LEDDEVICE","state": false}}' -H "Content-Type: application/json"
######################END of configuration snippet############
Your HyperHDR instance can now be turned on and off by calling the a custom service in HASS
Beta Was this translation helpful? Give feedback.
All reactions