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
![](https://private-user-images.githubusercontent.com/174697014/351992510-4d01b350-48f4-4f63-8885-3d4442b7d389.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwODU3MTEsIm5iZiI6MTczOTA4NTQxMSwicGF0aCI6Ii8xNzQ2OTcwMTQvMzUxOTkyNTEwLTRkMDFiMzUwLTQ4ZjQtNGY2My04ODg1LTNkNDQ0MmI3ZDM4OS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwNzE2NTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYzMyYTc0ZjI0OWIxM2ExZWFkNDgwNTc4M2E0ZDg4NzdmZWE2NTRhMmQxNWQzMGJkMzg2NTNiNzg1ZGZlZjZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.kI5xvoNbZ0zf52zPV77dXDYMtN8p859A_fXb6usEulQ)
- 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)