Hello,
I've just discovered and very interrested in iot-playground cloud that seems to be much better than Blynk.,
But I can't use it : .
I use an ESP8266-12E and the program I use is "ESP8266 WiFi door/window sensor (EasyIoT Cloud REST API)".
When I start the ESP module after upload with arduino IDE I can see on serial :
AP......WiFi connectedPOST data to URL: /RestApi/SetParameter/(here the InstanceId/ParameterId)/1HTTP/1.1 200 OK
Server: EasyIoT Cloud server/1.0
Content-Type: application/json
Date: Wed, 11 Nov 2015 14:34:26 GMT
Content-Length: 27
Connection: close
[{ "ResponseValue" : "1" }]
But the garage door is always seen "Open"
I am very newbe, so, can someone explain me what's wrong?
Something about "Content-Length: 27" ?
Thank you
Thank you for this quick answer.
I did exactly what was described in the tuto.
I kept the pin number of the tuto (#define INPUT_PIN 5)
Is there something else to do in "EasyIoT Cloud" and where?
Thank you.
[{ "ResponseValue" : "1" }] mean that you successfully updated parameter. Did you check value of parameter under parameter configuration? Value should be 0 or 1 dependent on door/windows state.
Thank you,
I found the response : I use the pin out found in the page "
daflabs.com/esp8266.html
", but the GPIO4 and GPIO5 are inverted compared to my ESP12. For me the GPIO5 is close to the RXD.
With the swith on the correct GPIO, it's working.
Sorry for that time lost for you.
Now, I'll try to go further... use of many esp...
Thank you very much.
Glad you figured it out..... I have seen alot of posts on ESP forums where there is no standard on the cheap Chinese ESPs and they all have different GPIO locations...
Just a heads up, if you want to load NodeMCU and program with LUA on your esp....check to see the pin mappings on the version of NodeMCU cause they are always changing them or "remapping" them.