- Found the problem the raspberry used limited RGBinstead of full RGB now it’s real black ;)
- the video runs without lagg however it’s really at the limit lol
need a cooler otherwise the raspberry keeps overheating
Read the statement by Michael Teeuw here.
Posts
-
RE: Hello-Lucy
-
RE: When do you need quotes?
Those are different types of variables:
The first one is a number the second one a string. Boolean only has the values true and false which are exactly the same as writing 1 and 0. the true and false statement is there for readability in the code but gets replaced by 1 and 0 when executing the program ;)
So when you put quotes to the number it is a text that includes this number, but you need it as a number you can use for example for calculations (obviously convertions are possible)
For strings usually you can use either double or single quotes and both will work. it is usually a thing of consistency (which on is already used) which one you choose.
However there are a couple advantages in using double quotes.- JSON notation is written with double quotes (although it might work with single quotes aswell)
- double quotes are more convenient when your already familiar with other programming languages like C that often use double quotes for strings
- for people without programming experience double quotes are already familiar from their language where a text is marked with double quotes aswell
- When you need a single quote in the text you can write
“It’s a boy”, but you would have to write ‘It's a boy’ using single quotes to mark that the single quote does not end the string.
However when you use double quotes in the string to mark a text inside it’s the other way around :
you could write ‘Simon says: “I am happy”’ but with double quotes you need to write “Simon says: "I am happy"”
Hope I could clear the confusion a bit.
-
RE: Hello-Lucy
@mykle1
I don’t. Pretty normal that a lot of stuff goes wrong when a noob creates a big project lol. Nothing that could stop me -
RE: Hello-Lucy
@Mykle1 Probably going to keep the pi: The only problem I have right now is the gif.
So I checked why this actually is a problem: GIF’s and the Pi just really hate each other, because unlike a video it gets processed in the cpu. However showing the gif as a video in a loop should work a lot better ;)
Will try this and let you know how it worked out -
RE: Yet Another Voice Module -- I want my MM to speak now!
I Really like The functionality that comes with Alexa … However I Really hate To give out My Data to a company
So My Current Attempt Is a offline Voice recognition Called snips that Works pretty well for me (I use a 4mic Array And it can recognise what I say from a distance of 5m with background Music without any problems) in Basic in snips You can create own assistants pretty easily (for me one of The Main reasons to use it Is that The Automated Speech recognition Is Not only avaible in English but for example in German Aswell)
after recognising a intents it sends it via mqtt which You can acces with Most IOT devices or for MM2 there Is already a MQTT moduleWell Thats My current Attempt
While I Really like that it I can “easily” use it for everything in My house And have German As language The big disadvantage Is obviously that it Is a Second software And so definetly Not Really a one Click installation Thats Really easy To use for every User that just wants The Thing To work without any hazzle -
RE: Make a mirror a touch mirror
hi
there seems to be a company that produces two way mirrors that work with multi touch touch overlays
https://www.twowaymirrors.com/smart-mirror/
although I have not tested themBut I guess IR Touch frames are the cheapest option
Max
-
RE: Custom .gif animation upon Magic Mirror Startup. Is this possible?
Well you could just add some code to your other modules to hide them when they are set up and let your gif module send a message to the other modules to show after the gif finished. (How sending these messages and reacting to them to show/hide modules works you can see quite well in Mykles Hello Lucy module, where he uses them to hide/show modules according to voice commands)
-
RE: Hello-Lucy
How power Hungry are those animated backgrounds? Do they run smooth on a raspberry pi?
Other than that Thats a Really cool background !!! -
RE: Configure wi-fi within Magic Mirror OS (with touch)
I understand what you mean. Although I am not quite sure why a program that asks for Wifi name and password should be easier to handle for the average joe then clicking the wifi button on a OS and typing in the password which is a lot close to what they are know from their Windows system and do not have to understand another UI they need only for the first Setup.
Well however when you really want to do this for the average joe so he has absolutely NOTHING to do with anything but their favourite spysystem windows ;) I would write a windows tool for it. Either one doing it over SSH (which I do not really like because the average joe will just leave SSH open with standard key and you have to explain them what the heck is SSH and how to activate it) or just let the user plugin their SD card which they have to do anyways when installing Linux and let the program edit the file including all Wifi logins. For the rest of MM2 you could do a preset Image of debian that already has MM2 setup (maybe create a auto update tool for debian that just checks for OS and MM2 updates once a day
-
RE: Module Position
-
yes already saw that yesterday forgot to replace it ;)
-
yes decided to do some majopr changes to improve it (hope to finish them today)
-
I am new to javascript why I asked because I don’t need to learn the stuff in a wrong way from start off. So any tips on improving the code that are a general thing so that I should think off when doing other stuff with javascript I am really interested in
-
-
RE: Writing my own OS
my suggestion is aswell use MM2. You don’t have to start from scratch that costs a ton of time and makes asking harder.
For most stuff there is already someone that has done something similar thats helps.As an example my setup is
MM2 as info displays (probably multiple mirrors sooner or later)
The standalone offline voice recognition snips for all smarthome stuff (obviously works with all the online alexa stuff ect aswell)
And as general backbone that really controls all the smarthome stuff something like openhab/homeassistant.Those are all great software parts that support you. you obviously can live for example without openhab/homeassistant and do controls directly with modules in MM2, but the moment you have many devices you want to control it kind of gets messy. (I am a big fan of keeping the software parts simple so you can maintain something without being scared that suddenly everythings broken)
Obviously same for stuff like your machine learning. I would just have it run standalone with just a couple connections to for example MM2 to tell it which user it recognised.
What language stuff should you learn? Your experienced with java and python, so just use them. Can’t really see a reason to use another when your good in them.
So my suggestion is use this premade software out there. You obviously can develop the wheel again, but you probably spend a ton of time without getting a better endproduct (would be more of a educational thing to rebuild something like that xD)
Then you can spend all your time on really building the stuff you want to build like this facial recognition.
Is a year enough? Well hard to say for me it would be never because with my smarthome stuff it’s really always the same thing I build one thing and already have 5 ideas for new stuff to add. -
RE: EyeCandy and out-of-memory
When you directly display MM2 on your raspberrypi you could do an overlay with omxplayer. it supports hardware acceleration which makes it run really smooth with gifs
-
German Voice Recognition
Here is a first peak view at the voice recognition I currently work on for my MM project.
For the start I planned pretty much the same features like Mykle1’s Hello-Lucy
The recognition is in German, since I am German and we already have a ton of english ones ;)
Like Mykle1’s it’s doing the recognition fully offline, but accepts full sentences and recognices your intent
Still in mid of work but wanted to share a first view on what I did so far (Forgive me the really really bad video quality)Which commands beside the ones from Hello-Lucy would you like to see?
-
RE: Alexa Integration like QAIO Smart Mirror
Yes it is absolutely possible. Although I can’t tell you how good existing alexa modules for MM2 are, since I personally would never let a alexa near my house lol :rolling_on_the_floor_laughing:
But in general you just need to create a skill for alexa with the features and a listener module for MM2 that reacts to whatever the skill outputs (or when you just want to use existing stuff on MM2 only something listening)
https://github.com/dolanmiu/MMM-awesome-alexa
I don’t know wether this works and it did not really get changed in the last months, but should be at least a good start on how to create the feature -
RE: Extreme Update to Magic Mirror (32" Frame, Vertical)
lmao someone here had to much time :face_with_tears_of_joy:
-
RE: IFrame
@cowboysdude just did it with node serveronly and then accessed it on my raspy with chromium
localhost:8080 still has the same problem everything but the iframe is still not shownHowever I realised that with the type of website (using it for the webpanel of Openhab) I actually want to show later it works perfectly fine ^^
-
RE: German Voice Recognition
One thing I absolutely want to add is that my mirror is activated when I am in Front of it, but thats the speech recognition is automatically activated aswell so I don’t need to use the hotword while I am in front of the mirror :)
-
RE: Hello-Lucy
Well for anyone interested I created a seperate thread
https://forum.magicmirror.builders/topic/7162/german-voice-recognition