Go to advanced search

by morticiaskeeper
Tue May 09, 2017 7:30 pm
Forum: AIY Projects
Topic: Best questions to ask AIY. ..
Replies: 25
Views: 3283

Re: Best questions to ask AIY. ..

When you ask about coffee, it tells you to use an Aeropress, which is the correct answer.

It then makes two mistakes

It isn't 1 spoon of coffee, it's 12 grams

It isn't 60 seconds wait, it's 90 seconds

:-)
by morticiaskeeper
Sat May 07, 2016 7:05 pm
Forum: General discussion
Topic: ADS-B GND Station
Replies: 3
Views: 967

Re: ADS-B GND Station

Tha majority of the 360radar group are using this sort of setup.

I have a Pi B 256mb station in Tewkesbury and a Pi Zero in Gloucester. Looking to get a few more setups in the Glos area to aid multilateration.
by morticiaskeeper
Thu Mar 17, 2016 7:30 am
Forum: HATs and other add-ons
Topic: DIY Zero switch & LED hat
Replies: 3
Views: 851

Re: DIY Zero switch & LED hat

That's what I thought, just wanted to be sure that there wasn't some reason not to do it!
by morticiaskeeper
Wed Mar 16, 2016 6:37 pm
Forum: HATs and other add-ons
Topic: DIY Zero switch & LED hat
Replies: 3
Views: 851

DIY Zero switch & LED hat

I'm considering making a switch & LED hat consisting of six tactile buttons and six 3mm LED's, to be used with the Python GPIO ZERO API. A friend has kindly offered to design the PCB and pointed me to a small scale supplier, all I need to do is come up with the component specifications and a circuit...
by morticiaskeeper
Fri Jan 01, 2016 7:08 pm
Forum: General discussion
Topic: Cheap wifi temperature logger
Replies: 5
Views: 2664

Re: Cheap wifi temperature logger

I'm sure that will work on the PiZero, but it doesn't seem to show how to stream it to the web.

The link I gave above logs the temperature to a SQLite database.

at the bottom of the page is another link which shows you how to read the database over the web.
by morticiaskeeper
Thu Dec 31, 2015 9:01 pm
Forum: General discussion
Topic: Help with streaming video from camera
Replies: 3
Views: 631

Re: Help with streaming video from camera

This should do what you want. I use mine with the RPI cam to view the Aquarium!

viewtopic.php?t=63276
by morticiaskeeper
Thu Dec 31, 2015 8:56 pm
Forum: General discussion
Topic: Cheap wifi temperature logger
Replies: 5
Views: 2664

Re: Cheap wifi temperature logger

I use a couple of DS18B20 sensors on a Pi2, recording to a SQLite database. Then a cgi script to present and graph the data over the web. It was all built and tested on a PiZero if you want to go smaller. This is the instruction I followed http://raspberrywebserver.com/cgiscripting/rpi-temperature-l...
by morticiaskeeper
Thu Dec 31, 2015 8:50 pm
Forum: General discussion
Topic: Connecting Pi to 16 solenoids - how?
Replies: 14
Views: 2220

Re: Connecting Pi to 16 solenoids - how?

That relay board looks like a bigger version of the one I'm using. My 2 relay board has NC & NO contact relays. I have it wired to control 12v LED strips for an aquarium. The NC goes to the Blue LED's, with NO to the White. When the White is switched of at night, the Blue moonlight comes on. As an a...
by morticiaskeeper
Sat Dec 19, 2015 6:23 pm
Forum: Automation, sensing and robotics
Topic: Button sensing in the background
Replies: 8
Views: 1233

Re: Button sensing in the background

UPDATE I moved the whole system to the destination Raspi2 today, from the Zero I was developing on. Now the buttons Python script runs from @reboot on crontab. The whole system now monitors and records water & ambient temperatures to a SQL database, as well as switching white LED's at time intervals...
by morticiaskeeper
Thu Dec 17, 2015 7:46 pm
Forum: Automation, sensing and robotics
Topic: Button sensing in the background
Replies: 8
Views: 1233

Re: Button sensing in the background

I did use sudo. I tend to sudo su every session. Then I used crontab -e to put the line in.

According to the log I posted, it did the job, but the button logs are blank and the button isn't being detected.
by morticiaskeeper
Wed Dec 16, 2015 8:57 pm
Forum: General discussion
Topic: Raspberry Pi and Psion
Replies: 21
Views: 6628

Re: Raspberry Pi and Psion

I had the Acorn branded version of the Psion 3a. We had an ignition data logger for a racing car, the Psion plugged into it after a race and we downloaded engine rpm vs time graphs. With the data, we could calculate speeds and even spot wheel spin! I came up with a lap timing system coupled to an ol...
by morticiaskeeper
Wed Dec 16, 2015 7:58 pm
Forum: Automation, sensing and robotics
Topic: Button sensing in the background
Replies: 8
Views: 1233

