Skip to content

andystewart999/ina_sensor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant INA219

With thanks to ochorocho, the original creator. This fork has been updated to work with Home Assistant 2022.7 and later. Tested on 2022.10.

Adds support for the INA219 current/power/voltage sensor to Home Assistant.

configuration.yaml example:

sensor:
  - platform: ina_sensor
    # Device ID: /dev/i2c-1 == 1
    device_id: 1
    address: 0x40
    scan_interval: 1

⚠️ The constant scanning (every second in example) can spam your logs. To disable logging of the sensor state set the following in configuration.yaml:

recorder:
  exclude:
    entity_globs:
      - sensor.ina219_*