Smart Irrigation project won't compile

4 months 3 weeks ago - 4 months 3 weeks ago #3960 by bmentink
Hi,

I have just started with EasyIOT and so I have tried to compile the "Smart Irrigation MQTT" project which I want to use as a base for my application. From here: esp8266-smart-plant-irrigation-system

It is showing up an unknown symble for "D3", is there some other header that should be included?
Arduino: 1.8.5 (Linux), Board: "Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

/home/bmentink/Arduino/ESP8266_mqtt_irrigator/ESP8266_mqtt_irrigator.ino: In function 'void setup()':
ESP8266_mqtt_irrigator:25: error: 'D3' was not declared in this scope
 #define PIN_BUTTON       D3  // nodemcu flash button
.....
(I am using the ESP8266 LUA nodecpu module ..)

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

4 months 3 weeks ago - 4 months 3 weeks ago #3961 by bmentink
It seems I had the wrong board selected, with the correct board (NodeMCU (ESP-12E mudule)) selected it now compiles and uploades to the board.

I have setup the Irrigation project to login to my WiFi and the cloud EasyIoT server, but I get the following in the debug window:
.WiFi connected
Connecting to MQTT server
MQTT client id:5c:cf:7f:80:12:38-44
ModuleId: 0
create module: /NewModule
connected to MQTT server
Module NOT created. Check module limit

As far as I can tell on the Configure setting of the Cloud accound my Module limit is 10 and the demo has used 3 modules, why is it not creating any further modules?

Cheers

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

4 months 3 weeks ago #3965 by EasyIoT
Try to delete unused modules in WEB interface and then add your module.

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

4 months 2 weeks ago #3967 by bmentink
I just had to restart the board and it seemed to work from then ... don't what happened ....

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

1 month 6 days ago #3989 by bentech4u
HI

i am new to this and i even had the same problem..

Connecting to WIFI
.......
WiFi connected
IP address:
192.168.1.1
Connecting to MQTT server
MQTT client id:00:00:00:00:00:00-00
connected to MQTT server
ModuleId: 0
create module: /NewModule


when i restart, new module is getting created without any parameters .

Date time is showing as "NaN:NaN:NaN"

Regards
Ben

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

Time to create page: 0.232 seconds