You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I want to control an automatic gate as well as the garage door. I can do the control from a single ESP8266 with 2 relays, but how do I distinguish between the gate and the door? I was trying to avoid running 2 webservers on different ports in the ESP8266. I have 2 accessories with names 'door' and 'gate' with different listener ports, but this is a sending problem. I tried putting http://esp.local/door and http://esp.local/gate as the apiroute, but that didn't work. It used gate for both. The message received is /gate/status.
EDIT: ESP8266 Web Server can only handle 1 client at a time. But it let me instantiate 2 web servers on different ports which works.
Hi
I want to control an automatic gate as well as the garage door. I can do the control from a single ESP8266 with 2 relays, but how do I distinguish between the gate and the door? I was trying to avoid running 2 webservers on different ports in the ESP8266. I have 2 accessories with names 'door' and 'gate' with different listener ports, but this is a sending problem. I tried putting http://esp.local/door and http://esp.local/gate as the apiroute, but that didn't work. It used gate for both. The message received is /gate/status.
EDIT: ESP8266 Web Server can only handle 1 client at a time. But it let me instantiate 2 web servers on different ports which works.
Ken
config.txt
The text was updated successfully, but these errors were encountered: