Aktualizacja node-red-contrib-home-assistant-websocket 0.45.7

Po tej aktualizacji dużo się zmieniło jeżeli chodzi o Home assistant entities
Stare sensory staja się nie aktywne
Screenshot - 03.10.2022 , 16_19_00

Trzeba je na nowo przekonfigurować .
Nowy ekran i zakładka Device Add new ha-device-config Nie mam pojęcia do czego służy
Screenshot - 03.10.2022 , 16_22_32

A da się zainstalować node-red-contrib-home-assistant-websocket starszą wersję?
np 0.44

Już jest nowa aktualizacja 0.45.8

Musisz mieć zainstalowane pakiety Node.js and NPM
Dla Debian 11 https://www.rosehosting.com/blog/how-to-install-node-js-and-npm-on-debian-11/

Wciąż jest problem z usługą TTS , w HA usługa działa prawidłowo.
@Dariusz_Barczyński

Wersje.
https://github.com/zachowj/node-red-contrib-home-assistant-websocket/blob/main/CHANGELOG.md

Niektóre wersje wstecz posiadają przestarzale węzły encji i nie będą dziać .

Witam, próbuję zrobić aktualizację nodów w NR i niestety dostaję błąd. Takie coś w logu instalacji. Coś ktoś podpowie?

-----------------------------------------------------------
2022-10-08T09:15:27.161Z Install : node-red-contrib-home-assistant-websocket 0.45.10

2022-10-08T09:15:26.841Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-home-assistant-websocket@0.45.10
2022-10-08T09:15:27.376Z [err] npm
2022-10-08T09:15:27.377Z [err]  WARN 
2022-10-08T09:15:27.377Z [err] config production Use `--omit=dev` instead.
2022-10-08T09:15:31.662Z [err] npm
2022-10-08T09:15:31.663Z [err]  
2022-10-08T09:15:31.663Z [err] ERR!
2022-10-08T09:15:31.663Z [err]  
2022-10-08T09:15:31.663Z [err] code
2022-10-08T09:15:31.663Z [err]  ENOTEMPTY
2022-10-08T09:15:31.664Z [err] npm
2022-10-08T09:15:31.664Z [err]  
2022-10-08T09:15:31.664Z [err] ERR!
2022-10-08T09:15:31.664Z [err]  
2022-10-08T09:15:31.664Z [err] syscall
2022-10-08T09:15:31.664Z [err]  rename
2022-10-08T09:15:31.664Z [err] npm
2022-10-08T09:15:31.664Z [err]  
2022-10-08T09:15:31.664Z [err] ERR!
2022-10-08T09:15:31.665Z [err]  
2022-10-08T09:15:31.665Z [err] path
2022-10-08T09:15:31.665Z [err]  /config/node-red/node_modules/node-red-node-email
2022-10-08T09:15:31.665Z [err] npm
2022-10-08T09:15:31.665Z [err]  
2022-10-08T09:15:31.665Z [err] ERR!
2022-10-08T09:15:31.665Z [err]  
2022-10-08T09:15:31.665Z [err] dest
2022-10-08T09:15:31.665Z [err]  /config/node-red/node_modules/.node-red-node-email-9kimBKpy
2022-10-08T09:15:31.666Z [err] npm
2022-10-08T09:15:31.666Z [err]  
2022-10-08T09:15:31.666Z [err] ERR!
2022-10-08T09:15:31.666Z [err]  
2022-10-08T09:15:31.666Z [err] errno -39
2022-10-08T09:15:31.667Z [err] npm ERR! ENOTEMPTY: directory not empty, rename '/config/node-red/node_modules/node-red-node-email' -> '/config/node-red/node_modules/.node-red-node-email-9kimBKpy'
2022-10-08T09:15:31.669Z [err] 
2022-10-08T09:15:31.669Z [err] npm ERR! A complete log of this run can be found in:
2022-10-08T09:15:31.669Z [err] npm ERR!     /root/.npm/_logs/2022-10-08T09_15_27_329Z-debug-0.log
2022-10-08T09:15:31.677Z rc=217

Robisz aktualizacje w NR z Manage palette ?

Zgadza się, nie mogę zaktualizować żadnego noda. Wszystkie sypią błędami.

Spróbuj zrestartować NR

Nie pomaga ale widzę w logach NR przy restarcie błąd

EDIT: Nie mogę też odinstalować noda email.

-----------------------------------------------------------
 Add-on: Node-RED
 Flow-based programming for the Internet of Things
-----------------------------------------------------------
 Add-on version: 13.4.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.0  (amd64 / qemux86-64)
 Home Assistant Core: 2022.10.1
 Home Assistant Supervisor: 2022.09.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/customizations.sh
cont-init: info: /etc/cont-init.d/customizations.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
cont-init: info: running /etc/cont-init.d/node-red.sh
patching file nodes/ui_base.html
Hunk #1 succeeded at 1164 (offset 633 lines).
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /config/node-red/node_modules/node-red-node-email
npm ERR! dest /config/node-red/node_modules/.node-red-node-email-9kimBKpy
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/config/node-red/node_modules/node-red-node-email' -> '/config/node-red/node_modules/.node-red-node-email-9kimBKpy'
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2022-10-08T09_32_24_196Z-debug-0.log
[11:32:24] WARNING: Failed un-installing conflicting packages
cont-init: info: /etc/cont-init.d/node-red.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun nginx (no readiness notification)
services-up: info: copying legacy longrun nodered (no readiness notification)
s6-rc: info: service legacy-services successfully started
[11:32:24] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
8 Oct 11:32:26 - [info] 
Welcome to Node-RED
===================
8 Oct 11:32:26 - [info] Node-RED version: v3.0.2
8 Oct 11:32:26 - [info] Node.js  version: v16.16.0
8 Oct 11:32:26 - [info] Linux 5.15.67 x64 LE
8 Oct 11:32:26 - [info] Loading palette nodes
8 Oct 11:32:28 - [info] Dashboard version 3.2.0 started at /endpoint/ui
8 Oct 11:32:29 - [info] Settings file  : /etc/node-red/config.js
8 Oct 11:32:29 - [info] Context store  : 'default' [module=memory]
8 Oct 11:32:29 - [info] User directory : /config/node-red/
8 Oct 11:32:29 - [warn] Projects disabled : editorTheme.projects.enabled=false
8 Oct 11:32:29 - [info] Flows file     : /config/node-red/flows.json
8 Oct 11:32:29 - [info] Server now running at http://127.0.0.1:46836/
8 Oct 11:32:29 - [info] Starting flows
[11:32:29] INFO: Starting NGinx...
8 Oct 11:32:29 - [info] [cronplus:Co 30 minut] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"Co 30 minut","payloadType":"default","payload":"","expressionType":"cron","expression":"0 */30 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
8 Oct 11:32:29 - [info] Started flows
8 Oct 11:32:30 - [info] [mqtt-broker:MqttBroker] Connected to broker: mqtt://192.168.99.11:1883

Wejdź w trybie


Odinstaluj dwa podane nody lub usuń foldery podanych nodów NR musi być zatrzymany

Podziękował, usunięcie folderów pomogło przy okazji odinstalowałem nody email :slight_smile: