Read the statement by Michael Teeuw here.
MMM-DHT-Sensor - Get temperature & humidity values from a DHT sensor
-
@PaulB Did you follow all the steps? Without logs is a little bit difficult to know what’s going on… Did you try to check if the sensor is working (like with a python script or something). It sound like a config.js issue…
-
Thanks for your quick reply :
I have checked the config file as well as the set up. Checking the sensor via the console works fine.My next steps are deleting the module and downloading it again. Following step by step your manual.
I keep you updated :)
-
I delete everything and set it up from scratch again.
Unfortunately, as I start the MMM application your module is not shown on the screen. Do you have an idea where the problem is located?I used your config.js-example and just changed the Pinnumber from 2 to 4.
Kind regards,
Paul -
Thanks for the great works.
It’s possible to change the icons color of the temp and humidity?
Thanks for help.
BR
-
It’s done.
-
@Ogret Sorry, I don’t have access to the mirror here, so I was waiting to get home today to reply to you. It’s just adding some code in the custom.css file with the right class, but seems like you already found how to do it!
Cheers,
-
Dear @ryck,
I have installed your module and it works up to the point, where it shows me that “no data is returned”.
I guess that my wiring is wrong.
What do you think? -
@PaulB Hi Paul
That happens sometime, it’s related to the way the raspberry pulls data from the sensor, but it should be OK on the next try. Just in case, put a quick updateInterval (like 1 * 60 *1000) and see what happens…
Also, you can try to get a read directly from the sensor, bypassing the MagicMirror. Just clone this (https://github.com/adafruit/Adafruit_Python_DHT) somewhere and edit and execute this (https://github.com/adafruit/Adafruit_Python_DHT/blob/master/examples/simpletest.py), ie, `python simpletest.py
Good luck!
-
@ryck
Thank you for your help! :)
Finally it works now.By the way… the module looks pretty cool ;-)
-
@PaulB Thank you!