Due to request from @arteck : Here's the post.
Problem:
After a fresh start of the z2m-instance, all devices are available and working. After a while most devices now show as
offline, despite being online. Everything works fine though. it's just availability=false
Steps tried so far:
- double-checking config-settings according to documentation.
advanced:
ota_timeout: 1200
output: json
cache_state: false
[...]
availability:
enabled: true
active:
timeout: 120
passive:
timeout: 1500
[...]
(removing the timeouts doesn't change the behaviour)
- Trying all possible settings in MQTT/Z2M+Z2M-Adapter in desperately trying to fix it.
-Zigbee2mqtt-Adapter 3.0.2
-Zigbee2mqtt v2.0
-MQTT (external server)
- js-cont 7.0.6
- admin-adapter: most current
- nodejs 20.10.0
- npm 10.8.2
======================= SUMMARY =======================
v.2024-10-19
Static hostname: iobroker
Icon name: computer-vm
Chassis: vm
Virtualization: kvm
Operating System: Ubuntu 20.04.6 LTS
Kernel: Linux 5.4.0-204-generic
Architecture: x86-64
Installation: kvm
Kernel: x86_64
Userland: 64 bit
Timezone: Europe/Berlin (CET, +0100)
User-ID: 1000
Display-Server: false
Boot Target: multi-user.target
Pending OS-Updates: 12
Pending iob updates: 0
Nodejs-Installation:
/usr/bin/nodejs v20.18.0
/usr/bin/node v20.18.0
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.3
Recommended versions are nodejs 20.18.1 and npm 10.8.2
nodeJS installation is correct
MEMORY:
total used free shared buff/cache available
Mem: 9.7G 2.5G 3.9G 1.0M 3.3G 6.9G
Swap: 2.0G 0B 2.0G
Total: 11G 2.5G 5.9G
Active iob-Instances: 25
Upgrade policy: none
ioBroker Core: js-controller 7.0.6
admin 7.4.14
ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Status admin and web instance:
+ system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 192.168.0.10 (SSL), run as: admin
system.adapter.admin.1 : admin : iobroker - disabled, port: 8099, bind: 0.0.0.0, run as: admin
+ system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 192.168.0.10 (SSL), run as: admin
+ system.adapter.web.1 : web : iobroker - enabled, port: 8084, bind: 192.168.0.10, run as: httpuser
+ system.adapter.web.2 : web : iobroker - enabled, port: 8098, bind: 0.0.0.0 (SSL), run as: httpuser
Objects: 15731
States: 12426
Size of iob-Database:
29M /opt/iobroker/iobroker-data/objects.jsonl
15M /opt/iobroker/iobroker-data/objects.json.migrated
15M /opt/iobroker/iobroker-data/objects.json.bak.migrated
0 /opt/iobroker/iobroker-data/objects.json.broken
48M /opt/iobroker/iobroker-data/states.jsonl
2.8M /opt/iobroker/iobroker-data/states.json.migrated
2.8M /opt/iobroker/iobroker-data/states.json.bak.migrated
0 /opt/iobroker/iobroker-data/states.json.broken
Operating System codenamed 'focal' is an aging Ubuntu release! Please upgrade to the latest LTS release 'noble' in due time!
=================== END OF SUMMARY ====================
Bitte in der nachfolgenden Übersicht die mit ... bzw x gekennzeichneten Felder ausfüllen und im Anschluss an die Tabelle auf Linux Systemen den Output des Commands iob diag einfügen.
Hinweis: Das Eröffnen eines Issues hier ersetzt NICHT das Anlegen eine Issues im Repository des Adapters. Fehlerbehebungen werden ausschließlich über Issues getrackt.
DANKE
Bitte ausfüllen:
- Adaptername: ...
- Link zu Adapterrepository: www.github.com...
- Adapterversion: ...
- js-controller Version: ...
- Admin Version: ...
- Hardwaresystem: NUC, Pi4 ...
- Arbeitsspeicher: ...xGB
- Festplattenart: SD-Karte, SSD, HDD, ...
- Betriebssystem: ...
- Nodejs-Version: ...
- NPM-Version: ...
- Installationsart: Skript oder Manuell ?
- Image, Docker genutzt: Ja - Nein
- Ort, Name der Imagedatei: ...
Linux User bitte hier den Output von iob diag einfügen.Due to request from @arteck : Here's the post.
Problem:
After a fresh start of the z2m-instance, all devices are available and working. After a while most devices now show as
offline, despite being online. Everything works fine though. it's just availability=false
Steps tried so far:
- double-checking config-settings according to documentation.
advanced:
ota_timeout: 1200
output: json
cache_state: false
[...]
availability:
enabled: true
active:
timeout: 120
passive:
timeout: 1500
[...]
(removing the timeouts doesn't change the behaviour)
- Trying all possible settings in MQTT/Z2M+Z2M-Adapter in desperately trying to fix it.
-Zigbee2mqtt-Adapter 3.0.2
-Zigbee2mqtt v2.0
-MQTT (external server)
- js-cont 7.0.6
- admin-adapter: most current
- nodejs 20.10.0
- npm 10.8.2
======================= SUMMARY =======================
v.2024-10-19
Static hostname: iobroker
Icon name: computer-vm
Chassis: vm
Virtualization: kvm
Operating System: Ubuntu 20.04.6 LTS
Kernel: Linux 5.4.0-204-generic
Architecture: x86-64
Installation: kvm
Kernel: x86_64
Userland: 64 bit
Timezone: Europe/Berlin (CET, +0100)
User-ID: 1000
Display-Server: false
Boot Target: multi-user.target
Pending OS-Updates: 12
Pending iob updates: 0
Nodejs-Installation:
/usr/bin/nodejs v20.18.0
/usr/bin/node v20.18.0
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.29.3
Recommended versions are nodejs 20.18.1 and npm 10.8.2
nodeJS installation is correct
MEMORY:
total used free shared buff/cache available
Mem: 9.7G 2.5G 3.9G 1.0M 3.3G 6.9G
Swap: 2.0G 0B 2.0G
Total: 11G 2.5G 5.9G
Active iob-Instances: 25
Upgrade policy: none
ioBroker Core: js-controller 7.0.6
admin 7.4.14
ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Status admin and web instance:
+ system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 192.168.0.10 (SSL), run as: admin
system.adapter.admin.1 : admin : iobroker - disabled, port: 8099, bind: 0.0.0.0, run as: admin
+ system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 192.168.0.10 (SSL), run as: admin
+ system.adapter.web.1 : web : iobroker - enabled, port: 8084, bind: 192.168.0.10, run as: httpuser
+ system.adapter.web.2 : web : iobroker - enabled, port: 8098, bind: 0.0.0.0 (SSL), run as: httpuser
Objects: 15731
States: 12426
Size of iob-Database:
29M /opt/iobroker/iobroker-data/objects.jsonl
15M /opt/iobroker/iobroker-data/objects.json.migrated
15M /opt/iobroker/iobroker-data/objects.json.bak.migrated
0 /opt/iobroker/iobroker-data/objects.json.broken
48M /opt/iobroker/iobroker-data/states.jsonl
2.8M /opt/iobroker/iobroker-data/states.json.migrated
2.8M /opt/iobroker/iobroker-data/states.json.bak.migrated
0 /opt/iobroker/iobroker-data/states.json.broken
Operating System codenamed 'focal' is an aging Ubuntu release! Please upgrade to the latest LTS release 'noble' in due time!
=================== END OF SUMMARY ====================