Smart Home Automation Forum
home assistant configuration yaml file for Pi5M16 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=89)
+--- Forum: Pi5M16 (https://www.kincony.com/forum/forumdisplay.php?fid=109)
+--- Thread: home assistant configuration yaml file for Pi5M16 (/showthread.php?tid=9674)



home assistant configuration yaml file for Pi5M16 - admin - 07-25-2026

Code:
# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

ssd1306_i2c:
  - model: "128x64"
    address: 0x3C
    i2c_bus: 1
    rotate: 0


ads1115:
  - address: 0x48
    i2c_bus: 1
   
sensor:
  - platform: ads1115
    multiplexer: A0_GND
    gain: 4.096
    name: "A1"
    multiplier: 1.51
  - platform: ads1115
    multiplexer: A1_GND
    gain: 4.096        
    name: "A2"
    multiplier: 1.51
  - platform: ads1115
    multiplexer: A2_GND
    gain: 4.096
    name: "A3"
    multiplier: 6.67
    device_class: current
    unit_of_measurement: mA
  - platform: ads1115
    multiplexer: A3_GND
    gain: 4.096
    name: "A4"
    multiplier: 6.67
    device_class: current
    unit_of_measurement: mA
   
binary_sensor:
  - platform: mcp23017
    i2c_address: 0x20
    invert_logic: true
    pins:
      0 : Button_1
      1 : Button_2
      2 : Button_3
      3 : Button_4
      4 : Button_5
      5 : Button_6
      6 : Button_7
      7 : Button_8
      8 : Button_9    
      9 : Button_10    
      10 : Button_11    
      11 : Button_12    
      12 : Button_13    
      13 : Button_14    
      14 : Button_15
      15 : Button_16

switch:
  - platform: mcp23017
    i2c_address: 0x22
    hw_sync: false
    invert_logic: true
    pins:
      0 : Output_1
      1 : Output_2
      2 : Output_3
      3 : Output_4
      4 : Output_5
      5 : Output_6
      6 : Output_7
      7 : Output_8
      8 : Output_9
      9 : Output_10
      10 : Output_11
      11 : Output_12
      12 : Output_13
      13 : Output_14
      14 : Output_15
      15 : Output_16
yaml file download:

.txt   configuration-yaml.txt (Size: 1.83 KB / Downloads: 25)