Bonjour,
Aprés un quelques problèmes je pense ne plus pouvoir utiliser l’Atlas.
Je viens de passer sur un RPI4.
Tout fonctionne sauf zwave.
Je installé la clé de l’Atlas dans le RIP mais j’ai ce message d’erreur:
The Z-Wave driver is not initialized, please wait. If the message stays too long, please check the daemon configuration
Log debug:
error Command failed with signal "SIGTERM".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[90m2024-08-22 18:59:21.902[39m [31m ERROR[39m [1mAPP[22m: Unhandled Rejection, reason: Error: Port is not open
Error: Port is not open
at unixWrite (/var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/@serialport/bindings-cpp/dist/unix-write.js:28:23)
at /var/www/html/plugins/zwavejs/resources/zwave-js-ui/node_modules/@serialport/bindings-cpp/dist/linux.js:92:13
yarn run v1.22.22
$ node --preserve-symlinks server/bin/www.js
[90m2024-08-22 18:59:26.843[39m [32mINFO[39m [1mAPP[22m: Version: 9.12.0.96eeb76
[90m2024-08-22 18:59:26.848[39m [32mINFO[39m [1mAPP[22m: Application path:/var/www/html/plugins/zwavejs/resources/zwave-js-ui
______ __ __ _ _____ _ _ _____
|___ / \ \ / / | |/ ____| | | | |_ _|
/ /____\ \ /\ / /_ ___ _____ | | (___ | | | | | |
/ /______\ \/ \/ / _' \ \ / / _ \ _ | |\___ \ | | | | | |
/ /__ \ /\ / (_| |\ V / __/ | |__| |____) | | |__| |_| |_
/_____| \/ \/ \__,_| \_/ \___| \____/|_____/ \____/|_____|
[90m2024-08-22 18:59:26.890[39m [33mWARN[39m [1mSTORE[22m: scenes.json not found
J’utilise le port /dev/ttyAMA0
J’ai aussi relancé les dépendances.
Ensuite au bout de 10 minutes, ce message et le daemon s’arrète:
<--- Last few GCs --->
[3049:0x402708b0] 754589 ms: Scavenge 2041.5 (2080.7) -> 2040.0 (2080.9) MB, 4.0 / 0.0 ms (average mu = 0.272, current mu = 0.285) task;
[3049:0x402708b0] 754615 ms: Scavenge 2041.6 (2080.9) -> 2040.1 (2080.9) MB, 3.8 / 0.0 ms (average mu = 0.272, current mu = 0.285) task;
[3049:0x402708b0] 754641 ms: Scavenge 2041.6 (2080.9) -> 2040.1 (2084.9) MB, 4.3 / 0.0 ms (average mu = 0.272, current mu = 0.285) task;
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xb82c6c node::Abort() [/usr/bin/node]
2: 0xa9bf08 [/usr/bin/node]
3: 0xd44220 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
4: 0xd443f0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/bin/node]
5: 0xf22ad4 [/usr/bin/node]
6: 0xf2373c v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/bin/node]
7: 0xf33c84 [/usr/bin/node]
8: 0xf34848 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/bin/node]
9: 0xf35a14 v8::internal::Heap::FinalizeIncrementalMarkingIfComplete(v8::internal::GarbageCollectionReason) [/usr/bin/node]
10: 0xf38fec v8::internal::IncrementalMarkingJob::Task::RunInternal() [/usr/bin/node]
11: 0xe1dcf8 non-virtual thunk to v8::internal::CancelableTask::Run() [/usr/bin/node]
12: 0xbe4dec [/usr/bin/node]
13: 0xbe8220 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/usr/bin/node]
14: 0x15e90ec [/usr/bin/node]
15: 0x15fb250 [/usr/bin/node]
16: 0x15e9b54 uv_run [/usr/bin/node]
17: 0xacf5d8 node::SpinEventLoop(node::Environment*) [/usr/bin/node]
18: 0xbc1968 node::NodeMainInstance::Run() [/usr/bin/node]
19: 0xb408cc node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResult const*) [/usr/bin/node]
20: 0xb4418c node::Start(int, char**) [/usr/bin/node]
21: 0x7f88974e18 __libc_start_main [/lib/aarch64-linux-gnu/libc.so.6]
22: 0xacdb08 [/usr/bin/node]
Aborted
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Merci