Read the statement by Michael Teeuw here.
MMM-Domiticz
-
Very cool… can I make one suggestion? How about if it detects that it already has a name present for the temperature it doesn’t display the name for the humidity and/or baro just the value? That way you don’t get duplicate names for the same sensor.
I can see in yours you have Woonkamer (Living Room) repeated 3 times which I assume is the same sensor?
-
Yes they are all the same sensor. I will try in the coming days if I am able to get those properly.
Just made it. if you pull the upgrade it is there
-
@Charley said in MMM-Domiticz:
Yes they are all the same sensor. I will try in the coming days if I am able to get those properly.
Just made it. if you pull the upgrade it is there
Very nice… it works as expected :)
Next request… is there a way to sort them some how?
Sorry, I know I’m a PITA.
-
Ah, no… ignore my last comment. I can sort them via my Domoticz Dashboard.
Once again, MANY THANKS… I really appreciate the work you’ve done.
Very Cool Stuff.
-
I already tried before to reorder the data. In the description of API/JSON for Domoticz it says you can order by Name. (Line 37 in my code)
That is the documentation, but in reality you can’t order anything. If I look in the json coming from the request file there are no objects that would follow the order in your webapplication.
It could be done my making an array where all sensors are switches are in, but it would be a hassle if you add a new device you would also need to add to your modules config.
Lets wait what the next version of Domoticz brings and if I am able to implement it.
-
@Charley said in MMM-Domiticz:
I already tried before to reorder the data. In the description of API/JSON for Domoticz it says you can order by Name. (Line 37 in my code)
That is the documentation, but in reality you can’t order anything. If I look in the json coming from the request file there are no objects that would follow the order in your webapplication.
It could be done my making an array where all sensors are switches are in, but it would be a hassle if you add a new device you would also need to add to your modules config.
Lets wait what the next version of Domoticz brings and if I am able to implement it.
Not sure if you saw my previous comment and I’m not sure if it’s a fluke but I re-ordered my sensors within my Domoticz dashboard and they automatically re-ordered themselves within your module on the MM to match… probably a coincidence but mines looking exactly how I want them :)
-
@jaminben Thanks I will arrange them in my Dashboard as well.
-
Today added total actual usage of Watts.
Please add ‘usage’ to your showItems in your config.js -
Hi Charley,
Is it possible to get the colour of the values and icons to be white rather than grey?
Thanks
Ben
-
Today I have added to set the text colour to White.
Just add in your config.js the optiontextWhite:true