ludiazv / node-red-contrib-bme280

Node RED BME280/BMP280 sensor node
Other
2 stars 8 forks source link

Request that node test for presence of sensor before attempt to initialize same #8

Open dachshund-digital opened 4 years ago

dachshund-digital commented 4 years ago

Request that node test for presence of sensor before attempt to initialize same. Is sensor not found do not attempt to initialize sensor. Do not endlessly attempt to initialize sensor if not found as well. Suggest allow operator set the number of times node should try to initialize sensor. Suggest allow operator to select action to be taken if sensor disappears after once present, such as only search bus to rediscover sensor, or just report sensor missing.

ludiazv commented 4 years ago

This was the behaviour of and old version. I will include your suggestion in a future release. I'll try to make the changes next week.

dachshund-digital commented 4 years ago

Cool. Thank you every much!