Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Hi Guest this is an announcement for guests !!!

Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Smartphoton ne démarre plus
#1
Bonjour,
Mon smartphoton ne veut plus démarrer. Je ne sais plus quoi faire. Voici une capture des mes journaux:



-----------------------------------------------------------
App: Smartphoton
Smartphoton
-----------------------------------------------------------
App version: 1.3.11
You are running the latest version of this app.
System: Home Assistant OS 17.1  (amd64 / generic-x86-64)
Home Assistant Core: 2026.2.2
Home Assistant Supervisor: 2026.02.1
-----------------------------------------------------------
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
[09:46:32] WARNING:
[09:46:32] WARNING: Direct access mode is disabled, Node-RED Dashboard
[09:46:32] WARNING: will not work!
[09:46:32] WARNING:
[09:46:32] WARNING: Please assign a port in the Network section of this
[09:46:32] WARNING: add-on configuration.
[09:46:32] 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
[09:46:32] 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
/opt/node_modules/node-red/red.js:526
        util.log('[red] Uncaught Exception:');
            ^
TypeError: util.log is not a function
    at process.<anonymous> (/opt/node_modules/node-red/red.js:526:14)
    at process.emit (node:events:508:28)
    at process._fatalException (node:internal/process/execution:159:25)
    at throwUnhandledRejectionsMode (node:internal/process/promises:394:5)
    at processPromiseRejections (node:internal/process/promises:475:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:32)
Node.js v24.13.0
[09:46:32] INFO: Service Node-RED exited with code 7 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nodered: stopping
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: warning: service s6rc-oneshot-runner is marked as essential, not stopping it
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
-----------------------------------------------------------
App: Smartphoton
Smartphoton
-----------------------------------------------------------
App version: 1.3.11
You are running the latest version of this app.
System: Home Assistant OS 17.1  (amd64 / generic-x86-64)
Home Assistant Core: 2026.2.2
Home Assistant Supervisor: 2026.02.1
-----------------------------------------------------------
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
[09:46:36] WARNING:
[09:46:36] WARNING: Direct access mode is disabled, Node-RED Dashboard
[09:46:36] WARNING: will not work!
[09:46:36] WARNING:
[09:46:36] WARNING: Please assign a port in the Network section of this
[09:46:36] WARNING: add-on configuration.
[09:46:36] 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
[09:46:36] 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
/opt/node_modules/node-red/red.js:526
        util.log('[red] Uncaught Exception:');
            ^
TypeError: util.log is not a function
    at process.<anonymous> (/opt/node_modules/node-red/red.js:526:14)
    at process.emit (node:events:508:28)
    at process._fatalException (node:internal/process/execution:159:25)
    at throwUnhandledRejectionsMode (node:internal/process/promises:394:5)
    at processPromiseRejections (node:internal/process/promises:475:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:32)
Node.js v24.13.0
[09:46:37] INFO: Service Node-RED exited with code 7 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nodered: stopping
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: warning: service s6rc-oneshot-runner is marked as essential, not stopping it
Like Répondre
#2
Bonjour,

Oui cette version de smartphoton est vieille et n'a pas été mise à jour depuis un sacré moment.
Il faut que je m'y remette.
Jean-Luc
[-] The following 1 user Likes jlm's post:
  • Merlin
Like Répondre
#3
Merci pour le retour, mais cela veux dire que smartphoton ne fonctionnera plus ?
Est ce qu'il est possible de restaurer une ancienne version de haos pour que ca marche à nouveau?

Bonjour Jean-Luc,

je suis un peu dans le mal, j'ai basé tout mon home assistant sur smartphoton, c'est le cœur de ma domotique.
Est ce qu'il est possible de mettre à jour smartphoton dans les prochains jours? Je ne me rends pas compte de la tache à accomplir...

Je comprends que je n'aurais pas du faire les mises à jour de add-on de home assistant. Même sans la mise à jour de l'OS ca a planté smartphoton. C'est après le plantage que j'ai migré de HAOS 2025.11.1 à HAOS 2026.2.2.  Est ce que je peux faire quelque chose pour aider? J'ai encore un backup HAOS 2025.11.1 mais cela ne fonctionne plus non plus... 

Je vous remercie par avance
Cordialement
Julien
[-] The following 1 user Likes Merlin's post:
  • jlm
Like Répondre
#4
Bonjour a tous pour infos d'ici peut une toute nouvelle version avec de nouvelle amélioration va arriver potentiellement ce week-end donc rester à l'écoute ont vous fera part du déploiement de cette news version
[-] The following 1 user Likes Tapion's post:
  • jlm
Like Répondre
#5
Smile 
C'est une nouvelle encourageante merci, mais je devrais dire courage aux développeurs Thumbsup .
Like Répondre
#6
Bonjour,
Le vrai problème ne semble pas venir de Smartphoton lui-même, mais de Node-RED qui plante au démarrage.
La ligne importante est celle-ci :
Code :
TypeError: util.log is not a function
En clair, Node-RED essaie d’utiliser une fonction qui n’existe plus avec la version de Node.js 24.13.0 embarquée chez vous. Donc on dirait surtout un problème de compatibilité entre votre add-on / version de Node-RED et Node 24.
Le warning sur le Dashboard et le port réseau n’est sans doute pas la cause du crash. C’est juste un avertissement annexe.
À mon avis, il faut regarder de ce côté-là :
  • mise à jour de l’add-on / de Node-RED si une version corrigée existe
  • sinon retour à une version compatible de l’add-on ....
  • ou signalement du bug au mainteneur avec ces logs, parce que l’erreur est assez claire ....
