bigtreetech / PandaPWR

8 stars 0 forks source link

External switching of power and USB #2

Open Nastras opened 1 week ago

Nastras commented 1 week ago

Hello, is it possible to address the power and the USB interface externally via an API/ webhook? This would make it possible to integrate this switch into a smart home such as HomeKit or Home Assistant so that you don't necessarily need the web interface.

Regards

dilixi commented 1 week ago

Hello, is it possible to address the power and the USB interface externally via an API/ webhook? This would make it possible to integrate this switch into a smart home such as HomeKit or Home Assistant so that you don't necessarily need the web interface.

Regards

There is a link about the Panda PWR api , maybe this will help you.

https://github.com/bigtreetech/PandaPWR/blob/master/pwr_api.md

IainPHay commented 1 week ago

Hello, is it possible to address the power and the USB interface externally via an API/ webhook? This would make it possible to integrate this switch into a smart home such as HomeKit or Home Assistant so that you don't necessarily need the web interface.

Regards

See my post here for details of how to get control in homeassistant using the api mentioned above:

https://github.com/bigtreetech/PandaPWR/issues/4

Nastras commented 6 days ago

Hello, is it possible to address the power and the USB interface externally via an API/ webhook? This would make it possible to integrate this switch into a smart home such as HomeKit or Home Assistant so that you don't necessarily need the web interface. Regards

There is a link about the Panda PWR api , maybe this will help you.

https://github.com/bigtreetech/PandaPWR/blob/master/pwr_api.md

That's great. I'll try it out and let you know if everything works! Thanks a lot! That's great. I'll try it out and let you know if everything works! Thanks a lot!