@sebi76 No, it needs to be before that.
Place it at the top of the file, before this line:
var config = {
@sebi76 No, it needs to be before that.
Place it at the top of the file, before this line:
var config = {
I’ve done this in my config.js file:
const DISABLED = {};
if (RPI_DEV) { // I'm setting this value automatically based on the system
DISABLED.weather = false;
DISABLED.clock = false;
DISABLED.calendar = false;
DISABLED.tools = false;
DISABLED.hue = true;
DISABLED.newsfeed = true;
DISABLED.nest_cameras = true;
DISABLED.nest_status = true;
DISABLED.telegram = true;
DISABLED.hotword = true;
} else {
DISABLED.weather = false;
DISABLED.clock = false;
DISABLED.calendar = false;
DISABLED.tools = false;
DISABLED.hue = false;
DISABLED.newsfeed = false;
DISABLED.nest_cameras = false;
DISABLED.nest_status = false;
DISABLED.telegram = false;
DISABLED.hotword = false;
}
And then for each module you can do something like this:
{
module: 'clock',
position: 'top_left',
config: {
displaySeconds: false,
displayType: 'digital',
dateFormat: 'dddd, MMM D, YYYY'
},
disabled: DISABLED.clock
},
Hi,
Just wanted to share a new module I published recently - it’s called mmm-dropbox
and allows you to grab images from a Dropbox
folder, have them automatically scaled down and displayed in 1 or more rows on your mirror.
As I also point out in the Read Me
this is a module with a pretty specific focus - it does exactly what I describe above (and does it well), but it doesn’t support stuff like videos, setting a Dropbox image as the background of your mirror, displaying information about the image, etc. I built this for my wife & this is what she wanted - but, hey, there’s no reason you can’t use it on your mirror as well!
Here’s the repo:
https://github.com/michael5r/mmm-dropbox
And here’s a screenshot of what it looks like on the mirror with the default configuration:
Enjoy!
@phideltdexter said in MMM-Hue-Lights - new module for your Philips Hue lights!:
Here is what it shows for Type. I didn’t even think to check. But perhaps if you are filtering out group types, you could add a category for Rooms in the future? Otherwise it shows them as a LightGroup.
Yeah, that confirms my assumption.
My intention with the groups
was just to show rooms
, though - I just don’t have any of these multisource groups myself, so I never realized they were also being shown.
I pushed an update to the module that filters out anything that doesn’t have a type of room
- if you pull it, your list should shrink to a more manageable size :)
If you’d like to have the ability to filter these groups - just in case you do want to show ones marked LightGroup
- just post it as an issue on GitHub and I’ll build a real filtering functionality.
@phideltdexter said in MMM-Hue-Lights - new module for your Philips Hue lights!:
I also thought about that. I had 2 entertainment areas setup already. One in living room and another generic one. I removed them just to make sure, it removed one duplicate of Living Room, but not the others.
In addition when I disable all the filters I have a list of groups that takes up almost my entire screen. The majority of which are not in the Hue App, which is why initially I thought it had to be pulling from somewhere else besides the Hue App.
Ahhh … I think I know what this is - I think these are multisource groups and lightsources. Give me a minute to come up with a fix that ignores them from the group list.
@phideltdexter said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
Would you have any way to add the outdoor temperature reading that the Thermostat has?
Unfortunately, no - the outdoor temperature reading on a Nest thermostat isn’t actually coming from Nest; they send your location data to the Weather Channel (yes, really!) and then show the returned value on the thermostat itself.
As such, they don’t include the outdoor temperature as part of their API data.
@phideltdexter This is most likely due to you having Entertainment Areas
set up on your Hue system as well.
Open up the Hue app, click Settings
, then Entertainment Areas
and see what’s in there.
If that’s not it, let me know and I’ll do some more debugging on my end.
@phideltdexter Great to hear - thanks for the update!
@dazza120 said in MMM-Hue-Lights - new module for your Philips Hue lights!:
Hi is it possible to do a hide light or group that you don’t want to be seen rather than adding all the ones you have? As my hue stuff is in its infancy and it’s always having more bulbs added I would rather that it populated new bulbs rather than input the name in the model, I don’t even know if this is possible with your module? But it’s staying on my mirror thanks again for a beautiful module 👌🏾
There wasn’t the option to do so previously, but there is now.
If you pull the latest version of the module, you’ll find a new setting called hideFilter
. It works exactly the same way as the displayFilter
setting, but in reverse - any names you add to hideFilter
will be hidden on your mirror.
Like this:
hideFilter: ['living room'],
Any lights or light groups named living room
will now be hidden.
Check it out and see if it works for you.
@phideltdexter My bad - there’s a typo in the Read Me, the token
should be a string
, not an int
(I have updated the module now to reflect this).
Try this in your config:
{
module: "mmm-nest-status",
position: "lower_third",
config: {
token: "c.XXXXXXXXXX",
}
},
where, of course, you replace c.XXXX
with your actual token.