There is no mistake as far as i can see.
The “&” just need to be written, when a second or third command follows.
So when u are just using this one command both (with or without the “&”) should work
There is no mistake as far as i can see.
The “&” just need to be written, when a second or third command follows.
So when u are just using this one command both (with or without the “&”) should work
I am full of admiration for your work. This is a great addition to anyone who already uses or wants to use voice commands.
AWESOME :D
i agree with @barnosch
the power supply is not causing the heat problem! Well, if u can call it a problem… 66-70° while running magic mirror is ok. As barnosch said u probably can reduce it by removing unused stuff. :)
@howi42
maybe same recommendation here. Remove unused stuff. Thats the reason, why i am a fan of using the Lite versions of raspbian ^^
Alexa-pi is maybe waiting all the time for your voice and that also needs CPU Power. And MagicMirror can raise the temp, too when using much modules. Especially when using modules with animation…
Just to say:
I am running my Magic Mirror in a completely closed frame (without any holes). Just put the small heatsinks u can buy everywhere on eBay on it and i have temperatures about 58-63°. When the monitor is on for about 10 minutes it will raise to max. 66-67°.
For using a fan regulated by the Pi’s temperature u can check this: https://forum.magicmirror.builders/topic/6495/temperature-regulated-fan-on-rpi/3
@mykle1
Didn’t see your post, cause i was writing.
But i never understood your temperature and your System Load :D
even with using raspbian Lite and just installing MM i never got this results. Even when the Pi lays on my table with heatsinks.^^
was always above 50°
Maybe u are sitting in an igloo XD
@chandra said in {HowTo} turn on/off your monitor (Time based, PIR/Button, App):
Screen goes off after 120sec, But when it sense the motion, the screen is black.
Hint from the main post:
To check if it works just go into terminal via ssh and type:
sudo tvservice -o to turn off
sudo tvservice -p to turn on
edit: for some monitors the following commands work better. Please use them if your monitor needs it:
vcgencmd display_power 0 to turn off
vcgencmd display_power 1 to turn on
edit:
also check this:
https://forum.magicmirror.builders/topic/6291/howto-turn-on-off-your-monitor-time-based-pir-button-app/11
That is really lovely :)
Another suggestion could be to say “Go to standby” and it will turn off the Monitor or something like that. Just for the need to say 1 command instead of 2 or 3 commands.
And “Wake up” will show the last used configuration.
But anyway a wonderful addition :D
So you use the camera module i posted?
unfortunately i don’t use this module, so i am maybe the wrong person to ask…
But i took a look at the webcam.js of the module and in line 46/47 the width and hight is defined.
Maybe u should play around with that…
https://github.com/alexyak/camera/blob/master/webcam.js
nano MagicMirror/modules/camera/webcam.js
also check the camera.js at line 62/63…
nano MagicMirror/modules/camera/camera.js
I don’t know if it would be necessary to set the resolution of the cam within raspbian… ?
To start the cam with a button u can even use the MMM-Buttons module. This should work, if i understand the camera-module correct ^^
{
module: 'MMM-Buttons',
config: {
maxShortPressTime: 1000,
buttons: [
{
pin: 15,
name: "camera",
shortPress: {
notification: "SHOW_CAMERA",
}
},
longPress: {
notification: "HIDE_CAMERA",
},
},
]
}
},
@Mykle1 said in Hello-Lucy:
Is this what you meant?
Jap :)
This is going to be the alexa for every mirror :D
@RoboDoc said in TypeError: Cannot read property ‘hash’ of null:
at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
line 68 in the node_helper of the update notification seems to check all modules on GitHub for updates, if i understand that correctly…
So there are two options:
Your mirror lost it’s wifi/internet connection. Maybe u could check on your router if the device had logged off from the wifi.
Or check the strength of the connection. Maybe take a look at the wifi_rebooter, as the wifi on the RPi 3 is not the best. So i installed an automatically wifi_rebooter here. U could try that as well: http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/
in my case my Pi pings my router address every 3 minutes and when it cannot reach it, it reboots it’s wifi itself.
Some of the 3rd party modules has errors. But i don’t think so. To check it u could just run the default modules for a while
Because u used the automatic installer and pressed “yes” when it asked you for starting MagicMirror automatically ;)
try
pm2 stop mm
pm2 delete mm
pm2 save
i would use pm2 for that.
sudo nano /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
59 23 * * * pi pm2 restart mm
#
should work…