Closed J-N-K closed 5 years ago
@J-N-K
First of all, thank you for your work on the onewire binding. As my MS-TH isn't recognized correctly by the discovery, I did some Google research and maybe this is usefull for others. I didn't knowm how to change an ID of the sensor in /26.
owdir / | grep 26.
owread /26.<sensornumber>/MultiSensor/type
owread --hex /26.<sensornumber>/pages/page.3
owwrite --hex /26.<sensornumber>/pages/page.3 19
owread --hex /26.<sensornumber>/pages/page.3
Now the autodiscovery should work correct.
Thanks.
This pull request has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/humidity-channel-missing-in-latest-onewire-binding/63840/24
This PR improves the adnvanced (BMS/AMS) multisensor discovery as requested e.g. here. From now on you only have to set the sensor id of the main sensor, additional sensors are auto-discovered. Also includes code improvements for the discovery service which will make future additions a lot simpler.
Signed-off-by: Jan N. Klug jan.n.klug@rub.de