-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for Multiple Input PCS (0xA5) #200
Comments
We need a class in pychonet that will convert the raw data into a useful value. For example, HomeSolarPower.py. And we need to define that class so that the Factory can use it. |
As mentioned in #205, battery storage and other factors will also be involved in a complex way. It would be costly to digitize all parameters, so please let us know which parameters you would like to prioritize in order to make them useful for HA. |
Please try the edge version of my repository. I can't test it, but I've implemented the code. You can install the edge version by registering as a custom repository in HACS. You can also revert to the original version at any time. Rel. |
Thank you nao-pon san. I have taken your edge version and directly copied to config/custom_component (after taking backup). Again thank you very much for late night work ! |
Hi Nao-Pon san, I could capture the current status :
Actual Nichicon panel, the amount of electricity generated is 2.0 Kw. This is not displayed in any of the 3 entities above. Charging power matches perfectly with 充電 on Battery symbol. |
@nao-pon, thank you so much for providing a modified version, I will test it during the holidays. @SudarshanKulakrni it seems we may have the same Nichicon system. I was able to get all the data from the Nichon panel you pictured, currently by using pychonet directly to query the Multiple Input PCS and feeding results to Home Assistant. However, the data about the instantaneous power consumed by the household appliances (i.e., excluding charging/discharging of the battery) is reported only in an extended field for which I did not find official Echonet specification and is perhaps manufacturer specific. I'll provide more information on that later. |
@mjoach san, Great to hear that we are using same systems and you were able to get all the data. How did you use the pychonet directly ? Btw, another interesting find : There is a App called Echonetscanner for iPhone. If you are on same wifi network as the Solar system, you can see all the properties provided by the devices. Your input on using the pychonet library to feed value to HA will be greatly appreciated. |
Hi and thank you for all this tremendous work, I was just blown away seeing multiple devices report themselves on my LAN!
I am currently trying to pull solar and battery data from a Nichicon system and it works flawlessly. However, as I found out, the relevant data about current electricity consumption is located only on the Multiple Input PCS (class code 0xA5). It is discovered correctly by the integration and a HASS entity is created, but the only data reported is the operation status. Notably, this device is already supported by pyechonet and I am able to poll attribute values from it without issues with a test pychonet program.
What I did so far is I tried adding this class with the attribute of interest (0xE7, Measured instantaneous amount of electricity) to my /homeassistant/custom_components/echonetlite/const.py, line 992, as shown below.
However, I did not observe any additional sensors for this entity appear in HASS, despite restarting HASS and removing and re-adding relevant Echonetlite devices.
What am I missing? What else is needed for attributes of this device to become sensors in HASS? For reference, here's the relevant specification for device class 0xA5 (see PDF page 500).
https://echonet.jp/wp/wp-content/uploads/pdf/General/Standard/Release/Release_P/Appendix_Release_P_E.pdf
Thank you in advance for any pointers!
The text was updated successfully, but these errors were encountered: