alexdelprete / ha-abb-powerone-pvi-sunspec

HA Custom Component to integrate data from ABB/Power-One/FIMER PV Inverters that support SunSpec Modbus (Sunspec M1, M101, M103, M160), natively or through the VSN300 wifi logger card.
MIT License
24 stars 5 forks source link

Integration Error after HA Update #70

Closed marcolinux46 closed 1 year ago

marcolinux46 commented 1 year ago

Hi @alexdelprete ,

after last HA update i have the following error on log window about the integration.

`Logger: custom_components.abb_powerone_pvi_sunspec Source: custom_components/abb_powerone_pvi_sunspec/init.py:228 Integration: ABB Power-One PVI SunSpec (documentation, issues) First occurred: 05:32:57 (1 occurrences) Last logged: 05:32:57

(read_data) Error: check Slave ID: 1 & Base Address: 40000`

Until this update everything worked fine

Can you help me to resolve this issue?

Thank you for your support

HA Running Information:

Home Assistant 2023.9.0 Supervisor 2023.08.3 Operating System 10.5 Frontend 20230906.1 - latest

naamah75 commented 1 year ago

Same problem here

woodrook commented 1 year ago

Same here :(

alexdelprete commented 1 year ago

I upgraded to 2023.9 and I don't see this error.

woodrook commented 1 year ago

I just tryed to remove the integration and reinstall with the same settings..........it show "no device or entities"

Before the 2023.9 upgrade everything was perferct

alexdelprete commented 1 year ago

image image

marcolinux46 commented 1 year ago

Screenshot_2023-09-08-14-55-17-765_io homeassistant companion android

NicolasFOVET commented 1 year ago

Hi, same issue for me, integration indicates inverter not available since I upgraded to 2023.9.0.

woodrook commented 1 year ago

Solved! I’ve manually deleted abb integration and manually installed a new one. Configuration has been made from the mobile phone app instead od a computer browser. Now everything seems to work. Keep finger crossed IMG_2674

marcolinux46 commented 1 year ago

I did the same but nothing change Now i have no device or entity

marcolinux46 commented 1 year ago

Reconfigured now.... Same error

alexdelprete commented 1 year ago

Nothing changed in 2023.9.0 that impacts the integration (pymodbus etc.). It's working fine here.

Make sure the IP is reachable (the VSN card) and that slave id and base address are ok.

marcolinux46 commented 1 year ago

@alexdelprete The ip is reachable and i checked the slave id and base address directly on inverter Everything is ok Nothing working after HA update Before update the integration was good always perfect

marcolinux46 commented 1 year ago

I also test the TCP modbus with modpoll client And i see all the data

marcolinux46 commented 1 year ago

I have also the Cjne/ha-sunspec integration. Same issue... I left and reconfigured it and now is working

alexdelprete commented 1 year ago

I left and reconfigured it and now is working

what is working?

ANd also, tell me, what's this stuff highlighted in the red box?

image

marcolinux46 commented 1 year ago

@alexdelprete

Now is working the Cjne/ha-sunspec integration. Your integration is still off.

In the red box there are two consumption control but now are disabled.

marcolinux46 commented 1 year ago

Can i do some checks from ha?

alexdelprete commented 1 year ago

In the red box there are two consumption control but now are disabled.

So you modified the code? Reinstall the component from scratch. And also, post the entire HA log so we can check if you have other errors too.

alexdelprete commented 1 year ago

Solved! I’ve manually deleted abb integration and manually installed a new one.

Thanks for letting me know. I'm pretty sure it's something local for people that are having issues. Component is working fine on 2023.9.0.

marcolinux46 commented 1 year ago

No i don't modify the code They are simple Riemann helpers I try to reinstall from scratch

alexdelprete commented 1 year ago

I also test the TCP modbus with modpoll client And i see all the data

from where are you testing TCP modbus? how is HA installed? docker...bare metal...you need to test TCP modbus connection from the same instance HA is running, not only from your pc.

alexdelprete commented 1 year ago

No i don't modify the code They are simple Riemann helpers I try to reinstall from scratch

I didn't know helpers would come up in the device info page, that's why I thought you modified the code. Thanks for letting me know.

I try to reinstall from scratch

@woodrook solved it reinstalling. even though I can't understand why. I simply upgraded HA Core (on docker), and on restart everything was ok.

marcolinux46 commented 1 year ago

HA is installed on a VM I can make some tests from terminal

alexdelprete commented 1 year ago

HA is installed on a VM I can make some tests from terminal

from the VM, check basic ping first, then Modbus TCP. The error is clear: it can't contact the VSN card.

marcolinux46 commented 1 year ago

Basic ping is working How can i test modbus TCP?

marcolinux46 commented 1 year ago

I installed integration from scratch again Seems to be no errore occured

alexdelprete commented 1 year ago

How can i test modbus TCP?

Never tried it from linux, but this looks good: https://github.com/favalex/modbus-cli

alexdelprete commented 1 year ago

I installed integration from scratch again Seems to be no errore occured

So it's working?

marcolinux46 commented 1 year ago

Nop Same error

alexdelprete commented 1 year ago

Nop Same error

You wrote "seems to be no error occurred"

marcolinux46 commented 1 year ago

When i install the integration pack But when i configure the inverter not working

alexdelprete commented 1 year ago

setup a test HA instance from scratch (if you have a docker VM), and install from there to test.

marcolinux46 commented 1 year ago

Probably i understand the problem. Inside the integration folder is missing some files. Later i will install the package manually and i will let you know

alexdelprete commented 1 year ago

Probably i understand the problem. Inside the integration folder is missing some files. Later i will install the package manually and i will let you know

If you reinstalled from scratch, how can there be missing files?

Also, try the "redownload" option of HACS: open the component page from HACS and in the upper right, click the three dots and redownload. It will install all the files again.

If you're missing files, you have something not working correctly.

marcolinux46 commented 1 year ago

I removed the integration from HACS and i reinstalled it This is what i see file_abb

Now i try to upload all the files and i let you know

marcolinux46 commented 1 year ago

Resolved..... Files missing on integration folder after update Problably something wrong with HACS

Thank you all for support