Weak WiFi signal does cause problems because the POWER to transmit data is higher, and the retransmitting results higher loading of the system. I can't look at this, because the POWER and the wiring is done by you, and we don't have access to the WiFi module or even the task scheduler.
Some people did report issue like yours. However, I can do nothing in most cases. It could be bad wiring, bad NodeMcu/D1 min, bad WiFi signal, and bad software. Even when software is concerned, there are at least three parts of it. It might be the parts that we don't have access to, like WiFi related. Or, the framework and library. Only when the issue comes from the code I wrote, which is considered as a small part of the whole software, I MIGHT be able to solve it.
Thank you for your answer, pocketmon.
I know I sounded a bit but hurt and harsh, but I really was a bit frustrated when writing
.
I really like the project and would really like to get this working as the alternatives I have found isn't really interesting...
What happened after I almost gave up:
- I switched the power supply
- Switched to LCD (was my plan all the time, just got an LCD2004 in the mail)
- Running station only
- Rewired to using 3v3 to the relay control (optocouplers)
There might be some varying WiFi signals in the location of the brewery (the garage), and if this can cause the NodeMcu to fail, it might have been the reason for the reboots.
However; Things seem to have stabilized. I started a new test yesterday, and it has now run for about 36 hours without failing. During the test I have used Beer Const mode and tested both increasing the temperature (up to 35 degrees, I'm looking into some kveik fermenting) and decreasing the temperature. Right now I'm running it as a fridge controller (Fridge const) set to 3 degrees, and it runs just fine.
If the WiFi is critical, I'm going to put up a WiFi AP in the brewery, I actually have a network cable to my "garage server", so this will be easy.
Once again, thank you, and sorry for sounding like an old fart
Now, is there anywhere I can read about how the different temperatures are used in the calculations? I'm also wondering a bit about the different statuses and the logic behind them. I haven't found anything on this in the wiki/readme, but I might have missed it.
I probably should be reading up on PID regulators, I used to know a little bit, but I have forgotten most of it (leared about them in scool some 30 years ago, but never got to work with automation, so...), but any tips would be very appreciated.