zaubererty / homeassistant-mvpv Goto Github PK
View Code? Open in Web Editor NEWMYPV integration for home assistant
License: MIT License
MYPV integration for home assistant
License: MIT License
Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 15:48:56 (8 occurrences)
Last logged: 15:49:02
POWER_WATT was used from mypv, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'mypv' custom integration
ELECTRIC_POTENTIAL_VOLT was used from mypv, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'mypv' custom integration
ELECTRIC_CURRENT_AMPERE was used from mypv, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please report it to the author of the 'mypv' custom integration
FREQUENCY_HERTZ was used from mypv, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please report it to the author of the 'mypv' custom integration
TEMP_CELSIUS was used from mypv, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'mypv' custom integration
For your reference I attached the output of the three requests to my AC ELWA-E.
Connected to a Fronius Symo and a Fronius Smartmeter 63A
There is no power_act...
data.jsn
{
"device":"AC ELWA-E",
"fwversion":"00201.02",
"status":5,
"power":0,
"boostpower":0,
"temp1":565,
"ww1target":600,
"boostactive":0,
"legboostnext":"off",
"loctime":"11:12:01",
"unixtime":1649322721,
"ctrlstate":"Conn. to Fronius. P Grid=-4226",
"blockactive":0,
"meter1_id":null,
"meter1_ip":"null",
"meter2_id":null,
"meter2_ip":"null",
"meter3_id":null,
"meter3_ip":"null",
"meter4_id":null,
"meter4_ip":"null",
"meter5_id":null,
"meter5_ip":"null",
"meter6_id":null,
"meter6_ip":"null",
"surplus":4226,
"m0sum":4226,
"m0l1":null,
"m0l2":null,
"m0l3":null,
"m0bat":0,
"m1sum":6103,
"m1l1":null,
"m1l2":null,
"m1l3":null,
"m1devstate":0,
"m2sum":null,
"m2l1":null,
"m2l2":null,
"m2l3":null,
"m2soc":null,
"m2state":null,
"m2devstate":null,
"m3sum":0,
"m3l1":null,
"m3l2":null,
"m3l3":null,
"m3soc":null,
"m3devstate":0,
"m4sum":null,
"m4l1":null,
"m4l2":null,
"m4l3":null,
"m4devstate":null,
"ecarstate":"null",
"ecarboostctr":null,
"mss2":"null",
"mss3":"null",
"mss4":"null",
"mss5":"null",
"mss6":"null",
"mss7":"null",
"mss8":"null",
"mss9":"null",
"mss10":"null",
"mss11":"null",
"tempchip":35,
"cur_ip":"192.168.178.23",
"cur_sn":"255.255.255.0",
"cur_gw":"192.168.178.1",
"cur_dns":"192.168.178.1",
"cloudstate":4,
"debug_ip":"0.0.0.0"
}
setup.jsn
{
"device":"AC ELWA-E",
"fwversion":"00201.02",
"psversion":107,
"fwupdateerror":0,
"serialno":"160124XXXXXXXXXX",
"macadr":"98-6D-35-XX-XX-XX",
"devmode":1,
"bstmode":0,
"bsttemp":35,
"bstton1":16,
"bsttof1":17,
"bstton2":10,
"bsttof2":11,
"legmode":0,
"legint":7,
"legton":1,
"legtemp":1,
"utc_cor":2,
"sntpip":"131.130.251.107",
"ctrl":3,
"amid":1,
"amp":502,
"regrange":3,
"mradr":1000,
"mrtype":0,
"mrsign":1,
"sradr":1001,
"srtype":0,
"mradrl1":0,
"mradrl2":0,
"mradrl3":0,
"mrtypel":0,
"sradrl1":0,
"sradrl2":0,
"sradrl3":0,
"srtypel":0,
"mrsignbat":0,
"mradrbat":0,
"mrtypebat":0,
"sradrbat":0,
"srtypebat":0,
"iip":"192.168.178.21",
"tout":30,
"ptarget":-200,
"blockon":21,
"blockof":9,
"m1blockdev":0,
"m1devtype":2,
"m1iip":"192.168.178.21",
"m1id":0,
"m1amid":1,
"m1amp":502,
"m1regrange":3,
"m1mradr":40107,
"m1mrtype":1,
"m1sradr":0,
"m1srtype":0,
"m1mradrl1":0,
"m1mradrl2":0,
"m1mradrl3":0,
"m1mrtypel":1,
"m1sradrl1":0,
"m1sradrl2":0,
"m1sradrl3":0,
"m1srtypel":0,
"m2devtype":0,
"m2iip":"0.0.0.0",
"m2id":0,
"m2amid":1,
"m2amp":502,
"m2regrange":3,
"m2mradr":0,
"m2mrtype":0,
"m2mrsign":0,
"m2sradr":0,
"m2srtype":0,
"m2mradrl1":0,
"m2mradrl2":0,
"m2mradrl3":0,
"m2mrtypel":0,
"m2sradrl1":0,
"m2sradrl2":0,
"m2sradrl3":0,
"m2srtypel":0,
"m2socadr":0,
"m2soctype":0,
"m2socsr":0,
"m2socsrtype":0,
"m2stateadr":0,
"m3devtype":2,
"m3iip":"192.168.178.22",
"m3id":0,
"m3amid":1,
"m3amp":502,
"m3regrange":3,
"m3mradr":120,
"m3mrtype":3,
"m3sradr":10,
"m3srtype":3,
"m3mradrl1":0,
"m3mradrl2":0,
"m3mradrl3":0,
"m3mrtypel":0,
"m3sradrl1":0,
"m3sradrl2":0,
"m3sradrl3":0,
"m3srtypel":0,
"m3socadr":0,
"m3soctype":0,
"m3socsr":0,
"m3socsrtype":0,
"m4devtype":0,
"m4iip":"0.0.0.0",
"m4id":0,
"m4amid":1,
"m4amp":502,
"m4regrange":3,
"m4mradr":0,
"m4mrtype":0,
"m4sradr":0,
"m4srtype":0,
"m4mradrl1":0,
"m4mradrl2":0,
"m4mradrl3":0,
"m4mrtypel":0,
"m4sradrl1":0,
"m4sradrl2":0,
"m4sradrl3":0,
"m4srtypel":0,
"ecar_mode":0,
"ecar_ip":"0.0.0.0",
"ecar_lev":2000,
"ecar_int":5,
"ecar_imax":6000,
"ecar_t1":5,
"ecar_t2":15,
"ecar_t3":10,
"ecar_ss":0,
"ecar_ss_imax":6000,
"ecar_sson1":0.0,
"ecar_ssof1":0.0,
"ecar_sson2":0.0,
"ecar_ssof2":0.0,
"ecar_sswd1":1,
"ecar_sswd2":1,
"ecar_sswd3":1,
"ecar_sswd4":1,
"ecar_sswd5":1,
"ecar_sswd6":1,
"ecar_sswd7":1,
"mmde":0,
"sc2":0,
"sc3":0,
"sc4":0,
"sc5":0,
"sc6":0,
"sc7":0,
"sc8":0,
"sc9":0,
"sc10":0,
"sc11":0,
"dhcp":1,
"ip":"0.0.0.0",
"sn":"0.0.0.0",
"gw":"0.0.0.0",
"dns":"0.0.0.0",
"elno":1,
"fuse":16,
"cloudmode":1,
"debugmode":0,
"cloudserver":"dcs.my-pv.live",
"pidkpp":24682,
"pidkdp":300,
"pidkpm":300,
"pidkdm":100,
"pidmaxsp":65535,
"pidmaxsn":65535,
"pidtargetdevmax":0,
"storagepowerthreshold":-100000,
"froniusrequestoption":2
}
mypv_dev.jsn
{
"device":"AC ELWA-E",
"number":1,
"sn":"160124XXXXXXXXXX",
"fwversion":"00201.02"
}
At first, many thanks for development of this integration. I am very happy that I've found it!
I am using my ACThor (3KW) with a Victron Energy Storage System. Both look at the same Value, the Power load from/to grid on the Modbus EM24 Energy meter.
You can do the following: If you tet the "Zielwert" (Setpoint) to a negative value, then the regulation from Victron tries to load the battery until SoC is at 100%, Then, with surplus of energy from PV, the ACThor takes surplus, before it gies into the grid.
If you set the setpoint to a slight positive value, eg 50W, the ACThor starts to take energy, independently of SoC of the battery, so you can do both at the same time. later, at the afternoon, this setting could lead to a discharge of the battery.
It would be nice if this parameter could be controlled via HA, to be more flexible.
Actually I am using a Shelly 1PM , but this only could switch on or off.
Thank you!
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The integration does not provide an entity of type energy to be used in the energy dashboard of homeassistant. creating an Rieman helper would be an option, but to work the parent entity has to be of device class power. Currently that is not the case and therefore the device cannot be added to the energy dashboard and does not show in the overview with the consumed energy.
Either the integration provides an entity of type energy directly with correct class to use it in the energy dashboard or the device class has to be correctly set for the entities providing the loads.
Describe the bug
I would like to add the MyPV AC ELWA-E to my distinct devices in /config/energy to make it show up in /energy
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Power shoud be configured as long term statistics entity:
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
Versions (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Additional context
Add any other context about the problem here.
Hi.
I want to try your MY-pv integration with my ACthor 9S, but i can't get it working. Cant find integration in hacs, have try to install folder by samba share in custom_components folder, but hameassistant can't find this integration.
Can you help me..??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.