@Sean You know what, I think I understood that mate. Thank you. I guess I’m gonna have to learn a little bit of python. Thank you
Read the statement by Michael Teeuw here.
Latest posts made by jim.dw
-
RE: MMM-GroveGestures
-
RE: MMM-GroveGesture to control MMM-Carousel & MMM-CECControl
@nischi , @barnabycolby apologies if this is a netiquette faux pas to tag you in as the authors of the modules. I’m still not sure what’s acceptable practice on forums
-
MMM-GroveGesture to control MMM-Carousel & MMM-CECControl
Hi All, new to this whole thing and I’ve muddled my way towards a nice little selection of modules on my MM2. My plan is to run it on a 40" LED behind a full height mirror in the hallway.
I think I’ve reached my limit from a technical standpoint so was wondering if anyone could tell me how to control MMM-Carousel and MMM-CECControl from MMM-GroveGestures?
-
Currently Carousel works on a timed loop and I can’t seem to figure out a way to fire a change slide command.
-
In MMM-CECControl I can’t see how to send the ON / OFF command, let alone trigger it in GroveGesture.
Ideally I want to do
- Up - TV On
- Down - TV Off
- Clockwise - Next slide
- Anti-clockwise - Previous Slide
I might mess around with combinations like UP UP to display the Wifi Password, but I’m sure once I figure out the above I’ll be sorted.
Can anyone lend an assist?
-
-
RE: MMM-GroveGestures
@Sean lol. Good point.
I guess what confused me is this code below. I understand ‘clock’ or ‘newsfeed’ can be swapped out for ‘mmm-ceccontrol’ or ‘mmm-carousel’ it’s just figuring out how I send the command.
Is it “module.hide()” that needs to be replaced?
Sorry for this. Still learning
moduleExec: {
module: [“clock”, “newsfeed”], //[]
will be all modules.
exec: (module, gestures) => {
module.hide()
}
} -
RE: MMM-GroveGestures
@Sean Hi mate, just dipping my toe in to the whole Magic Mirror world and loving it. Was just wondering if there’s any way to control MMM-Carousel and MMM-CECControl using the output from MMM-GroveGestures?
I’m thinking
- Clockwise for next slide
- Anti clockwise for previous slide
- UP to send the wake up signal on HDMI
- Down to send the sleep signal on HDMI