Open 11ange opened 3 years ago
Can you trigger a refresh sensors ? It could be built into an faulty sensor check too. The ghost/removed sensors would report a faulty code or missing measurement. So trigger a check (button/command/timed and have them removed from your dicio_ds ?
Hello ! How I can unload ou remove devices that are no present anymore in the bus? Everytime I connect a sensor on the bus a new folder is created (at /sys/bus/w1/devices/w1_bus_master1 with the HW-ID of the new sensor), but folders for defective sensors or sensors not present are still there.
Here is part of my code:
If one of the sensors are defective and I remove it and put a new one, the len(sensores)=3 and it is not desirable, as I have only 2 sensors operational. Is this possible or should I improve my code? Thank you in advance!