roleoroleo / yi-hack_ha_integration

Home Assistant custom integration for Yi cameras: yi-hack-MStar, yi-hack-Allwinner, yi-hack-Allwinner-v2, yi-hack-v5 and sonoff-hack
GNU General Public License v3.0
205 stars 32 forks source link

Add manually camera media player #79

Closed rt400 closed 2 months ago

rt400 commented 2 years ago

Hi, Can I add camera speaker manually instead using the integration ? my cam add in ha from the NVR so no need the full integration. Thanks

roleoroleo commented 2 years ago

You could try to create a connection with ha using the web service: https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Web-services-description

rt400 commented 2 years ago

I can't understand how to make this.. Can you provide an example ?

roleoroleo commented 2 years ago

It depends on what feature you need. For example, you could create an action like in thie example: https://developers.home-assistant.io/docs/api/rest/

Or you could use the integration and remove unused entities.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.