Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-e #931

Open
3 tasks done
dike1982 opened this issue Jan 14, 2024 · 23 comments
Open
3 tasks done
Assignees

Comments

@dike1982
Copy link

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • This issue is not described in the adapter documentation / FAQ (read the docs!)

Shelly device

shelly1pmmini, shellyplus2pm,

Shelly firmware version

1.1.0

Protocol

MQTT

The problem

Das Log de Iobroker wird mit den Meldungen zugemüllt was dann den ganzen iobroker lahmlegt.
Nach einem:
echo -e "Package: nodejs\nPin: origin deb.nodesource.com\nPin-Priority: 1001" | sudo tee /etc/apt/preferences.d/nodejs.pref

  | sudo apt update
  | iob stop
  | sudo apt full-upgrade
  | sudo reboot

Läuft es wieder fehlerfrei. Allerdings nur für einen tag und dann fängt es an die Fehler zu werfen und immer mehr.

iobroker.current.log (in debug mode!)

2024-01-14 19:28:36.535 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aa1ae0"
2024-01-14 19:28:36.536 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aa1ae0"
2024-01-14 19:28:36.546 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204ab95d8"
2024-01-14 19:28:36.547 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204ad6264"
2024-01-14 19:28:36.548 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aa8d5c"
2024-01-14 19:28:39.490 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204addca8"
2024-01-14 19:28:39.497 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-e465b8604d6c"
2024-01-14 19:28:39.499 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aaa1f4"
2024-01-14 19:28:40.061 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204aa80e8 / shelly1pmmini#543204aa80e8#1) (false)
2024-01-14 19:28:41.427 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-e465b8604d6c"
2024-01-14 19:28:41.429 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aaa1f4"
2024-01-14 19:28:43.000 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204acaf70" connected!
2024-01-14 19:28:44.911 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-e465b893c4d0"
2024-01-14 19:28:44.914 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-a0a3b3684114"
2024-01-14 19:28:44.914 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-e465b893c4d0"
2024-01-14 19:28:44.915 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aa8d5c"
2024-01-14 19:28:44.916 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204abcca8"
2024-01-14 19:28:44.917 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204addca8"
2024-01-14 19:28:44.918 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204acee28"
2024-01-14 19:28:44.920 - error: shelly.0 (957) [MQTT] Error in function setMqttPrefixHttp (Gen 1) for (undefined / undefined / undefined): TypeError: Cannot read properties of undefined (reading 'replace')
2024-01-14 19:28:44.921 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204acaf70"
2024-01-14 19:28:47.140 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204abcca8"
2024-01-14 19:28:48.879 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204ab95d8"
2024-01-14 19:28:48.881 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204ad6264"
2024-01-14 19:28:48.882 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplusplugs-e465b860af58"
2024-01-14 19:28:48.883 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204acee28"
2024-01-14 19:28:48.884 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204acfe10"
2024-01-14 19:28:49.510 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204abaf8c" connected!
2024-01-14 19:28:50.457 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204adcc50"
2024-01-14 19:28:50.461 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aa80e8"
2024-01-14 19:28:50.461 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplusplugs-e465b860af58"
2024-01-14 19:28:52.993 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204acaf70 / shelly1pmmini#543204acaf70#1) (false)
2024-01-14 19:28:53.670 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-a0a3b3684114"
2024-01-14 19:28:53.671 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-a0a3b3684110"
2024-01-14 19:28:54.159 - info: shelly.0 (957) [MQTT] Device with client id "shellyplus2pm-e465b893c4d0" connected!
2024-01-14 19:28:55.518 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204abaf8c"
2024-01-14 19:28:55.519 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204acfe10"
2024-01-14 19:28:59.181 - info: shelly.0 (957) [MQTT] Device with client id "shellyplusplugs-e465b860af58" connected!
2024-01-14 19:28:59.507 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204abaf8c / shelly1pmmini#543204abaf8c#1) (false)
2024-01-14 19:28:59.827 - info: shelly.0 (957) [MQTT] Device with client id "shellyplus2pm-a0a3b3684114" connected!
2024-01-14 19:29:01.136 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204abcca8" connected!
2024-01-14 19:29:01.166 - info: shelly.0 (957) [MQTT] Device with client id "shellyplus2pm-a0a3b3684110" connected!
2024-01-14 19:29:04.132 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204ab95d8" connected!
2024-01-14 19:29:04.151 - info: shelly.0 (957) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-e465b893c4d0 / shellyplus2pm#e465b893c4d0#1) (false)
2024-01-14 19:29:06.153 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204aa1ae0" connected!
2024-01-14 19:29:06.634 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204aaa1f4" connected!
2024-01-14 19:29:07.035 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204adcc50"
2024-01-14 19:29:07.964 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204ad6264" connected!
2024-01-14 19:29:08.858 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204aa8d5c" connected!
2024-01-14 19:29:09.179 - info: shelly.0 (957) [MQTT] Device with client id "shellyplus2pm-e465b8604d6c" connected!
2024-01-14 19:29:09.180 - info: shelly.0 (957) [MQTT] Client Close: (shellyplusplugs / shellyplusplugs-e465b860af58 / shellyplusplugs#e465b860af58#1) (false)
2024-01-14 19:29:09.400 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204addca8" connected!
2024-01-14 19:29:09.817 - info: shelly.0 (957) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-a0a3b3684114 / shellyplus2pm#a0a3b3684114#1) (false)
2024-01-14 19:29:11.193 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204acee28" connected!
2024-01-14 19:29:11.195 - info: shelly.0 (957) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-a0a3b3684110 / shellyplus2pm#a0a3b3684110#1) (false)
2024-01-14 19:29:11.195 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204abcca8 / shelly1pmmini#543204abcca8#1) (false)
2024-01-14 19:29:13.339 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204aa80e8"
2024-01-14 19:29:14.124 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204ab95d8 / shelly1pmmini#543204ab95d8#1) (false)
2024-01-14 19:29:16.143 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204aa1ae0 / shelly1pmmini#543204aa1ae0#1) (false)
2024-01-14 19:29:16.242 - info: shelly.0 (957) [MQTT] Device with client id "shelly1pmmini-543204acfe10" connected!
2024-01-14 19:29:16.632 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204aaa1f4 / shelly1pmmini#543204aaa1f4#1) (false)
2024-01-14 19:29:17.954 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204ad6264 / shelly1pmmini#543204ad6264#1) (false)
2024-01-14 19:29:19.038 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204aa8d5c / shelly1pmmini#543204aa8d5c#1) (false)
2024-01-14 19:29:19.172 - info: shelly.0 (957) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-e465b8604d6c / shellyplus2pm#e465b8604d6c#1) (false)
2024-01-14 19:29:19.392 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204addca8 / shelly1pmmini#543204addca8#1) (false)
2024-01-14 19:29:20.814 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204acaf70"
2024-01-14 19:29:20.827 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204acee28 / shelly1pmmini#543204acee28#1) (false)
2024-01-14 19:29:24.037 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shelly1pmmini-543204abaf8c"
2024-01-14 19:29:26.297 - error: shelly.0 (957) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-e465b893c4d0"
2024-01-14 19:29:26.298 - info: shelly.0 (957) [MQTT] Client Close: (shelly1pmmini / shelly1pmmini-543204acfe10 / shel

Version of nodejs

18.19.0

Version of ioBroker js-controller

5.0.17

Version of adapter

6.6.1

Copy link

Thanks for reporting a new issue @dike1982!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 6.7.0
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

Otherwise this issue will be closed.

@dike1982
Copy link
Author

Hier noch weitere Logs:
Der Adapter wirft ständig Ereignis im Log ununterbrochen, das lähmt die iobroker:

2024-01-14 19:49:44.321  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204acee28" connected!
2024-01-14 19:49:44.692  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204aa8d5c" connected!
2024-01-14 19:49:45.626  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204ab95d8" connected!
2024-01-14 19:49:45.626  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204ab95d8" connected!
2024-01-14 19:49:46.603  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204abcca8" connected!
2024-01-14 19:49:46.603  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204abcca8" connected!
2024-01-14 19:49:47.591  - info: shelly.0 (1134) [MQTT] Device with client id "shellyplus2pm-a0a3b3684110" connected!
2024-01-14 19:49:47.742  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204abaf8c" connected!
2024-01-14 19:49:47.591  - info: shelly.0 (1134) [MQTT] Device with client id "shellyplus2pm-a0a3b3684110" connected!
2024-01-14 19:49:47.742  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204abaf8c" connected!
2024-01-14 19:49:49.963  - info: shelly.0 (1134) [MQTT] Device with client id "shellyplus2pm-e465b8604d6c" connected!
2024-01-14 19:49:49.963  - info: shelly.0 (1134) [MQTT] Device with client id "shellyplus2pm-e465b8604d6c" connected!
2024-01-14 19:49:51.135  - info: shelly.0 (1134) [MQTT] Device with client id "shellyplus2pm-a0a3b3684114" connected!
2024-01-14 19:49:51.426  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204aaa1f4" connected!
2024-01-14 19:49:51.135  - info: shelly.0 (1134) [MQTT] Device with client id "shellyplus2pm-a0a3b3684114" connected!
2024-01-14 19:49:51.426  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204aaa1f4" connected!
2024-01-14 19:49:52.255  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204ad6264" connected!
2024-01-14 19:49:52.255  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204ad6264" connected!
2024-01-14 19:49:54.314  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204acee28 / shelly1pmmini#543204acee28#1) (false)
2024-01-14 19:49:54.683  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204aa8d5c / shelly1pmmini#543204aa8d5c#1) (false)
2024-01-14 19:49:54.314  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204acee28 / shelly1pmmini#543204acee28#1) (false)
2024-01-14 19:49:54.683  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204aa8d5c / shelly1pmmini#543204aa8d5c#1) (false)
2024-01-14 19:49:55.500  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204aa1ae0" connected!
2024-01-14 19:49:55.620  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204ab95d8 / shelly1pmmini#543204ab95d8#1) (false)
2024-01-14 19:49:55.500  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204aa1ae0" connected!
2024-01-14 19:49:55.620  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204ab95d8 / shelly1pmmini#543204ab95d8#1) (false)
2024-01-14 19:49:56.594  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204abcca8 / shelly1pmmini#543204abcca8#1) (false)
2024-01-14 19:49:56.594  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204abcca8 / shelly1pmmini#543204abcca8#1) (false)
2024-01-14 19:49:57.585  - info: shelly.0 (1134) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-a0a3b3684110 / shellyplus2pm#a0a3b3684110#1) (false)
2024-01-14 19:49:57.733  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204abaf8c / shelly1pmmini#543204abaf8c#1) (false)
2024-01-14 19:49:57.585  - info: shelly.0 (1134) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-a0a3b3684110 / shellyplus2pm#a0a3b3684110#1) (false)
2024-01-14 19:49:57.733  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204abaf8c / shelly1pmmini#543204abaf8c#1) (false)
2024-01-14 19:49:58.604  - info: host.raspberrypi4 "system.adapter.shelly.0" disabled
2024-01-14 19:49:58.612  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204addca8" connected!
2024-01-14 19:49:58.606  - info: host.raspberrypi4 stopInstance system.adapter.shelly.0 (force=false, process=true)
2024-01-14 19:49:58.604  - info: host.raspberrypi4 "system.adapter.shelly.0" disabled
2024-01-14 19:49:58.612  - info: shelly.0 (1134) [MQTT] Device with client id "shelly1pmmini-543204addca8" connected!
2024-01-14 19:49:58.606  - info: host.raspberrypi4 stopInstance system.adapter.shelly.0 (force=false, process=true)
2024-01-14 19:49:59.950  - info: shelly.0 (1134) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-e465b8604d6c / shellyplus2pm#e465b8604d6c#1) (false)
2024-01-14 19:49:59.950  - info: shelly.0 (1134) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-e465b8604d6c / shellyplus2pm#e465b8604d6c#1) (false)
2024-01-14 19:50:01.129  - info: shelly.0 (1134) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-a0a3b3684114 / shellyplus2pm#a0a3b3684114#1) (false)
2024-01-14 19:50:01.417  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204aaa1f4 / shelly1pmmini#543204aaa1f4#1) (false)
2024-01-14 19:50:01.129  - info: shelly.0 (1134) [MQTT] Client Close:  (shellyplus2pm / shellyplus2pm-a0a3b3684114 / shellyplus2pm#a0a3b3684114#1) (false)
2024-01-14 19:50:01.417  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204aaa1f4 / shelly1pmmini#543204aaa1f4#1) (false)
2024-01-14 19:50:02.621  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204ad6264 / shelly1pmmini#543204ad6264#1) (false)
2024-01-14 19:50:02.621  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204ad6264 / shelly1pmmini#543204ad6264#1) (false)
2024-01-14 19:50:05.491  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204aa1ae0 / shelly1pmmini#543204aa1ae0#1) (false)
2024-01-14 19:50:05.609  - info: shelly.0 (1134) Got terminate signal TERMINATE_YOURSELF
2024-01-14 19:50:05.626  - info: shelly.0 (1134) terminating
2024-01-14 19:50:05.631  - info: shelly.0 (1134) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-01-14 19:50:06.134  - info: shelly.0 (1134) terminating
2024-01-14 19:50:05.491  - info: shelly.0 (1134) [MQTT] Client Close:  (shelly1pmmini / shelly1pmmini-543204aa1ae0 / shelly1pmmini#543204aa1ae0#1) (false)
2024-01-14 19:50:05.609  - info: shelly.0 (1134) Got terminate signal TERMINATE_YOURSELF
2024-01-14 19:50:05.626  - info: shelly.0 (1134) terminating
2024-01-14 19:50:05.631  - info: shelly.0 (1134) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-01-14 19:50:06.134  - info: shelly.0 (1134) terminating
2024-01-14 19:50:07.135  - info: shelly.0 (1134) terminating with timeout
2024-01-14 19:50:07.135  - info: shelly.0 (1134) terminating with timeout
2024-01-14 19:50:08.395  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204abcca8#1.online, error - Connection is closed.
2024-01-14 19:50:08.397  - warn: shelly.0 (1134) get state error: DB closed
2024-01-14 19:50:08.397  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#e465b8604d6c#1.online, error - DB closed
2024-01-14 19:50:08.398  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#a0a3b3684110#1.online, error - DB closed
2024-01-14 19:50:08.398  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204abaf8c#1.online, error - DB closed
2024-01-14 19:50:08.399  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204acfe10#1.hostname, error - DB closed
2024-01-14 19:50:08.403  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:08.404  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:08.415  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:08.415  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:08.455  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:08.455  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:08.456  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:08.458  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:08.497  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#e465b8604d6c#1.online, error - Connection is closed.
2024-01-14 19:50:08.395  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204abcca8#1.online, error - Connection is closed.
2024-01-14 19:50:08.397  - warn: shelly.0 (1134) get state error: DB closed
2024-01-14 19:50:08.397  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#e465b8604d6c#1.online, error - DB closed
2024-01-14 19:50:08.398  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#a0a3b3684110#1.online, error - DB closed
2024-01-14 19:50:08.398  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204abaf8c#1.online, error - DB closed
2024-01-14 19:50:08.399  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204acfe10#1.hostname, error - DB closed
2024-01-14 19:50:08.403  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:08.404  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:08.415  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:08.415  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:08.455  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:08.455  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:08.456  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:08.458  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:08.497  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#e465b8604d6c#1.online, error - Connection is closed.
2024-01-14 19:50:10.253  - info: host.raspberrypi4 stopInstance system.adapter.shelly.0 send kill signal
2024-01-14 19:50:10.311  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:10.316  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#a0a3b3684114#1.online, error - Connection is closed.
2024-01-14 19:50:10.317  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204aaa1f4#1.online, error - Connection is closed.
2024-01-14 19:50:10.328  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:10.328  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:10.732  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:10.733  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:10.253  - info: host.raspberrypi4 stopInstance system.adapter.shelly.0 send kill signal
2024-01-14 19:50:10.311  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:10.316  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#a0a3b3684114#1.online, error - Connection is closed.
2024-01-14 19:50:10.317  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204aaa1f4#1.online, error - Connection is closed.
2024-01-14 19:50:10.328  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:10.328  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:10.732  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:10.733  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:12.045  - info: host.raspberrypi4 stopInstance system.adapter.shelly.0 killing pid 1134
2024-01-14 19:50:12.119  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204aa8d5c#1.hostname, error - Connection is closed.
2024-01-14 19:50:12.128  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204ad6264#1.online, error - Connection is closed.
2024-01-14 19:50:12.045  - info: host.raspberrypi4 stopInstance system.adapter.shelly.0 killing pid 1134
2024-01-14 19:50:12.119  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204aa8d5c#1.hostname, error - Connection is closed.
2024-01-14 19:50:12.128  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204ad6264#1.online, error - Connection is closed.
2024-01-14 19:50:13.322  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:13.323  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:13.324  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#a0a3b3684110#1.online, error - Connection is closed.
2024-01-14 19:50:13.325  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204aa1ae0#1.online, error - Connection is closed.
2024-01-14 19:50:13.328  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:13.328  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:13.331  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:13.331  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:13.349  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:13.351  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:13.353  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:13.354  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:13.322  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:13.323  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:13.324  - warn: shelly.0 (1134) redis get shelly.0.shellyplus2pm#a0a3b3684110#1.online, error - Connection is closed.
2024-01-14 19:50:13.325  - warn: shelly.0 (1134) redis get shelly.0.shelly1pmmini#543204aa1ae0#1.online, error - Connection is closed.
2024-01-14 19:50:13.328  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:13.328  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:13.331  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:13.331  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:13.349  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:13.351  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:13.353  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:13.354  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.160  - error: shelly.0 (1134) Cannot find view "system" for search "state" : DB closed
2024-01-14 19:50:15.160  - error: shelly.0 (1134) Cannot find view "system" for search "state" : DB closed
2024-01-14 19:50:15.162  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.162  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.163  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.163  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.167  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.168  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.168  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.168  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.169  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.170  - error: shelly.0 (1134) Cannot find view "system" for search "channel" : DB closed
2024-01-14 19:50:15.180  - warn: shelly.0 (1134) Could not perform strict object check of state shelly.0.info.connection: DB closed
2024-01-14 19:50:15.180  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:15.181  - warn: shelly.0 (1134) Could not perform strict object check of state shelly.0.info.connection: DB closed
2024-01-14 19:50:15.182  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:15.208  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.209  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.212  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.212  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.223  - error: shelly.0 (1134) Error: DB closed
2024-01-14 19:50:15.224  - warn: shelly.0 (1134) setTimeout called, but adapter is shutting down
2024-01-14 19:50:15.225  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.225  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.226  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:15.227  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.234  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.234  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.236  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.237  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.247  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.247  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.248  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:15.249  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.260  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.260  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.261  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:15.263  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.271  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.273  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.275  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.277  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.278  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.280  - error: shelly.0 (1134) Cannot find view "system" for search "channel" : Connection is closed.
2024-01-14 19:50:15.436  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.475  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.475  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.477  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.491  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.492  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.493  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.497  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.498  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.498  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.500  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.500  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.501  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.503  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.503  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.504  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.506  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.506  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.506  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.160  - error: shelly.0 (1134) Cannot find view "system" for search "state" : DB closed
2024-01-14 19:50:15.160  - error: shelly.0 (1134) Cannot find view "system" for search "state" : DB closed
2024-01-14 19:50:15.162  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.162  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.163  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.163  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.167  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.168  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.168  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.168  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.169  - warn: shelly.0 (1134) Cannot get view: DB closed
2024-01-14 19:50:15.170  - error: shelly.0 (1134) Cannot find view "system" for search "channel" : DB closed
2024-01-14 19:50:15.180  - warn: shelly.0 (1134) Could not perform strict object check of state shelly.0.info.connection: DB closed
2024-01-14 19:50:15.180  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:15.181  - warn: shelly.0 (1134) Could not perform strict object check of state shelly.0.info.connection: DB closed
2024-01-14 19:50:15.182  - warn: shelly.0 (1134) get state error: Connection is closed.
2024-01-14 19:50:15.208  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.209  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.212  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.212  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.223  - error: shelly.0 (1134) Error: DB closed
2024-01-14 19:50:15.224  - warn: shelly.0 (1134) setTimeout called, but adapter is shutting down
2024-01-14 19:50:15.225  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.225  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.226  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:15.227  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.234  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.234  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.236  - error: shelly.0 (1134) Error: DB closed
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
    at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.237  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.247  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.247  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.248  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:15.249  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.260  - error: shelly.0 (1134) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-14 19:50:15.260  - error: shelly.0 (1134) unhandled promise rejection: DB closed
2024-01-14 19:50:15.261  - error: shelly.0 (1134) Error: DB closed
    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at Socket.emit (node:domain:489:12)
    at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:15.263  - error: shelly.0 (1134) DB closed
2024-01-14 19:50:15.271  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.273  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.275  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.277  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.278  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.280  - error: shelly.0 (1134) Cannot find view "system" for search "channel" : Connection is closed.
2024-01-14 19:50:15.436  - error: shelly.0 (1134) Cannot find view "system" for search "state" : Connection is closed.
2024-01-14 19:50:15.475  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.475  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.477  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.491  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.492  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.493  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.497  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.498  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.498  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.500  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.500  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.501  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.503  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.503  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.504  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:15.506  - error: shelly.0 (1134) uncaught exception: Connection is closed.
2024-01-14 19:50:15.506  - error: shelly.0 (1134) Error: Connection is closed.
    at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
    at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
    at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
    at ScanStream.Readable.read (node:internal/streams/readable:539:12)
    at resume_ (node:internal/streams/readable:1040:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
    at runNextTicks (node:internal/process/task_queues:64:3)
    at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:15.506  - error: shelly.0 (1134) Connection is closed.
2024-01-14 19:50:26.227  - error: host.raspberrypi4 Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.228  - error: host.raspberrypi4 Caught by controller[1]: Error: DB closed
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]: Error: DB closed
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[1]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]: Error: DB closed
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[2]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[2]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]: Error: DB closed
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]: Error: DB closed
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.234  - error: host.raspberrypi4 Caught by controller[3]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.234  - error: host.raspberrypi4 Caught by controller[3]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.234  - error: host.raspberrypi4 Caught by controller[3]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.244  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.244  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.244  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.244  - info: host.raspberrypi4 instance system.adapter.shelly.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2024-01-14 19:50:26.227  - error: host.raspberrypi4 Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.228  - error: host.raspberrypi4 Caught by controller[1]: Error: DB closed
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.229  - error: host.raspberrypi4 Caught by controller[1]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]: Error: DB closed
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.230  - error: host.raspberrypi4 Caught by controller[1]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[1]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]: Error: DB closed
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.231  - error: host.raspberrypi4 Caught by controller[2]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[2]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[2]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]: Error: DB closed
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.232  - error: host.raspberrypi4 Caught by controller[3]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]: Error: DB closed
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.233  - error: host.raspberrypi4 Caught by controller[3]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.234  - error: host.raspberrypi4 Caught by controller[3]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.234  - error: host.raspberrypi4 Caught by controller[3]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.234  - error: host.raspberrypi4 Caught by controller[3]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.235  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.236  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Shelly._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:60:5)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.237  - error: host.raspberrypi4 Caught by controller[4]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]: Error: DB closed
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Object.onceWrapper (node:events:632:26)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:events:517:28)
2024-01-14 19:50:26.238  - error: host.raspberrypi4 Caught by controller[4]:     at Socket.emit (node:domain:489:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at TCP.<anonymous> (node:net:350:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.239  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.240  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.241  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.242  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]: Error: Connection is closed.
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at Redis.scan (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream._read (/opt/iobroker/node_modules/ioredis/built/ScanStream.js:36:41)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at ScanStream.Readable.read (node:internal/streams/readable:539:12)
2024-01-14 19:50:26.243  - error: host.raspberrypi4 Caught by controller[4]:     at resume_ (node:internal/streams/readable:1040:12)
2024-01-14 19:50:26.244  - error: host.raspberrypi4 Caught by controller[4]:     at processTicksAndRejections (node:internal/process/task_queues:82:21)
2024-01-14 19:50:26.244  - error: host.raspberrypi4 Caught by controller[4]:     at runNextTicks (node:internal/process/task_queues:64:3)
2024-01-14 19:50:26.244  - error: host.raspberrypi4 Caught by controller[4]:     at processImmediate (node:internal/timers:447:9)
2024-01-14 19:50:26.244  - info: host.raspberrypi4 instance system.adapter.shelly.0 terminated with code 1 (JS_CONTROLLER_STOPPED)

@dike1982
Copy link
Author

Ich hab festgetsllt, dass ich dir die Logs nicht im debug mode gepostet habe.
Das Log hätte ich, aber wie kann ich das hier posten. Wenn ich es hier reinkopiere habe ich zuviel Zeichen!

@klein0r
Copy link
Contributor

klein0r commented Jan 15, 2024

Naja erstmal wird in dem Log nicht viel anderes stehen. Deine Objekt- und State-DB macht Probleme.

@dike1982
Copy link
Author

Ah ha und wie löse ich das nun?

@dike1982
Copy link
Author

Auf Hinweis einen Forenmitglieds habe ich den Device-Watcher Adapter deaktiviert.
Aktuell läuft alles ohne Fehler.
An was kann das liegen, dass die beiden sich nicht verstehen?

@klein0r
Copy link
Contributor

klein0r commented Jan 16, 2024

An was kann das liegen, dass die beiden sich nicht verstehen?

Kann ich mir nicht erklären. Immerhin laufen die in getrennten Prozessen (wenn der compact mode nicht aktiviert wurde) und haben sonst auch nix miteinander zu tun.

@andiweli
Copy link

andiweli commented Mar 8, 2024

Hab hier ähnliches Problem mit einem Shelly Pro 3EM.
Lief bis vor kurzem eigentlich problemlos, seit ein paar Tagen mehrmals die Stunde diese beiden Einträge:

shelly.1 2024-03-08 23:32:11.936 error [MQTT] Unable to get mqttprefix of client with id "shellypro3em-34987a453838"
shelly.1 2024-03-08 23:32:11.930 error [MQTT] Error in function setMqttPrefixHttp (Gen 1) for (undefined / undefined / undefined): TypeError: Cannot read properties of undefined (reading 'replace')

@Tom54497
Copy link

Nach Update noch immer bei Shelly Plus HT:

[MQTT] Error in function setMqttPrefixHttp (Gen 1) for (undefined / undefined / undefined): TypeError: Cannot read properties of undefined (reading 'replace')

@thurbo
Copy link

thurbo commented Apr 6, 2024

Ich hab das Problem noch bei einem ShellyPlus 2pm
[MQTT] Error in function setMqttPrefixHttp (Gen 1) for (undefined / undefined / undefined): TypeError: Cannot read properties of undefined (reading 'replace')

Außerdem Connected der alle 12 Minuten neu.

@klein0r
Copy link
Contributor

klein0r commented Apr 29, 2024

Das komische ist, dass in euren Fällen fast immer ein Gen2-Gerät denkt, es wäre Gen1-Gerät. Ich kann das nicht reproduzieren.

@diamand2k22
Copy link

Ich konnte das Problem für mich lösen in dem ich im Shelly Adapter unter benutzerdefinierten Einstellungen das Aktualisierungsintervall auf 120 Sek. eingestellt habe. Ich habe die neuste stable Firmware v1.3 auf all meinen Shelly 1Plus.

@Dette70
Copy link

Dette70 commented May 2, 2024

Ich konnte das Problem für mich lösen in dem ich im Shelly Adapter unter benutzerdefinierten Einstellungen das Aktualisierungsintervall auf 120 Sek. eingestellt habe. Ich habe die neuste stable Firmware v1.3 auf all meinen Shelly 1Plus.

Habe den Adapter heute auf 6.9. aktualisiert und das Intervall auch von 15 sek auf 120 sek geändert. Bin gespannt, ob das hilft. Zumindest die "bekannten" Fehler beim Starten des Adapters waren weiter vorhanden, hören aber nach kurzer Zeit auf. Ich beobachte das mal weiter.

@diamand2k22
Copy link

Ich konnte das Problem für mich lösen in dem ich im Shelly Adapter unter benutzerdefinierten Einstellungen das Aktualisierungsintervall auf 120 Sek. eingestellt habe. Ich habe die neuste stable Firmware v1.3 auf all meinen Shelly 1Plus.

Habe den Adapter heute auf 6.9. aktualisiert und das Intervall auch von 15 sek auf 120 sek geändert. Bin gespannt, ob das hilft. Zumindest die "bekannten" Fehler beim Starten des Adapters waren weiter vorhanden, hören aber nach kurzer Zeit auf. Ich beobachte das mal weiter.

Ja am Anfang kommen die Fehler zwar, aber dann läuft er stabil. Ich denke das ist ein Bug vom Shelly Adapter und nicht von den Shelly Devices.

@ReinWei56
Copy link

ReinWei56 commented May 3, 2024

Ich habe dieses Problem auch immer mal wieder, aber in keiner Regelmäßigkeit
`

277524 2024-05-03 00:29:02.719 error [MQTT] Unable to get mqttprefix of client with id "shellyplusht-c049ef8916d4"
shelly.1 277524 2024-05-03 00:29:02.685 error

Meine Adapterversion ist die 6.9.0, Nodejs 18.20.2, NPM 10.5.0
Die Firmware war 1.2.2, habe jetzt das Update auf 1.3.0 gemacht. Ich beobachte das weiter

Habe jetzt die Meldung auch von einem TRV bekommem

`

shelly.1 277524 2024-05-06 05:45:40.955 error [MQTT] Unable to get mqttprefix of client with id "shellytrv-84FD271BE878"
shelly.1 277524 2024-05-06 05:45:40.944 error [MQTT] Error in function setMqttPrefixHttp (Gen 1) for 192.168.178.60 (undefined / undefined / undefined): TypeError: Cannot read properties of undefined (reading 'replace')
`

@Tom54497
Copy link

Tom54497 commented May 3, 2024

Ich konnte das Problem für mich lösen in dem ich im Shelly Adapter unter benutzerdefinierten Einstellungen das Aktualisierungsintervall auf 120 Sek. eingestellt habe. Ich habe die neuste stable Firmware v1.3 auf all meinen Shelly 1Plus.

FW 1.3 und 120 sec haben bei mir keine Änderung bewirkt

@diamand2k22
Copy link

diamand2k22 commented May 3, 2024

Evtl. Mal mit der Zeit höher gehen bzw. den devicewatcher Adapter deaktivieren beim starten des Shelly Adapters. Der spukt hier auch immer mal wieder rein.

@klein0r
Copy link
Contributor

klein0r commented May 3, 2024

den devicewatcher Adapter deaktivieren beim starten des Shelly Adapters

Bitte mal den technischen Hintergrund erklären

@Tom54497
Copy link

Tom54497 commented May 3, 2024

Evtl. Mal mit der Zeit höher gehen bzw. den devicewatcher Adapter deaktivieren beim starten des Shelly Adapters. Der spukt hier auch immer mal wieder rein.

Device watcher Adapter ist nicht installiert!

@diamand2k22
Copy link

den devicewatcher Adapter deaktivieren beim starten des Shelly Adapters

Bitte mal den technischen Hintergrund erklären

bei mir ist mit dem devicewatcher schon öfter mal der CPU-Load durch die Decke gegangen und hat andere Prozesse dadurch lahmgelegt.

@Dette70
Copy link

Dette70 commented May 10, 2024

Ich konnte das Problem für mich lösen in dem ich im Shelly Adapter unter benutzerdefinierten Einstellungen das Aktualisierungsintervall auf 120 Sek. eingestellt habe. Ich habe die neuste stable Firmware v1.3 auf all meinen Shelly 1Plus.

Habe den Adapter heute auf 6.9. aktualisiert und das Intervall auch von 15 sek auf 120 sek geändert. Bin gespannt, ob das hilft. Zumindest die "bekannten" Fehler beim Starten des Adapters waren weiter vorhanden, hören aber nach kurzer Zeit auf. Ich beobachte das mal weiter.

So, bei mir läuft jetzt seit einer Woche die o. g. Variante. Seit dem habe ich keine MQTT Fehler mehr. FW sind alle Shelly's auf 1.3.

@megamacy
Copy link

Korrigiere mich wenn ich falsch liege, aber hat du jetzt nicht nur alle 2min ein Sensor Update?

@Dette70
Copy link

Dette70 commented May 10, 2024

Korrigiere mich wenn ich falsch liege, aber hat du jetzt nicht nur alle 2min ein Sensor Update?

Hier müssten wir mal den Entwickler fragen, welchen genaue Effekt das Hochsetzen hat, bin kein MQTT Experte.
Nach meinem Verständnis bezieht sich das NUR auf das Abfragen der Shelly's durch den Iobroker, jedoch nicht auf das Senden der Shelly's an den Iobroker. Ich bekomme z.B. von meinem Shelly Pro 3EM Daten weiterhin in deutlich kürzeren Intervallen als 120 sek.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants