Open jongerenchaos opened 5 years ago
Update: I get the same results with a ESP01 or another ESP device, also with another ESP boardversion or Arduino version
Sorry, I am on a business trip, I could not respond to your query in time. The only time I got a short dump when was before I disabled the watchdog timer. But that is done in code so it should not impact you.
I can see that the rst cause:2 which is the reset pin. Are you using the reset pin for something? It looks like something is pulling the reset pin. Did you wire your module same as mine?
Thanks for your fast reply!
Yep the wires are exactly the same as yours. Maybe that i have a thermostat which not support modbus or something (or missing the modbus components)? Can you send some images from the PCB from your thermostat, so that i can add some missing components or something....?
Here are some images from the thermostat who i used: https://pilo.ovh/image/SpNQg https://pilo.ovh/image/SpJEx https://pilo.ovh/image/SpaJU https://pilo.ovh/image/Spf6C
Oh, so this looks same but not exactly Beca. So mine actually had a red and white wire coming out at the back which was marked modbus. I have never opened the case.
I upload the code to my node MCU ESP12E (with arduino version 1.8.5 with esp8266 boardversion 2.4.2). Compiling is OK en uploading is no problem.
But when i run the software i get a error. Can you help me to resolve this issue?
` Beca Modbus to MQTT Gateway Connecting to Wifi........ Connected to wifi network IP address: 192.168.1.137 Signal [RSSI]: -38 Modbus connection is set up MDNS responder started HTTP server started Starting UDP Local port: 2390 Requesting NTP update from 212.92.16.193 Sending NTP packet... Attempting MQTT connection...connected NTP Update (epoch): 1547765862 NTP Update (time): 17-01-2019 22:57:42 Modbus minute update failed: Response timed out Error: Response timed out
Exception (9): epc1=0x40104b14 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000003 depc=0x00000000
ctx: sys sp: 3fffec00 end: 3fffffb0 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d vbb28d4a3 ~ld
Beca Modbus to MQTT Gateway`