Read the statement by Michael Teeuw here.
Change page with MMM-Pages
-
@Egnos said in Change page with MMM-Pages:
I did not understand this last sentence …
the way AlexaControl works , it creates a switch, on or off…
a switch doesn’t get any data from the voice command
on 12? makes no sense
so you cannot create a single generic go to page x, notification
and use voice to give xyou CAN create a notification for EACH page
page 1
page 2
page 3
page 4
page 5and the voice is ‘alexa, turn on page 1’
and the page 1 alexacontrol event fires the pages notification for goto page 1this.sendNotification("PAGE_CHANGED", 0);
-
@MMRIZE said in Change page with MMM-Pages:
Yup, I made that.
Sorry @MMRIZE but I didn’t understand that the module “MMM-GroveGesture” was created by you and I apologize if I doubted its reliability.
I found the sensor you mentioned, in a nicer form to see, I am attaching the link:
https://shop.m5stack.com/products/unit-gesture-recognition-sensor-paj7620u2
Can you confirm that it is the same HW that you used?Furthermore, would it be possible to link the functions of the gesture sensor to a motion sensor (PIR)?
For instance:
IF the motion sensor does not detect movement THEN do not activate the gesture sensor (also because the monitor would be off …)
IF the motion sensor detects movement THEN also activate the gesture sensor (also because the monitor would be on …)@sdetweil said in Change page with MMM-Pages:
the way AlexaControl works , it creates a switch, on or off…
a switch doesn’t get any data from the voice command
on 12? makes no sense
so you cannot create a single generic go to page x, notification
and use voice to give x
you CAN create a notification for EACH page
page 1
page 2
page 3
page 4
page 5
and the voice is ‘alexa, turn on page 1’
and the page 1 alexacontrol event fires the pages notification for goto page 1thanks @sdetweil now i understand. Thank you so much!
-
@Egnos said in Change page with MMM-Pages:
Sorry @MMRIZE but I didn’t understand that the module “MMM-GroveGesture” was created by you and I apologize if I doubted its reliability.
I found the sensor you mentioned, in a nicer form to see, I am attaching the link:
https://shop.m5stack.com/products/unit-gesture-recognition-sensor-paj7620u2
Can you confirm that it is the same HW that you used?Looks like so. (If the description is right). I think it is only housed with pretty cover. But I think its better without housing (Because you may want to dig this sensor to wooden mirror frame. In that case, without housing would be better to assembly)
Another possible issue might be HY2.0-4P Cable included. That connector would not fit with bare GPIO pins of RPI. You may need something like below cable (only one piece);
@Egnos said in Change page with MMM-Pages:
Furthermore, would it be possible to link the functions of the gesture sensor to a motion sensor (PIR)?
For instance:
IF the motion sensor does not detect movement THEN do not activate the gesture sensor (also because the monitor would be off …)
IF the motion sensor detects movement THEN also activate the gesture sensor (also because the monitor would be on …)MMM-GroveGestures module already has
onIdle
andonDetected
features, So these features could be used for your idle/wakeup behaviours. (But the sensor itself has not long distances like PIR, so to use PIR together would be better idea.) -
@MMRIZE said in Change page with MMM-Pages:
Looks like so. (If the description is right). I think it is only housed with pretty cover. But I think its better without housing (Because you may want to dig this sensor to wooden mirror frame. In that case, without housing would be better to assembly)
Another possible issue might be HY2.0-4P Cable included. That connector would not fit with bare GPIO pins of RPI. You may need something like below cable (only one piece);If instead you took the sensor without a cover how did you think of attaching it to the frame? Do you leave the sensor naked or cover it with a self made cover?
@MMRIZE said in Change page with MMM-Pages:
MMM-GroveGestures module already has onIdle and onDetected features, So these features could be used for your idle/wakeup behaviours.
Ok, I hope you will help me when I have to make it work!:winking_face:
@MMRIZE said in Change page with MMM-Pages:
(But the sensor itself has not long distances like PIR, so to use PIR together would be better idea.)
From your tests what is the minimum distance that the hand must have from the sensor?
Thank you very much!
-
@Egnos said in Change page with MMM-Pages:
From your tests what is the minimum distance that the hand must have from the sensor?
the doc for the sensor he linked says
Effective recognition distance 5cm-15cm
(without obstruction of case or cover) -
@sdetweil said in Change page with MMM-Pages:
Effective recognition distance 5cm-15cm
(without obstruction of case or cover)If so, it is very little!
-
@Egnos
See how usage looks like.
https://youtu.be/BcpZvkcrfHU -
@MMRIZE said in Change page with MMM-Pages:
See how usage looks like.
https://youtu.be/BcpZvkcrfHUI just have to try!
@MMRIZE If instead you took the sensor without a cover how did you think of attaching it to the frame? Do you leave the sensor naked or cover it with a self made cover?
-
@Egnos
At this moment, I don’t have the real implementation to show,
But what I tried was;
Dig a hole then Implant the sensor in the frame. This gesture sensor has a short distance, but fortunately, through thin plastic/acryl/wood/paper/glass, it works. It detects changes in magnetic fields so except for metal/mirror(metal coated) it will work.
My first intention was to cover the hole with small cardboard paper, then paint it black (I prefer a black framed mirror), But I lost interest at the finish stage, so I left it naked. :D -
@MMRIZE said in Change page with MMM-Pages:
This gesture sensor has a short distance, but fortunately, through thin plastic/acryl/wood/paper/glass, it works. It detects changes in magnetic fields so except for metal/mirror(metal coated) it will work
Hi @MMRIZE unfortunately behind wood, plastic or plexiglass the sensor does not work … it’s a big problem!
Do you know by chance if this sensor has a SW adjustment (I don’t see any trimmer on the PCB …)?thanks