Bonjour Mr. le visiteur, si vous lisez ceci, cela signifie que vous n'êtes pas enregistré. Cliquez ici pour vous inscrire en quelques étapes simples, vous pourrez profiter de toutes les fonctionnalités de notre Forum. Vous pourrez évidemment nous faire partager vos connaissances avec nous ! et voir les images ou vidéos postées


Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Redémarrage smartphoton
#1
Bonjour,

Sur HA j'ai remarquer que lorsque je le redemarre suite a une mise a jour ou autre il faut que j'aille redemarrer smartphoton manuellement, il s'affiche demarrer mais aucunes remontées d'infos
je clique sur redemarrer et les infos apparaissent dans la carte Sunsynk Power Flow.

[Image: 1718348074-smartphoton.jpg]

[Image: 1718457495-smart.jpg]
Répondre
#2
ce qui serait bien, le prochain coup, va regarder ce qu'il y a dans le journal du module smartphoton et fait nous une capture d'écran histoire de se faire une idée
Jean-Luc
Répondre
#3
(15-06-2024, 10:06 PM)jlm a écrit : ce qui serait bien, le prochain coup, va regarder ce qu'il y a dans le journal du module smartphoton et fait nous une capture d'écran histoire de se faire une idée

Bonjour,

Je viens de le redemarrer HA
[Image: 1718704278-onduleur-1.jpg]

Smartphoton apres redemarrage HA

16 Jun 14:59:42 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 15:35:50 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 15:35:50 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 15:36:32 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 15:36:32 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 16:19:54 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 16:19:54 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 17:00:22 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 17:00:22 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 17:14:13 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 17:14:13 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 17:17:53 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 17:17:53 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 19:29:23 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 19:29:23 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 20:00:02 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
16 Jun 20:00:02 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 05:58:17 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 05:58:17 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 08:47:35 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 08:47:35 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 12:50:59 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 12:50:59 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 13:07:38 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 13:07:38 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 14:12:28 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 14:12:28 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 14:23:39 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 14:23:39 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 16:06:29 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 16:06:29 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 16:42:09 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 16:42:09 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 17:47:40 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 17:47:40 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 18:02:20 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 18:02:20 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 18:19:39 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 18:19:40 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 19:53:51 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 19:53:51 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 20:00:02 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 20:00:02 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 20:41:51 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
17 Jun 20:41:51 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 00:04:51 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 00:04:51 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 08:15:02 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 08:15:02 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 11:17:25 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 11:17:25 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 11:33:55 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 11:33:55 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 11:47:16 - [info] [server:Home Assistant] Connection closed to http://supervisor/core
18 Jun 11:47:16 - [info] [server:Home Assistant] Connection closed to http://supervisor/core
18 Jun 11:47:21 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:21 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:26 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:26 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:31 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:31 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:36 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:36 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:41 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:41 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:46 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:46 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:51 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:51 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:56 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:47:56 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:02 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:02 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:07 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:07 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:12 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:12 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:17 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:17 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:22 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:22 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:27 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:27 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:32 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:32 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:37 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:37 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:42 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:42 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:47 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:47 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:52 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:52 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:57 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:48:57 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:49:02 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:49:02 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:49:03 - [info] [server:Home Assistant] Connected to http://supervisor/core
18 Jun 11:49:03 - [info] [server:Home Assistant] Connected to http://supervisor/core
18 Jun 11:49:04 - [error] [function:Tri Q...] TypeError: Cannot read properties of undefined (reading 'slice')
18 Jun 11:49:04 - [error] [function:Calcul] TypeError: Cannot read properties of undefined (reading 'slice')



Smartphoton redemarrer dans HACS


npm notice
npm notice New minor version of npm available! 10.5.0 -> 10.8.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.8.1>
npm notice Run `npm install -g npm@10.8.1` to update!
npm notice
[11:51:51] INFO: Service Node-RED exited with code 0 (by signal 0)
s6-rc: info: service nodered successfully stopped
s6-rc: info: service init-nodered: stopping
s6-rc: info: service init-nodered successfully stopped
s6-rc: info: service init-customizations: stopping
s6-rc: info: service init-customizations successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

