MMM-Temperature/Humidity Module (DHT11, DHT22 and AM2302 sensors.)
Temperature and Humidity monitoring Module for MagicMirror2 that works for DHT11, DHT22 and AM2302 sensors.
Dependancy : rpi-dht-sensor
For some reason, the module requires elevated permissions to run.(sudo npm start).
It would be great if someone could help in this regard.
Hope it comes of use to somebody else.
Please also share a link to your module and some screenshots!
oops!! I forgot to post the link. My bad :|
The module can be found here.
What is the brand and perhaps part number you’re using for this? Wiring?
@psk Do you need to run magicmirror as
I try to find a solution to do the same as
@Bangee As far as I know, the normal
sudorights already. I use a module to shutdown the mirror which needs sudo rights, but works fine with
execfrom a normal
@Jopyth yes, he has, but he’s going to start the MagicMirror with
sudo npm start
for security reasons I try to run everything without sudo commands.
It has three pins -
+ve - Connected to 5v
-ve - Ground
Data - Connected to pin 2
@Bangee Now, I am running as sudo npm start. Without sudo, it will throw an exception that says it cannot open dev/mem
This is the module screenshot.
I’m using node-dht-sensor
piI don’t have an error but after starting MagicMirror thers a crash.
@psk you should cool down your room :-)
I really do like this! Great job!