soloam / ha-pid-controller

PID Controller to Home Assistant
MIT License
98 stars 12 forks source link

Are you looking at adding an autotune sometime? #2

Open dmshimself opened 2 years ago

dmshimself commented 2 years ago

Super news on this add on - it's something I've been looking for for ages and there it is :-) As an FYI I'm planning on using it for keeping a fermentor at the perfect temperature for yeast. If you are looking at any developments, an Auto Tune to set up PID etc would be really handy. Your guide on doing it manually is very well laid out and I'm sure that would be enough, but .....

soloam commented 2 years ago

Hello, thank you for your feedback!

Yes, auto tune is on the "To Do List"! Once I have time to look at it, it will be a priority!

I'll keep this issue open to give feedback on it!

Best regards

uSlackr commented 2 years ago

Super news on this add on - it's something I've been looking for for ages and there it is :-) As an FYI I'm planning on using it for keeping a fermentor at the perfect temperature for yeast. If you are looking at any developments, an Auto Tune to set up PID etc would be really handy. Your guide on doing it manually is very well laid out and I'm sure that would be enough, but .....

Love the idea of tracking a fermenter with it. I currently use fermentrack running on arduino for this.

Q: Does this support multiple temp input (for say outside environment) to give the controller more information for easing in on the target temp?

soloam commented 2 years ago

The return temperature should be only one! You can always do the logic in a template. The input can be any Jinja template, so you can do anything to calculate that value, but in the end only one should be returned

RubenKelevra commented 2 years ago

Love the idea of tracking a fermenter with it. I currently use fermentrack running on arduino for this.

Q: Does this support multiple temp input (for say outside environment) to give the controller more information for easing in on the target temp?

You can use HA's build-in tools for that, just run an automation which will sum the values up and divide them thru the number of sensors.

Then run the "TIME SIMPLE MOVING AVERAGE" filter over it.

RubenKelevra commented 2 years ago

Love the idea of tracking a fermenter with it. I currently use fermentrack running on arduino for this. Q: Does this support multiple temp input (for say outside environment) to give the controller more information for easing in on the target temp?

You can use HA's build-in tools for that, just run an automation which will sum the values up and divide them thru the number of sensors.

Then run the "TIME SIMPLE MOVING AVERAGE" filter over it.

@uSlackr Actually, not sure if you're aware, but ESPHome has also a limited PID controller, which is ONLY for temperature control. So as long as you're working with temperatures, and you want to keep the control circuit inside the ESP, you can. :)

soloam commented 2 years ago

I'm actually doing the auto tune right now! Like all auto tune, it should be used as a starting point, and then fine tune to perfection! But I've been having very good results!

dmshimself commented 2 years ago

Nice! Thanks for taking the time

On Tue, 22 Feb 2022 at 08:46, Soloam @.***> wrote:

I'm actually doing the auto tune right now! Like all auto tune, it should be used as a starting point, and then fine tune to perfection! But I've been having very good results!

— Reply to this email directly, view it on GitHub https://github.com/soloam/ha-pid-controller/issues/2#issuecomment-1047182472, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUU52PEHHOHX3MK5HYLSG3U4KJB3ANCNFSM5MWVJP2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

uSlackr commented 2 years ago

@RubenKelevra Thanks for the tip on Esphome. Will take a look.

dmshimself commented 2 years ago

I'm just setting up a new fermenter which is bigger and has different shape and insulation to the one I had before. So it would be an ideal time to test out any auto-tuning you wanted people to look at. No worries if it's a bit too early for testing.

soloam commented 1 year ago

Sorry for the delay in response, some personal problems made me be off for some time.

Just to give some information, work is in progress and I hope that soon t will be available,

Tks

TGM commented 1 year ago

Hello,

Any update on this?