Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: "powerpal"
- platform: ESP32
- board: esp32dev
- external_components:
- - source:
- type: git
- url: https://github.com/muneeb1990/esphome
- ref: powerpal_ble
- components: [ powerpal_ble ]
- # Enable logging
- logger:
- level: DEBUG
- logs:
- esp32_ble_tracker: WARN
- # Enable Home Assistant API
- api:
- ota:
- password: "OTA_PASSWORD"
- wifi:
- manual_ip:
- # Set this to the IP of the ESP
- static_ip: 192.168.0.180
- # Set this to the IP address of the router. Often ends with .1
- gateway: 192.168.0.1
- # The subnet of the network. 255.255.255.0 works for most home networks.
- subnet: 255.255.255.0
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "powerpal"
- password: !secret ap_password
- captive_portal:
- time:
- - platform: homeassistant
- id: homeassistant_time
- esp32_ble_tracker:
- ble_client:
- - mac_address: !secret powerpal_mac
- id: powerpal
- switch:
- - platform: restart
- name: "Powerpal Monitor Reboot"
- sensor:
- - platform: powerpal_ble
- ble_client_id: powerpal
- power:
- name: "Powerpal Power"
- daily_energy:
- name: "Powerpal Daily Energy"
- energy:
- name: "Powerpal Total Energy"
- battery_level:
- name: "Powerpal Battery"
- pairing_code: !secret powerpal_pairing_code
- notification_interval: 1
- pulses_per_kwh: 800
- # http_request: powerpal_cloud_uploader
- time_id: homeassistant_time # daily energy still works without a time_id, but recommended to include one to properly handle daylight savings, etc.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement