Skip to content

boneIO-eu/esphome-lm75

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

esphome-LM75

Basic esphome support for LM75.

The LM75 is a 2-wire digital temperature sensor with an analog-to-digital converter and I2C interface. The LM75 provides readings with accuracy of +/-2°C from -25°C to 100°C and +/- 3°C from -55°C to 125°C.

The I²C Bus is required to be set up in your configuration for this sensor to work.

Inspired by esphome-PCT2075 and tmp102 implementations.

Support only reading temperature!

Instalation

Configure external compoenet:

external_components:
  - source: github://btomala/esphome-LM75@v1
    components: [ lm75 ]

And addit to the sensors section:

sensor:
  - platform: lm75
    id: temperature
    name: "Board temperature measurement"
    update_interval: 60s
    address: 0x48

Configuration variables:

  • name (Required, string): The name for the temperature sensor.
  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.
  • address (Optional, int): The I²C address of the sensor. Defaults to 0x48.
  • id (Optional, ID): Set the ID of this sensor for use in lambdas.
  • All other options from Sensor.

TODO

Support for:

  • setting up configuration
  • hysteresis
  • over-temperature output (O.S.)

See Also

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 64.0%
  • Python 36.0%