KinCony M1 configure yaml for ESPhome - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-M16 / M1 / MB / M30 (https://www.kincony.com/forum/forumdisplay.php?fid=50) +--- Thread: KinCony M1 configure yaml for ESPhome (/showthread.php?tid=3301) |
KinCony M1 configure yaml for ESPhome - admin - 09-21-2023 M1-Home assistant.txt (Size: 865 bytes / Downloads: 195) esphome: name: m1 platform: ESP32 board: esp32dev uart: - id: uart_bus tx_pin: GPIO13 rx_pin: GPIO14 baud_rate: 9600 stop_bits: 1 # Enable logging logger: # Enable Home Assistant API api: # Example configuration entry ethernet: type: LAN8720 mdc_pin: GPIO23 mdio_pin: GPIO18 clk_mode: GPIO17_OUT phy_addr: 0 sensor: - platform: bl0942 uart_id: uart_bus update_interval: 3s voltage: name: 'M1 Voltage' current: name: 'M1 Current' filters: multiply: 0.1965 power: name: 'M1 Power' energy: name: 'M1 Energy' frequency: name: "M1 Frequency" accuracy_decimals: 2 switch: - platform: gpio pin: 33 name: "M1-relay" binary_sensor: - platform: gpio pin: 32 name: "M1-sensor-DI" |