0.0.2 • Published 4 years ago

homebridge-glances-temperature v0.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Homebridge Glances plugin for Temperature

This Homebridge plugin platform exposes the temperature sensors from Glances Monitoring Tool as accessoires to homebridge.

Installation

npm install -g homebridge-glances-temperature

You need to install Glances on your target system and start it in server mode, which is done via the paramater -w and enbale the sensors plugin. To enable the sensorsplugin, which should be the standard, you need to start the Glances server with your own configuration. See -> Configuration Docs. You can also put aliases to you sensors there, so on default they have generic names like 'it3451' etc. Example:

[sensors]
#enable it
disable=False 
#alias for 'it3451'
it3451_alias=CoreTemp1

Homebridge configuration

To enable the platform in homebridge add the following to the config:

platforms:
[
	{
		"name":  "GlancesTemperature",
		"platform":  "GlancesTemperature",
		"hostname":  "{IP},
		"updateInterval":  3000,
		"prefix":  "{PREFIX}"
	}
]

following parameters are defined:

PropertyUtilizationDefault ValueDescription
namerequiredGlancesTemperatureThe name handled by homebridge
platformrequiredGlancesTemperatureRequired to identify the platform
hostnamerequiredThe ip or hostname of your target system where glances server is running
portoptional61208The port of your target system where glances server is running
updateIntervaloptional5000The update interval in milliseconds to update the temperatures, ATTENTION values below 1000 may slow down your homebridge or target system
prefixoptionalA prefix when you have multiple glances target systems so you can identify them

Future plans:

  • integrate the homebridge configuration scheme to enable configuration in homebridge-config-ui-x
  • more plugins for glances to expose cpu, memory, network and filesystem