Custom inputs and P...
 
Notifications

Custom inputs and PID for Grow Tent  

Page 2 / 2
  RSS

Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 99
18/09/2019 10:48 pm  

What I would recommend next would be to regulate temperature. Since temperature and humidity interact with each other, it will be crucial to get their PIDs to play nicely with each other.

First, for humidity I would recommend setting Kp=0.5 and Kd=0.05, then see how that tuning does in comparison to the first.

If all is well, I would set up the heater PID the same way as the initial tuning of the humidity PID, however do not run them together for the first run of the heat PID. If the heat PID performs well, then run both the heat and humidity PIDs. 

Mycodo Developer


ReplyQuote
jpmchitty
(@jpmchitty)
Active Member
Joined: 5 months ago
Posts: 14
19/09/2019 7:42 am  

@kylegabriel Thank you, setting up test now.


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 99
20/09/2019 1:38 pm  

Ref: https://github.com/kizniche/Mycodo/issues/692#issuecomment-533536735

This is low priority but do you think this light api could be incorporated into Mycodo? I have the LX60.

https://support.heliospectra.com/portal/kb/articles/api-documentation-all-series-models
http://support.heliodevteam.com/API%20documentation%20(all%20series%20&%20models)/tcp_control_socket_140919.pdf

What do you intend to automate this for (details of application)? This will give me an idea if the functionality already exists with Mycodo.

Mycodo Developer


ReplyQuote
jpmchitty
(@jpmchitty)
Active Member
Joined: 5 months ago
Posts: 14
20/09/2019 4:58 pm  

@kylegabriel

It would be one form of temperature control without having to run fans. Also to run daily light cycles with different spectrum intensities at different times.


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 5 years ago
Posts: 99
20/09/2019 5:36 pm  

Then I would say Mycodo can already do this. Make a Python script from the code in that doc, as a class, then you can make a Conditional to load the class and use it to control the light. The Conditional Statement is Python code, so you can use it any way you want to, such as adding timers, sensor measurements, output measurements, output manipulation, etc. The Conditional Statement code will be executed by the Conditional at a configurable interval.

If you have any specific tasks you're looking to perform, I can try to guide you in the right direction.

This post was modified 5 months ago 2 times by Kyle Gabriel

Mycodo Developer


jpmchitty liked
ReplyQuote
Page 2 / 2