Found out that the connection drawing has a fault, the reed switch should be hooked to GND and not to VCC, because of the help from you guys, I was able to check it with Putty.
The sensor digitalvalue is changing now from a 1 to a 0 and visa versa.
Now I know the ESP8266 is working.
STILL HAVE THIS PROBLEM the door is not going open or closed, please what could be the problem, must be in an around the webserver.
All suggestions are very welcome.
Thanks in advance
with kind regards
Koen
Found out that the connection drawing has a fault, the reed switch should be hooked to GND and not to VCC, because of the help from you guys, I was able to check it with Putty.
The sensor digitalvalue is changing now from a 1 to a 0 and visa versa.
Now I know the ESP8266 is working.
STILL HAVE THIS PROBLEM the door is not going open or closed, please what could be the problem, must be in an around the webserver.
All suggestions are very welcome.
Thanks in advance
with kind regards
Koen
Yes, I've checked drawing and you are right. Reed relay should be connected to GND. I will fix drawing. Thank you for info.
LUA program is calling URL in EasyIoT server.
Try to call URL from web browser to test:
http://[IP]/Api/EasyIoT/Control/Module/Virtual/[module address]/ControlOff/
http://[IP]/Api/EasyIoT/Control/Module/Virtual/[module address]/ControlOn/
Replace IP with server address and modue address with address of your module.
on the server .exe black screen if you send call http : // [IP ] / Api / EasyIoT / Control / Module / Virtual / [ module address] / ControlOff /
http : // [IP ] / Api / EasyIoT / Control / Module / Virtual / [ module address] / ControlOn / and if you upgrade but appear open or closed : ((( (
leolopezglez wrote: on the server .exe black screen if you send call http : // [IP ] / Api / EasyIoT / Control / Module / Virtual / [ module address] / ControlOff /
http : // [IP ] / Api / EasyIoT / Control / Module / Virtual / [ module address] / ControlOn / and if you upgrade but appear open or closed : ((( (
Put url in WEB browser like Internet explorer or Chrome.
URL looks like:
http://localhost/Api/EasyIoT/Control/Module/Virtual/N13S1/ControlOn/