Read the statement by Michael Teeuw here.
MMM-Domiticz
-
Hi, there.
Great module!
It’s passing the described data perfectly except one of my top desired data.I’d really love to see “CounterToday” and “Data” from my Enphase Envoy.
Since this is a kWh subtype it looks like I’m really close, but somehow I only see my P1 data.{ "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "CounterToday" : "0.117 kWh", "CustomImage" : 0, "Data" : "486.173 kWh", "Description" : "", "Favorite" : 0, "HardwareID" : 9, "HardwareName" : "Enphase Envoy", "HardwareType" : "Enphase Envoy with LAN (HTTP) interface", "HardwareTypeVal" : 108, "HaveTimeout" : false, "ID" : "00000901", "LastUpdate" : "2020-09-13 08:31:50", "Name" : "Enphase kWh Production", "Notifications" : "false", "Options" : "", "PlanID" : "0", "PlanIDs" : [ 0 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "SubType" : "kWh", "SwitchTypeVal" : 0, "Timers" : "false", "Type" : "General", "TypeImg" : "current", "Unit" : 1, "Usage" : "280 Watt", "Used" : 1, "XOffset" : "0", "YOffset" : "0", "idx" : "748" },
-
Hi thanks for the great work,
Is there a better guide on how to implement certain sensors ?
like an ‘‘IDX xx’’ value or something{ module: "MMM-Domoticz", position: "bottom_right", // see mirror setting for options config: { updateInterval: 5, // every 45 seconds apiBase: "192.168.178.44", apiPort: 18080, apiUser: "MagicMirror", apiPw: "MagicMirror", moduleTitle: "My smart home by Domoticz", energyTitle: "Energy used by", batteryTitle: "Battery level", coTitle: "CO2 level", blindsTitle: "Blinds", energyNow: "Currently using", energyTotal: "Energy used", energyToday: "Energy used today", batteryThreshold: 20, coThreshold: 650, subMenus: true, smartMeter: false, smartMeterOffset: 0, showItems: ['temperature'], //,'energy','battery','co','blinds','humidity','baro','usage','voltage','alarm','sensor','pulse','meter','rain'], excludeDevices: ['none','include your own'], // Device that will not be shown onlyShowExcluded: false, // if true only exluded devices are shown textWhite: true, alarmOffLabel: "Disabled", groupSensors: false, } },
i can only show the temperatures when i select al the data it wil hang on Loading Domoticz Data…
would appriciate different screenshots of codes / layouts on the MM2
-
I think there is something broken into code or there is some dependence-package with raspberryOs…
In Domoticz I have 30+ devices and In MM shows only a meter device with 0,0,0 values ( I have 3 meter device, no possible value)…
If I try open the json url into chromium it says error 401 forbidden, but if I try the same url into Mac safari it simple works.
Any Idea? -
Hi @Mazzokun
I had a problem with this module and with the help of @sdetweil a New code is available here. It works with domoticz password[link text] https://forum.magicmirror.builders/topic/11123/mmm-domoticz-cannot-read-property-0-of-undefined/13?page=2
(link url)Enjoy
-
Hi, Are Domoticz and Magic Mirror installed on one Raspberry Pi? Are they two separate?
-
@art212 Domoticz and Magic mirror are separate. In the config.js, just complete the Ip adress of Domoticz Device and Domoticz user and password if need. In my case, Domoticz is on a raspberry and my magic mirror on a other one
-
@MisterT Ok thanks for the answer. What do you think? Is it possible to run MM and Domoticz together on one Raspberry Pi machine? Because I have a big problem with that. Domoticz is showing me instead of MM. I have to uninstall one for the other to work well …
-
@art212 i think it’s possible to run domoticz ans MM on the same raspberry. On terminal, if you write this command line, does domoticz appears on screen ?
Sudo service domoticz restart
If not domoticz is on but in background and You Can start MM with pm2
-
@MisterT Hi! I tried your code but it doesn’t work… in which folder in domoticz folder I have to copy the script?
ty -
@Mazzokun this command line is just for restart domoricz There is no link directly with magic mirror
The command line in terminal (Home/pi/)
Sudo service domoticz.sh status
Just to know if domoticz is on or offSudo service domoticz.sh restart
Just to stop and start again domoticzFollow this link to start domoticz when raspberry boot
https://www.domoticz.com/wiki/Linux
And chapter
Starting Domoticz automatically when the system boots