When you have a moment, check out MQTT support, it works with hassio directly over the local network.