Abdulla, you have a UNO-DM-4.0-TL-PLUS-SB right? And the integration reports 0x01ED as the first part of the Options sensor, correct?
I introduced the model detection in latest version, but I need to add all inverters not present. Your model is identified by 0x01 (ED is the family number), so I will add it to the list if you can confirm.
@febba if you still use the integration, could you please do the same thing I asked Abdulla above? You should have a UNO-DM-3.0-TL-PLUS, I need the Options value to add it to the known inverter list. Thanks.
there was a bug pointed to me by someone on GH regarding this issue. Please upgrade to latest version and let me know if you still see the same behaviour.
You mean for this integration? Yes, v2.0.8. HACS should notify that in your HA instance, unless you installed it manually. If you installed it manually, you need to enable the Watch feature on the GitHub repo to be notified when a new release is available.
Ok, added your model option (0x0C) to the known models list.
Next release you won’t see 0x0CED/0xFF69/ as model, but the real model UNO-DM-3.0-TL-PLUS.
Thank you.
UPDATE: released v2.0.10. @febba, please let me know if you see the real model in the sensor list after the upgrade.
Hi, I’m trying to install the package, but I get the following error:
Impossibile caricare il flusso di configurazione: {"message":"Invalid handler specified"}
In logs, i have the following:
Error occurred loading configuration flow for integration abb_powerone_pvi_sunspec: cannot import name 'ModbusTcpClient' from 'pymodbus.client' (/srv/homeassistant/lib/python3.10/site-packages/pymodbus/client/__init__.py)
Ciao, I’m using HA core.
Not sure about other integrations using pymodbus honestly, do you know how can I check it? I’m was using modbus for communicating directly with the inverter, but it doesn’t work anymore:
If it can be of any help, the error is logged with another error of another integration:
Error occurred loading configuration flow for integration tuya: cannot import name 'AuthType' from 'tuya_iot' (/srv/homeassistant/lib/python3.10/site-packages/tuya_iot/__init__.py)
Error occurred loading configuration flow for integration abb_powerone_pvi_sunspec: cannot import name 'ModbusTcpClient' from 'pymodbus.client' (/srv/homeassistant/lib/python3.10/site-packages/pymodbus/client/__init__.py)
if the modbus native integration doesn’t work, probably you have an issue with the installation of pymodbus. that’s why also my component gives you errors. What errors does the native modbus integration give you? Show the log.
you need to fix that problem first, otherwise it won’t work, as it is a prerequirement.
check if you installed other components that use modbus so probably they install/require pymodbus library. maybe there’s some conflict, but I can’t help you more than that.
you can also try with a backup of the config, reinstall HA and restore the config. then try the modbus: integration first, once that works, you can use my component too because it means pymodbus is working.
root@raspberrypi:~# find / -name 'pymodb*'
find: ‘/proc/20814’: File o directory non esistente
find: ‘/proc/20824’: File o directory non esistente
find: ‘/proc/20825’: File o directory non esistente
find: ‘/proc/20826’: File o directory non esistente
find: ‘/proc/20827’: File o directory non esistente
/usr/local/lib/python3.7/dist-packages/pymodbus
/usr/local/lib/python3.7/dist-packages/pymodbus-2.5.3.dist-info
/usr/local/bin/pymodbus.console
/usr/local/bin/pymodbus.server
/srv/homeassistant/lib/python3.10/site-packages/pymodbus
/srv/homeassistant/lib/python3.10/site-packages/pymodbus-3.0.0.dist-info
/srv/homeassistant/bin/pymodbus.console
/srv/homeassistant/bin/pymodbus.server
I updated recently to python3.10, might it be I did something wrong when updating? How can I know which pymodbus package is HA using, whether 3.7 or 3.10?
How did you upgrade python? If you use core bare metal, you have to follow a procedure, that’s why I advise to use the container version if you don’t want to get mad with dependencies/venv/etc.
If you’re not an expert, I strongly advice using supervised installation. Or, if you don’t like being supervised, core on docker. you can easily migrate, prepare a backup of the config first.
That article is a bomb for breaking an installation, for non advances users. They should warn people.