- 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
-
Latest posts made by maxbachmann
-
RE: Echo dot and magicmirror
I never did this with javascript stuff yet but it’s definetly possible in the node_helper ;)
Appears there are already some libraries, but console input/output stuff I only did with C++ and python so far myself -
RE: Extreme Update to Magic Mirror (32" Frame, Vertical)
lmao someone here had to much time :face_with_tears_of_joy:
-
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: Touch foil question
@trich1
yes side of the frame works. just needs to be possible to move the finger into the Infrared light grid it creates ;)
However when you really want a photobooth with basically only the feature make a photo a small gesture sensor or a distance sensor (depending on how you want to trigger) would be a lot cheaper since touch foils are damn expensive in that size (never used one with a mirror but some producers state that some touch foils work with their mirror). And even a IR Frame will probably cost at least around 100$ I guess. Although I am no big fan of the touch + mirror combo anyways because you have fingerprints all over the mirror ^^ which you do not have with gesture control (maybe voice control would be cool aswell :) )
Well but back to your question I never used a IR Frame so far but in general mapping should be quite possible. But you need to check what options are out there for your distro. It appears to be pretty common that you need to map for example with multiple monitors since linux often sees them as one so mapping needs to be done here aswell.
Just search for touchscreen calibration and you should find explanations -
RE: MMM-Voice using Google Voice Kit HAT
@shounak78_mm no problem I use them quite a lot and am really happy with all my respeaker mic arrays so far. All worked pretty awesome. Obviously there are differences, but for a basic speech recognition I even know a ton of people that just use the 2 mic hat from respeaker and are happy with it :)
I myself started with a respeaker 4 mic array for the pi and now use the mic array v2 for it’s onboard speech processing. I can use it in my living room with radio on (not playing over the array) and it still removes pretty much all background music ;)
For my other rooms where I do not play radio that much I will probably just put a pi zero with a 2 mic hat or a 4mic array that streams that only does the hotword detection and then streams the audio to a main device which does the rest of the speech recognition work. -
RE: Echo dot and magicmirror
@chassain-0 true some sites don’t work (forgot the reason someone explained it to me a while back xD). But it’s definetly not just youtube working ;)
I don’t know how to set the start size and hide the browser stuff. maybe someone else here knows :)
-
RE: MMM-Voice using Google Voice Kit HAT
@shounak78_mm
I own the 4 mic array and it works absolutely fine and the usb mic I use is the respeaker
mic array v2 (it’s totally awesome but pretty expensive for 70$ when you do not need all the features). (the 4 mic requires a driver to run which is explained on their wiki. I guess with the google kit it works similar.)and @Sean I use the 4 mic array and I know a couple of people using the respeaker 2 mic hat which are all that close to pi. Maybe there are problems when running it at full load permanently, but at least for me thats no usual scenario :)
-
RE: Echo dot and magicmirror
You could just use a big IFrame to show the website
-
RE: MMM-Voice using Google Voice Kit HAT
@Mykle1 that might depend. I used already a usb mic array and a i2s mic array and do not really have any more lagg ;)