dongrote / home-network-admin

A tiny server to provide a RESTful interface for Siri Shortcuts at home
MIT License
1 stars 0 forks source link

push state changes via socket.io #32

Closed dongrote closed 4 years ago

dongrote commented 4 years ago

Push devices and services state changes down socket.io to the browser. Polling for state changes turned out to be too unstable since every change causes the dns server to restart, and attempts to resolve while it is down throw an EAI_AGAIN error from getaddrinfo.