oma
22 December 2020 18:06
1
I am running Redmatic on my CCU3 without trouble. Now i would like to have a testbed seperate from "production" if you like. I did setup another instance of Nodered on a seperate (x86!) Server and left redmatic on the CCU (arm).
I did install almost all plugins fine, but node-red-contrib-ccu seems to make trouble. After i imported all flows from my CCU into the non-prod Node Red i get a warning that flows are stopped by a missing Nodetype: ccu-connection
I also habe no way of configuring an external one as the edit button is missing:
I understand that there are obvious CPU Architecture differences but i was still hoping to be able to use Node-Red with an "non-localhost" CCU - my mistake? I can have a look running a VM of Redmatic (available for x86) somewhere but i hope i can simple skip to maintain another OS instance... Any ideas?
Colin
22 December 2020 21:41
2
Go into your .node-red
folder and run
npm remove node-red-contrib-ccu
npm install node-red-contrib-ccu
and if the install does not end with something like
+ node-red-contrib-ccu@3.4.0
added 39 packages from 62 contributors in 10.389s
then copy/paste the output from the install command here. Use the </>
button at the top of the forum entry window when you paste it.
If it does end as I showed then restart node-red and see if it is now ok.
oma
22 December 2020 22:22
3
well, i still have no possibility to add a CCU:
markus@plexi:~/.node-red$ npm remove node-red-contrib-ccu
> bufferutil@4.0.2 install /home/markus/.node-red/node_modules/bufferutil
> node-gyp-build
> utf-8-validate@5.0.3 install /home/markus/.node-red/node_modules/utf-8-validate
> node-gyp-build
- async@3.2.0 node_modules/async
- big-number@1.0.0 node_modules/big-number
- binary@0.3.0 node_modules/binary
- binrpc@3.3.1 node_modules/binrpc
- buffer-base62@0.1.2 node_modules/buffer-base62
- buffer-reverse@1.0.1 node_modules/buffer-reverse
- buffers@0.1.1 node_modules/buffers
- call-bind@1.0.0 node_modules/call-bind
- chainsaw@0.1.0 node_modules/chainsaw
- define-properties@1.1.3 node_modules/define-properties
- es-abstract@1.17.7 node_modules/es-abstract
- es-to-primitive@1.2.1 node_modules/es-to-primitive
- function-bind@1.1.1 node_modules/function-bind
- get-intrinsic@1.0.2 node_modules/get-intrinsic
- has@1.0.3 node_modules/has
- has-symbols@1.0.1 node_modules/has-symbols
- hm-discover@1.1.3 node_modules/hm-discover
- homematic-rega@1.5.2 node_modules/homematic-rega
- homematic-xmlrpc@1.0.2 node_modules/homematic-xmlrpc
- sax@0.4.3 node_modules/homematic-xmlrpc/node_modules/sax
- xmlbuilder@0.4.2 node_modules/homematic-xmlrpc/node_modules/xmlbuilder
- is-callable@1.2.2 node_modules/is-callable
- is-date-object@1.0.2 node_modules/is-date-object
- is-regex@1.1.1 node_modules/is-regex
- is-symbol@1.0.3 node_modules/is-symbol
- mqtt-wildcard@3.0.9 node_modules/mqtt-wildcard
- nextport@1.0.0 node_modules/nextport
- node-red-contrib-ccu@3.4.0 node_modules/node-red-contrib-ccu
- obj-ease@1.0.1 node_modules/obj-ease
- object-inspect@1.9.0 node_modules/object-inspect
- object-keys@1.1.1 node_modules/object-keys
- object.assign@4.1.2 node_modules/object.assign
- promise.prototype.finally@3.1.2 node_modules/promise.prototype.finally
- put@0.0.6 node_modules/put
- sax@1.2.4 node_modules/sax
- string-similarity@4.0.3 node_modules/string-similarity
- string.prototype.trimend@1.0.3 node_modules/string.prototype.trimend
- string.prototype.trimstart@1.0.3 node_modules/string.prototype.trimstart
- temp-dir@2.0.0 node_modules/temp-dir
- traverse@0.3.9 node_modules/traverse
- underscore@1.12.0 node_modules/underscore
- xml2js@0.4.23 node_modules/xml2js
- xmlbuilder@11.0.1 node_modules/xmlbuilder
node-red-project@0.0.1 /home/markus/.node-red
├── @node-red-contrib-themes/midnight-red@1.4.6 extraneous
├── bufferutil@4.0.2 extraneous
└── utf-8-validate@5.0.3 extraneous
markus@plexi:~/.node-red$ npm install node-red-contrib-ccu
▀ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine node-red-contrib-ccu@3.4.0: wanted: {"node":">= 10.0.0"} (current: {"node":"8.10.0","npm":"3.5.2"})
loadDep:string-similarity ▌ ╢█████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
> bufferutil@4.0.2 install /home/markus/.node-red/node_modules/bufferutil
> node-gyp-build
> utf-8-validate@5.0.3 install /home/markus/.node-red/node_modules/utf-8-validate
> node-gyp-build
node-red-project@0.0.1 /home/markus/.node-red
├── @node-red-contrib-themes/midnight-red@1.4.6 extraneous
├── bufferutil@4.0.2 extraneous
├─┬ node-red-contrib-ccu@3.4.0
│ ├─┬ binrpc@3.3.1
│ │ ├─┬ binary@0.3.0
│ │ │ ├── buffers@0.1.1
│ │ │ └─┬ chainsaw@0.1.0
│ │ │ └── traverse@0.3.9
│ │ └── put@0.0.6
│ ├─┬ buffer-base62@0.1.2
│ │ ├── big-number@1.0.0
│ │ ├── buffer-reverse@1.0.1
│ │ └── underscore@1.12.0
│ ├─┬ hm-discover@1.1.3
│ │ └── async@3.2.0
│ ├─┬ homematic-rega@1.5.2
│ │ ├── temp-dir@2.0.0
│ │ └─┬ xml2js@0.4.23
│ │ ├── sax@1.2.4
│ │ └── xmlbuilder@11.0.1
│ ├─┬ homematic-xmlrpc@1.0.2
│ │ ├── sax@0.4.3
│ │ └── xmlbuilder@0.4.2
│ ├── mqtt-wildcard@3.0.9
│ ├── nextport@1.0.0
│ ├── obj-ease@1.0.1
│ ├─┬ promise.prototype.finally@3.1.2
│ │ ├─┬ define-properties@1.1.3
│ │ │ └── object-keys@1.1.1
│ │ ├─┬ es-abstract@1.17.7
│ │ │ ├─┬ es-to-primitive@1.2.1
│ │ │ │ ├── is-date-object@1.0.2
│ │ │ │ └── is-symbol@1.0.3
│ │ │ ├── has@1.0.3
│ │ │ ├── has-symbols@1.0.1
│ │ │ ├── is-callable@1.2.2
│ │ │ ├── is-regex@1.1.1
│ │ │ ├── object-inspect@1.9.0
│ │ │ ├─┬ object.assign@4.1.2
│ │ │ │ └─┬ call-bind@1.0.0
│ │ │ │ └── get-intrinsic@1.0.2
│ │ │ ├── string.prototype.trimend@1.0.3
│ │ │ └── string.prototype.trimstart@1.0.3
│ │ └── function-bind@1.1.1
│ └── string-similarity@4.0.3
└── utf-8-validate@5.0.3 extraneous
markus@plexi:~/.node-red$ pm2 stop /usr/local/bin/node-red -- -v
[PM2] Applying action stopProcessId on app [/usr/local/bin/node-red](ids: 0)
[PM2] [node-red](0) ✓
[PM2][ERROR] Process or Namespace -v not found
markus@plexi:~/.node-red$ pm2 start /usr/local/bin/node-red -- -v
[PM2] Applying action restartProcessId on app [node-red](ids: 0)
[PM2] [node-red](0) ✓
[PM2] Process successfully started
┌─────┬─────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼─────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ node-red │ default │ N/A │ fork │ 15201 │ 0s │ 127 │ online │ 0% │ 15.6mb │ markus │ disabled │
└─────┴─────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
markus@plexi:~/.node-red$
anything you can see in here?
Yes the first line tells you it wants nodejs version 10 or better and you have node 8.
oma
23 December 2020 12:05
5
agree - installed nodejs 10 and it seems to run now but looks like there is still a problem that the datapoints don´t go through...
system
Closed
6 January 2021 12:05
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.