Skip to content

dneprojects/mypv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myPV

Home Assistant Component for myPV

Current version

Installation

HACS (recommended)

Add user defined repository 'https://github.com/dneprojects/mypv' for type integration. Search for integration 'myPV', use the three dot menu on the right side to download. Restart Home Assistant. Add integration 'myPV' in the settings

Manual download

Copy this folder to 'config/custom_components/mypv'. Restart Home Assistant. Add integration 'myPV' in the settings section.

Configuration

The integration is configurated via UI. Enter an IP address, at which a myPV devices will be found.

Features

The myPV custom integration works locally in the home network utilizing the http api. So it doesn't need any login.

  • The integration is written to support multiple devices. However, it is only tested just with one (ELWA 2). For multiple devices, please use the configuration step with a different IP address.
  • It offers binary sensors and sensors for all data points provided by the myPV devices.
  • The heating power can be set manually by an input number between 0 and 3000 W (3600 W for ELWA 2, 9000 W for AC THOR 9s). This will turn on the heater for a predefined time period. This period has to been setup via web or cloud setup, as it is not supported by the myPV api. However, if the power value (usually the surplus of collected solar power) is set by an automation repeatedly within that period, a continuous control can be achieved.
  • In the same way, an upper power bound for the device's internal PID controller can be given. The internal PID controller uses the same time period as the external control described above.
  • In order to enable both control entities, the control type has to be set to "html" via web or cloud setup. Otherwise, only sensor data points will be exposed as Home Assistant entities. The Boost mode, if enabled, works on a weekly schedule to maintain a given minimum temperature. It can be started manually by a button press (if enabled).

Credits

This integration is based on an implementation https://github.com/zaubererty/homeassistant-mvpv. Although it worked fine, the main feature, controlling the device by home assistant automations was not possible. So I totally rewrote the integration. However, thanks to the work of zaubererty at this place!

About

Home Assistant custom integration for myPV devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages