Go to advanced search

by alexanderre
Mon Nov 25, 2019 6:56 am
Forum: Troubleshooting
Topic: Motion not saving videos anymore
Replies: 2
Views: 186

Re: Motion not saving videos anymore

Any ideas anybody? :)
by alexanderre
Wed Nov 20, 2019 5:25 pm
Forum: Troubleshooting
Topic: Motion not saving videos anymore
Replies: 2
Views: 186

Motion not saving videos anymore

Hi guys 👋 Using motion run not in a daemon mode coupled with HomeBridge as a home security cam. Lately noticed that despite working for a few years motion stopped saving videos. I still do get email alarms with photos of the scene, but later on I don't get any videos saved in a motion.conf file thou...
by alexanderre
Tue Feb 06, 2018 9:06 pm
Forum: Troubleshooting
Topic: Power management
Replies: 5
Views: 3630

Re: Power management

If you mean Open GL - I have it enabled, nothing has changed much with the way display works
by alexanderre
Sun Feb 04, 2018 3:19 pm
Forum: Troubleshooting
Topic: Power management
Replies: 5
Views: 3630

Re: Power management

And just in case I didn't make it clear - I use RPi 3 as a desktop computer and therefore need display power management done usual way for desktops - you don't touch it for 5 minutes - it goes standby, you press a key or touch a mouse - it wakes up 8-)
by alexanderre
Sun Feb 04, 2018 2:28 pm
Forum: Troubleshooting
Topic: Power management
Replies: 5
Views: 3630

Re: Power management

thanks, yes, but :) it doesn't help me with switching off after an interval of being idle, though I know I can just set a crontab job, but that's totally not what I'am after
by alexanderre
Sun Feb 04, 2018 12:21 pm
Forum: Troubleshooting
Topic: Power management
Replies: 5
Views: 3630

Power management

Hello guys, I have an HDMI monitor attached to my Rpi3 and what I need to do is so the monitor would go to stand by mode after 5 minutes of me not using Pi and at the same time so it'd stay on regardless of power saving settings while I'am watching any videos say at least via omxplayer (TBOPlayer) o...
by alexanderre
Sun Feb 04, 2018 12:16 pm
Forum: Troubleshooting
Topic: Chromium can't be saved as default browser
Replies: 0
Views: 270

Chromium can't be saved as default browser

Hi all, since recently every time I lanuch Chromium it asks to make it a default browser. I do it and it asks again. Tried setting it manually in Default applications for LXSession and reinstalling it through sudo apt-get install --reinstall chromium-browser, but nothing has changed. Any ideas? :idea:
by alexanderre
Thu Feb 01, 2018 7:59 pm
Forum: Beginners
Topic: Increase size of existing swap file
Replies: 14
Views: 53051

Re: Increase size of existing swap file

exactly what I was looking for, thanks, guys :)
by alexanderre
Tue Dec 12, 2017 6:17 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Re: Script crashes randomly

So I've followed your advices and so far so good, so thanks again for your time and help :)
by alexanderre
Mon Dec 11, 2017 7:26 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Re: Script crashes randomly

regarding your modprobe error if you are using raspbian jessie or stretch you no longer need these lines os.system('modprobe w1-gpio') os.system('modprobe w1-therm') you just need to activate 1-wire interface in raspi-config or add dtoverlay=w1-gpio to /boot/config.txt Oh, I see, thanks, will do :)...
by alexanderre
Sat Dec 09, 2017 5:31 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Re: Script crashes randomly

It is common to get an occasional bad reading. I think 1 of the most common reasons for this can be we all tend to use the cheapest connector wire we can find. Connectors r always a place errors in transmission of data can occur, that's why high end equipment will use gold platted connectors to red...
by alexanderre
Sat Dec 09, 2017 2:17 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Re: Script crashes randomly

Well I made a really short sh script to start my py file and added a cron job to launch it @reboot and one thing I changed yesterday was I added sudo in front of the path to the sh script in crontab. Stopped getting a modprobe related error, but the one with temperature showed up after almost 24 hou...
by alexanderre
Fri Dec 08, 2017 12:59 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Re: Script crashes randomly

I see, thanks, will try that out, error handling was one of the I things I thought about.

Still it seems weird for me that sometimes I get the values right and sometimes I don't with the same code... :roll:
by alexanderre
Fri Dec 08, 2017 12:12 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Re: Script crashes randomly

Error example:

Code: Select all

sh: 1: modprobe: not found
sh: 1: modprobe: not found
Traceback (most recent call last):
 File "myApp.py", line 125, in <module>
   draw.text((x, top+20),str('{0:0.1f}'.format(t))+ 'C' , font=font, fill=255)
ValueError: Unknown format code 'f' for object of type 'str'
by alexanderre
Fri Dec 08, 2017 12:04 pm
Forum: Python
Topic: Script crashes randomly
Replies: 10
Views: 1792

Script crashes randomly

Hi all. I'am a Python and GPIO newbie and therefore I might do something badly wrong, that's why I need your help :) I have a script here that gets different data from GPIO connected sensors (temperature, humidity, pressure & also shows date & time): #!/usr/bin/python # -*- coding:utf-8 -*- #general...
by alexanderre
Thu Mar 24, 2016 12:43 pm
Forum: Networking and servers
Topic: Raspberry Pi 3 and wlan0 no longer showing up
Replies: 2
Views: 3156

Re: Raspberry Pi 3 and wlan0 no longer showing up

Have the same issue - no wlan0 in ifconfig on RPi 3.
I just took the card from Rpi 2 and put it into my new Rpi 3, ran all updates and upgrades and figured that everything apart from WiFi works.
Any ideas?
by alexanderre
Sat Mar 05, 2016 10:52 am
Forum: Networking and servers
Topic: SMTP Server DNS error
Replies: 8
Views: 1897

Re: SMTP Server DNS error

Thanks to Ira Finch for the hint: http://www.cyberciti.biz/faq/linux-unix-crontab-change-mailto-settings/ I had a backup cron and whenever something went wrong crontab tried to email me about it. Since I'am pi and rewriteDomain in /etc/ssmtp/ssmtp.conf is set to gmail.com - it attempted to send an e...
by alexanderre
Sat Mar 05, 2016 9:18 am
Forum: Networking and servers
Topic: SMTP Server DNS error
Replies: 8
Views: 1897

Re: SMTP Server DNS error

The problem I face is that despite the fact I've tried to change hostname in /etc/ssmtp/ssmtp.conf from localhost to smtp.gmail.com, gmail.com and even RaspberryPi I still get mails generated and sent for either root or pi users to root@raspberrypi or pi@raspberrypi via mailx. I've also added pi and...
by alexanderre
Fri Mar 04, 2016 4:52 pm
Forum: Networking and servers
Topic: SMTP Server DNS error
Replies: 8
Views: 1897

Re: SMTP Server DNS error

The problem is that after you set /etc/aliases and tell system to use them it says the following:
newaliases: Aliases are not used in sSMTP :|

Go to advanced search