@sdetweil Thanks for the info, I didn’t see it in time. I deleted the entire line of code. It worked after that. I will replace the line with your suggestion this evening.
Read the statement by Michael Teeuw here.
Posts
-
RE: Kalliope assistant + MM
-
RE: Kalliope assistant + MM
@sispheor So… I figured out how to get rid of the error. I deleted line 86 of MMM-kalliope.js .
console.log(this.name + " received a socket notification: " + notification + " - Payload: " + payload);Everything works fine for now. Not sure why this is, but I’m assuming the chromium browser does not like the console.log code, but I could be wrong.
-
RE: Kalliope assistant + MM
@sispheor So using the ctrl-shift-i I was able to find the error that it is throwing.
Uncaught TypeError: console.log is not a functionThis error is repeated in the log each time it receives the post request.
What are your suggestions?
-
RE: Kalliope assistant + MM
@sispheor I’ve tried multiple positions for the module, still nothing gets displayed. Not sure why though. I’ve tried refresh, reboot etc. still nothing. Maybe I should delete the module and try a fresh install. The curl should work with just the module installed right?
-
RE: Kalliope assistant + MM
@sispheor I am interested in duplicating your work for a different AI. So I figured the best place to start is to install your module and get it working before I make changes to suit my needs with the other AI. I have installed the MMM-Kalliope module, but the curl commands do not display on my mirror. I am not sure what I am doing wrong. Here’s my entry in config.js
{ module: "MMM-kalliope", position: "upper_third", config: { max: "5", keep_seconds: "8", title: "Kalliope" } },I do receive a json response indicating success, however, nothing gets displayed on the mirror.
Here’s the curl command:
curl -H "Content-Type: application/json" -X POST -d '{"notification":"KALLIOPE", "payload": "my message"}' http://localhost:8080/kalliopeHere’s the response:
{"status": "success"}Yet nothing gets displayed. Do you have any suggestions?
-
RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror
@jopyth I just want to thank you again for your work on this module! Your module rocks!
BTW - It doesn’t have to be a mobile/tablet, I wrote an AI skill for Mycroft that uses your MMM-Remote-Control module to pass verbal commands to the MagicMirror.
If you’d like, check out the 2 min. video here.
And here’s a link to the repo if anyone would like to check out the Python code that interacts with the MMM-Remote-Control module.
Thanks again!
Cheers! -
RE: Yet another AI for MagicMirror: This time it's Mycroft.
@cyberphox Yes to the RPi. It’s a RPi 3b. Both the MagicMirror and the Mycroft-core fit onto a 16gb sd card with loads of room to spare. It’s running Debian Jesse (not lite) with the Pixel desktop. For the most part, it’s pretty responsive. Occasionally it takes a few seconds like you see in the video. Part of the lag is my hardware is not put together and the video was done by using RealVNC and remoting into the RPi. All of the history is in the link above, including links to all the software.
-
Yet another AI for MagicMirror: This time it's Mycroft.
Hello everyone! I just thought I’d share what I’ve been working on. Thanks to @strawberry-3-141 and @Mykle1 for pointing me in the right direction from the very beginning. And of course thanks to @Jopyth for the great work on the MMM-Remote-Control module that I’m using to communicate commands to the MagicMirror’s modules from Mycroft.
Here’s a little video:
https://www.youtube.com/watch?v=wshzsd5hOMAAnd here’s the complete history of how I got here, and a roadmap of how you can use Mycroft to control your MagicMirror.
I got the idea from seeing the really cool MMM-voice module @strawberry-3-141 created with the Hello-Lucy modifications @Mykle1 created. And while I like the idea of having the voice recognition on board (not sending it off to Google or Alexa), I wanted the ability to do more than control the Mirror. You know, an AI that could do other things. So that’s how I found Mycroft, an open source AI that I’m more comfortable with using.
Let me know what you think. I would love suggestions or ideas to improve on the combination of MagicMirror and Mycroft.
Cheers!
-
RE: MMM-voice
@ime90 I am running MMM-voice on a RPi3b and while it is not as fast as my Mycroft-core in responding to its wake word, it is much faster than the times you have stated. I turned the debug = true so that I could see what it is doing. I would say the times you have stated are at least double what it takes MMM-voice on my Pi. I changed my wake word to Hey Jarvis. I don’t know if that made any difference in how fast it recognizes the wake word. I also added the Hello-Lucy modifications to the MMM-voice module. It is not “fast” in responding to commands, but it only takes a few seconds (5 to 6sec.) to Hide/Show modules if I remember right.
-
RE: MMM-voice
@strawberry-3.141 I didn’t realize that was a possibility. I currently start Mycroft when the pi boots up in a virtualenv as was recommended by the mycroft folks. Both the MM and Mycroft run exactly as they should. The only exception is the microphone issue- not being able to access the microphone from two processes at the same time. I have no idea how I would start Mycroft from the node_helper.js.
At this point I am very confused on the best way to go. To me, it seems like the socket communication between two concurrently running processes would be easier. But you are the expert.
Any advice you suggest would be welcomed. Thanks again.