- 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.
Best posts made by maxbachmann
-
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
-