03-09-2024, 04:10 AM
Bonjour, c'est la rentré je refait un petit tour sur ha, je voulais savoir si il y a du nouveau sur la partie gestion easun en modbus via ip ??
J'ai réinstaller un ha tout neuf , j'ai réinstaller smartphoton ,
config :
L'onduleur 1 : basique easun smhII avec un elfin ee10 sous protocole voltronic en rs232 marche bien => je récupère les data de l'onduleur et je peux modifier les paramètres.
L'onduleur 2 : easun smx2 (2 en parallèle) avec un elfin ee11 en modbus => pas de retour de donnée....
mon yaml :
listonduleur:
- chemin: 192.168.1.52:8899
type: ip
onduleur: voltronic
battTension: 48
multionduleur: false
- chemin: 192.168.1.50:9999
type: ip
onduleur: easun
battTension: 48
multionduleur: false
listbatterie:
- chemin: "false"
le log de smartphoton:
-----------------------------------------------------------
Add-on: Smartphoton
Smartphoton
-----------------------------------------------------------
Add-on version: 1.3.9
You are running the latest version of this add-on.
System: Home Assistant OS 13.1 (amd64 / qemux86-64)
Home Assistant Core: 2024.8.3
Home Assistant Supervisor: 2024.08.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-customizations: starting
s6-rc: info: service init-customizations successfully started
s6-rc: info: service init-nodered: starting
[03:20:45] WARNING:
[03:20:45] WARNING: Direct access mode is disabled, Node-RED Dashboard
[03:20:45] WARNING: will not work!
[03:20:45] WARNING:
[03:20:45] WARNING: Please assign a port in the Network section of this
[03:20:45] WARNING: add-on configuration.
[03:20:45] WARNING:
s6-rc: info: service init-nodered successfully started
s6-rc: info: service nodered: starting
s6-rc: info: service nodered successfully started
s6-rc: info: service legacy-services: starting
[03:20:45] INFO: Starting Node-RED...
s6-rc: info: service legacy-services successfully started
> start
> node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
3 Sep 03:20:46 - [info]
Welcome to Node-RED
===================
3 Sep 03:20:46 - [info] Node-RED version: v4.0.0
3 Sep 03:20:46 - [info] Node.js version: v18.20.3
3 Sep 03:20:46 - [info] Linux 6.6.46-haos x64 LE
3 Sep 03:20:46 - [info] Loading palette nodes
3 Sep 03:20:47 - [info] Node-RED Contrib Theme Collection version: v4.0.1
3 Sep 03:20:48 - [info] Dashboard version 3.6.5 started at /endpoint/ui
3 Sep 03:20:48 - [info] Settings file : /etc/node-red/config.js
3 Sep 03:20:48 - [info] Context store : 'default' [module=localfilesystem]
3 Sep 03:20:48 - [info] User directory : /config/smartphoton/
3 Sep 03:20:48 - [warn] Projects disabled : editorTheme.projects.enabled=false
3 Sep 03:20:48 - [info] Flows file : /config/smartphoton/flows.json
3 Sep 03:20:48 - [warn] Encrypted credentials not found
3 Sep 03:20:48 - [info] Server now running at http://127.0.0.1:1890/
3 Sep 03:20:48 - [info] Starting flows
3 Sep 03:20:48 - [error] [server:d385c0890c50f354] Error: No credentials provided
3 Sep 03:20:48 - [info] Started flows
3 Sep 03:20:48 - [error] [serialconfig:cdf964dc2b62fe0d] serial port /dev/tty-pylontech error: Error: Error: No such file or directory, cannot open /dev/tty-pylontech
3 Sep 03:20:48 - [error] [serialconfig:addc1f83e38cdc0b] serial port /dev/tty-onduleur error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur
3 Sep 03:20:48 - [error] [serialconfig:1e843b26730bfced] serial port /dev/tty-onduleur2 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur2
3 Sep 03:20:48 - [error] [serialconfig:0e6964f55a3835a7] serial port /dev/tty-onduleur3 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur3
3 Sep 03:20:48 - [error] [serialconfig:f7efe315151fb6af] serial port /dev/tty-onduleur4 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur4
3 Sep 03:20:49 - [info] [mqtt-broker:MQTT-Onduleur] Connected to broker: mqtt://192.168.1.108:1883
3 Sep 03:20:49 - [info] [debug:debug 161] Changement port pylontech sur serial false
3 Sep 03:20:53 - [info] [server:Home Assistant] Connecting to http://supervisor/core
3 Sep 03:20:53 - [info] [server:Home Assistant] Connecting to http://supervisor/core
3 Sep 03:20:53 - [info] [server:Home Assistant] Connected to http://supervisor/core
3 Sep 03:20:53 - [info] [server:Home Assistant] Connected to http://supervisor/core
(pour les 4 error de tty : Je n'ai pas de port serie en tty-onduleur .... )
de plus , je récupère les valeurs serial (rs232) de l'onduleur sur domoticz en python , avec un socat pour mapper le port ip du elfin en tty-serial local ....
=> smartphoton me spam mon socat ... des idées ???
(socat -v PTY,link=/dev/ttyUSB52 TCP:192.168.1.52:8899)
Savez vous si on peux installer un port serie to ip genre socat sur HAOS ??
J'ai réinstaller un ha tout neuf , j'ai réinstaller smartphoton ,
config :
L'onduleur 1 : basique easun smhII avec un elfin ee10 sous protocole voltronic en rs232 marche bien => je récupère les data de l'onduleur et je peux modifier les paramètres.
L'onduleur 2 : easun smx2 (2 en parallèle) avec un elfin ee11 en modbus => pas de retour de donnée....
mon yaml :
listonduleur:
- chemin: 192.168.1.52:8899
type: ip
onduleur: voltronic
battTension: 48
multionduleur: false
- chemin: 192.168.1.50:9999
type: ip
onduleur: easun
battTension: 48
multionduleur: false
listbatterie:
- chemin: "false"
le log de smartphoton:
-----------------------------------------------------------
Add-on: Smartphoton
Smartphoton
-----------------------------------------------------------
Add-on version: 1.3.9
You are running the latest version of this add-on.
System: Home Assistant OS 13.1 (amd64 / qemux86-64)
Home Assistant Core: 2024.8.3
Home Assistant Supervisor: 2024.08.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-customizations: starting
s6-rc: info: service init-customizations successfully started
s6-rc: info: service init-nodered: starting
[03:20:45] WARNING:
[03:20:45] WARNING: Direct access mode is disabled, Node-RED Dashboard
[03:20:45] WARNING: will not work!
[03:20:45] WARNING:
[03:20:45] WARNING: Please assign a port in the Network section of this
[03:20:45] WARNING: add-on configuration.
[03:20:45] WARNING:
s6-rc: info: service init-nodered successfully started
s6-rc: info: service nodered: starting
s6-rc: info: service nodered successfully started
s6-rc: info: service legacy-services: starting
[03:20:45] INFO: Starting Node-RED...
s6-rc: info: service legacy-services successfully started
> start
> node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
3 Sep 03:20:46 - [info]
Welcome to Node-RED
===================
3 Sep 03:20:46 - [info] Node-RED version: v4.0.0
3 Sep 03:20:46 - [info] Node.js version: v18.20.3
3 Sep 03:20:46 - [info] Linux 6.6.46-haos x64 LE
3 Sep 03:20:46 - [info] Loading palette nodes
3 Sep 03:20:47 - [info] Node-RED Contrib Theme Collection version: v4.0.1
3 Sep 03:20:48 - [info] Dashboard version 3.6.5 started at /endpoint/ui
3 Sep 03:20:48 - [info] Settings file : /etc/node-red/config.js
3 Sep 03:20:48 - [info] Context store : 'default' [module=localfilesystem]
3 Sep 03:20:48 - [info] User directory : /config/smartphoton/
3 Sep 03:20:48 - [warn] Projects disabled : editorTheme.projects.enabled=false
3 Sep 03:20:48 - [info] Flows file : /config/smartphoton/flows.json
3 Sep 03:20:48 - [warn] Encrypted credentials not found
3 Sep 03:20:48 - [info] Server now running at http://127.0.0.1:1890/
3 Sep 03:20:48 - [info] Starting flows
3 Sep 03:20:48 - [error] [server:d385c0890c50f354] Error: No credentials provided
3 Sep 03:20:48 - [info] Started flows
3 Sep 03:20:48 - [error] [serialconfig:cdf964dc2b62fe0d] serial port /dev/tty-pylontech error: Error: Error: No such file or directory, cannot open /dev/tty-pylontech
3 Sep 03:20:48 - [error] [serialconfig:addc1f83e38cdc0b] serial port /dev/tty-onduleur error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur
3 Sep 03:20:48 - [error] [serialconfig:1e843b26730bfced] serial port /dev/tty-onduleur2 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur2
3 Sep 03:20:48 - [error] [serialconfig:0e6964f55a3835a7] serial port /dev/tty-onduleur3 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur3
3 Sep 03:20:48 - [error] [serialconfig:f7efe315151fb6af] serial port /dev/tty-onduleur4 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur4
3 Sep 03:20:49 - [info] [mqtt-broker:MQTT-Onduleur] Connected to broker: mqtt://192.168.1.108:1883
3 Sep 03:20:49 - [info] [debug:debug 161] Changement port pylontech sur serial false
3 Sep 03:20:53 - [info] [server:Home Assistant] Connecting to http://supervisor/core
3 Sep 03:20:53 - [info] [server:Home Assistant] Connecting to http://supervisor/core
3 Sep 03:20:53 - [info] [server:Home Assistant] Connected to http://supervisor/core
3 Sep 03:20:53 - [info] [server:Home Assistant] Connected to http://supervisor/core
(pour les 4 error de tty : Je n'ai pas de port serie en tty-onduleur .... )
de plus , je récupère les valeurs serial (rs232) de l'onduleur sur domoticz en python , avec un socat pour mapper le port ip du elfin en tty-serial local ....
=> smartphoton me spam mon socat ... des idées ???
(socat -v PTY,link=/dev/ttyUSB52 TCP:192.168.1.52:8899)
Savez vous si on peux installer un port serie to ip genre socat sur HAOS ??