Love this module, I am just trying to figure out if it possible to merge the attribute pieces from this fork: https://github.com/moejetz/MMM-homeassistant-sensors with this one: to allow adding attributes. I’m trying to read up on how to do it, but not sure if it’s a lot of work to do or if there is an easy way to do it. I’m also checking for any guidance in the help forum. Any help would be appreciated!
Read the statement by Michael Teeuw here.
Best posts made by smoysauce
-
RE: MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror
-
Google Calendar Reminders
Has anyone been able to figure out how to pull the new Reminders from Google calendar so they display in the magic mirror? There isn’t a share link like regular calendars but I know someone was able to figure out how to do it with the Birthdays even though that one doesn’t have a share link either.
Latest posts made by smoysauce
-
MMM-Plex-Recently-Added Missing Posters
I am stumped. The module seems to be working as I can visit the IP address of my MM (RPi3+) and see it and the Plex Recently Added module posters show just fine, but when viewing on my actual MM, the posters are missing. Anyone experience this before?
-
RE: Merging Two Forks MMM-homeassistant-sensors
@sdetweil Bummer, oh well, no better way for me to learn…thanks for verifying!
-
RE: MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror
Love this module, I am just trying to figure out if it possible to merge the attribute pieces from this fork: https://github.com/moejetz/MMM-homeassistant-sensors with this one: to allow adding attributes. I’m trying to read up on how to do it, but not sure if it’s a lot of work to do or if there is an easy way to do it. I’m also checking for any guidance in the help forum. Any help would be appreciated!
-
Merging Two Forks MMM-homeassistant-sensors
Hi, I am wanting to merge these two forks of the same module together. I’d like to merge the ability to add attributes from this fork: https://github.com/moejetz/MMM-homeassistant-sensors with the advanced configuration of this fork:https://github.com/hildwin/MMM-homeassistant-sensors but I can’t seem to figure out how to do it. Github can’t do it automatically, which I figured it wouldn’t. Just not sure if it would be a ton of work or relatively easy. I’ve been trying to research some resources on this but I’m still new to a lot of this. Not sure the best approach, what programs/tools to use to make it easier on myself. Any insight would be appreciated!
-
RE: Microsoft To-Do (wunderlist replacement?)
@lavolp3 said in Microsoft To-Do (wunderlist replacement?):
if (this.list.length !== 0) {
this.list.forEach(element => (listItemsText += ‘- ’ + checkbox + element.subject + ((element.dueDate) ? moment(element.dueDateTime.dateTime).format(“ddd MMM DD”) : ‘’) + ‘
’))
} else {
// otherwise indicate that there are no list entries
listItemsText += ‘- ’ + this.translate(‘NO_ENTRIES’) + ‘
’
}Thanks for pointing that out, I am still figuring things out and piecing things together and if they work I just stick with it! That snippet worked, I had to change the section
element.dueDate
toelement.dueDateTime
but other than that seems to be doing the trick. I’ll probably toy around with it a bit more to see if I can learn formatting it with CSS to left align the subject and right align the date. Thanks for the help and tips! -
RE: Microsoft To-Do (wunderlist replacement?)
@lavolp3 said in Microsoft To-Do (wunderlist replacement?):
if (element.dueDateTime) {
var dueDate = moment(element.dueDateTime.dateTime).format(“LL”);
}So after some tinkering, I figured out that the node.js was not pulling in the due date so I removed the ‘select’ filter so the call URL has
'/tasks?$top='
After that, I was able to add
moment(new Date(element.dueDateTime.dateTime)).format("ddd MMM DD")
to the output string and got the date to show. But for the life of me, I cannot get thevar
orif
statements to work. If I try to use either the module doesn’t load. I have tried them in all different spots and it just doesn’t like it. -
RE: Microsoft To-Do (wunderlist replacement?)
@lavolp3 Oh good call-out! I tried your example as well as a few other tweaks but it doesn’t seem to like it when I add that snippet in. I don’t know why it’s being so weird. I’ll keep toying around with it, but any other thoughts would be appreciated!
-
RE: Microsoft To-Do (wunderlist replacement?)
@thobach: Do you have recommendations to get the due date to show? I have tried to add
element.dueDateTime.dateTime
in the MMM-MicrosoftToDo.js like I have in the past, but now the module won’t show with that that. And no matter how I try to format it withmoment
it still doesn’t like it. I tried it with the simpleelement.id
to see if that would show and it does show the todo ID. Thoughts? I know I am missing something simple. Thanks! -
RE: Wunderlist shuts down May 6th
This has been a great module so far. I was able to modify it somewhat to show the due date but have found that if an item does not have a due date set, then the list doesn’t show and I can’t seem to get an if/else or even a variable to work. Gonna keep at it and see if I can figure it out as I learn more!
-
Google Calendar Reminders
Has anyone been able to figure out how to pull the new Reminders from Google calendar so they display in the magic mirror? There isn’t a share link like regular calendars but I know someone was able to figure out how to do it with the Birthdays even though that one doesn’t have a share link either.