itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
548 stars 168 forks source link

Server-side push WebSocket... #43

Open d-sudhakar opened 4 years ago

d-sudhakar commented 4 years ago

I want to use Sonoff Mini in DIY mode (I don't want to change firmware and neither I want to use eWeLink mode). I send switch on/off POST commands through a client GUI app that indicates switch on/off status (a UI switch).

onoff

How is it possible to maintain the on/off UI status on multiple such clients. I read server-side push WebSocket would be the answer. Does the web server running on Sonoff mini support this WebSocket feature?

mattsaxon commented 4 years ago

The status of the sonoff device, including the switch status is sent using mDNS as opposed to web sockets