Need help with button for new component

I would like to implement a push button of sorts to control pan/tilt for an IP camera component I am writing.

Can someone assist me in identifying the best control component to use? A switch would hardly meet the requirements of a push and hold button.

This will extend the capability of generic pan/tilt cameras.

Any help would be appreciated!

There appears to be several camera components already. You might be able to add in pan and tilt support by capturing and replicating the HTTP requests being sent to the camera.


https://github.com/fseto/home-assistant/tree/dev/homeassistant/components/camera

Have you added your IP camera to HASS yet?

1 Like