crycode-de / ioBroker.ds18b20

ioBroker adapter for DS18B20 1-wire temperature sensors
MIT License
6 stars 8 forks source link

Please add checkbox to enable/disable sensors #91

Closed pos-ei-don closed 2 years ago

pos-ei-don commented 2 years ago

Please add checkbox to enable/disable sensors.

I have some sensors that i only need in summer/winter (pool, etc.), so i'd like to be able to disable them without deleting them! Or can i disable them by setting the interval to 0?

Thank you alot for this module!

crycode-de commented 2 years ago

You are able to disable the automatic sensor reading for each sensor by setting the interval to 0. Nevertheless it will be read if you are using the readNow action state or the read action in scripts.

See also #89

I'll add a checkbox to disable a sensor completely, but it may take some time due to other higher prio tasks atm.

pos-ei-don commented 2 years ago

Great THANK you! I did not find this issue before, but writing 0 is totally good for me actually!!!

Videonisse commented 2 years ago

This is the same as #89

It also solved the urgent issue for me, but maybe the Feature Request in #89 is still valid because the Adapter status is still yellow and it shows a red warning regarding the connection?

image

crycode-de commented 2 years ago

New option "enabled" is now available in v1.5.0 which can be installed via NPM know. Tomorrow it will be in the latest repo and after some feedback I'll push it into stable.

Thank you for your report!

Videonisse commented 2 years ago

Many thanks, it works great!

pos-ei-don commented 2 years ago

Thank you a lot!