Having random issues where the Home Assistant cannot contact the particle server for my Garadget. Happens maybe once per day. This then causes Home Assistant to change the status to closed after it contacts again. I have homebridge-Homeassistant to display these in the Home app and give me a notification on open/close on the garage door. Had this happen around 2 am last night. Wife is getting a bit tired of it lol. Home assistant still says the door has been closed for multiple hours. I have it setup exactly like the directions for the component show. It isn’t happening in the actual Garadget app either. That still shows that it has stayed closed. Anyone else having this issue or is there a way to force the sensor to maybe have a default state of closed so this doesn’t happen?
Error I see when this happens
17-02-19 01:52:42 ERROR (Thread-11) [homeassistant.components.cover.garadget] Unable to connect to server: ('Connection aborted.', BadStatusLine("''",))
You can see if the interruption coincided with any spike in the network latency http://status.particle.io/.
Also you may want to reserve an IP address for Garadget in your router’s DHCP configuration so it doesn’t have to reconnect each time lease expires.
Let me know if you still experience the issue and we can get try to sort it out with the developer of the integration.
The daily false alarms might not have been the setup of my Garadget or the Home Assistant component. I have a Palo Alto networks firewall at the edge of my network and App-ID was identifying it as an unknown app and I believe randomly resetting the connection. I excluded the IP assigned to the Garadget and also created a custom app definition to identify the Garadget connection to the particle server. I haven’t had an issue for over 24 hours. Not wanting to jinx myself but this was likely my issue. I’ll report back if I have the problem again.
Still feel like there could be a change in the component to not update back to closed even if there is brief intermittent network connectivity though. Maybe that’s a change that could be implemented in the Garadget component code or possibly this is how Home Assistant deals with covers. This definitely lowered the wife approval factor after I replaced the MyQ with this lol
Man, you don’t want to mess with wife approval factor…
BTW: Garadget itself doesn’t send a separate door status notification after reconnect. This must be the HA cover scanning for the changes of status and reporting the current state after controller comes back online.