Skip to content

yourdawi/MMM-HomeAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-HomeAssistant

Module to display informations out of HomeAssistant

It will use the friendly name and also the unit of measurement.


Installation

Download this into your modules folder

For example:

cd ~/MagicMirror/modules

git clone https://github.com/yourdawi/MMM-HomeAssistant


Config

Attribut Description
enity_id The unique id displayed in HomeAssistant
condition (optional)choose a operator (above, below or equal)
value has to be set for the condition (50, 20, "off", "on" etc.)
hide_friendly_name (optional) if set to true, the friendly name will not be displayed
alternative_name (optional) if hide_friendly_name is true, you can define a alternative name

Add to config

{
    module: "MMM-HomeAssistant",
    position: "top_right",
    config: {
        homeAssistantUrl: "http://localhost:8123",
        accessToken: "YOUR_ACCESS_TOKEN",
        entities: [
            {
                        entity_id: "sensor.temp",
                        hide_friendly_name: true, // disable the friendlyname
                        alternative_name: "Temp" // use alternative name, if not set no name will be displayed
                    },
                    {
                        entity_id: "sensor.humidity",
                        condition: {
                            operator: "above",
                            value: "50"
                        }
                    },
                    {
                        entity_id: "sensor.another_humidity",
                        condition: {
                            operator: "below",
                            value: "60"
                        }
                    }
        ]
    }
}

About

Display HomeAssistant Entities in MagicMirror

Resources

License

Stars

Watchers

Forks

Packages

No packages published