Closed profawk closed 11 months ago
Please revert the changes that you made to the reset logic. This should be valid for all sensors. Reset should do a power off/on for the connected sensor.
Also run the pre commit hooks so the checks passes.
I fixed the CI errors and reverted the reset
change
I can see that this uses i2c bus connection and you connected this to the same bus as the displays ?
I will need to do an update to the schema as well to make it clear how to hook up this sensor and it will require a different wiring for the scale base as well.
Have you tested this setup with a long cable (1.5 - 2m) to the scale so its confirmed that it will work when placing the sensor in the base of the scale ?
I have merged this PR into the dev stream and checked that the sensor can be read. Will do more testing before making a release.
I also added the pressure value that the sensor can provide.
this pr does the following:
please talk to me before you do big changes the code. this is tested with a BME280