-----------------------------------------------------------
Add-on: Smartphoton
Smartphoton
-----------------------------------------------------------
Add-on version: 1.3.8
You are running the latest version of this add-on.
System: Home Assistant OS 12.3  (amd64 / generic-x86-64)
Home Assistant Core: 2024.6.3
Home Assistant Supervisor: 2024.06.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
[11:51:55] INFO: Mise a jour de la nouvelle version
[11:51:55] WARNING:
[11:51:55] WARNING: Direct access mode is disabled, Node-RED Dashboard
[11:51:55] WARNING: will not work!
[11:51:55] WARNING:
[11:51:55] WARNING: Please assign a port in the Network section of this
[11:51:55] WARNING: add-on configuration.
[11:51:55] 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
[11:51:55] 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

18 Jun 11:51:57 - [info]

Welcome to Node-RED
===================

18 Jun 11:51:57 - [info] Node-RED version: v3.1.9
18 Jun 11:51:57 - [info] Node.js  version: v18.20.2
18 Jun 11:51:57 - [info] Linux 6.6.29-haos x64 LE
18 Jun 11:51:58 - [info] Loading palette nodes
18 Jun 11:51:58 - [info] Node-RED Contrib Theme Collection version: v3.1.11
18 Jun 11:52:00 - [info] Dashboard version 3.6.5 started at /endpoint/ui
18 Jun 11:52:01 - [info] Settings file  : /etc/node-red/config.js
18 Jun 11:52:01 - [info] Context store  : 'default' [module=localfilesystem]
18 Jun 11:52:01 - [info] User directory : /config/smartphoton/
18 Jun 11:52:01 - [warn] Projects disabled : editorTheme.projects.enabled=false
18 Jun 11:52:01 - [info] Flows file    : /config/smartphoton/flows.json
18 Jun 11:52:01 - [info] Server now running at http://127.0.0.1:1890/
18 Jun 11:52:01 - [warn] Encrypted credentials not found
18 Jun 11:52:01 - [info] Starting flows
18 Jun 11:52:01 - [error] [server:d385c0890c50f354] Error: No credentials provided
18 Jun 11:52:01 - [info] Started flows
18 Jun 11:52:01 - [error] [serialconfig:cdf964dc2b62fe0d] serial port /dev/tty-pylontech error: Error: Error: No such file or directory, cannot open /dev/tty-pylontech
18 Jun 11:52:01 - [error] [serialconfig:addc1f83e38cdc0b] serial port /dev/tty-onduleur error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur
18 Jun 11:52:01 - [error] [serialconfig:1e843b26730bfced] serial port /dev/tty-onduleur2 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur2
18 Jun 11:52:01 - [error] [serialconfig:0e6964f55a3835a7] serial port /dev/tty-onduleur3 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur3
18 Jun 11:52:01 - [error] [serialconfig:f7efe315151fb6af] serial port /dev/tty-onduleur4 error: Error: Error: No such file or directory, cannot open /dev/tty-onduleur4
18 Jun 11:52:02 - [info] [mqtt-broker:MQTT-Onduleur] Connected to broker: mqtt://192.168.1.127:1883
18 Jun 11:52:02 - [info] serial port /dev/tty-onduleur closed
18 Jun 11:52:02 - [info] [serialconfig:addc1f83e38cdc0b] serial port /dev/serial/by-id/usb-Prolific_Technology_Inc._ATEN_USB_to_Serial_Bridge_A8CHb112318-if00-port0 opened at 2400 baud 8N1
18 Jun 11:52:02 - [info] [debug:debug 161] Changement port pylontech sur serial false
18 Jun 11:52:02 - [info] [debug:debug 162] Changement Onduleur1 sur serial /dev/serial/by-id/usb-Prolific_Technology_Inc._ATEN_USB_to_Serial_Bridge_A8CHb112318-if00-port0
18 Jun 11:52:06 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:52:06 - [info] [server:Home Assistant] Connecting to http://supervisor/core
18 Jun 11:52:06 - [info] [server:Home Assistant] Connected to http://supervisor/core
18 Jun 11:52:06 - [info] [server:Home Assistant] Connected to http://supervisor/core


Répondre
#4
C'est la communication qui est coupé, ça te le fait quand tu fais une mise a jour de home assistant core ou seulement de supervisor ?
Répondre
#5
(18-06-2024, 12:07 PM)NOLAK a écrit : C'est la communication qui est coupé, ça te le fait quand tu fais une mise a jour de home assistant core ou seulement de supervisor ?

Bonjour,

ça le fait a chaque redemarrage d'home assistant mise a jour ou pas cela peut etre suite a une modification de ma part et que j'ai besoin de redemarrer HA
Répondre
#6
Ce n'est clairement pas logique... Tu redémarres ha comment ?
Quelle est ton matériel ?
Répondre
#7
(18-06-2024, 02:22 PM)NOLAK a écrit : Ce n'est clairement pas logique... Tu redémarres ha comment ?
Quelle est ton matériel ?

