Skip to content

Conversation

@fishpepper
Copy link

Addresses issue #17 by adding functionality for an in-line mechanical safety relay.
Similar to #60 but updated to current main code and without the led output stuff.
Only tested in lab setup as my oven is not finished yet... Use at your own risk.

self.heat_rate_temps = []
self.pid = PID(ki=config.pid_ki, kd=config.pid_kd, kp=config.pid_kp)
self.catching_up = False
self.emergency_trigger()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why an emergency is triggered here. I think you are using this to shut down power to the kiln relays after each heating cycle.... which seems odd to me.

I would think you would want to shut power to the kiln down when there is a known problem, not 20,000 times during a firing.

Maybe I'm misunderstanding the change?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most everything else looks fine. I would like to see this as optional... so it needs to be tested with and without the setting existing in config.py. It should not error out if the setting does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants