• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. dr4ke616
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
D
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 13
  • Groups 0

dr4ke616

@dr4ke616

1
Reputation
975
Profile views
13
Posts
0
Followers
0
Following
Joined Jul 17, 2016, 6:19 PM
Last Online Oct 26, 2020, 6:00 PM
Location Dublin, Ireland

dr4ke616 Unfollow Follow

Best posts made by dr4ke616

  • MMM-Voice-Control

    Hey everyone,

    Yet another version of a Voice Control Module. A few weeks back I put together a basic voice control magic mirror module. You can check the source code at https://github.com/dr4ke616/MMM-Voice-Control. Currently it has very basic functionality, but I’m always open to suggestions :)

    posted in Utilities
    D
    dr4ke616
    Sep 11, 2016, 10:33 AM

Latest posts made by dr4ke616

  • RE: [Pi2] Magic Mirror Wont Startup

    @sdetweil really? Because the pie seems otherwise fine. The issue seems very specific. If it were down to the SD card being unusable, I would expect the pie as a whole to have issues.

    posted in Troubleshooting
    D
    dr4ke616
    Oct 26, 2020, 3:36 PM
  • [Pi2] Magic Mirror Wont Startup

    I’ve had Magic Mirror running for some time now without issues, until space limitations resulted in the app failing to start. After clearing space, updating system packages, and pulling the latest from master (currently at 3dbe8bf), the Magic Mirror app is still failing to start.

    Here is a slimmed down config which i tested on my PC, which works as expected but does not work on my Pi.

    var config = {
        port: 8080,
    
        language: "en",
        timeFormat: 24,
        units: "metric",
    
        modules: [
            {
                module: "alert",
            },
            {
                module: "clock",
                position: "top_left"
            }
        ]
    };
    

    The log output when running npm run start:

    > magicmirror@2.13.0 start /home/pi/MagicMirror
    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
    
    [2020-10-26 14:46:47.896] [LOG]    Starting MagicMirror: v2.13.0
    [2020-10-26 14:46:47.929] [LOG]    Loading config ...
    [2020-10-26 14:46:47.951] [LOG]    Loading module helpers ...
    [2020-10-26 14:46:47.960] [LOG]    No helper found for module: alert.
    [2020-10-26 14:46:47.964] [LOG]    No helper found for module: clock.
    [2020-10-26 14:46:47.966] [LOG]    All module helpers loaded.
    [2020-10-26 14:46:48.502] [LOG]    Starting server on port 8080 ...
    [2020-10-26 14:46:48.556] [LOG]    Server started ...
    [2020-10-26 14:46:48.559] [LOG]    Sockets connected & modules started ...
    

    After the last log line above, the application just exists out and no browser is opened.

    Interestingly, running in server only mode works and I can browse to the UI no problem. Is it possible it’s something odd with electron. The version used is electron@6.0.12

    Some other pieces of relevant info:

    Version:

    Raspberry Pi 2 Model B Rev 1.1
    

    OS:

    Distributor ID:	Raspbian
    Description:	Raspbian GNU/Linux 10 (buster)
    Release:	10
    Codename:	buster
    

    Be great to get some help on this, been digging down various rabbit holes few days now. Thanks.

    posted in Troubleshooting
    D
    dr4ke616
    Oct 26, 2020, 2:52 PM
  • RE: MMM-Voice-Control

    @Baltibu

    The current design of this module is focused more on allowing other developers to create modules with voice recognition capabilities rather than it just “work out of the box” with all other modules running on your mirror.

    posted in Utilities
    D
    dr4ke616
    Oct 20, 2016, 7:55 PM
  • RE: MMM-Voice-Control

    @Baltibu

    So, it should (if all working ok) be the case that you add a command here. The first paramater references a language entry in the translations directory.

    For example in commands.js we register the key dublinbus_start to a function that sends a notification. Then in your translations files you can add what to actually say (in what ever language), for example here.

    Then in your own module you override notificationReceived and check for the message sent from your command, as in DUBLINBUS_START.

    I understand that this is probably overly complex way of doing this. I do believe this can be done in a better way.

    posted in Utilities
    D
    dr4ke616
    Oct 20, 2016, 7:38 PM
  • RE: MMM-Voice-Control

    Hey @Baltibu

    Yeah, i haven’t done much work on actually integrating it with other modules yet. At the moment it just sends notification like messages to other modules, so other modules can then react to it.

    There is probably a better more generic way to achieve this. So I am open to ideas.

    posted in Utilities
    D
    dr4ke616
    Oct 20, 2016, 7:20 PM
  • RE: MMM-Voice-Control

    @carteblanche

    Kinda hard to say. Could be any number of things.

    One thing to note is that the module uses annyang package, which relies on Google Speech API. So perhaps the error you are seeing is related to rate limiting on Google’s Speech API. I believe it is something like 50 requests per day (when using for free).

    posted in Utilities
    D
    dr4ke616
    Oct 20, 2016, 7:18 PM
  • RE: MMM-ModuleScheduler - Module Schedules and Notifications

    @cowboysdude thanks for pointing that out. Thats a better idea I didn’t think of :)

    posted in System
    D
    dr4ke616
    Oct 6, 2016, 3:08 PM
  • RE: MMM-ModuleScheduler - Module Schedules and Notifications

    +1, be really nice if it not only just dimmed the running modules, but actually shut off the monitor.

    posted in System
    D
    dr4ke616
    Oct 6, 2016, 7:52 AM
  • RE: MMM-ModuleScheduler - Module Schedules and Notifications

    @strawberry-3.141 I didnt notice this - thanks for pointing it out. Thats exactly what i need!

    posted in System
    D
    dr4ke616
    Oct 2, 2016, 7:33 PM
  • RE: MMM-ModuleScheduler - Module Schedules and Notifications

    Hey @ianperrin

    Great module by the way. Im messing about with it, and works really well.

    Do you think it would be possible to broadcast a notification to the module(s) that are being shown / hidden so they could react to it?

    So for example if any given module were able to check for SHOW_MODULE, HIDE_MODULE or DIM_MODULE in the notificationReceived function so that the module could react to it and handle some specific behaviour?

    What do you think?

    posted in System
    D
    dr4ke616
    Oct 2, 2016, 7:02 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy