Closed ELLISMD65 closed 5 months ago
I really dont know what you mean by sending signal, but you can try to send keypress.
Hi, What happens is your app stops the connection to Home Assistant when power is connected to my new surface pro running windows 11 pro, where it's installed. the only way I find to stop this, is to turn the screen on just before power is connected. or turn the screen on after power is connect, and the apps reconnects. I've ask MS and they say it's an app problem. Mark On 21/03/2024 09:43:28, JonatanRek @.> wrote: I really dont know hat you mean by sending signal, but you can try to send keypress. — Reply to this email directly, view it on GitHub [https://github.com/GamerClassN7/HA_Desktop_Companion/issues/71#issuecomment-2011761953], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AL2TPLRZKYZTOVI5GOWZGZ3YZKTRLAVCNFSM6AAAAABEXPRGM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJRG43DCOJVGM]. You are receiving this because you authored the thread.Message ID: @.> [1ca1f57a-e1fc-4ce7-8390-4d6df7ad9138]
Hi, What happens is your app stops the connection to Home Assistant when power is connected to my new surface pro running windows 11 pro, where it's installed. the only way I find to stop this, is to turn the screen on just before power is connected. or turn the screen on after power is connect, and the apps reconnects. I've ask MS and they say it's an app problem. Mark On 21/03/2024 09:43:28, JonatanRek @.> wrote: I really dont know hat you mean by sending signal, but you can try to send keypress. — Reply to this email directly, view it on GitHub [#71 (comment)], or unsubscribe [https://github.com/notifications/unsubscribe-auth/AL2TPLRZKYZTOVI5GOWZGZ3YZKTRLAVCNFSM6AAAAABEXPRGM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJRG43DCOJVGM]. You are receiving this because you authored the thread.Message ID: @.> [1ca1f57a-e1fc-4ce7-8390-4d6df7ad9138]
Unfortunately i dont have any way how to test exact power cycle of surface devices, scenario you described is working correctly on my HP. Feel free to do PR.
Power handling event can be fount here: https://github.com/GamerClassN7/HA_Desktop_Companion/blob/master/HA/App.xaml.cs#L69C4-L87C10
P.S. - you can post full log (delete tokens and urls) to see if something ring the bell for me. also screenshot of status colors test on bottom of the app can be useful for me.
Closing due to no response
Hi, I have a Surface Pro tablet running Windows 11 Pro, when power is connected to my tablet HA Desktop Companion stops working, I got around this with HASS.agent by sending a signal to my tablet to turn the screen on, could you add this to HADC. btw I don't use HASS.agent as it uses way too much battery power. great app btw.