Re: Button sensing in the background

I tried adding the logging to crontab. the log files are created, but are blank. /var/log/cron.log shows: Dec 16 19:53:39 RaspiZero1 cron[862]: (CRON) INFO (pidfile fd = 3) Dec 16 19:53:39 RaspiZero1 cron[863]: (CRON) STARTUP (fork ok) Dec 16 19:53:39 RaspiZero1 cron[863]: (CRON) INFO (Running @rebo...
by morticiaskeeper
Tue Dec 15, 2015 10:15 pm
Forum: Automation, sensing and robotics
Topic: Button sensing in the background
Replies: 8
Views: 1233

Re: Button sensing in the background

@reboot works, inasmuch as the cron log shows it has run.

The gpioStart bash script works out reboot, resetting the pin modes, so I added the buttons.py & call to the end, after a time delay, but no luck.

I'll try the error logging tomorrow
by morticiaskeeper
Tue Dec 15, 2015 9:56 pm
Forum: Automation, sensing and robotics
Topic: Button sensing in the background
Replies: 8
Views: 1233

Re: Button sensing in the background

I forgot about that - I blame it on old age :-) it now stays detecting in the background, thanks. But... On reboot, i still need to run the buttons.py script from SSH before it will detect. I've tried adding the command to the @reboot section of cron, and I've tried running the script from my gpioSt...
by morticiaskeeper
Tue Dec 15, 2015 9:12 pm
Forum: Automation, sensing and robotics
Topic: Button sensing in the background
Replies: 8
Views: 1233

Button sensing in the background

for my aquarium controller, I have various Python scripts, controlled by cron, to perform various tasks during the day. Every 15 minutes, water and ambient temperatures are recorded to a SQL database. At set times during the day, a lights.py script is run. This reads the current state of the GPIO pi...
by morticiaskeeper
Sat Apr 18, 2015 8:03 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Robert

In the interests of making sure, I've just built a new Raspi 2 on a brand new card and the iOS streaming problem is still the same :-)
by morticiaskeeper
Sat Apr 18, 2015 10:45 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Silvan I like the idea of working without motion. All the motion triggered systems I've used have given a lot of false triggers, or perhaps that is just a problem with this way of sensing. Due to the false triggers, I am thinking of switching to PIR sensing via GPIO. Whichever path you choose, I wou...
by morticiaskeeper
Sat Apr 18, 2015 8:42 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

index.zip [quote="btidey" If you want to keep trying here is a test index.php that logs the streaming mode it is going to ask for Hi Robert I can't see the index file Oops. I keep adding the file but its not getting added for some reason. Now it's gone in[/quote] That works on the default stream. T...
by morticiaskeeper
Fri Apr 17, 2015 6:22 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

[quote="btidey"

If you want to keep trying here is a test index.php that logs the streaming mode it is going to ask for
[/quote]

Hi Robert

I can't see the index file
by morticiaskeeper
Fri Apr 17, 2015 8:53 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Yes, i worked that out.

I've put the old files back in and it works perfectly.
by morticiaskeeper
Fri Apr 17, 2015 6:38 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

So just to be totally clear those two files made the iOS browsers work but the latest released ones don't? Could you try this pair to double check what is going on? These will have the stream select button under system which should by default show the MJPEG stream button indicating Default is being...
by morticiaskeeper
Thu Apr 16, 2015 7:18 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Robert

I've just copied those files back to the Raspi.

Chrome on iOS now works fine.

Safari worked, but was a little slow. never using Safari, that may be normal!
by morticiaskeeper
Thu Apr 16, 2015 5:56 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Confusing indeed! Couple of comments. These changes like others do require the javascript to be updated and some browsers are reluctant to do that preferring to use a cached version. Normally there a forced refresh will do that. Otherwise there is normally a facility to clear out browser caches whi...
by morticiaskeeper
Thu Apr 16, 2015 6:48 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Now this is getting confusing! I've just done a side by side test to show the problem to my wife. We used an iPad and an Android Hudl2. The Android showed live video on both settings, the iPad showed LOADING on mjpeg and a still frame on default. I closed the iPad cover down into standby mode. Opene...
by morticiaskeeper
Thu Apr 16, 2015 6:33 am
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 4956
Views: 1228250

Re: RPi Cam Web Interface

Were you getting a livestream OK before the recent MJPEG stream change? Is the system menu on main page now showing a blue button called MJPEG-Stream. If it is then it should be operating the same way as before. Yes, it was working fine before the change. The blue button works, on iOS it switches f...

Go to advanced search