@KirAsh4 I’m trying to learn how to do this. I am new to programming in general and was hoping someone could point me in the right direction or at least how to start trying to solve this issue on my own. The only stuff I have installed on my pi is magic mirror with the fitbit module and Weaved.
Read the statement by Michael Teeuw here.
Posts made by tjop
-
RE: Problems with port 8080
-
Problems with port 8080
So my fitbit module stopped working yesterday morning. When I tried to set up a new token and credential file I was met with the following error. Could someone please help me figure out why the module is no longer working and what this error means.
File “/usr/local/lib/python2.7/dist-packages/cherrypy/process/servers.py”, line 439, in wait_for_free_port
raise IOError(“Port %r not free on %r” % (port, host))
IOError: Port 8080 not free on ‘127.0.0.1’[28/Sep/2016:20:05:20] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/cherrypy/process/wspbus.py”, line 243, in start
self.publish(‘start’)
File “/usr/local/lib/python2.7/dist-packages/cherrypy/process/wspbus.py”, line 223, in publish
raise exc
ChannelFailures: IOError(“Port 8080 not free on ‘127.0.0.1’”,)[28/Sep/2016:20:05:20] ENGINE Bus STOPPING
[28/Sep/2016:20:05:20] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer((‘127.0.0.1’, 8080)) already shut down
[28/Sep/2016:20:05:20] ENGINE Stopped thread ‘_TimeoutMonitor’.
[28/Sep/2016:20:05:20] ENGINE Stopped thread ‘Autoreloader’.
[28/Sep/2016:20:05:20] ENGINE Bus STOPPED
[28/Sep/2016:20:05:20] ENGINE Bus EXITING
[28/Sep/2016:20:05:20] ENGINE Bus EXITED -
RE: Different sleep function
@yawns What settings was that under? I was looking and wasn’t able to find something like that. I have a 40" Haier TV. So that proposed code basically turns on and off the TV? I could find a new tv panel to replace my current one that won’t have the annoying blue screen with the no signal message? I apologize for my ignorance on this subject. Is there a good way to find a new tv panel controller or what I should look for in general?
-
RE: Different sleep function
I guess it is less about saving power and more about not having a giant blue screen on until someone walks in front of the camera to reactivate the HDMI port. So the way it works now is that when the HDMI port goes to sleep it makes the TV behind the mirror switch to a blue screen with the words signal lost. So I basically can’t use that functionality. So I figured if I can figure out a way to get the screen blanking to occur instead of turning off the HDMI, that might be more managable to leave the mirror on constantly. Or if the pi can have a screensaver option that turns off by motion detection.
-
Different sleep function
Since I used a TV monitor to make my magic mirror when the motion detection module turns off the HDMI port it makes the tv have that blue screen, no signal screen. I’m trying to figure out a way to allow the raspberry pi to go to the blank screen after a set amount of time but then wake up from motion by a raspberry pi camera. Is there a way to do this? Any help is greatly appreciated.
-
RE: Screen keeps going to black after a few minutes.
@chengstark said in Screen keeps going to black after a few minutes.:
https://www.reddit.com/r/raspberry_pi/comments/3oktfu/magic_mirror_how_to/
I went ahead and tried what you suggested and it wasn’t successful. I couldn’t get it to auto-start or stop it from going to sleep. I wish I could give more details, but I am completely new to coding.
-
Screen keeps going to black after a few minutes.
I followed these instructions to set up my magic mirror and turn off the screensaver and screen blanking but the screen is still going to black after a few minutes. Could someone please help me or let me know what I might be missing. Pretty much new to coding, so I am trying to find my way around.
"Step 3
Let’s disable the screen saver and screen blanking as well. This needs to be done in two places. First in the autostart configuration:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
And add the following to the bottom of the file:
@xset s noblank @xset s off @xset -dpms 0_1466022921947_049-configure-rpi-sm.png
Next in the X-windows manager configuration:
sudo nano /etc/lightdm/lightdm.conf
Scroll down to the [SeatDefaults] section and look for the xserver-command line below that. Change the line to look like this:
xserver-command=X -s 0 -dpms
(so you’re removing the # on the front, and adding the missing bits at the end.) Again, hit CTRL-X and say Y(es) to saving the file.
Note from admin: Please use Markdown on code snippets for easier reading!