Skip to content

aserramonner/MMM-HASS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-HASS

HomeAssistant module for the MagicMirror. Shows sensor readings from HomeAssistant:

ScreenShot

Dependencies

Installation

Navigate into your MagicMirror's modules folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/aserramonner/MMM-HASS

Navigate to the new MMM-HASS folder and install the node dependencies.

npm install

Configure the module in your config.js file.

Using the module

To use this module, add it to the modules array in the config/config.js file:

{
        module: "MMM-HASS",
        position: "top_left",
        config: {
                host: "your_home_assistant_ip",
                port: "your_home_assistant_port",
                apipassword: "your_home_assistant_api_password",
                hassiotoken: false,
                https: false,
                devices: [
                { deviceLabel: "Exterior",
                        deviceReadings: [
                        { sensor: "sensor.netatmo_outdoor_temperature", icon: "wi wi-thermometer", suffix: "°"},
                        { sensor: "sensor.netatmo_outdoor_humidity", icon: "wi wi-humidity", suffix: "%"},
                        { sensor: "sensor.netatmo_outdoor_battery", icon: "fa fa-battery-full", suffix: ""}
                        ]
                },
                { deviceLabel: "Menjador",
                        deviceReadings: [
                        { sensor: "sensor.netatmo_indoor_temperature", icon: "wi wi-thermometer", suffix: "°", notification: "INDOOR_TEMPERATURE"},
                        { sensor: "sensor.netatmo_indoor_humidity", icon: "wi wi-humidity", suffix: "%"},
                        { sensor: "sensor.netatmo_indoor_co2", icon: "fa fa-leaf", suffix: ""}
                        ]
                },
                { deviceLabel: "Telèfon",
                        deviceReadings: [
                        { sensor: "sensor.voip_status", icon: "fa fa-heart", suffix: ""},
                        { sensor: "sensor.voip_lostcalls", icon: "fa fa-phone", suffix: ""}
                        ]
                }
                ]
          }
}

About

HomeAssistant module for the MagicMirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •