Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server Problems
#7
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.    
Reply


Messages In This Thread
Server Problems - by woodnboats - 03-01-2023, 05:51 AM
RE: Server Problems - by iliaslamprou - 03-01-2023, 10:08 PM
RE: Server Problems - by woodnboats - 03-01-2023, 11:13 PM
RE: Server Problems - by iliaslamprou - 03-01-2023, 11:30 PM
RE: Server Problems - by woodnboats - 03-02-2023, 05:20 AM
RE: Server Problems - by iliaslamprou - 03-02-2023, 06:35 PM
RE: Server Problems - by woodnboats - 03-03-2023, 01:38 AM
RE: Server Problems - by woodnboats - 03-03-2023, 08:02 PM
RE: Server Problems - by iliaslamprou - 03-04-2023, 01:13 AM
RE: Server Problems - by woodnboats - 03-04-2023, 04:06 AM
RE: Server Problems - by Davidmenk3 - 03-29-2024, 12:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)