03-01-2023, 05:51 AM
My NodeMCU server quit working properly about two days ago. Looking at the output on the serial monitor, saw that the sketch was running properly, but about every two or three loops it would return :
1234!V00=?$!V03=?$!V02=?$!V01=?$
invalid request
and then continue looping properly for several iterations. I reloaded the sketch, but got the same results. I then tried a different NodeMCU, and it worked perfectly, so I surmise that the problem is with the NodeMCU.
Now, however, I am unable to connect my project to the new NodeMCU. I changed the server IP to the new one, but I get an orange bar with no text when I test connectivity, which I had once before, and apparently it had to do with the Virtuino library, or the NodeMCU libray. Ilias helped me fix that, but the server settings page doesn't give me the options to change them. I decided to ignore the orange bar and see what would happen. Enabled the server, put the device back into the system, and it connects right up! But it is not displaying data on the dashboard. It is supposed to read four DS18B20 probes, but the display reads zero for all four. When I read the serial monitor on the bench with no probes, I got -196 for each probe, and in the past, when the probes were disconnected I got -196 on the Virtuino dashboard as well. The zeros make me think that there is still a library problem, but I can't change them in server settings, nor can I figure out how to remove this server and create a new one with the proper libraries.
Any help would be much appreciated.
If I could figure out how, I'd attach the sketch and project files.
1234!V00=?$!V03=?$!V02=?$!V01=?$
invalid request
and then continue looping properly for several iterations. I reloaded the sketch, but got the same results. I then tried a different NodeMCU, and it worked perfectly, so I surmise that the problem is with the NodeMCU.
Now, however, I am unable to connect my project to the new NodeMCU. I changed the server IP to the new one, but I get an orange bar with no text when I test connectivity, which I had once before, and apparently it had to do with the Virtuino library, or the NodeMCU libray. Ilias helped me fix that, but the server settings page doesn't give me the options to change them. I decided to ignore the orange bar and see what would happen. Enabled the server, put the device back into the system, and it connects right up! But it is not displaying data on the dashboard. It is supposed to read four DS18B20 probes, but the display reads zero for all four. When I read the serial monitor on the bench with no probes, I got -196 for each probe, and in the past, when the probes were disconnected I got -196 on the Virtuino dashboard as well. The zeros make me think that there is still a library problem, but I can't change them in server settings, nor can I figure out how to remove this server and create a new one with the proper libraries.
Any help would be much appreciated.
If I could figure out how, I'd attach the sketch and project files.