Bangee44 / MMM-DHT22

Additional Module for MagicMirror² https://github.com/MichMich/MagicMirror
15 stars 2 forks source link

No response, just "Loading..." #8

Open cslev opened 2 years ago

cslev commented 2 years ago

Hi and thank you for developing this module! I downloaded and installed all libraries, and the binary also works fine if I issue it with the right pins.

# ./dht_var 7
50.6,38.5

However, if I set the values according in my config.js:

...
    {
      module: 'MMM-DHT22',
      position: 'top_right',
      config: {
        sensorPIN: 7,
        updateInterval: 0.5, // Minutes
      },
    },
...

I don't see anything, just "Loading...". Anyone encountered this already?

Thanks

cslev commented 2 years ago

Btw., I realized just now that I am running magicmirror in a docker container, so no issues with being root, but wiringPi was missing. So, I also installed wiringPI within the container, but I still see Loading only. On the other hand, now the binary of dht_var gives 0.0,0.0 for pin 7. Anyway, that's another problem, but still, magicmirror module does not show 0 and 0 for temp and hum...only Loading. Thanks

Dubidubiduu commented 2 years ago

tried https://github.com/Bangee44/MMM-DHT22/issues/2#issuecomment-551059166 ?

cslev commented 2 years ago

never mind, i adapted another lib and created my own :) thanks