je redemarre " simplement" 

[Image: 1718721664-redemarrer.jpg]

Mon PC est un HP EliteDesk 800 G1

[Image: 1718721727-generic.jpg]

[Image: 1718721787-elite.jpg]
Répondre
#8
Ok et tu tourne sur une VM avec haos j'imagine ?
Je n'arrive pas bien a comprendre car là tu redémarres que le container ha donc ton module lui devrait continuer a fonctionné.
Répondre
#9
Peux tu lors du démarrage de HA aller voir les ports usb que le module utilise, donc menu système, matériel.
Combien de ports usb utilisés dans cette machine (proxmox ? )
Si tu peux mettre aussi la configuration de ton module stp
Je me demande si les ports usb sont bien remontés dans la vm
Jean-Luc
Répondre
#10
Bonjour 
Non ce n'est pas une vm mais une installation avec le superviseur
Répondre
#11
Alors ton soucis ce trouve peut être de se côté la.
Tu devrais déjà migrer vers une VM de haos.
Répondre
#12
(19-06-2024, 02:58 PM)NOLAK a écrit : Alors ton soucis ce trouve peut être de se côté la.
Tu devrais déjà migrer vers une VM de haos.

Bonsoir,

Je prefere rester sur une installation physique de HA.

Merci quand meme bonne soirée
Répondre
#13
Dommage que tu n'ailles pas plus loin cela permettrait deja de comprendre ton problème et sûrement d'aider d'autres personnes.
Comme je connais pas bien ha sur la machine physique, peux être dans un premier temps, tu peux installer portainer et voir comment le module ou les autres container réagissent au redémarrage de ha.
Répondre
#14
(19-06-2024, 05:53 PM)NOLAK a écrit : Dommage que tu n'ailles pas plus loin cela permettrait deja de comprendre ton problème et sûrement d'aider d'autres personnes.
Comme je connais pas bien ha sur la machine physique, peux être dans un premier temps, tu peux installer portainer et voir comment le module ou les autres container réagissent au redémarrage de ha.

OK des que j'ai un peu de temps j'essaye

Merci
Répondre
#15
Du coup, cela ressemble plus a un souci de synchronisation entre les différents container.
Je pense que le conteneur-module smartphoton se lance en parallèle voir avant le superviseur HA.
Jean-Luc
Répondre
#16
Pour moi, Smartphoton ne dois pas redémarrer et continuer de fonctionner. Pour l'instant je serai plus du côté d'un redémarrage ha complet ou redémarrage de la communication usb... là je ne comprends pas trop. Je ne sais pas si core tourne en container ou en sur la machine physique. A voir ...
Répondre


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
[-]
Synthèse
Please login or register to use this functionality.

[-]
discussions récentes
un peu d"aide info linky
Ca y est ca fonctionne c'etait...ghis.dlm — 11:32 PM
un peu d"aide info linky
Je te montre un exemple demain...jlm — 10:49 PM
un peu d"aide info linky
Depuis le début de notre conve...ghis.dlm — 09:59 PM
Ajout écran OLED sur ma Wallb...
zut, c'est toujpurs complexe,...bishnoi — 09:29 PM
un peu d"aide info linky
Si nodered est sur ton HA, alo...jlm — 06:50 PM
un peu d"aide info linky
node red et grafana sont sur H...ghis.dlm — 06:20 PM
Ajout écran OLED sur ma Wallb...
j'ai parcouru le sujet du coup...jlm — 04:40 PM
un peu d"aide info linky
je ne sais que faire de plus p...jlm — 02:07 PM
Ajout écran OLED sur ma Wallb...
essaye bishnoi — 11:31 PM
un peu d"aide info linky
C'est décidément incompréhensi...ghis.dlm — 10:08 PM
un peu d"aide info linky
J'avais pas fait attention suf...jlm — 08:50 PM

[-]
Rechercher








(Advanced Search)

[-]
Who's Online
There are currently 51 online users. [Complete List]
» 2 Member(s) | 49 Guest(s)
AvatarAvatar

[-]
goals
95.2% of the way to our goal of 7,000 posts!
Only 335 posts left to go!

[-]
Statistics
» Members: 617
» Latest member: authoms
» Forum threads: 706
» Forum posts: 6,661

Full Statistics

>