I’ve been playing with the software for a couple of weeks and was ready to start incorporating hardware.
Last night I hooked up a chest freezer I’ve been using to ferment with and store beer in.
Currently, there are 3 kegs in there.
Only the compressor is controlled at the moment.
I set the cooling PWM period to 1 hour.
I saw varying periods as it dropped temp, but nothing over 45min.
This morning, I can see that it has settled at temp (35*F) and a period of ~8minutes.
The constraints are min off 5 min & min on 3 min.
It’s as if it is running on the constraints and ignoring the period setting.
I wanted a long period to avoid the rapid switching.
Why am I seeing this behavior?
If it matters, I did adjust the period value while the system was live.
I adjusted the PID values as well.
Right now, PID values are only P.
I stopped and restarted services, no effect.
I changed the period to 15 minutes… that stretched the period out from 8 minutes to 10 minutes.
I guess I am puzzled why it’s not 15 minutes?
While playing with mock sensors, I was able to establish a 6 hour period without issue (for a different function; defrost).
This does sound like a bug in the PWM period stretching it applies if it’s blocked from achieving the setting.
Could you please export your blocks? (Spark service page actions)
Upon closer inspection, it appears the period lining up with the min on and min off times was pure coincidence.
The actuators turn on/off when the PWM value hits ~30%.
The PWM doesn’t seem to care at all about the period setting.
I can create external disturbances that lengthen the on time (opening the lid).
Sure, the period lengthens when that happens, but that’s just caused by the actuators triggering on/off around 30%.
Any ideas yet on this issue?
I was planning on brewing this weekend.
Right now, I have P & I maxed out and 30 minutes min off times on the actuator. It’s not ideal, but works about as well as the inkbird.
Should I blow away all my blocks and start over?
Or would I end up right here again?
The termbin export of my blocks resulted in a txt file.
If I rename that extension to json, will it import via the UI?
It might be an out of memory bug. I’ll try again later with your eeprom dump.
I noticed the memory use was quite high. The latest release will show it on the display.
Removing unused blocks will help.
I hope the latest release fixes all the PWM issues.
Enabled control of the freezer, set it to 50F and got 14 minute periods.
PWM period is set to 30min.
Set it to 32F and got 15 minute periods.
Completely disregards the period setting and turns on/off when the PID crosses ~30%.
The 500 error turned into: “Failed to fetch stored blocks from spark-one: Internal Server Error” after the update.
After deleting 114, the export works!
That’s an improvement. I will try erasing everything and starting from scratch to see if that helps any.