@mumblebaj
Usually, implementing the suspend
and resume
methods of the MM module is useful when your module depends on expensive resources. When your module is inactivated, it would be better to stop consuming resource.
But that mechanism is somehow annoying for me, so I ignore those methods. :D
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Scenes2
-
RE: ES6 notation
@mumblebaj
You can use “import()”, but need some tricks.- wait enough time to finish importing
- or use promise to confirm loading finishes.
I used that trick in my MMM-Scenes module to import modular mjs instead of global injections.
-
RE: Suunto fitness data
@matt216
Suunto doesn’t provide API to personal developer, only to company. -
RE: PIR sensor to turn on LED strip
@Egnos
' USER_PRESENCE'
!=='USER_PRESENCE'
-
MMM-Hotword2
MMM-Hotword2
MagicMirror module with
Picovoice
’sPorcupine
for Hotword detector. My previousMMM-Hotword
module is deprecated due to thatsnowboy
hot-word detecting engine closed its service. Fortunately, PICOVOICE’s Porcupine and its siblings would be good enough alternative. So I rebuilt the hot-word detector again.I know, there is other Porcupine modules already, but they may lack some features which I need to use. So I revamped my old one for my demands.
Features
- Multi Hotwords/ Custom Hotwords supported
- Individual Hotword setting
- On detection, various works possible;
- Control other modules with custom notification
- Execute Shell command or scripts and get the result.
- Not only hotword, but also continuous utterance could be acauired.(as recorded wav file)
- The recorded file could be consumed on other STT / voice handling modules
- No need to rebuild for electron
For more details; https://github.com/MMRIZE/MMM-Hotword2
-
RE: electron-rebuild and MagicMirror v2.18 (and more)
@Lusbueb
Usually, No.
Only the magic mirror module which use “native node module” needs it. but it would be hard to distinguish by a normal user. -
RE: RPI 4 hibernation
@Egnos
Impossible. None of the Raspberry Pis has had a “sleeping” or “hibernating” mode.
And Pi itself has no feature to wake up by time or WOL. So you may need additional h/w like a smart outlet or HAT (e.g. wittyPi) for controlling power externally, and their price is higher than the saving amount from Pi. -
RE: Help! - Adding and Changing Modules - Newbe
@pillaresci
Exactly what do you want to do? Let’s break one by one. -
RE: MMM-MagicMover - transfer repo
@C-son
In my experience, it’s better toarchive
your module, not to transfer it to anyone.
Or just leave it as it is.