Bref, ce n’est pas un souci de config de flow au premier abord, mais plutôt un add-on qui ne supporte pas la version actuelle de Node.js.
Like Répondre
#7
(14-03-2026, 06:02 AM)Nexarion a écrit : Bonjour,
Le vrai problème ne semble pas venir de Smartphoton lui-même, mais de Node-RED qui plante au démarrage.
La ligne importante est celle-ci :
Code :
TypeError: util.log is not a function
En clair, Node-RED essaie d’utiliser une fonction qui n’existe plus avec la version de Node.js 24.13.0 embarquée chez vous. Donc on dirait surtout un problème de compatibilité entre votre add-on / version de Node-RED et Node 24.
Le warning sur le Dashboard et le port réseau n’est sans doute pas la cause du crash. C’est juste un avertissement annexe.
À mon avis, il faut regarder de ce côté-là :
  • mise à jour de l’add-on / de Node-RED si une version corrigée existe
  • sinon retour à une version compatible de l’add-on
  • ou signalement du bug au mainteneur avec ces logs, parce que l’erreur est assez claire
Bref, ce n’est pas un souci de config de flow au premier abord, mais plutôt un add-on qui ne supporte pas la version actuelle de Node.js.

Salut il y as une nouvelle version opérationnel si besoin voir en haut du phorum 
Une nouvelle mise a jour sera dispo a partir de demain
[-] The following 1 user Likes Tapion's post:
  • Nexarion
Like Répondre


Sujets apparemment similaires…
Sujet Auteur Réponses Affichages Dernier message
  Problème de démarage Smartphoton Jefbec95 2 1,240 01-09-2025, 02:29 PM
Dernier message: Jefbec95
  Installation Smartphoton sur Rpi4 jmbaccarat 7 4,831 25-06-2024, 11:29 AM
Dernier message: jlm
  Soucis Suite à mise en service Smartphoton gj79 6 4,755 31-07-2023, 08:11 PM
Dernier message: gj79
  Se connecter sur Smartphoton depuis l'extérieur Samsara32 30 24,376 20-04-2023, 08:28 PM
Dernier message: jlm
  Smartphoton: plus de charts sur l'écran principale Synthese bip74100 8 5,828 07-04-2023, 08:35 AM
Dernier message: bip74100
  ELFIN PYLONTECH SMARTPHOTON LIVINGEYES 20 14,168 26-03-2023, 07:51 PM
Dernier message: STF
  plus de graph sur smartphoton LIVINGEYES 2 2,560 05-03-2023, 08:08 PM
Dernier message: LIVINGEYES
  connection WKSCIRCLE 5,5KW et SMARTPHOTON LIVINGEYES 13 10,744 02-03-2023, 10:32 PM
Dernier message: LIVINGEYES
  Connexion elfin EW10 wifi Smartphoton Voltronic SP24 Axpert Max 8K-48 8000W 48V Septain21 9 7,199 05-02-2023, 11:40 PM
Dernier message: jlm
  Mon PI n'émet plus le WIFI avec SMARTPHOTON jbmur 5 4,740 09-01-2023, 12:18 AM
Dernier message: jlm

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
[-]
discussions récentes
Question migration
Bonjour, Es ce que smartpho...Chassin — 10:30 AM
le courant passe ou pas
Le jeux de mots est très résus...Marc09 — 03:38 PM
Création d'un petit point d'e...
Tu peux opter pour quelque cho...Marc09 — 09:03 PM
Protection panneau
Bonjour Bertrand, Je suis A...Aryann — 02:48 PM
Launch of the JK-BMS RS485 ad...
So yes, in broadcasting mode –...jlm — 09:47 AM
Launch of the JK-BMS RS485 ad...
this setting was already on, i...ridedirtbikes — 09:44 PM
Création d'un petit point d'e...
Bonjour, Perso, j’ai opté pou...Robert1 — 10:59 AM
modification smartphon
Bonjour, Merci pour les nou...Chassin — 10:43 AM
Launch of the JK-BMS RS485 ad...
It would be great if you could...jlm — 01:16 AM
Présentation
Bonsoir, j'espère que vous all...Marc09 — 01:08 AM
Présentation
Bonjour à tous, je m’appelle R...Robert1 — 10:09 PM

[-]
Rechercher








(Advanced Search)

[-]
Who's Online
There are currently no members online.

[-]
goals
77.8% of the way to our goal of 10,000 posts!
Only 2,225 posts left to go!

[-]
Statistics
» Members: 995
» Latest member: mvptkfjb
» Forum threads: 834
» Forum posts: 7,775

Full Statistics

[-]
Latest Threads
Question migration
Last Post: Chassin
09-04-2026 10:30 AM
» Replies: 0
» Views: 65
le courant passe ou pas
Last Post: Marc09
05-04-2026 03:38 PM
» Replies: 4
» Views: 1452
Création d'un petit point d'eau bas - De...
Last Post: Marc09
04-04-2026 09:03 PM
» Replies: 3
» Views: 571
Protection panneau
Last Post: Aryann
04-04-2026 02:48 PM
» Replies: 1
» Views: 341
Launch of the JK-BMS RS485 add-on for Ho...
Last Post: jlm
04-04-2026 09:47 AM
» Replies: 37
» Views: 12771
modification smartphon
Last Post: Chassin
03-04-2026 10:43 AM
» Replies: 20
» Views: 1875
Présentation
Last Post: Marc09
03-04-2026 01:08 AM
» Replies: 0
» Views: 121
Présentation
Last Post: Robert1
02-04-2026 10:09 PM
» Replies: 0
» Views: 114
pv month anomalie
Last Post: Chassin
01-04-2026 01:50 PM
» Replies: 3
» Views: 242
Autosuffisance
Last Post: Chassin
31-03-2026 11:59 PM
» Replies: 2
» Views: 210

>