Welcome, Guest
Username: Password: Remember me

TOPIC: esp8266 door/window sensor modemcu without arduino

esp8266 door/window sensor modemcu without arduino 2 years 2 months ago #1152

  • enigma
  • enigma's Avatar
  • Offline
  • Junior Member
  • Posts: 29
  • Thank you received: 1
  • Karma: 0
HI All,

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
The administrator has disabled public write access.

esp8266 door/window sensor modemcu without arduino 2 years 2 months ago #1154

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 255
  • Karma: 23
enigma wrote:
HI All,

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.
The administrator has disabled public write access.
The following user(s) said Thank You: enigma

esp8266 door/window sensor modemcu without arduino 2 years 2 months ago #1156

  • leolopezglez
  • leolopezglez's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 2
  • Karma: 0
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 : ((( (
The administrator has disabled public write access.
The following user(s) said Thank You: enigma

esp8266 door/window sensor modemcu without arduino 2 years 2 months ago #1162

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 255
  • Karma: 23
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/

You must use your IP and your node address.
Last Edit: 2 years 2 months ago by EasyIoT.
The administrator has disabled public write access.
The following user(s) said Thank You: enigma

esp8266 door/window sensor modemcu without arduino 2 years 2 months ago #1164

  • leolopezglez
  • leolopezglez's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 2
  • Karma: 0
if you upgrade the flag but not the legend appears open or closed
The administrator has disabled public write access.

esp8266 door/window sensor modemcu without arduino 2 years 2 months ago #1165

  • leolopezglez
  • leolopezglez's Avatar
  • Offline
  • New Member
  • Posts: 9
  • Thank you received: 2
  • Karma: 0
if you upgrade the flag but not the legend appears open or closed..

here I leave a picture of my problem

www.dropbox.com/s/cvh1v1c6ik8tygr/image.png?dl=0
Last Edit: 2 years 2 months ago by leolopezglez.
The administrator has disabled public write access.
Time to create page: 0.127 seconds
Powered by Kunena Forum