awitwicki / MMM-MHZ19

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

multiple processes #1

Open Binog opened 2 years ago

Binog commented 2 years ago

Hey, I bought a MHZ19 device and plugged it as descriped by you. Still its not working. For now I do see lots of mh_z19.py processes running in htop, slowing down my raspy.

How can I make sure, there aren't so many processes....

for testing purposes:

(with or without - sudo) ./modules/MMM-MHZ19/mh_z19.sh
^CTraceback (most recent call last):
  File "./modules/MMM-MHZ19/mh_z19.py", line 21, in <module>
    val = GPIO.input(pwmPin)
KeyboardInterrupt
Binog commented 2 years ago

Guess, got rid of these processes,. but now get only a value "-4" no change, weither really cloudy in the chamber or fresh air,.. any idea !?

leirons commented 2 years ago

Author

idk everything works

Binog commented 2 years ago

?? ...but a value of -4 isn't really trustworthy....