Go to advanced search

by Canedje
Sat Apr 25, 2015 9:12 pm
Forum: Nederlands
Topic: PHP code thermostaat
Replies: 9
Views: 1808

Re: PHP code thermostaat

Mhmm.. Het is vrij veel en veel van de code is moeilijk uit mekaar te halen zondat dat je het niet zult begrijpen en/of het verwoest. + het is nogal privacy gevoelig om op een forum te gooien. Kun je me je e-mail address PM'en? Als je het vervelend vind begrijp ik dat. Ondertussen ben ik redelijk a...
by Canedje
Mon Apr 20, 2015 7:00 am
Forum: Other programming languages
Topic: weekschedule for Thermostat
Replies: 2
Views: 611

Re: weekschedule for Thermostat

DougieLawson wrote:I'd start by downloading this: http://www.phpjobscheduler.co.uk/ and then hacking it.
Thanks
by Canedje
Mon Apr 20, 2015 6:59 am
Forum: Nederlands
Topic: PHP code thermostaat
Replies: 9
Views: 1808

Re: PHP code thermostaat

Klinkt precies zo als ik in gedachte heb.
Graag
by Canedje
Sun Apr 19, 2015 7:34 pm
Forum: Other programming languages
Topic: weekschedule for Thermostat
Replies: 2
Views: 611

weekschedule for Thermostat

Helllo I'm trying to make a Thermostat with the RPI. I'm allready able to read the current temperature with Python code and store this in MYSQl and logfile I'm also able to control GPIO output for relais Beside this I'm able to present the actual information on a webpage by PHP. The next step I need...
by Canedje
Sat Apr 18, 2015 2:30 pm
Forum: Troubleshooting
Topic: Error from RPI send by e-mail?
Replies: 3
Views: 551

Re: Error from RPI send by e-mail?

Because I couldn't show the webpages anymore this mornig (I reinstalled an older bootimage to fix the problem) end receiving this error mail.

Could it be that the log directory was somehow corrupted?
Creating the web problem and this mail?

