Two temperature alarms with single output and DS18B20 sensors #208

Open
opened 2019-01-15 10:43:16 +00:00 by fantasmag0ria · 0 comments
fantasmag0ria commented 2019-01-15 10:43:16 +00:00 (Migrated from github.com)

Describe the bug
I was using "temperature alarm" function to shut the power to my printer off (using SSR on the PSUP side) when ambient temp in my enclosure was too high (FIRE!). It was working beautifully. Now I added another sensor in the electronics compartment and wanted it to do the same thing. Problem is when I try to add second "temperature alarm" everything stops working. Temperature from sensors in not updated, both alarms stop working. Checking temperature using SSH works. It is not updated on the GUI side of things.
Deleting second "alarm" solves the problem.

To Reproduce
Steps to reproduce the behaviour:

  1. Add two ds18b20 temp sensors
  2. add single temp alarm controlling an pin output
  3. check if it works
  4. add second temp alarm controlling the same pin output
  5. temperature display is not updating any more, alarms don't work
  6. delete second temp alarm
  7. everything works fine.

Expected behavior
I expect the second "temperature alarm" to work the same as first "alarm".

**Describe the bug** I was using "temperature alarm" function to shut the power to my printer off (using SSR on the PSUP side) when ambient temp in my enclosure was too high (FIRE!). It was working beautifully. Now I added another sensor in the electronics compartment and wanted it to do the same thing. Problem is when I try to add second "temperature alarm" everything stops working. Temperature from sensors in not updated, both alarms stop working. Checking temperature using SSH works. It is not updated on the GUI side of things. Deleting second "alarm" solves the problem. **To Reproduce** Steps to reproduce the behaviour: 1. Add two ds18b20 temp sensors 2. add single temp alarm controlling an pin output 3. check if it works 4. add second temp alarm controlling the same pin output 5. temperature display is not updating any more, alarms don't work 6. delete second temp alarm 7. everything works fine. **Expected behavior** I expect the second "temperature alarm" to work the same as first "alarm".
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#208