Closed mmonstudies closed 1 year ago
The module is just a fancy wrapper, so if it works in python it should work in the module...
HI
Apparently after posting here I found a message in terminal while starting magic mirror(see below) Seems that driver cannot be used, could you recommend solution?
Can you try to see if you are getting the temperature using this? https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/python-setup
Hi these are the libraries which I have used previously to check the sensor. Apparently something is going on since while executing the code from the link in terminal I get a message as below: Furthermore if I execute the code from Geany it seems to be working: For comparison the code I used earliler: and executed in terminal: Frankly speaking I do not know what is wrong..
I don't know either, tbh... The sensor clearly works, but for some reason node is not getting the data... Maybe you can go one level down and try to use the node-dht-sensor lib directly: https://github.com/momenso/node-dht-sensor/tree/master/examples
Okey problem solved, went there and worked right away...
HI sorry for newbie question, I was looking for similar issues posted here but apparently could not find solution for my problem. I downloaded the latest library cm2835-1.71 which should support RPI 4B. The node dht sensor is installed as well. I thought that the sensor could be broken but works fine with python code found on web. What I have change is below: ` { module: "MMM-DHT-Sensor", position: "top_right", classes: "pageL1", header: "Room Temperature & Humidity", config: { sensorPin: 3, sensorType: 11, updateInterval: 60 60 1000, initialLoadDelay: 0, animationSpeed: 1000, units: "metric", relativeScale: 35, debug: false } },
` Thank you for your work and answer in advance!