Weird issue using aRest UI
Posted: Tue Jun 13, 2017 4:08 pm
I have an arduino sketch on my ESP8266 board based on the code on this site:
https://openhomeautomation.net/control- ... -wifi-chip
I have an LED connected to the digital pin and I can switch it on and off from the UI over my local network. I set up port forwarding so that I could do the same from external addresses, and it worked! I had my friend turning the LED on and off from the other end of the country which was cool.
...Then all of a sudden it stopped working. I can still turn it on and off from inside the network, and I can see the UI and press the buttons from outside the network, but when I press the buttons nothing happens.
I can access the aRest API manually and switch the pin on by going to IP_address/digital/5/1. That works. So I'm guessing it's something to do with the aRest UI?
Any suggestions? to have it working and then suddenly stop is worse than if I'd never got it working!
Thanks,
John
https://openhomeautomation.net/control- ... -wifi-chip
I have an LED connected to the digital pin and I can switch it on and off from the UI over my local network. I set up port forwarding so that I could do the same from external addresses, and it worked! I had my friend turning the LED on and off from the other end of the country which was cool.
...Then all of a sudden it stopped working. I can still turn it on and off from inside the network, and I can see the UI and press the buttons from outside the network, but when I press the buttons nothing happens.
I can access the aRest API manually and switch the pin on by going to IP_address/digital/5/1. That works. So I'm guessing it's something to do with the aRest UI?
Any suggestions? to have it working and then suddenly stop is worse than if I'd never got it working!
Thanks,
John