Read the statement by Michael Teeuw here.
MMM-Domiticz
-
Today added support for p1 Smart meters
first update your module
cd MagicMirror/modules/MMM-Domoticz git pull pm2 restart MagicMirror
Add these 2 lines to the config file
smartMeter: true, smartMeterOffset: 0
You may need a commy behind the 0 from smartMeterOffset
The offset you use if the meter wasn’t zero when you moved in or if you want to show total per year of month -
excluding can be done by adding the device names in the excludeDevices array in your config.js file
-
Hi,
First of all, thank you for the hard work on those modules.
I’m nex to the MM world, and in the linux world in global, and it seems that I won’t be able to make it without your help.
The module shows “Loading Domoticz data…” and seems to never get them…My config.js contains this :
{ module: "MMM-Domoticz", position: "bottom_right", config: { updateInterval: 20, apiBase: "https://192.168.**.***", apiPort: 443, apiUser: "**********", apiPw: "*********", moduleTitle: "Domoticz", temperatureTitle: "Températures dans la maison", subMenus: true, showItems: ['temperature', 'humidity'], textWhite: false, groupSensors: true, } },
Sadly, it seems that the pi running the MM isn’t getting an answer from the pi running Domoticz.
I tried the url access from my browser:
https://192.168..*/json.htm?type=devices&filter=all&used=true&order=NameI obtain a return with the different systems connected (RFXCom, Zwave, hue…)
Can somebody guide me throught this please?
Thanx !
Regards,
Awn -
This post is deleted! -
@Awn on the magicmirror, using the keyboard, open the developers window, ctrl-shift-i,
select the tab labeled console, on the window that opens, scroll up to see any errorsu may also have to look in the terminal window log for errors from the node_helper
these will be in the pm2 logs if using pm2.
do
pm2 logs --lines=100
-
I am not getting a neat list with this module, all readings from my temperature meters is shown on two lines and it’s kinda messing up the screen. Any idea what the problem is?
-
Is it possible also exclude sensors from the displayed data? I have about 50 temp sensors and obviously I want only see the most important ones. I tried to put them in exlude list, but it doesn’t seem to work. Nice module still!
Toni
-
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?