Make co2 meter more resiliant #1

Open
opened 3 years ago by seba · 0 comments
seba commented 3 years ago
Owner
root@cricket:~# /usr/local/bin/mqtt-sensord 
Connected to 10.100.1.236 with topic tele/cricket/SENSOR
Traceback (most recent call last):
  File "/usr/local/bin/mqtt-sensord", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/mqtt_sensord.py", line 41, in main
    s = sensorlib.Sensor.make_sensor(**scfg)
  File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/sensorlib/base.py", line 39, in make_sensor
    return sensor_cls(**kwargs)
  File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/sensorlib/misc_sensors.py", line 62, in __init__
    self.init_meter()
  File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/sensorlib/misc_sensors.py", line 68, in init_meter
    fcntl.ioctl(self._dev, self.HIDIOCSFEATURE_9, set_report)
OSError: [Errno 25] Inappropriate ioctl for device
``` root@cricket:~# /usr/local/bin/mqtt-sensord Connected to 10.100.1.236 with topic tele/cricket/SENSOR Traceback (most recent call last): File "/usr/local/bin/mqtt-sensord", line 10, in <module> sys.exit(main()) File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/mqtt_sensord.py", line 41, in main s = sensorlib.Sensor.make_sensor(**scfg) File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/sensorlib/base.py", line 39, in make_sensor return sensor_cls(**kwargs) File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/sensorlib/misc_sensors.py", line 62, in __init__ self.init_meter() File "/usr/local/lib/python3.7/dist-packages/mqtt_sensord/sensorlib/misc_sensors.py", line 68, in init_meter fcntl.ioctl(self._dev, self.HIDIOCSFEATURE_9, set_report) OSError: [Errno 25] Inappropriate ioctl for device ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: seba/mqtt-sensord#1
Loading…
There is no content yet.