You deserve a subscribe, and a big like. I was searching for months on youtube, because I'll use raspberry pi & iot for my master graduation project, my project contains Ph sensor, two injectors, camera and a volume detector.
AF_INET(host, port) error is encountered while raspberry pi code is trying to connected through Internet Protocol version 4 (IPv4) socket (AF_INET). Try to check Check Firewall or Network Restrictions or if you can provide the internet to raspberry pi through other hotspot or wifi.
I have a pressurized containers that stores valuable hardware in a warehouse. I need to monitor the pressure, temperature, and humidity inside the container remotely to prevent any damage to the equipment. IoT solutions seem promising, but I'm looking for a stable and reliable way to do it. Any suggestions?
which vesion of raspberry pi is this? I tried to follow your video with raspberry pi version4. but there's some problem that I cant connect wifi. I have no idea what "Wifi" means here. I'm just novice😅 Isnt this Wifi means that i'm connecting with my laptop?
These video can help you. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-SbY0Y51e2uM.html ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5QBFDO5xoZI.html
Using your exact script and edited a bit to get it to show Fahrenheit which it does while ssh in but Blynk shows Celsius even though I have set everywhere I can find on Blynk to Fahrenheit. Thoughts? I have a reply post on the Blynk forums but no answer yet.
The send the value of the variable in which you have stored the Fahrenheit temperature to virtual pin of blynk. Simple. And also print that to serial monitor so that you can see the results.
It runs the correct value for a while then all of a sudden gets the below error with this edit - blynk.virtual_write(0, humidity,) blynk.virtual_write(1, temperature * 9/5 + 32). Here's the error - Temp=71.8F Humidity=33.6 Values sent to New Blynk Server! Sensor failure. Check wiring. Traceback (most recent call last): File "/home/carma/blynk-library-python/DHT22_NewBlynk2.py", line 46, in timer.run() File "/home/carma/blynk-library-python/BlynkTimer.py", line 87, in run [t.run() for t in self.timers] File "/home/carma/blynk-library-python/BlynkTimer.py", line 87, in [t.run() for t in self.timers] File "/home/carma/blynk-library-python/BlynkTimer.py", line 128, in run self.func() File "/home/carma/blynk-library-python/DHT22_NewBlynk2.py", line 38, in myData blynk.virtual_write(1, temperature * 9/5 + 32) TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
I know thats a lot but I have scoured the blynk community and asked there but no attempts from suggestions there have any better outcome. Thank you very much in advance.
@@SMEDehradun I tried the new adafruit_dht. Unfortunately it doesn't work as it returns error on the adafruit_dht_read line. Have a look I would be interested in a working solution
@@Kritsalos @SME Dehradun It worked for me, but unfortunately couldn't get the data on blynk web and app. On terminal it shows the values by using adaruit_dht library. I can share the codes, can you help me find out where did I do wrong? btw I was using DHT22 Sensor and raspberry pi 4.