Closed yogiberra closed 3 years ago
I forgot to include these log entries
1/25/2020, 12:26:51 PM Error loading platform requested in your config.json at position 7
11/25/2020, 12:26:51 PM Error: The requested platform 'Somfy myLink' was not registered by any plugin.
at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/homebridge/lib/pluginManager.js:152:23)
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:334:45
at Array.forEach (
@yogiberra looks like you were loading @pmouli/homebridge-mylink
which is a fork of this plugin. I tried that version a few months ago, but didn't have any luck with it. I started making some updates to the main plugin last week and plan to have an update out in the next couple weeks. After the update, you should be able to configure the plugin in the HOOBS ui
Did you see my note that Somfy tech support was interested in this project. I can forward your contact to them or forward you their contact.
On Nov 26, 2020, at 6:12 AM, Dusty Greif notifications@github.com wrote:
@yogiberra looks like you were loading @pmouli/homebridge-mylink which is a fork of this plugin. I tried that version a few months ago, but didn't have any luck with it. I started making some updates to the main plugin last week and plan to have an update out in the next couple weeks. After the update, you should be able to configure the plugin in the HOOBS ui
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Sure, you can have them reach out to my email - dustin.greif@gmail.com
Dustin
I saw that a new version was released on 11/27. I installed it. Unfortunately, with or without any configuration the system does not restart. I had to uninstall it for Hoobs/Homebridge to work. Configuration
Targets { "platform": "Somfy myLink", "plugin_map": { "plugin_name": "homebridge-mylink" }, "name": "JANOFSKY", "host": "192.168.165.50", "systemID": "janofsky", "targets": [ { "targetID": "CC10462D.1", "name": "Master Bedroom Window", "orientation": { "closed": "stop", "middle": "down", "opened": "up" } } ]
Here is the log: > ref-napi@2.1.2 install /home/hoobs/.hoobs/node_modules/ffi-napi/node_modules/ref-napi > node-gyp-build12/3/2020, 2:11:54 PM make: Entering directory '/home/hoobs/.hoobs/node_modules/ffi-napi/node_modules/ref-napi/build'12/3/2020, 2:11:54 PM CC(target) Release/obj.target/nothing/../../../node-addon-api/src/nothing.o12/3/2020, 2:11:55 PM AR(target) Release/obj.target/../../../node-addon-api/src/nothing.a12/3/2020, 2:11:55 PM COPY Release/nothing.a12/3/2020, 2:11:55 PM CXX(target) Release/obj.target/binding/src/binding.o12/3/2020, 2:12:24 PM SOLINK_MODULE(target) Release/obj.target/binding.node12/3/2020, 2:12:24 PM COPY Release/binding.node12/3/2020, 2:12:24 PM make: Leaving directory '/home/hoobs/.hoobs/node_modules/ffi-napi/node_modules/ref-napi/build'12/3/2020, 2:12:24 PM > ref-napi@3.0.1 install /home/hoobs/.hoobs/node_modules/ref-napi > node-gyp-build12/3/2020, 2:12:27 PM make: Entering directory '/home/hoobs/.hoobs/node_modules/ref-napi/build'12/3/2020, 2:12:27 PM CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o12/3/2020, 2:12:27 PM AR(target) Release/obj.target/../node-addon-api/src/nothing.a12/3/2020, 2:12:27 PM COPY Release/nothing.a12/3/2020, 2:12:27 PM CXX(target) Release/obj.target/binding/src/binding.o12/3/2020, 2:12:34 PM SOLINK_MODULE(target) Release/obj.target/binding.node12/3/2020, 2:12:34 PM COPY Release/binding.node12/3/2020, 2:12:34 PM make: Leaving directory '/home/hoobs/.hoobs/node_modules/ref-napi/build'12/3/2020, 2:12:34 PM > ffi-napi@3.0.1 install /home/hoobs/.hoobs/node_modules/ffi-napi > node-gyp-build12/3/2020, 2:12:37 PM make: Entering directory '/home/hoobs/.hoobs/node_modules/ffi-napi/build'12/3/2020, 2:12:37 PM CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o12/3/2020, 2:12:37 PM AR(target) Release/obj.target/../node-addon-api/src/nothing.a12/3/2020, 2:12:37 PM COPY Release/nothing.a12/3/2020, 2:12:38 PM CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o12/3/2020, 2:12:38 PM CC(target) Release/obj.target/ffi/deps/libffi/src/types.o12/3/2020, 2:12:38 PM CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o12/3/2020, 2:12:39 PM CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o12/3/2020, 2:12:39 PM CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o12/3/2020, 2:12:47 PM CC(target) Release/obj.target/ffi/deps/libffi/src/arm/ffi.o12/3/2020, 2:12:48 PM ../deps/libffi/src/arm/ffi.c: In function ‘ffi_prep_args’:12/3/2020, 2:12:48 PM ../deps/libffi/src/arm/ffi.c:72:10: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘short int’ [-Wsign-compare] && vi < ecif->cif->vfp_nargs && vfp_type_p (p_arg)) ^12/3/2020, 2:12:48 PM ../deps/libffi/src/arm/ffi.c: In function ‘ffi_prep_incoming_args_SYSV’:12/3/2020, 2:12:48 PM ../deps/libffi/src/arm/ffi.c:335:10: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘short int’ [-Wsign-compare] && vi < cif->vfp_nargs && vfp_type_p (p_arg)) ^12/3/2020, 2:12:48 PM ../deps/libffi/src/arm/ffi.c: In function ‘layout_vfp_args’:12/3/2020, 2:12:48 PM ../deps/libffi/src/arm/ffi.c:750:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] for (i = 0; i < cif->nargs; i++) ^12/3/2020, 2:12:48 PM CC(target) Release/obj.target/ffi/deps/libffi/src/arm/sysv.o12/3/2020, 2:12:49 PM AR(target) Release/obj.target/deps/libffi/libffi.a12/3/2020, 2:12:49 PM COPY Release/libffi.a12/3/2020, 2:12:49 PM CXX(target) Release/obj.target/ffi_bindings/src/ffi.o12/3/2020, 2:13:08 PM CXX(target) Release/obj.target/ffi_bindings/src/callback_info.o12/3/2020, 2:13:12 PM CXX(target) Release/obj.target/ffi_bindings/src/threaded_callback_invokation.o12/3/2020, 2:13:14 PM SOLINK_MODULE(target) Release/obj.target/ffi_bindings.node12/3/2020, 2:13:14 PM COPY Release/ffi_bindings.node12/3/2020, 2:13:14 PM make: Leaving directory '/home/hoobs/.hoobs/node_modules/ffi-napi/build'12/3/2020, 2:13:16 PM npm12/3/2020, 2:13:16 PM WARN notsup Unsupported engine for @pmouli/homebridge-mylink@1.5.1-beta.52: wanted: {"homebridge":">=1.0.0","node":">=13.0.0"} (current: {"node":"12.19.0","npm":"6.14.8"}) npm WARN notsup Not compatible with your version of node/npm: @pmouli/homebridge-mylink@1.5.1-beta.5212/3/2020, 2:13:16 PM 12/3/2020, 2:13:16 PM + @pmouli/homebridge-mylink@1.5.1-beta.52 added 21 packages from 76 contributors in 101.94s12/3/2020, 2:13:16 PM 38 packages are looking for funding run npm fund
for details12/3/2020, 2:13:17 PM Plugin "@pmouli/homebridge-mylink" installed.12/3/2020, 2:13:18 PM Got SIGINT, shutting down Bridge...12/3/2020, 2:13:23 PM [12/3/2020, 3:13:23 PM] The plugin "homebridge-mylink" requires Node version of >=13.0.0 which does not satisfy the current Node version of v12.19.0. You may need to upgrade your installation of Node.12/3/2020, 2:13:23 PM Error loading plugin "@pmouli/homebridge-mylink"12/3/2020, 2:13:23 PM Error: Cannot find module 'homebridge' Require stack: - /home/hoobs/.hoobs/node_modules/hb-kit/lib/utils.js - /home/hoobs/.hoobs/node_modules/hb-kit/lib/platform.js - /home/hoobs/.hoobs/node_modules/hb-kit/lib/index.js - /home/hoobs/.hoobs/node_modules/@pmouli/homebridge-mylink/dist/Plugin.js - /usr/local/lib/node_modules/@hoobs/hoobs/node_modules/homebridge/lib/plugin.js - /usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js - /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js - /usr/local/lib/node_modules/@hoobs/hoobs/bin/hoobs at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15) at Function.Module._load (internal/modules/cjs/loader.js:687:27) at Module.require (internal/modules/cjs/loader.js:903:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.
From: Dusty Greif Sent: Thursday, November 26, 2020 6:33 AM To: yungsters/homebridge-mylink Cc: yogiberra; Mention Subject: Re: [yungsters/homebridge-mylink] Still not working with Somfy MyLinkwith the latest Oct. 31 version (#20)
Sure, you can have them reach out to my email - dustin.greif@gmail.com — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@yogiberra no new version has been released. Haven't had a chance to finish the config schema to add UI support in HOOBS, but it's getting fairly close. I also reached out to the support engineer, but haven't heard anything back from them.
Thanks. I really appreciate your work. I hope you don’t think I am a pain in the XSS.
Sent from Mail for Windows 10
From: Dusty Greif Sent: Thursday, December 3, 2020 2:51 PM To: yungsters/homebridge-mylink Cc: yogiberra; Mention Subject: Re: [yungsters/homebridge-mylink] Still not working with Somfy MyLinkwith the latest Oct. 31 version (#20)
@yogiberra no new version has been released. Haven't had a chance to finish the config schema to add UI support in HOOBS, but it's getting fairly close. I also reached out to the support engineer, but haven't heard anything back from them. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I'll try to provide you a mocked up configuration file - this looks incorrect. Can you send a screens it of what u see in the config ui?
Sent from my iPhone
On Dec 3, 2020, at 6:07 PM, yogiberra notifications@github.com wrote:
Thanks. I really appreciate your work. I hope you don’t think I am a pain in the XSS.
Sent from Mail for Windows 10
From: Dusty Greif Sent: Thursday, December 3, 2020 2:51 PM To: yungsters/homebridge-mylink Cc: yogiberra; Mention Subject: Re: [yungsters/homebridge-mylink] Still not working with Somfy MyLinkwith the latest Oct. 31 version (#20)
@yogiberra no new version has been released. Haven't had a chance to finish the config schema to add UI support in HOOBS, but it's getting fairly close. I also reached out to the support engineer, but haven't heard anything back from them. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Closing in favor of #17
I am still having issues wgetting the latest homebridge-mylink to work. I could not even restart Hooobs. I got in contact with Somfy tech support who were very interested in your project and were very helpful. They said that the important data is the pin not the System Id. I tried both and neither option worked and the Hoobs would not restart. Any suggestions? I can also provide a contact to Somfy.
Eric
/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:334:45 at Array.forEach ()
at Server.loadPlatforms (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:320:31)
at Server.start (/usr/local/lib/node_modules/@hoobs/hoobs/bridge/server.js:152:35)
at /usr/local/lib/node_modules/@hoobs/hoobs/bridge/cli.js:94:16
at processTicksAndRejections (internal/process/task_queues.js:97:5)
11/25/2020, 11:51:17 AM Got SIGTERM, shutting down Bridge...
11/25/2020, 12:26:50 PM [11/25/2020, 1:26:50 PM] The plugin "homebridge-mylink" requires Node version of >=13.0.0 which does not satisfy the current Node version of v12.19.0. You may need to upgrade your installation of Node.
11/25/2020, 12:26:50 PM Error loading plugin "@pmouli/homebridge-mylink"
11/25/2020, 12:26:50 PM Error: Cannot find module 'homebridge'
Require stack: