OpenFermenter
Well-Known Member
- Joined
- Jul 19, 2018
- Messages
- 47
- Reaction score
- 13
Thanks @pocketmon I'll start looking into the Actuator class.I don't have any 1-wire relay. Neither do I have idea about what goes wrong.
The way PTC and capping control use actuators is the same as calling and heating, which uses a virtual "Actuator" class that might be
"DigitalPinActuator" or "OneWireActuator".
I tried using io pin 22 to control the relay for PTC (instead of one of the two DS2413 1-wire boards that share io pin 21) This worked as expected: temperature higher then set point switched on the relay..
I did same for Capper using io pin 22 and that worked as expected too.
So it appears that PTC and Capper don't work on 1-wire using a DS2413.
To summarize the settings I tried in the Devices list for BrewPiLess with two DS2413 boards on io pin 21:
i) IOA1, IOB1, IOA2, IOB2: heat, cool, PTC, Capper
ii) IOA1, IOB1, IOA2, IOB2: PTC, Capper, heat, cool
iii) IOA1, IOB1, IOA2, IOB2: PTC, Capper, None, None
PTC and Capper didn't work as expected. (although I can toggle Capper manually in Control window)
Using IO pin 22 directly:
iv) IOA1, IOB1, IO22: Heat, Cool, PTC
v) IOA1, IOB1, IO22: Heat, Cool, Capper
Both of these worked as expected.
I need to figure this out as I can now have either capper or PTC by using io pin 22, but not both. Still, a big step forward I will look into Actuator class.
Last edited: