This is a module for the MagicMirror².
A Module for MagicMirror2 designed to integrate with a WH2600 System. Dependent on your configuration it can display several statistics.
- Temperature and humidity for all registered sensors
- Wind data
- UV index
- Rain data
Go to your MagicMirror folder.
cd modules
git clone https://github.com/st3v0rr/MMM-WH2600.git
cd MMM-WH2600
npm i
Wait until npm has finished.
To use this module, add the following configuration block to the modules array in the config/config.js
file:
var config = {
modules: [
{
module: 'MMM-WH2600',
position: 'upper_third',
config: {
ipWH2600: "XX.XX.XX.XX" //IP of the WH2600 data logger
}
},
]
}
var config = {
modules: [
{
module: 'MMM-WH2600',
position: 'upper_third',
config: {
ipWH2600: "XX.XX.XX.XX", //IP of the WH2600 data logger
locationInfo: "Mystreet 1, 1234 Mylocation", //Some additional informations to the location of the WH2600
locationMetersAboveSeaLevel: 300, //Nice to have for correct calcluation of the atmospheric pressure
indoorSensors: [ //all your indoor temperature sensors
{ //default
label: "entrance", //place a useful location info
temp: "intemp", //is the default indoor sensor
humid: "inhumid" //is the default indoor humidity
},
{ //optional: additional sensors
label: "living room", //place a useful explanation e. g. "living room"
temp: "temp1", //it's always "temp+channelnumber" up to 8
humid: "humid1" //it's always "humid+channelnumber" up to 8
},
],
outdoorSensors: [ //all your outdoor temperature sensors
{ //default
label: "garden", //place a useful location info
temp: "outtemp", //is the default indoor sensor
humid: "outhumid" //is the default indoor humidity
},
{ //optional: additional sensors
label: "garage", //place a useful explanation e. g. "living room"
temp: "temp2", //it's always "temp+channelnumber" up to 8
humid: "humid2" //it's always "humid+channelnumber" up to 8
},
]
}
},
]
}
Option | Description |
---|---|
ipWH2600 |
Required IP of the WH2600 data logger |
locationInfo |
Optional Some additional informations to the location of the WH2600 |
locationMetersAboveSeaLevel |
Optional Nice to have for correct calcluation of the atmospheric pressure |
tempSwitchInterval |
Optional Time between switching the temp sensors (default is 5 seconds) |
indoorSensors |
Optional Show additional indoor sensors (see advanced config) |
outdoorSensors |
Optional Show additional outdoor sensors (see advanced config) |