Error in pondslider setup

79 views
Skip to first unread message

Heiko

unread,
Dec 4, 2021, 5:15:16 AM12/4/21
to mh_z19 users
Hi there,
I am running the mh_z19 with your python library on a Raspi 3b with Raspbian Buster and python 3.9 and I can successfully call the sensor and get data
pi@co2sensor:~/mh-z19 $ sudo python -m mh_z19 --all
{"co2": 1205, "temperature": 19, "TT": 59, "SS": 0, "UhUl": 512}

What I can't do though is set up the pondslider to publish the data
pi@co2sensor:~/mh-z19 $ sudo python -m pondslider --config config.save.toml
Traceback (most recent call last):
 File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
   return _run_code(code, main_globals, None,
 File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
   exec(code, run_globals)
 File "/usr/local/lib/python3.9/dist-packages/pondslider/__main__.py", line 68, in <module>
   pondslider.read(args.config)
AttributeError: module '__init__' has no attribute 'read'
pi@co2sensor:~/mh-z19 $

Would you have a hint for me as how to debug what's happening? 
Thank you!
Reply all
Reply to author
Forward
0 new messages