Home Assistant integration for my-PV
This repo is actually forked from @zaubererty and implemented some commits from @coccyx00. We still improved this integration by adding more services, improved code and discovery.
There are 2 ways how to install thw my-PV Home Assistant integration
-
Manual installation Copy this folder to
config/custom_components/mypv/
. -
HACS You need to install HACS. Download HACS
After that go to the 3 dots on HACS --> Custom Repositories --> paste the link of this repository --> select Integration as type --> click on Add After that it should be available on HACS --> Search my-PV --> Install my-PV
The integration is configurated via UI (recommended) or via configuration.yaml
To implement recommended user interface:
In dashboard go to: edit -> 3 dots -> raw- configuration editor
Paste following code and replace entities based on your device:
Code
views:
- title: Home
cards:
- type: vertical-stack
cards:
- type: gauge
entity: sensor.ac_elwa_2_192_168_12_51_power1_solar
needle: false
max: 3500
- type: history-graph
entities:
- entity: sensor.ac_elwa_2_192_168_12_51_temperatur_1
- type: entities
entities:
- entity: number.hot_water_assurance_192_168_12_51
- show_name: true
show_icon: true
type: button
tap_action:
action: toggle
icon_height: 30px
entity: button.single_boost
icon: mdi:thermometer
- type: horizontal-stack
cards:
- type: button
tap_action:
action: toggle
entity: switch.device_state
icon_height: 40px
name: Power
margin: 5px
- type: button
tap_action:
action: toggle
entity: button.boost_button
icon_height: 40px
name: Boost
- type: entity
entity: sensor.ac_elwa_2_192_168_12_51_screen_mode
name: Status
- clean up and testing code
- PR to the Home Assistant Core
- Release to HACS
- Monitoring of all status values
- Fixed issue #7 from @zaubererty (deprecated constants)
- Added icons
- Added button for warm water boost
- Added switch for devmode
- Filtering sensors based on device type
- Autodiscovery (inofficial)
- Configuring sensors
- Added hot water assurance, configurable via slider and "Save" button
- Display screen mode of my-PV devices
- Test other devices (my-PV WiFi Meter, AC ELWA-E)