Make co2 meter more resiliant #1
seba
commented 2021-01-11 00:24:03 +01:00
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
```
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?