homeassistant_custom_components
homeassistant_custom_components copied to clipboard
Ideas for more funtionality
I really like this custom component, would be great if it could be an official HA component in the future. I have an idea on how to integrate PTZ into the component:
The Shinobi API allows for control of the PTZ of a camera using this http://xxx.xxx.xxx.xxx/[API KEY]/control/[GROUP KEY]/[MONITOR ID]/[ACTION]
where [ACTION]
is the control you want to execute e.g. left, right etc.
A way to integrate this would be to have those actions as HA events. Users would then have to create scripts to execute these actions - this could be displayed nicely in the new Lovelace UI with entity-buttons.
sequence:
- event: cam_ptz
event_data:
entity_id: device_tracker.paulus
event_id: left
I don't code so this is an idea that may be terrible! Thanks for reading.
Also I think motion as a binary_sensor
would be great!
Sry for the late reply. Getting an official component was my initial intention, but as literally nobody was using the component at the time I have been running shinobi productive my motivation to clean up the code was not that big. Especially as I wanted to submit a custom UI component for the final release (which I only had implemented with very functional design at the time).
I know this feature of shinobi but in my case it was not really helping a lot. My cameras needed to be controlled using SOAP requests which was not supported by shinobi (if I remember correctly).
Thanks anyway for the input @staraxis
Please consider adding it to the HACS (Home Assistant Community Store)?