esphome/esphome/components/max31865
DAVe3283 36ffef083b Fix MAX31865 edge case. (#882)
In a heavy EMI environment, reading the current config from the MAX31865 can
fail, such as switching from a 4-wire sensor to a 3-wire sensor. This causes
the temperature value to be off wildly, but still technically valid, so it
doesn't get reported as a sensor failure.

Since we know what configuration we want, rather than send it to the MAX31865
on setup and ask for it over and over (propagating any error as we write it
back), instead store the base configuration and work from that to change modes.
This not only avoids propagating any error, it also saves a lot of unnecessary
reads from the MAX31865.
2019-11-26 18:31:33 +01:00
..
__init__.py Add MAX31865 sensor support, fix MAX31855 sensor (#832) 2019-11-06 13:56:43 +01:00
max31865.cpp Fix MAX31865 edge case. (#882) 2019-11-26 18:31:33 +01:00
max31865.h Fix MAX31865 edge case. (#882) 2019-11-26 18:31:33 +01:00
sensor.py Add MAX31865 sensor support, fix MAX31855 sensor (#832) 2019-11-06 13:56:43 +01:00