-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
[FEATURE]: Sensirion SHT4X sensor #674
Comments
Hmm, I have to look into this. I found a library that could read out this sensor. But that takes some time to implement. Give me a week. I think I know more then. |
Sure, take all the time you need. I'm out of town so I couldn't test it anyway at the moment. I should be able to once you figure something out! Thanks! |
Hmm, sorry, it is already added :) But it is only on the 4.x.y.z branch. You can switch to it using the following commands:
And then rerun the installer |
I see, I'll do that as soon as I am home again! |
Hey, so I just switched to the 4.x.y.z branch (did all the steps) but now I can't access my admin panel anymore. Already rebooted the Pi4 a few times but still nothing. Edit: I'll just swipe my install completely and do a fresh install as I do have some other stuff on the mSD card that I don't need anymore. Edit 2: I switched back to the main branch and I can access the admin panel now. So there may be something up with the 4.x.y.z branch? Or I'm doing something wrong. |
Hmm, without any error it is hard to judge. It is the development branch, but I am able to run it. So if you are willing to try once more, and try this: https://theyosh.github.io/TerrariumPI/faq/how-to-debug-terrariumpi/ |
Hmm found the issue. Do a |
Sorry, but I made a small mistake in the installer. So try a final |
I did |
Hi, I think our lasts messages just crossed. Because this should all be fixed now, and install the correct python libraries. Could you test once more? |
And can I then ask to look at #210 ? |
Hi, I'll do it ASAP. Coincidentally I am on a train again. In regards of the pics, I actually ordered new enclosures and once I am done with them, I'll make sure to post them :) Should be pretty interesting. Though it may take another 2 months because it definitely needs some time to finish. Hope that's alright! Also I probably will open up another Issue in regards on how to dim fluorescent tubes with a dimmable electrical ballast, which hopefully should be possible in some way. I may just try to dim it with my current IRF3708 module but that may not work. |
Hmm, regards to dimming, that could be hard. There are multiple questions regarding to dimming, so I would suggest also to look in the closed issues. Not all dimming issues are solved, but at least they all have quite some information and tests that could help. The IRF3708 should work with the existing RF- dimmer type... I think. Can't test that. |
This is my fault. Made a typo in the requirements.txt file. So I would like to ask once more to do :
And then it should be working again. And this is on the 4.x.y.z branch |
Works now, thanks! Thank you very much! Will the SHT4x be added to TPi 4.3 / main branch? Or should I just stay on the 4.x.y.z branch? |
Also I just looked at issue #643 |
You should be able to enter 1024 in the 'Dimmer max dim value'. When you enter a value higher then 0 then the old dimming code will activate. Else I use a new way of dimming. But it seems that the new way does not always work well. So you should just be able to enter the 1024 to get the dimmer working the 'old' way. This is a new feature and is not yet documented |
Which GPIO pin are you using? Because with the 'legacy' mode, you can only use GPIO pins which have hardware PWM: https://pinout.xyz/pinout/pwm# The new dimming method, is software based, where the legacy is hardware based. So for legacy only the following GPIO pins are valid: 12, 32, 33, 35 where I saw that 12 and 32 are shared as 33 and 35 are shared. I did not fully investigate, as I do not have enough dimmers and devices to test with. |
Hi, I made a small change, so do a In the name you have LED. Which suggests that you have a LED device. And dimming LED devices is hard. I test with normal light bulbs. Which dim much more easier. So, if you are trying to dim a led, I would like to ask to google a bit more about the LED device and dimming. For example: #645 And I would like to close this issue, as the new sensor is working... You can also use #643 for updates. |
Sure, I'll post updated in the mentioned issue! |
Is your feature request related to a problem? Please describe.
I tried to set my SHT40 sensor up using the SHT3x settings but it didn't work, so I think something must be added for the SHT40/SHT4X's to work?
Describe the solution you'd like
SHT4x sensor readouts for temperature and humidity.
Additional context
I already have the hardware so I could test everything, just like last time (in case you remember my name).
If it matters somehow: I got the SHT40 sensor Adafruit sells (adafruit.com/product/4885)
Thanks!
The text was updated successfully, but these errors were encountered: