How to properly run wifi touch screen thermostat easyiot coud

1 year 1 month ago #4018 by zacky
first of all thanks for such amazing open source project ,
am trying to follow this tutorial : iot-playground.com/blog/2-uncategorised/...rmostat-easyiot-coud
i had hard time to make it working properly

what i have and what i have done with it .

i have mega 2560 , DHT22 sensor , voltage relay , node mcu ( ESP8266MOD 4mb cache ).

i have connected them all as guided in tutorial like
i have uploaded code to mega2560 and have set AP name password and easyiot-cloud.com username password too .
the communication between mega and esp is happening but no data is send or read from the easyiot-cloud.com

here is the output from serial terminal of mega2560

Update heater status 0
Update heater status 0
CMD_RESET timeout
Send data sB2kzYiHjPfvHzp
SEND CMD_RESET
Update heater status 0
CMD_RESET timeout
Send data sB2kzYiHjPfvHzp
SEND CMD_RESET
ESP Incoing Data header : 
104
ESP Incoing Data body : 
2
REC CMD_INIT_FINISHED
Send AP name :: 
UWifi
Send data UWifi
Send AP pwd:: 
zelda12345
Send data zelda12345
connect to AP
Send data zelda12345
Update heater status 0
Update heater status 0
Update heater status 0
Update heater status 0
ESP Incoing Data header : 
104
ESP Incoing Data body : 
4
REC CMD_AP_CONNECTED
Send Cloud host 
cloud.iot-playground.com
Send data cloud.iot-playground.com
Send Cloud user 
zacky
Send data zacky
Send Cloud pwd 
sB2kzYiHjPfvHzp
Send data sB2kzYiHjPfvHzp
MQTT connect
Send data sB2kzYiHjPfvHzp
Update heater status 0
Send data sB2kzYiHjPfvHzp


here is output from esp debug mode
Start ESP Cloud GW
SEND CMD_INIT_FINISHED
incoming command > 
0
< 
 
REC CMD_SET_AP_NAME UWifi
incoming command > 
0
< 
 
CMD_SET_AP_PASSWORD zelda12345
incoming command > 
0
< 
 
Connecting to AP
...............................Got IP: 192.168.137.23
.Connected
outoging command > 
0
< 
 
Send data
incoming command > 
0
< 
 
REC CMD_SET_CLOUD_HOST cloud.iot-playground.com
incoming command > 
0
< 
 
REC CMD_SET_CLOUD_USER zacky
incoming command > 
0
< 
 
REC CMD_SET_CLOUD_PASSWORD sB2kzYiHjPfvHzp
incoming command > 
0
< 
 
REC CMD_SET_CLOUD_CONNECT
connect mqtt...
connected to cloud MQTT server
outoging command > 
0
< 
 
Send data
incoming command > 
0
< 
 
REC CMD_RESET

also its keep resting the esp module not sure why its needed , i think once it connected it should send and recieve data but again and again its reset and same wifi username password are send to it

Please Log in or Create an account to join the conversation.

Time to create page: 0.338 seconds

Forum latest

  • No posts to display.