NorthernMan54 / homebridge-tcc

Honeywell Total Connect Comfort support for Homebridge
62 stars 23 forks source link

No plugin was found on Synology NAS #144

Open tatechaffin opened 8 months ago

tatechaffin commented 8 months ago

Current Situation

There is an issue loading the TCC plugin on the Synology NAS. It works perfectly on my Macbook Homebridge, but I get the following errors when loading it on the NAS.

Logs

====================
[1/28/2024, 10:43:37 PM] ERROR LOADING PLUGIN homebridge-tcc:
[1/28/2024, 10:43:37 PM] Error: /opt/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1327:18)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Function.Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at bindings (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/node-expat/lib/node-expat.js:4:34)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)

Configuration

{
            "name": "Thermostat",
            "username": "****",
            "password": "****",
            "usePermanentHolds": true,
            "sensors": "all",
            "refresh": 600,
            "storage": "fs",
            "debug": true,
            "platform": "tcc",
            "_bridge": {
                "username": "****",
                "port": ****
            }

Environment

Process Supervisor

hb-service

Additional Context

No response

NorthernMan54 commented 8 months ago

This plugin uses native modules and needs this package installed before homebridge-tcc

https://github.com/homebridge/homebridge-syno-spk/wiki/DSM-7:-Enable-Compiling-Of-Native-Modules

tatechaffin commented 8 months ago

I did enable that and that fixed the install problem that I was having initially, but I’m still having the issue loading the plugin in the logs above. I have uninstalled and reinstalled the plugin several times, as well as rebooting the NAS, stopping and starting the Homebridge service, and restarting Homebridge from the UI.

NorthernMan54 commented 8 months ago

Besides suggesting to uninstall the plugin and install again I don’t have anything to suggest

carlylemiii commented 6 months ago

I'm seeing this exact same thing (install goes okay), did you ever figure anything out @tatechaffin?

tatechaffin commented 6 months ago

I'm seeing this exact same thing (install goes okay), did you ever figure anything out @tatechaffin?

Never figured anything out, ended up installing it on a Raspberry Pi and it runs fine on that.

Demoleon63 commented 5 months ago

Having similar issues. Finally got the plugin to install but now it won't run. When Homebridge restarts I get the following errors:

[4/7/2024, 4:42:57 PM] --- [4/7/2024, 4:42:57 PM] ==================== [4/7/2024, 4:42:57 PM] ERROR LOADING PLUGIN homebridge-tcc: [4/7/2024, 4:42:57 PM] Error: /opt/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE at Object.Module._extensions..node (node:internal/modules/cjs/loader:1327:18) at Module.load (node:internal/modules/cjs/loader:1091:32) at Function.Module._load (node:internal/modules/cjs/loader:938:12) at Module.require (node:internal/modules/cjs/loader:1115:19) at require (node:internal/modules/helpers:130:18) at bindings (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/bindings/bindings.js:112:48) at Object. (/volume1/homebridge/node_modules/homebridge-tcc/node_modules/node-expat/lib/node-expat.js:4:34) at Module._compile (node:internal/modules/cjs/loader:1241:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1295:10) at Module.load (node:internal/modules/cjs/loader:1091:32) [4/7/2024, 4:42:57 PM] ====================