sunoo / homebridge-plugin-update-check Goto Github PK
View Code? Open in Web Editor NEWA Homebridge plugin for checking for updates to Homebridge and plugins
License: BSD 2-Clause "Simplified" License
A Homebridge plugin for checking for updates to Homebridge and plugins
License: BSD 2-Clause "Simplified" License
No biggie, but for some reason this plug-in is showing up in my Home app as a Motion Sensor. Just a bit of weird.
after updating to version 1.0 plugin is not working:
Alpine Linux (3.12.9)
v16.13.1
v8.1.2
[1/15/2022, 10:21:43 AM] ERROR LOADING PLUGIN homebridge-plugin-update-check:
[1/15/2022, 10:21:43 AM] Error: EACCES: permission denied, open '/root/.npmrc'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at maybeReadIni (/homebridge/node_modules/homebridge-plugin-update-check/node_modules/libnpmconfig/index.js:81:14)
at Object.getNpmConfig [as read] (/homebridge/node_modules/homebridge-plugin-update-check/node_modules/libnpmconfig/index.js:43:32)
at readNpmConfig (/homebridge/node_modules/homebridge-plugin-update-check/node_modules/npm-check-updates/src/package-managers/npm.ts:47:16)
at Object. (/homebridge/node_modules/homebridge-plugin-update-check/node_modules/npm-check-updates/src/package-managers/npm.ts:74:19)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[1/15/2022, 10:21:43 AM] ====================
[1/15/2022, 10:21:44 AM] No plugin was found for the platform "PluginUpdate" in your config.json. Please make sure the corresponding plugin is installed correctly.
config:
{
"name": "Plugin Update",
"sensorType": "motion",
"platform": "PluginUpdate"
I have this plugin installed and by all accounts it seems to be running correctly, but I can't figure out how to interact with it or verify that it is doing anything.
The most information I can find in the logs from is shown by restarting the child bridge from which it runs:
[Plugin Update] Restarting child bridge...
Got SIGTERM, shutting down child bridge process...
[Plugin Update] Child bridge process ended
[Plugin Update] Process Ended. Code: 143, Signal: null
[Plugin Update] Restarting Process...
[Plugin Update] Launched child bridge with PID 1425
Registering platform 'homebridge-plugin-update-check.PluginUpdate'
[Plugin Update] Loaded homebridge-plugin-update-check v1.0.2 child bridge successfully
Loaded 1 cached accessories from cachedAccessories.0EB3152A3616.
Homebridge v1.8.0 (HAP v0.12.0) (Plugin Update) is running on port 51558.
When I configure the Accessory to display as a dashboard widget and click on it, nothing happens, and nothing is recorded in the logs. I would assume there to be some sort of acknowledgement that the plugin was launched manually and status if it found a updates to existing plugins or not?
Am I misunderstanding the purpose of this plugin? I believe that the purpose of this plugin is to periodically check for updates to both the HomeBridge service/UI and any installed plugins, right?
How often does it check for updates? How does it know if updates exist for all the plugins I've installed that are unrelated to your software? Is it doing a check by name/version listed in the JSON file for each plugin? How do I verify that it is doing anything at all other than "being loaded" and "running" on a port?
I apologize if I've misunderstood everything and am just being a dunce lol
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.