03-03-2023, 01:38 AM
(This post was last modified: 03-03-2023, 01:51 AM by woodnboats.)
Two new data.
I looked at the VirtuinoESP.h library, and it had WEMOS_D1 selected as the board library to use, so I changed that to NODEMCU, but that didn't help.
Then I loaded the sketch to the original NodeMCU, and ran it with no other servers enabled than the serial monitor in ArduinoIDE. It ran perfectly, reading and reporting all four DS18B20 readings correctly (-196, as I had no probes actually attached to the board).
Next I opened the Virtuino Project in my cell phone. I examined the server in the project, and tried to connect with the server disabled. The parameters in the project server appeared correct, but a connectivity test returned an orange bar, with no text, instead of the green or red bars usually seen.
I then enabled the server and attempted connecting with the project menu. It began trying to connect, but was unable to do so. At the same time, the serial monitor began displaying at random intervals:
18:22:22.700 -> 1234!V00=?$!V03=?$!V02=?$!V01=?$
18:22:22.739 -> invalid request
18:22:27.682 -> 1234!V00=?$!V03=?$!V02=?$!V01=?$
18:22:27.718 -> invalid request
This appears every two or three iterations of the loop. In between, the correct data is displayed:
18:22:17.642 -> Requesting temperatures...
18:22:17.642 -> DONE
18:22:17.642 -> Temperature for Device 1 is: -196.60
18:22:17.683 -> Temperature for Device 2 is: -196.60
18:22:17.759 -> Temperature for Device 3 is: -196.60
18:22:17.797 -> Temperature for Device 4 is: -196.60
The false data displayed is that of the fields in the server settings, followed by "invalid request".
My next step is going to be to build a new server for this project, to make sure all of those parameters, including board and Virtuino libraries are correct, since I was unable to figure out how to edit the current server.
Update: That didn't work either. I added a screenshot of the connection test results.
I looked at the VirtuinoESP.h library, and it had WEMOS_D1 selected as the board library to use, so I changed that to NODEMCU, but that didn't help.
Then I loaded the sketch to the original NodeMCU, and ran it with no other servers enabled than the serial monitor in ArduinoIDE. It ran perfectly, reading and reporting all four DS18B20 readings correctly (-196, as I had no probes actually attached to the board).
Next I opened the Virtuino Project in my cell phone. I examined the server in the project, and tried to connect with the server disabled. The parameters in the project server appeared correct, but a connectivity test returned an orange bar, with no text, instead of the green or red bars usually seen.
I then enabled the server and attempted connecting with the project menu. It began trying to connect, but was unable to do so. At the same time, the serial monitor began displaying at random intervals:
18:22:22.700 -> 1234!V00=?$!V03=?$!V02=?$!V01=?$
18:22:22.739 -> invalid request
18:22:27.682 -> 1234!V00=?$!V03=?$!V02=?$!V01=?$
18:22:27.718 -> invalid request
This appears every two or three iterations of the loop. In between, the correct data is displayed:
18:22:17.642 -> Requesting temperatures...
18:22:17.642 -> DONE
18:22:17.642 -> Temperature for Device 1 is: -196.60
18:22:17.683 -> Temperature for Device 2 is: -196.60
18:22:17.759 -> Temperature for Device 3 is: -196.60
18:22:17.797 -> Temperature for Device 4 is: -196.60
The false data displayed is that of the fields in the server settings, followed by "invalid request".
My next step is going to be to build a new server for this project, to make sure all of those parameters, including board and Virtuino libraries are correct, since I was unable to figure out how to edit the current server.
Update: That didn't work either. I added a screenshot of the connection test results.