seydx / homebridge-broadband Goto Github PK
View Code? Open in Web Editor NEWHomebridge Plugin for Broadband speed measurement as Temperature sensor
License: MIT License
Homebridge Plugin for Broadband speed measurement as Temperature sensor
License: MIT License
I have the plugin configured just fine in the Home app, but I've noticed that the Broadband speed is wildly wrong. When I checked the Eve app, I saw that my Download speed was 21.2 Mbps. But the temperature was listed as 70 degrees. I quickly realized that the reason for this is that 21.2 degrees Celsius is roughly 70 degrees Fahrenheit. Seems like the plugin is configured for temperatures in Celsius -- is there a way to change that?
Just installed this and I am getting valued, but the “temperature” value displayed in both the Home and Eve apps seems to be adding all three values (download, upload and ping) together.
Is it possible to make the value in the circle show the download speed only?
i have a plugin homebridge-hue and and with it installed the homebridge broadband cant connect to mesure speed. what can i do?
The plugin is really worth more attention so made a post
No big issue, but choosing "interval" 5 i get a new value every 8 minute ?
And a thought. If You could choose the measure as Humidity sensor instead You will get a %, percent, value. If Yo relate this value to the speed You have actually bought, I think, it will be a nice feedback. In my example I have bought a 10 Mbps ADSL and if the measure is 8 Mbps it will show 80%. Don’t really know what happens with 11 Mbps => 110% in the EVE app ?
And a suggestion adding 2 values to config so You could select Temperature or Humidity as unit.
”measuredUnit” => with possible values ”T” or ”RH” => Temp or Relative humidity measure
”speed100%” => value set to bought speed in Mbps
Seit heute (oder gestern) bekomme ich beim starten der Homebridge diesen Fehler
/usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:628
for (serverIndex = 0; serverIndex < server.length; serverIndex++) {
^
TypeError: Cannot read property 'length' of undefined
at gotServers (/usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:628:48)
at /usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:107:16
at /usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:301:7
at Parser. (/usr/local/lib/node_modules/homebridge-broadband/node_modules/xml2js/lib/parser.js:303:18)
at Parser.emit (events.js:180:13)
at SAXParser.onclosetag (/usr/local/lib/node_modules/homebridge-broadband/node_modules/xml2js/lib/parser.js:261:26)
at emit (/usr/local/lib/node_modules/homebridge-broadband/node_modules/sax/lib/sax.js:624:35)
at emitNode (/usr/local/lib/node_modules/homebridge-broadband/node_modules/sax/lib/sax.js:629:5)
at closeTag (/usr/local/lib/node_modules/homebridge-broadband/node_modules/sax/lib/sax.js:889:7)
at SAXParser.write (/usr/local/lib/node_modules/homebridge-broadband/node_modules/sax/lib/sax.js:1436:13)
at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/homebridge-broadband/node_modules/xml2js/lib/parser.js:322:31)
at Parser.parseString (/usr/local/lib/node_modules/homebridge-broadband/node_modules/xml2js/lib/parser.js:5:59)
at exports.parseString (/usr/local/lib/node_modules/homebridge-broadband/node_modules/xml2js/lib/parser.js:354:19)
at /usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:299:5
at /usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:107:16
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-broadband/node_modules/speedtest-net/index.js:175:7)
at IncomingMessage.emit (events.js:185:15)
at endReadableNT (_stream_readable.js:1106:12)
at process._tickCallback (internal/process/next_tick.js:114:19)
This plugin is not working for me
[24/11/2022, 15:37:32] [Broadband] Starting broadband measurement...
[24/11/2022, 15:37:33] [Broadband] An error occured: Error: No server found, verify your proxy/network - Trying again in 1 min
Hi @seydx,
ist dieses Plugin von dir noch aktuell?
Wenn ich es installiere, startet meine Homebridge nicht mehr. Aber die Probleme bereitet hierbei Homebridge-Hue.
Sobald ich Broadband wieder deinstalliere läuft es einwandfrei. Egal ob mit bsp. Config oder ohne Config Eintrag.
Gruß meistermolli
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.