Solarman recherche réseau vide pas d'onduleur

Bonjour à tous,

Jeedom : 4.4.13
Solarman : Beta 1.0.9

Après avoir lu différent sujet, notamment celui qui a presque le même nom, je n’arrive pas à trouver la solution, c’est la raison pour laquelle je me rapproche de vous.

Je dispose de 2 onduleurs 5K de chez Deye, que j’ai réussi à mettre aussi bien sur Deye Cloud que sur Solarman.

Malheureusement je n’arrive pas à les voir dans la recherche de réseau sur le plugin. Chose étrange dans les logs je n’ai aucun message, et mon jeedom et les logger sont sur le même réseau wifi



+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_solarman
+ echo 1
+ echo 2
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.9/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 3
+ sudo pip3 cache purge
Files removed: 74
+ echo 4
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/dist-packages (24.2)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 5
+ sudo python3 -m pip install --force-reinstall --upgrade pyyaml
Collecting pyyaml
Downloading PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Downloading PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (737 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 737.4/737.4 kB 34.4 MB/s eta 0:00:00
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyyaml
Attempting uninstall: pyyaml
Found existing installation: PyYAML 6.0.2
Uninstalling PyYAML-6.0.2:
Successfully uninstalled PyYAML-6.0.2
Successfully installed pyyaml-6.0.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 6
+ sudo python3 -m pip install --force-reinstall --upgrade pyudev
Collecting pyudev
Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyudev
Attempting uninstall: pyudev
Found existing installation: pyudev 0.24.3
Uninstalling pyudev-0.24.3:
Successfully uninstalled pyudev-0.24.3
Successfully installed pyudev-0.24.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 7
+ sudo python3 -m pip install --force-reinstall --upgrade serial
Collecting serial
Downloading serial-0.0.97-py2.py3-none-any.whl.metadata (889 bytes)
Collecting future>=0.17.1 (from serial)
Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting pyyaml>=3.13 (from serial)
Using cached PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting iso8601>=0.1.12 (from serial)
Downloading iso8601-2.1.0-py3-none-any.whl.metadata (3.7 kB)
Downloading serial-0.0.97-py2.py3-none-any.whl (40 kB)
Downloading future-1.0.0-py3-none-any.whl (491 kB)
Downloading iso8601-2.1.0-py3-none-any.whl (7.5 kB)
Using cached PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (737 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyyaml, iso8601, future, serial
Attempting uninstall: pyyaml
Found existing installation: PyYAML 6.0.2
Uninstalling PyYAML-6.0.2:
Successfully uninstalled PyYAML-6.0.2
Attempting uninstall: iso8601
Found existing installation: iso8601 2.1.0
Uninstalling iso8601-2.1.0:
Successfully uninstalled iso8601-2.1.0
Attempting uninstall: future
Found existing installation: future 1.0.0
Uninstalling future-1.0.0:
Successfully uninstalled future-1.0.0
Attempting uninstall: serial
Found existing installation: serial 0.0.97
Uninstalling serial-0.0.97:
Successfully uninstalled serial-0.0.97
Successfully installed future-1.0.0 iso8601-2.1.0 pyyaml-6.0.2 serial-0.0.97
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 8
+ sudo python3 -m pip install --force-reinstall --upgrade requests
Collecting requests
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting charset-normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests)
Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
Downloading charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Downloading idna-3.7-py3-none-any.whl (66 kB)
Downloading urllib3-2.2.2-py3-none-any.whl (121 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Attempting uninstall: urllib3
Found existing installation: urllib3 2.2.2
Uninstalling urllib3-2.2.2:
Successfully uninstalled urllib3-2.2.2
Attempting uninstall: idna
Found existing installation: idna 3.7
Uninstalling idna-3.7:
Successfully uninstalled idna-3.7
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2024.7.4
Uninstalling certifi-2024.7.4:
Successfully uninstalled certifi-2024.7.4
Attempting uninstall: requests
Found existing installation: requests 2.32.3
Uninstalling requests-2.32.3:
Successfully uninstalled requests-2.32.3
Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 requests-2.32.3 urllib3-2.2.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 9
+ sudo python3 -m pip install --force-reinstall --upgrade umodbus
Collecting umodbus
Downloading uModbus-1.0.4-py2.py3-none-any.whl.metadata (5.2 kB)
Collecting pyserial~=3.4 (from umodbus)
Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading uModbus-1.0.4-py2.py3-none-any.whl (31 kB)
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
WARNING: Error parsing dependencies of gpg: Invalid version: '1.14.0-unknown'
Installing collected packages: pyserial, umodbus
Attempting uninstall: pyserial
Found existing installation: pyserial 3.5
Uninstalling pyserial-3.5:
Successfully uninstalled pyserial-3.5
Attempting uninstall: umodbus
Found existing installation: uModbus 1.0.4
Uninstalling uModbus-1.0.4:
Successfully uninstalled uModbus-1.0.4
Successfully installed pyserial-3.5 umodbus-1.0.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ echo 10
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
+ echo 11
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
php-yaml is already the newest version (2.2.1+2.1.0+2.0.4+1.3.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ echo 12
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
git is already the newest version (1:2.30.2-1+deb11u2).
lsb-release is already the newest version (11.1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v18.20.4 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
+ echo 13
+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version (2.2.4).
build-essential is already the newest version (12.9).
git is already the newest version (1:2.30.2-1+deb11u2).
lsb-release is already the newest version (11.1.0).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[Check Version NodeJS actuelle : v18.20.4 : [  OK  ]
[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
+ echo 14
+ sudo chmod +x /var/www/html/core/class/../../resources/install_composer.sh
+ sudo /var/www/html/core/class/../../resources/install_composer.sh
Begin installation of composer
--2024-08-21 19:30:11--  https://getcomposer.org/installer
Resolving getcomposer.org (getcomposer.org)... 2001:41d0:302:1100::8:104f, 54.36.53.46
Connecting to getcomposer.org (getcomposer.org)|2001:41d0:302:1100::8:104f|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 58444 (57K) [application/octet-stream]
Saving to: 'composer-setup.php'
0K .......... .......... .......... .......... .......... 87% 4.88M 0s
50K .......                                               100%  134M=0.01s
2024-08-21 19:30:11 (5.54 MB/s) - 'composer-setup.php' saved [58444/58444]
All settings correct for using Composer
Downloading...
Composer (version 2.7.7) successfully installed to: /var/www/html/core/ajax/composer.phar
Use it: php composer.phar
End installation of composer
+ echo 15
+ sudo NODE_OPTIONS=--dns-result-order=ipv4first npm install --force -g js-yaml
npm warn using --force Recommended protections disabled.
changed 2 packages in 523ms
+ echo 16
+ sudo systemctl restart apache2
+ echo 17
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end solarman
+ echo 18
+ rm /tmp/jeedom_install_in_progress_solarman
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Merci par avance pour votre coup de main
Michael

Salut, et tu n’as rien dans le log « solarman recherche réseau »?

Non je n’ai rien du tout, même en mode débug. C’est pour ça que je suis un peu perdu lol je ne sais pas quoi te donner d’autres pour t’aider…

Et ton onduleur est sur le même réseau que ton jeedom?

Sinon tu peux toujours créer un équipement et mettre les paramètres demandés car tu as accès à tout ça

Quand tu parles d’onduleur, on est d’accord que tu parles des dongles ?
Oui ils sont sur le même réseau.

Je vais regarder pour le mettre en manu

Oui c’est ça

Là tu devrais avoir plus de log.

Je n’ai encore pas fait la mise à jour de jeedom et il y a peut-être qq chose qui gêne

J’ai effectivement réussi à mettre les onduleurs en manuel, mais seulement 1 seul des onduleurs fonctionnent…
Et les valeurs j’ai pas l’impression que ce soit bon

J’ai réussi à faire fonctionner les 2 onduleurs mais il y a quelques choses d’étrange.

Quand on doit renseigner « Modbus Slave ID » j’ai mis 1 pour l’onduleur 1 et 2 pour le 2ème qui est l’esclave et ça n’a pas fonctionné alors que sur l’onduleur il est bien en ID2.
J’ai dû le mettre les 2 « Modbus Slave ID » à 1 pour que ça fonctionne.

Étrange en effet. Je n’ai pas ce genre de configuration alors ce n’est pas facile de comprendre ce qu’il se passe. Donc tu as 2 onduleurs, un en maitre avec le modbus id1 et un en esclave avec le modbus id2?

je viens de faire la mise à jour vers jeedom 4.4.13 et ça fonctionne toujours.

Oui j’ai 2 onduleurs de 5k.
Un master et un esclave.
Pourquoi j’ai dû mettre les 2 à 1 dans jeedom ? Je ne sais pas


De mon côté ça fonctionne aussi en les mettant en manuel, mais la découverte en automatique n’a pas fonctionné

oui je parlais aussi de la découverte manuelle. Comme on n’avait pas la même version de jeedom cela aurait pu peut être venir de là…

Sinon, est que tu peux essayer de lancer cette commande et me dire s’il y a des erreurs qui apparaissent:

python3 /var/www/html/plugins/solarman/ressources/scanner.py

soit via ssh soit en allant dans réglages/système/configuration puis aller dans l’ongle OS/DB puis « administrer système » et coller cette commande dans la zone de saisie

Il ne se passe rien

ça te dérangerai de me donner accès à ton jeedom pour que je puisse voir de quoi ça vient?

Tu peux aussi envoyer les logs d’interrogation de tes onduleurs?

Oui aucun soucis, je ne suis pas chez moi, mais ce soir si tu es dispo je te donne accès par teamviewer si ça te va ?

je préférerai un accès direct comme tu peux le faire quand tu n’es pas chez toi. Si cela ne te pose pas de pb alors tu peux me créer un compte admin temporaire que tu enlèveras dès que j’aurai fini. Si c’est ok alors tu peux me passer les infos ce soir en MP

Sinon à défaut je préfère plutôt anydesk

Je ne comprends pas mais ça fonctionne lorsque je fais le scan…

Je viens de tester un truc pour le modbus id, c’est bien ton onduleur 1 qui est le maitre?

Malheureusement non… Les installeurs ont identifié physique (avec étiquette) l’onduleur 2 en maitre et inversement, donc j’ai laissé comme ils ont mis