Hey, I do everything according to the guide https://github.com/M-Arvidsson/MMM-domoticz/ and I don’t know what’s wrong. I copied the code to MagicMirror/modules and then in config.js I set it like this:
{
module: ‘marvidsson/domoticz’, //folder
header: ‘Domoticz’,
position: ‘top_left’,
config: {
apiBase: “http://192.168.1.XXX”, //Domoticz IP
apiPort: “80XX”, //Port
apiUser: “XXX”,
apiPw: “XXXXXX”,
sensors: [
{
idx: “2”, //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: “cwu”,
},
{
idx: “2”,
symbolon: “fa fa-circle-o-notch fa-spin”,
symboloff: “fa fa-circle-o-notch”,
},
{
idx: “2”,
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”,
},
],
}
},
can u help me?