(I realy don't know how this happened???)
by Canedje
Sat Apr 18, 2015 1:49 pm
Forum: Troubleshooting
Topic: Error from RPI send by e-mail?
Replies: 3
Views: 551

Re: Error from RPI send by e-mail?

Maybe your SD card has no free space left? Thanks for reacting: Bestandssysteem Grootte Gebruikt Besch Geb% Aangekoppeld op rootfs 14G 3,0G 9,9G 24% / /dev/root 14G 3,0G 9,9G 24% / devtmpfs 460M 0 460M 0% /dev tmpfs 93M 496K 93M 1% /run tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 186M 0 186M 0% /run/shm /...
by Canedje
Sat Apr 18, 2015 1:38 pm
Forum: Troubleshooting
Topic: Error from RPI send by e-mail?
Replies: 3
Views: 551

Error from RPI send by e-mail?

This morning after a reboot my webpage was not approachable anymore. see topic: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=107730 Before that I suddenly received an e-mail send by the RPI system this morning saying: /etc/cron.daily/logrotate: error: stat of /var/log/apache2/*.log fa...
by Canedje
Sat Apr 18, 2015 12:01 pm
Forum: Beginners
Topic: check activity of RPI
Replies: 3
Views: 1067

check activity of RPI

Is there a command or method to check the activity of the RPI?
How busy it is, which tasks are running?
by Canedje
Sat Apr 18, 2015 11:00 am
Forum: Troubleshooting
Topic: webpage suddenly not showing up anymore
Replies: 7
Views: 753

Re: webpage suddenly not showing up anymore

EDIT: I suddenly recognized an e-mail was send by the RPI system this morning, (before the problem mentioned above) saying: /etc/cron.daily/logrotate: error: stat of /var/log/apache2/*.log failed: Is geen map error: stat of /var/log/apt/term.log failed: Is geen map error: stat of /var/log/apt/histor...
by Canedje
Sat Apr 18, 2015 10:25 am
Forum: Troubleshooting
Topic: webpage suddenly not showing up anymore
Replies: 7
Views: 753

Re: webpage suddenly not showing up anymore

What do the apache2 logs reveal? /var/log/apache2 access.log error.log other_vhosts_access.log Because I'm out of time at the moment and not willing to miss data I did choose for the easy way and reinstalled an boot image off yesterday. Now it works fine again If I have some more time I will retry ...
by Canedje
Sat Apr 18, 2015 8:54 am
Forum: Troubleshooting
Topic: webpage suddenly not showing up anymore
Replies: 7
Views: 753

Re: webpage suddenly not showing up anymore

What do the apache2 logs reveal? /var/log/apache2 access.log error.log other_vhosts_access.log Because I'm out of time at the moment and not willing to miss data I did choose for the easy way and reinstalled an boot image off yesterday. Now it works fine again If I have some more time I will retry ...
by Canedje
Sat Apr 18, 2015 8:14 am
Forum: Troubleshooting
Topic: webpage suddenly not showing up anymore
Replies: 7
Views: 753

Re: webpage suddenly not showing up anymore

joan wrote:Is the Pi still at the same IP address? Can you ping the Pi? Does the web page still exist in /var/www/html?
I'm using a fixed IP adress. Via SSH the raspberry still aproachable
Everything is there in /var/www
Apache is installed
by Canedje
Sat Apr 18, 2015 8:07 am
Forum: Troubleshooting
Topic: webpage suddenly not showing up anymore
Replies: 7
Views: 753

webpage suddenly not showing up anymore

After rebooting the RPI
suddenly the webpage is not available anymore at the web
Before reboot I installed WiringPi

I tried to reinstall Apache2. It is still there and no reinstall happened.

What can cause this problem?
by Canedje
Sat Apr 18, 2015 6:57 am
Forum: Nederlands
Topic: PHP code thermostaat
Replies: 9
Views: 1808

Re: PHP code thermostaat

Ik heb eigenlijk twee systemen. Eentje die draait op Mono (C+ emulator voor Pi) en eentje op PHP. Die van Mono ziet er mooier uit dan die van PHP. PHP vind ik iets betrouwbaarder en makkelijker aanpasbaar. Welke verkies je? Mono ken ik niet als taal. (Ik heb vroeger in C++ geprogrammeerd, nu begonn...
by Canedje
Fri Apr 17, 2015 7:34 pm
Forum: Nederlands
Topic: PHP code thermostaat
Replies: 9
Views: 1808

Re: PHP code thermostaat

Ik kan je mijn code wel geven, denk dat het alleen wat anders werkt dat jij wilt. De eigenlijke vraag is, hoe wil je de termostaat besturen? Telefoon? Computer? Dat zou fijn zijn. Het zou voor mij een vertrekpunt zijn. Uiteindelijk wil ik het via een website, dus vanaf telefoon, tablet, pc willen b...
by Canedje
Fri Apr 17, 2015 4:14 pm
Forum: Nederlands
Topic: PHP code thermostaat
Replies: 9
Views: 1808

PHP code thermostaat

Sinds een maand ben ik een aantal projecten gestart met de RPI. Ondertussen begin ik al aardig thuis te raken in deze voor mij nieuwe materie. leuk speelgoed :lol: Ik heb 2 RPI's: 1 is de server en verbonden via USB met de P1 poort van mijn slimme meter. Deze meter lees ik elke 5 minuten via een cro...
by Canedje
Fri Apr 17, 2015 3:55 pm
Forum: Nederlands
Topic: Temperatuur RPI
Replies: 3
Views: 775

Re: Temperatuur RPI

Dank jullie wel
by Canedje
Fri Apr 17, 2015 10:07 am
Forum: Troubleshooting
Topic: USB packets loss or corrupted
Replies: 2
Views: 985

Re: USB packets loss or corrupted

Update: I changed the Python code: I recognized that I was opening and closing the serial port in a "15 times" while loop. (To much for the serial port??) I replaced the opening and reading of the serial port out of the while loop. Beside that I added serial.flushInput() at opening and bef...
by Canedje
Fri Apr 17, 2015 8:37 am
Forum: Nederlands
Topic: Temperatuur RPI
Replies: 3
Views: 775

Temperatuur RPI

Wat is nog een acceptabele temperatuur voor de raspberry?
Als ik de eigen temperatuur opvraag geeft deze 48,2 *C aan.
Is dat niet te hoog?
by Canedje
Wed Apr 15, 2015 1:26 pm
Forum: Troubleshooting
Topic: Pi2 freeze randomly, how to find the cause?
Replies: 3
Views: 603

Re: Pi2 freeze randomly, how to find the cause?

Nothing to do with a corrupted sd-card?

(I had sometimes reboot problems because bad contacts of de sd card)
by Canedje
Wed Apr 15, 2015 12:35 pm
Forum: Troubleshooting
Topic: USB packets loss or corrupted
Replies: 2
Views: 985

Re: USB packets loss or corrupted

It looks like this problem is hard to solve and to be recognized by someone. Maybe someone can help me by the correct code? I used the next code in Python to read the USB. Is somebody see errors? or maybe tips to optimize the code? For example I did use the FlushInput() command in the past. or is th...
by Canedje
Tue Apr 14, 2015 11:00 am
Forum: Troubleshooting
Topic: Slow login
Replies: 5
Views: 885

Re: Slow login

Thanks again
by Canedje
Tue Apr 14, 2015 9:21 am
Forum: Troubleshooting
Topic: Slow login
Replies: 5
Views: 885

Re: Slow login

RaTTuS wrote:it does not know the IP you are coming from ...
Thanks.
Strange? Suddenly (It worked fine until yesterday)?
Login from the same system causes not this problem with Raspberry 2?

How can I change this?
by Canedje
Tue Apr 14, 2015 6:24 am
Forum: Troubleshooting
Topic: Slow login
Replies: 5
Views: 885

Slow login

It's not a big deal but I wonder the explanation. I do have to 2 RPI's. Normally if I log in after entering the name. The RPI immediately asks for the password. Now since yesterday for one off the RPI's after enter the loginname it takes about 10-15 seconds before the RPI asks the password? :shock: ...
by Canedje
Mon Apr 13, 2015 5:26 pm
Forum: Nederlands
Topic: Mysql database op 2 raspberry's gebruiken
Replies: 10
Views: 1302

Re: Mysql database op 2 raspberry's gebruiken

Kagetaze wrote:Waarom zou je niet alles in 1 database gooien? Dit snap ik even niet...
Ik wil dat beide raspberry's onafhankelijk zijn van elkaar.
Als ik er 1 uitzet, moet de ander doordraaien.

Go to advanced search