Hi Robert, I have been chasing around with uptime issues with several ESP32 assemblies. I checked with the code and it seemed to have recovery built in with task watchdog protection. I suspected I was having intermittant wifi issues but assumed the boards would recover if wifi was lost/reinstated. However a daughterboard I was slowly adding sensors to clearly didn't have any of this. I added the 30sec check code from[ https://randomnerdtutorials.com/solved-reconnect-esp32-to-wifi/] to the daughterboard...
Hi Robert, I have been chasing around with uptime issues with several ESP32 assemblies. I checked with the code and it seemed to have recovery built in with task watchdog protection. I suspected I was having intermittant wifi issues but assumed the boards would recover if wifi was lost/reinstated. However a daughterboard I was slowly adding sensors to clearly didn't have any of this. I added the 30sec check code from [https://randomnerdtutorials.com/solved-reconnect-esp32-to-wifi/] to the daughterboard...
Added print messages to Slave, I get 7 or 8 success and then rest unsuccessful: Data send successful Sending message via ESPNOW now Ambient: 23.96 Humidity: 48.09 Data send successful Data send successful Sending message via ESPNOW now Ambient: 23.96 Humidity: 48.09 Data send successful Data send successful Sending message via ESPNOW now Ambient: 23.96 Humidity: 48.07 Data send NOT successful Data send NOT successful Sending message via ESPNOW now Ambient: 23.97 Humidity: 48.07 Data send NOT successful...
If I enable the ESPNOW debug on the Master I get: init espnow ESPNOW init Ok slave device add ok ESPNOW callback added .................... etc in the serial monitor. On the Slave in mydefines debug I get: process page done STARTED Sending message via ESPNOW now Data send successful Send successful Sending message via ESPNOW now Data send successful Sending message via ESPNOW now Data send successful Sending message via ESPNOW now Data send successful Sending message via ESPNOW now Data send successful...
Interestingly one of the standalone ESPNOW (not wifi) tutorials only worked when the channel number was either 0 or 1. My home 2.4ghz channel is currently channel 3 because of conflicts. Trying it on 1 made no difference to the mySQM+ operation.
Hi Robert, Firmware from latest 129-04 but same with earlier releases. I have two modules, Master has Examples mysqmplus-128-35-EX1-01 set up with Station Mode, Static IP, etc and has GPS, MLX90614, TSL2591 and RTC. All working and values displaying via Win10 management window as well as web page. BME280 specifically not defined. Slave has Examples myESP32DB-BME280-EX1-v06 also set up with Station Mode, Static IP etc. Has just BME280 enabled although there are other sensors present but not selected....
Hi Robert, I've just completed a 3D Wind Vane using the same screw together base and lower body as Christopher Baker's anemometer, wandered off a bit with the design to suit my arrangements. One thing that I did find however was that using the same axial force-field magnets as used on the anemometer design gave very inconsistent results. Changing to a diametrically magnetised magnet sorted that out though. Not that common but they are available. Perhaps this needs to be mentioned in the design notes....
Hi Robert, I've just completed a 3D Wind Vane using the same screw together base and lower body as Christopher Baker's anemometer, wandered off a bit with the design to suit my arrangements. One thing that I did find however was that using the same axial force-field magnets as used on the anemometer design gave very inconsistent results. Changing to a diametrically magnetised magnet sorted that out though. Not that common but they are available. Perhaps this needs to be mentioned in the design notes....