thx, have a good “eye / brain” rest enjoy the weekend!
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-iFrame-Ping
@AgP42 = you rock!!!
You made my evening Mate, can’t wait to test it!Thank you very much. Will keep you posted asap.
-
RE: MMM-CalendarWeek
Hi,
I’m trying to use this module as a monthly calendar also!
(7 days per row, 31 days max).Would be great if you could add below options to the modules!!::
- Module start date options :
- Today
- Monday of the current week (monday of this week)
- Monday of the week that precedes the day week of the month (this is the one I’m really looking for)
I will have a look on my side on parallel but I’m far from having the skills for now… Let’s see.
Cherry on the cake, be able to move the starting date upon notifications (i.e : move to next month following a gesture that triggers notification)
- Module start date options :
-
RE: MMM-CalendarWeek
Hi,
Great module!
Is there any way to display it as a table? I mean adding lines to separate each date cell?
Something similar to :Maybe by aplying around with the .css?
-
RE: Monthly calendar
Hi,
Depending on how you configure it, you can have something pretty good with :
I will try to test my code skills (inexistant for now) and propose a PR in future to be able to change start date upon notification (ill be me the possibility to go to next month with a gesture).
Keep you posted.
-
MM Error - .AppleDouble and UnhandledPromiseRejectionWarning
Hi guys,
I’m experiencing an issue with MM.
Each time I quit MM, I can see those errors in the terminal (after the “launching application line”:
Launching application. ERROR! Could not find main module js file for .AppleDouble (node:365) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined (node:365) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:365) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'refs' of undefined (node:365) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'refs' of undefinedThe .AppleDouble thing is always here…
The (node: XXXX) is always here but the XXXX is different each time.Does anyone knows what it is related to and how we could fix that?
(I even don’t know how to start an analysis, etc…)Thanks already for your help.
-
RE: MMM-iFrame-Ping
@AgP42
Perfect for me!!
Note : why note using your current module and just allow the ping Yes / No option? (or keep it by adding the possibility to hide it or??)Anyway, I would be happy with your above proposal anyway!! Up to you.
Several URL’s and NEXT / PREVIOUS URL is must for me, so +1000.
Regarding the play / pause option, I was thinking about play / pause the video but you just said it’s not possible and after thinking about it again, I believe stopping the rotation of URL as you proposed is even more important. So +1 for rotation play / pause.
Several instances would be perfect for me either, so +1!
I’m just thinking about additional dream :
Maybe I’m dreaming a bit, but the cherry on the cake for me, would be to be able to “define a mouse click parameter”. i.e : by sending notification “CLICK ON X”, this would simulate a click at a certain location on the page (I don’t know how it work, coordinate X,Y)…But I’m too noob to realize what my demand is really triggering in terms of dev.
(idea behind would be to display google agenda in an iframe and move to next and previous month by simulating the click).
If too complex, forget about it.
Forget about that one, I will manage differently and not with iFrame.Be strong tomorrow!!!
-
RE: MMM-iFrame-Ping
Hi @AgP42 , @rudibarani
The modification you will implement for @rudibarani 's need will help me in one sense.
Indeed, MMM-GroveGestures is able to send wathever notification we want.
So, based on gestures, I will be able to send different URL’s.It’s nevertheless, not covering fully my need as I was hoping for something incremental.
MMM-iFrame to manage the list of URL’s and able to move to next URL based on “URL NEXT” notification reception.Maybe a combined proposal (that would make sense to me) would be :
- Centralize URL management into MMM-iFrame with :
- URL 1 : htpps…
- URL 2 : hfkzejrhfzoer
This would allow :
- any other modules to call for URL 1 or 2 and maybe suiting to @rudibarani
- would to avoid people to manage the list of URL into several modules (keep it into MMM-iFrame)
- enable the possibility to manage incremental notification mgt (my intial request : “NEXT URL” by managing a kind of counter into mmm-iFrame (to move from URL X to URL X+1 or URLX-1)
I hope it’s clear.
And I also don’t want to mess up with @rudibarani 's need which was expressed before…
So if my proposal (which seems more generic to me, so potentially opening larger possibilities in future for this module), suits to @rudibarani , fine.
But if my proposal is not suiting to @rudibarani 's need, go for him first maybe, I will try to adapt myself later.
Hope you will have time to dig in soon!
- Centralize URL management into MMM-iFrame with :
-
RE: MMM-Leap-Motion: Gesture Control for Magic Mirror
a dream!! can we hope a raspberry compatibility some day or we shoud definitely forget about it?
edit : i just saw leap motion minimal system requirements…I should forget about it…for the pi at least… -
RE: Interaction between MMM-Pages & MMM-GroveGestures
Works like charm!!!
@Sean = this guys rocks!
Thank you very much for that. -
RE: Default Calendar module // request to show events only if start date > today + 2 days
@sdetweil
Works like a charm.
Thank you very much, I’ve learnt something thanks to you and appreciated your support for debug.
See you around. -
RE: MMM-iFrame-Ping
@AgP42
Hi, Thanks for the work, good module.
Would it be possible to update the module by adding notification mgt to move to next url, .ie :- upon “IFRAMEPING_NEXT_URL” : display the next url of the list
- Same with previous
- Add Start / Pause option through notification also.
I’m using MMM-GroveGestures and would like to be able to switch from URL1 to URL2 with gestures.
Regards
-
RE: Interaction between MMM-Pages & MMM-GroveGestures
Thanks. Will try that this evening. Keep you posted.
-
RE: Interaction between MMM-Pages & MMM-GroveGestures
@Sean you’re fast.
I’ve made several trials, everything seems to work perfectly with your new code. You rock.Nevertheless, I’m facing an issue…I believe it’s because I’m not able to write the payload thing right…Would you mind having a look :
commandSetTrigger: { "TESTESTT": "0", "DEFAULT_MODE": "DEFAULT_MODE", "PAGE_NUMBER_IS": (payload) => { // You can use callback function to change set with conditional payload values. return payload.commandSetName } },At one moment in time, I’m receiving “PAGE_NUMBER_IS” with payload=X.
I’ve a commandset called “X”, but it’s not working…I’ve tried to send “PAGE_NUMBER_IS” + payload “X” manually = your code works fine. So no issue there.
I’ve installed a notification reader = i’m sure I’m receiving the “PAGE_NUMBER_IS” notification. So that’s fine also.The only thing I maybe don’t know is what payload “X” (0 or 1 or 2 or 3) is included in the notification I’m receiving. I tried to transform this notification+payload into an alert+payload (through MMM-notification trigger) to check what the “X” payload is…But I also failed to do that because you need to deal with payload/return which I don’t know…
Nevertheless, I’m quiet convinced X=0 because it’s how the MMM-PAGES works.Anyway, I’m stucked and I believe it’s because I’m writting the payload thing wrong.
Would appreciate your support there.
-
RE: Default Calendar module // request to show events only if start date > today + 2 days
@sdetweil
Hi again, I just tried by modifying the createEventList “today” and “now” variable, but it didn’t work…createEventList: function () { var events = []; var someDate = new Date(); var numberOfDaysToAdd = 6; someDate.setDate(someDate.getDate() + numberOfDaysToAdd); var today = moment(someDate).startOf("day"); var now = someDate; for (var c in this.calendarData) { -
RE: Default Calendar module // request to show events only if start date > today + 2 days
@sdetweil
Thanks, I will give it a try this evening and keep you guys posted. -
RE: Default Calendar module // request to show events only if start date > today + 2 days
@ganget
no problem. thanks for the idea.
I was thinking about modifying the module code to change “today’s” date into “today’s date +2” but can’t yet figure out how too. -
RE: Default Calendar module // request to show events only if start date > today + 2 days
hi @ganget
Thanks for prompt reply.Maybe there is a misunderstanding as I can’t figure out what is forcing the calendar to start in 2 days only in your calendar.
Your code will allow me to block max entries to 15 or to a certain number of days (365 or 2 or whatever) but not allow me to hide event from today + the day after.
Let me try to rephrase my need : I need the calendar to hide (to not show) the 2 first days of event.
Or maybe I missed something in your code.
-
Default Calendar module // request to show events only if start date > today + 2 days
Hi,
Is there a way to make the calendar events show only when they are after after a certain number of days?
Let’s say, do not show an event if date is < today + 2 days.
I tried to use the ExcludedEvents + FilterBy “until” but didn’t worked.
Also looked at modifying the calendar or fetcher.js but sounds like a bad idea…Regards
Regards