RF link firmware not recognized on jeedom

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
jerem
Normal user
Posts: 4
Joined: 28 Jul 2020, 20:59

RF link firmware not recognized on jeedom

#1 Post by jerem » 31 Jul 2020, 18:42

Hello
I made an rf433 gateway with a mega + rxb6 + fs1000a by following a tutorial. https://opendomotech.com/fabriquer-rfli ... du-rfxcom / 1

I am on an RPI3
jeedom v4.0.60
plugin version: 2020-01-18 02:07:09

following the installation of the plugin, the status of the daemon remained NOK. someone helped me and now the demon is okay.
my problem is that the firmware is not recognized apparently there are Arduino type errors in the dependency installation logs

here the logs
Début de l'installation
--2020-07-30 19:25:13-- https://raw.githubusercontent.com/lunar ... /nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: ‘dependencies.sh’

0K . 100% 2.14M=0.001s

2020-07-30 19:25:13 (2.14 MB/s) - ‘dependencies.sh’ saved [1491/1491]

dependencies.sh: 3: [: rflink: unexpected operator
Version actuelle : 12
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
Ok, version suffisante
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> @serialport/bindings@9.0.0 install /var/www/html/plugins/rflink/resources/node_modules/@serialport/bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=12.18.3 runtime=node arch=arm libc= platform=linux)
make: Entering directory '/var/www/html/plugins/rflink/resources/node_modules/@serialport/bindings/build'
CXX(target) Release/obj.target/bindings/src/serialport.o
In file included from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
^~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
^~~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
^~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
^~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
^~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
^~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
^~~~~~~~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
^~~~~~~~~~~~~~
../src/serialport.cpp: At global scope:
../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
^
../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
^
In file included from ../../../nan/nan.h:56,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/var/www/.cache/node-gyp/12.18.3/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/var/www/.cache/node-gyp/12.18.3/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(serialport, init);
^~~~~~~~~~~
CXX(target) Release/obj.target/bindings/src/serialport_unix.o
In file included from ../src/serialport.h:6,
from ../src/serialport_unix.cpp:2:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
^~~~~~~~~~~~~~~~~~~~~~~~~
../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX(target) Release/obj.target/bindings/src/poller.o
In file included from ../src/poller.cpp:1:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
CXX(target) Release/obj.target/bindings/src/serialport_linux.o
SOLINK_MODULE(target) Release/obj.target/bindings.node
COPY Release/bindings.node
make: Leaving directory '/var/www/html/plugins/rflink/resources/node_modules/@serialport/bindings/build'

> serialport@9.0.0 postinstall /var/www/html/plugins/rflink/resources/node_modules/serialport
> node thank-you.js

[96m[1mThank you for using serialport![96m[1m
[0m[96mIf you rely on this package, please consider supporting our open collective:[22m[39m
> [94mhttps://opencollective.com/serialport/donate[0m


npm notice created a lockfile as package-lock.json. You should commit this file.
added 124 packages from 114 contributors and audited 124 packages in 104.004s

5 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities

Fin de l'installation

something else the frames are visible in the log node
Fri Jul 31 2020 15:19:39 GMT+0100 (British Summer Time) - 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
Fri Jul 31 2020 15:19:39 GMT+0100 (British Summer Time) - Send Value : 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
Fri Jul 31 2020 15:19:39 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:19:41 GMT+0100 (British Summer Time) - Server connected
Fri Jul 31 2020 15:19:41 GMT+0100 (British Summer Time) - 20;01;STATUS;setRF433=ON;setNodoNRF=OFF;setMilight=OFF;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=OFF;
Fri Jul 31 2020 15:19:41 GMT+0100 (British Summer Time) - Send Value : 20;01;STATUS;setRF433=ON;setNodoNRF=OFF;setMilight=OFF;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=OFF;
Fri Jul 31 2020 15:19:41 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:20:04 GMT+0100 (British Summer Time) - 20;02;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:20:04 GMT+0100 (British Summer Time) - Send Value : 20;02;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:20:04 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:32:47 GMT+0100 (British Summer Time) - Jeedom url : http://127.0.0.1:80/jeedom/plugins/rfli ... DDPTWya0iE, gwAddress : /dev/ttyACM0
Fri Jul 31 2020 15:32:47 GMT+0100 (British Summer Time) - server bound on 8020
Port open
Fri Jul 31 2020 15:32:48 GMT+0100 (British Summer Time) - 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
Fri Jul 31 2020 15:32:48 GMT+0100 (British Summer Time) - Send Value : 20;00;Nodo RadioFrequencyLink - RFLink Gateway V1.1 - R48;
Fri Jul 31 2020 15:32:49 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:46:01 GMT+0100 (British Summer Time) - 20;01;EV1527;ID=0216c0;SWITCH=01;CMD=ON;
Fri Jul 31 2020 15:46:01 GMT+0100 (British Summer Time) - Send Value : 20;01;EV1527;ID=0216c0;SWITCH=01;CMD=ON;
Fri Jul 31 2020 15:46:01 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:46:08 GMT+0100 (British Summer Time) - 20;02;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:46:08 GMT+0100 (British Summer Time) - Send Value : 20;02;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:46:08 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:46:10 GMT+0100 (British Summer Time) - 20;03;EV1527;ID=0216c0;SWITCH=01;CMD=ON;
Fri Jul 31 2020 15:46:10 GMT+0100 (British Summer Time) - Send Value : 20;03;EV1527;ID=0216c0;SWITCH=01;CMD=ON;
Fri Jul 31 2020 15:46:10 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:46:11 GMT+0100 (British Summer Time) - 20;04;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:46:12 GMT+0100 (British Summer Time) - Send Value : 20;04;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:46:12 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:46:12 GMT+0100 (British Summer Time) - 20;05;EV1527;ID=0216c0;SWITCH=01;CMD=ON;
Fri Jul 31 2020 15:46:12 GMT+0100 (British Summer Time) - Send Value : 20;05;EV1527;ID=0216c0;SWITCH=01;CMD=ON;
Fri Jul 31 2020 15:46:12 GMT+0100 (British Summer Time) - SaveValue Error : null
Fri Jul 31 2020 15:50:40 GMT+0100 (British Summer Time) - 20;06;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:50:40 GMT+0100 (British Summer Time) - Send Value : 20;06;EV1527;ID=0216c0;SWITCH=04;CMD=ON;
Fri Jul 31 2020 15:50:40 GMT+0100 (British Summer Time) - SaveValue Error : null
If someone understands something and can get me out of there I will be very grateful

User avatar
Stuntteam
Site Beheer
Posts: 649
Joined: 27 Jan 2016, 16:46

Re: RF link firmware not recognized on jeedom

#2 Post by Stuntteam » 02 Aug 2020, 01:33

Did you ask on the Jeedom forum?
https://community.jeedom.com/c/plugins/
The developer of the Jeedom plugin for RFlink is active there.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

jerem
Normal user
Posts: 4
Joined: 28 Jul 2020, 20:59

Re: RF link firmware not recognized on jeedom

#3 Post by jerem » 02 Aug 2020, 15:20

yes but no answer for the moment.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests