-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: #247
Comments
The IR temp sensor sounds interesting. As I understand heating for reptiles it's useful to distinguish between air temperature (which is less easy for a reptile to benefit from) and substrate temperature (which a reptile can more easily generate energy from). I measure the substrate temp via an IR gun (this sort of thing https://www.ebay.co.uk/p/EXO-Terra-Infrared-Digital-Pocket-Thermometer/2254714221?iid=252315602703&chn=ps). Could the GY-906 MLX90614ESF replicate those measurements? |
Ah new sensors... @swekley there is only a new policy: New features will cost you some pictures ;) #210 The CO2 sensor is a bit strange, because you can't specify the address. But it is added to the branch In order to make sure it is all working, a rerun of the installer is needed. So after the git pull rerun the installer and reboot. When adding the sensor, just put any text in the address field. It does not matter |
The IR Temp sensor is a bit unhandy, as it does provide different temperature types... So I have to find a way to add multiple temperatures from the same sensor as multiple sensors in my software like some humidity sensors that also provide temperatures. Need some more thinking about it... |
@stuartabrown The sensor does exactly the same as the IR gun. If the plant temperature differs more than ~2 degrees from the environment temperature it will slow down the photosynthesis of the plant. kinda the same with reptiles :) @theyosh Wow I didn't expect it to be added this quick. I've ordered the sensors a week ago but they will be shipped somewhere this month because of chinese new year.. so I will test when I receive the sensors. About the IR temp sensor, it does ambient temperature and object temperature. Maybe you could add object temperature as sensor type, or am I getting it wrong? I wanted to post my setup already but then I decided to build it all in an aluminium box. I'll post some pictures on monday when I'm home |
@swekley, that IR sensor does look awesome. Do you know if there is a max distance from sensor to surface to be measured? |
@swekley I would just use the temperate other way around. Because ambient temperature can also be measured with multiple other temperature sensors in the same room. Temperature at the object, that is the specialty of this sensor, and therefore, I think that should be the normal temperature. So I am thinking of creating an address that looks like: |
I wouldn’t mind testing this either. |
Added support for MLX90614 sensor. use the normal I2C address for object temperature. Add a second sensor with the same address but than add ',a' for ambient temperature in stead of object temperature. Both values will be handled as just temperatures. This is all not tested jet. Just ordered some MLX90614 sensors to test with.. |
I have received the MLX90614 and confirm that the module itself is working really good. I haven't tried it on the Pi I use for TerrariumPi yet but I will do that this weekend. |
Nice, thanks for the update |
Somehow my relays stopped working, and so did 1wire since i changed the 1wire pin to bcm 20.
same for the MLX90614
|
Hmm, you are still on branch issue/247? Do a Lets just test one sensor at a time. |
I've just ran a git pull and reinstalled, nothing changed. Both sensors still give the same error when i try to add them separately |
Strange... But are you sure that you are on the branch But I am able to add them through the webinterface.... |
I tried |
@swekley it depends (I think) on whether @theyosh has merged that issue branch into master. If not you will need to switch to that branch once installed 'git checkout issue/247' Edit, yes I think you will need to, https://github.com/theyosh/TerrariumPI/tree/issue/247?files=1 (view on desktop) shows that the issue branch is ahead of master |
After modifying terrariumSensor.py I confirm both sensors are working. the only thing that needs to be changed is that it'll run the co2 command in python 3 when using 3. |
Cool! I updated the code to fix that issue. As well, I saw that the sensor can also readout temperature. So that is added also. Could you test that also? Jut add the mh_z19 sensor a second time with temperature option. |
Temperature works fine. I didn't even know it had that feature 😋 |
Cool. I had the feeling it would work, So this code is also in the master branch. So now you can switch back to the master branch and update to the latest master.
It should trigger again an installer run due to again new modules :) But then it should run with your new sensors... Thanks for testing! |
Ok, I close this now, as the code is in the master branch and working. Thanks again for testing! |
Hi,
I've ordered a co2 sensor to be able to regulate the co2 in a greenhouse, and an infrared temperature sensor to measure the temperature inside a plant. TerrariumPI doesn't support these yet, but I think it would be great if you could support these sensors as both have multiple purposes. I've added links to python codes/libraries of these sensors below.
co2: MH-Z19
IR temp: GY-906 MLX90614ESF
The text was updated successfully, but these errors were encountered: