Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/M-Arvidsson/MMM-domoticz
Domoticz module for MagicMirror2
https://github.com/M-Arvidsson/MMM-domoticz
domoticz home-automation homeautomation javascript magicmirror2 plugin
Last synced: about 2 months ago
JSON representation
Domoticz module for MagicMirror2
- Host: GitHub
- URL: https://github.com/M-Arvidsson/MMM-domoticz
- Owner: M-Arvidsson
- License: gpl-3.0
- Created: 2017-02-20T22:16:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T12:34:05.000Z (about 5 years ago)
- Last Synced: 2024-08-04T10:02:48.097Z (5 months ago)
- Topics: domoticz, home-automation, homeautomation, javascript, magicmirror2, plugin
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 10
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-Domoticz**
README
# MMM-domoticz
Domoticz module for MagicMirror2.![alt tag](https://github.com/M-Arvidsson/MMM-domoticz/blob/master/mmm-domoticz.png)
# Installation
Create your own subfolder in "modules". In that subfolder, create a new subfolder and name it "domoticz". Copy domoticz.js to that folder (MagicMirror/modules/marvidsson/domoticz/domoticz.js).# config.js
In config.js, add the following lines and change it to match your setup and sensors.{
module: 'marvidsson/domoticz', //folder
header: 'Domoticz',
position: 'top_left',
config: {
apiBase: "http://127.0.0.1", //Domoticz IP
apiPort: "8082", //Port
sensors: [
{
idx: "65", //Device IDX
symbolon: "fa fa-user", /font-awesome icon if device is On
symboloff: "fa fa-user-o", //font-awesome icon if device is Off (this will also be used if it is a temperature-de
hiddenon: true, //true = hide if device is on (default: false)
hiddenoff: false, //frue = hide if device is off (default: false)
customTitle: "Bedroom lamp",
},
{
idx: "539",
symbolon: "fa fa-circle-o-notch fa-spin",
symboloff: "fa fa-circle-o-notch",
},
{
idx: "539",
symbolon: "fa fa-circle-o-notch fa-spin",
symboloff: "fa fa-circle-o-notch",
hiddenoff: false,
},
{
idx: "88",
symbolon: "fa fa-tachometer",
symboloff: "fa fa-tachometer",
},
],
}
},# Todo list
- [x] Config - Hide device when it's on or off
- [x] Config - Custom device title