add feature: reboot device
jahegu opened this issue · 5 comments
jahegu commented
Not sure if it's available for all devices but acording Arylic API documentation it is possible to force a reboot device:
GET /httpapi.asp?command=reboot
https://developer.arylic.com/httpapi/#reboot-device
is it possible to add this feature on the component?
nagyrobi commented
Reboot has been removed from the API a few years ago...
jahegu commented
Ok,
On my case i have Ayrlic DIY board and it is still supported... And needed sometimes
BR,
nagyrobi commented
it's not a real reboot, it just kills the linkplay process in the board. The linux system behind it doesn't really reboot, just restarts the process.
jahegu commented
Thank you very much for the info. In my case it's been enough to fix online
radio streaming issues. I scheduled a daily reboot API and this device
rarely fails again.
It's also sure that I check a ping /t on the device and rarely it loses any
packet so it should, as you say, just a light service reboot.
A part of power off-on I understand that there is no better way to restart
the device?
BR,
El vie, 27 ene 2023 a las 8:08, H. Árkosi Róbert ***@***.***>)
escribió:
… it's not a real reboot, it just kills the linkplay process in the board.
The linux system behind it doesn't really reboot, just restarts the process.
—
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFUGHJRUDFZQIQHWNGDFUODWUNX5HANCNFSM6AAAAAAUH7PMKY>
.
You are receiving this because you authored the thread.Message ID:
<nagyrobi/home-assistant-custom-components-linkplay/issues/105/1406106474@
github.com>
nagyrobi commented
add a Sonoff switch in front of it...