Skip to content
A module for the MagicMirror project (https://github.com/MichMich/MagicMirror) to display inside / outside temperature from your Hive receiver
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Added additional checking Aug 2, 2017
LICENSE Initial commit Jul 27, 2017
MMM-Hive.css Changed to use beekeeper api Apr 9, 2018
MMM-Hive.js Removed test rows Apr 9, 2018
README.md Added nodeName setting Aug 7, 2017
node_helper.js Changed to use beekeeper api Apr 9, 2018

README.md

MMM-Hive

A module for the MagicMirror project to display inside / outside temperature from your Hive receiver.

Text and the inside icon are configurable, and the thermometer icon is dynamic based on the temperature values set in the config file.

With configuration changes to the text and icon:

Target Temperature will change when the inside temperature is equal to / less than 1 °C (I am using this to detect whether Frost Protect mode is enabled as I do not believe there is a specific on/off value).

Installation

Clone this repository in your ~/MagicMirror/modules/ folder ( $ cd ~MagicMirror/modules/ ):

git clone https://github.com/flick116/MMM-Hive

Dependencies

request

Config

Option Required Description
username Yes This is your Hive username.

Type: string
password Yes This is your Hive password.

Type: string
postcode Yes Your post code (no spaces)

Type: string
updateInterval No How often the temperature information is updated.

Type: integer
Default value: 10 * 60000
initialLoadDelay No The initial delay before loading (Milliseconds)

Type: integer
Possible values: 1000 - 5000
Default value: 0
showNext No Whether to display the Target Temperature (true) or not (false)

Type: bool
Possible values: true or false
Default value: true
outsideUrl No Option in case British Gas change the Hive URL

Type: string
insideUrl No Option in case British Gas change the Hive URL

Type: string
temperatureSuffix No Text to change the temperature suffix

Type: string
Default value: °C
insideText No Option to change the default 'Inside:' text

Type: string
outsideText No Option to change the default 'Outside:' text

Type: string
targetTempText No Whether to display the Target Temperature row (true) or not (false)

Type: bool
Possible values: true or false
Default value: true
insideIconSet No Option to change the default 'fire' icon, can change to any of the available icons at
font awesome

Type: string
Possible values: fa fa-fire
Default value: fa fa-home
highestTemp No Set the highest temperature value, which when reached will use the 'full thermometer' icon, plus turn the icon red

Type: integer
Default value: 30
highTemp No Set the high temperature value, which when reached will use the 'three quarters full thermometer' icon

Type: integer
Default value: 25
lowTemp No Set the low temperature value, which when reached will use the 'half full thermometer' icon

Type: integer
Default value: 20
lowestTemp No Set the lowest temperature value, which when reached will use the 'quarter full thermometer' icon
(anything below this temperature will use the 'empty thermometer' icon)

Type: integer
Default value: 15
animatedLoading No Whether to display the animated loading icon (true) or just plain text (false)

Type: bool
Possible values: true or false
Default value: true
nodeName No In case of a multi-node setup, you will need to define this setting. If the inside temperature is not being
reported then set this to either Receiver or Receiver 2

Type: string
Default value: Your Receiver
debug No Whether debug is enabled (true) or note (false). When enabled responses from
Hive are output to the console

Type: bool
Possible values: true or false
Default value: true

Example of the config.js entry:

		{
			module: "MMM-Hive",
			header: "Hive",
			position: "top_right",
			config: {
				temperatureSuffix: "°C",
				username: "hive@hive.com",
				password: "password",
				postcode: 'P0STC0D3',
				showNext: true,
			},
		},

A massive thanks to the following:

You can’t perform that action at this time.