Go to advanced search

by av4625
Wed May 09, 2018 8:59 pm
Forum: Other projects
Topic: Raspberry Pi Wireless Time Machine Backup
Replies: 2
Views: 1327

Re: Raspberry Pi Wireless Time Machine Backup

Sounds like its more hassle than its worth, thanks, I didn't want to waste time on it unless it was good!
by av4625
Wed May 09, 2018 5:44 pm
Forum: Other projects
Topic: Raspberry Pi Wireless Time Machine Backup
Replies: 2
Views: 1327

Raspberry Pi Wireless Time Machine Backup

I was thinking of following this guide: https://www.howtogeek.com/276468/how-to-use-a-raspberry-pi-as-a-networked-time-machine-drive-for-your-mac/ Has anyone done this? Does it work well/reliably? I have a hard drive with 2 partitions, one for time machine and one for random stuff. The time machine ...
by av4625
Thu Apr 19, 2018 8:54 pm
Forum: Networking and servers
Topic: Trying to install httpie
Replies: 4
Views: 949

Re: Trying to install httpie

I am trying to install httpie. I tried sudo apt-get install httpie It couldn't find the package. After the last upgrade you must do sudo apt update again. If you don't then NOTHING will be found. It is a good idea to sudo apt update before attempting to do any installation or upgrade. Thanks guys, ...
by av4625
Wed Apr 18, 2018 6:18 pm
Forum: Networking and servers
Topic: Trying to install httpie
Replies: 4
Views: 949

Trying to install httpie

I am trying to install httpie. I tried sudo apt-get install httpie It couldn't find the package. I then tried pip install httpie and pip3 install httpie as the httpie website says you can install it using pip. It installs but I can't use it from the command line. I get this error -bash: http: comman...
by av4625
Wed Mar 28, 2018 9:06 pm
Forum: General discussion
Topic: Wont autologin in first headless boot
Replies: 4
Views: 536

Re: Wont autologin in first headless boot

Its the standard notes app, I have disabled the feature now :)
by av4625
Wed Mar 28, 2018 7:14 pm
Forum: General discussion
Topic: Wont autologin in first headless boot
Replies: 4
Views: 536

Re: Wont autologin in first headless boot

OMG you are a beast

It was the dodgy double quotes
I saved my wpa_supplicant in notes on mac and it has weird quotes

The single quotes have burnt me before.

I would have been a long time fixing that! #eagleEyes
by av4625
Wed Mar 28, 2018 6:04 pm
Forum: General discussion
Topic: Wont autologin in first headless boot
Replies: 4
Views: 536

Wont autologin in first headless boot

I am flashing my pi zero w's SD card with 2018-03-13 raspbian stretch lite using etcher. I then do this from my Macs terminal: cd /Volumes/boot touch ssh touch wpa_supplicant.conf vim wpa_supplicant.conf I add the following to the wpa_supplicant.conf: country=GB ctrl_interface=DIR=/var/run/wpa_suppl...
by av4625
Mon Mar 26, 2018 7:33 pm
Forum: General discussion
Topic: Pi zero w speed
Replies: 7
Views: 1449

Re: Pi zero w speed

What is an acceptable figure for this? I have another card that is wa = 6
Is that bad?
by av4625
Mon Mar 19, 2018 7:55 pm
Forum: AIY Projects
Topic: Microphone stopped working after update
Replies: 13
Views: 1651

Re: Microphone stopped working after update

I also have this issue. I upgraded to the new image, made my 'my_assistant.py', and made the service. All was good! Did the apt-get update and upgrade. The 'my_assistant.py' file got deleted. (An option came up during the upgrade say a file had been modified by me and the system and I thought I choo...
by av4625
Mon Mar 19, 2018 7:32 pm
Forum: General discussion
Topic: Pi zero w speed
Replies: 7
Views: 1449

Re: Pi zero w speed

Result of vmstat -w on slow pi procs -----------------------memory---------------------- ---swap-- -----io---- -system-- --------cpu-------- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 2 0 78608 49032 214924 0 0 1 50 71 1 7 1 52 41 0 Result of vmstat -w on pi 3 procs ----------------...
by av4625
Thu Mar 15, 2018 7:26 pm
Forum: General discussion
Topic: Pi zero w speed
Replies: 7
Views: 1449

Pi zero w speed

I have a RPi 3 and a Pi Zero W. I just downloaded and installed the newest version of raspbian (stretch) lite from my zero. I thought it used to be faster. When I run the command sudo du -xh / | grep -P "G\t" to see how much space is being used it takes about a minute. 1.8Gb from a 16Gb car is being...
by av4625
Tue Mar 06, 2018 7:40 pm
Forum: AIY Projects
Topic: Updating to aiyprojects branch
Replies: 0
Views: 432

Updating to aiyprojects branch

I have had the aiy for a while and have been on the `voicekit` branch. I checked out the `aiyprojects` branch. I tried running ./scripts/install-deps.sh bit get permission issues, when running it as sudo it says you must run it as `pi` PermissionError: [Errno 13] Permission denied: '/usr/lib/python3...
by av4625
Mon Mar 05, 2018 3:17 pm
Forum: AIY Projects
Topic: Open Web Browser with Cloud Speech Demo Issue
Replies: 5
Views: 467

Re: Open Web Browser with Cloud Speech Demo Issue

Sounds like it is waiting for a return code, theres a command that waits and one that doesn't. Can't remember what exactly its called and not home atm.
by av4625
Thu Mar 01, 2018 9:53 am
Forum: AIY Projects
Topic: Missing env/bin/activate for Google Assistant
Replies: 5
Views: 1942

Re: Missing env/bin/activate for Google Assistant

Is there a way to update to this version without having to do a fresh install?
by av4625
Wed Feb 21, 2018 10:41 am
Forum: AIY Projects
Topic: Setting location on AIY project
Replies: 1
Views: 272

Re: Setting location on AIY project

I think but dont quote me, that it gets location from the IP.
My AIY originally thought I was in the main city of Northern Ireland which is ~70 miles away from me.
Im not sure if that has changed as I have moved to the city and the location is correct lol
by av4625
Thu Feb 01, 2018 2:51 pm
Forum: AIY Projects
Topic: Error after installing the 2018-01 version of AIY img
Replies: 11
Views: 1449

Re: Error after installing the 2018-01 version of AIY img

I havent run it for a long period using virtual env as i just use it for debugging then run the service.

Is there and error message? Is the LED constantly blinking when it doesnt work?
by av4625
Wed Jan 31, 2018 3:06 pm
Forum: AIY Projects
Topic: Error after installing the 2018-01 version of AIY img
Replies: 11
Views: 1449

Re: Error after installing the 2018-01 version of AIY img

Ahh didnt realise you werent in the virtual env, to get there do:

Code: Select all

cd ~/AIY-directory (sorry cant remember the name)
source env/bin/activate
/* Now we can run src/{demos}.py */
To get out of the virtual env do:

Code: Select all

deactivate
by av4625
Mon Jan 29, 2018 10:59 pm
Forum: AIY Projects
Topic: Volume low after google assistant installation
Replies: 9
Views: 5703

Re: Volume low after google assistant installation

I have also noticed the volume is load for local command and quiet for non local commands. When I ask what the volume is she says 70%. When I ask her to set it to maximum the light just continually blinks and its froze. There is no error when running as a virtual env either edit: Itx not froze silly...
by av4625
Mon Jan 29, 2018 9:51 am
Forum: AIY Projects
Topic: Error after installing the 2018-01 version of AIY img
Replies: 11
Views: 1449

Re: Error after installing the 2018-01 version of AIY img

I had that issue after doing a pull on both the assistant and AIY repos. To fix it I did: cd ~/AIY-directory (sorry cant remember the name) rm -rf env/ scripts/install-deps.sh When doing the install, one of the steps takes a while so be patient. After this the assistant demo with local commands stil...
by av4625
Sun Jan 28, 2018 11:03 pm
Forum: AIY Projects
Topic: Volume is very low on new version
Replies: 1
Views: 480

Volume is very low on new version

Hi, I am using the new version on the `voicekit` branch Everything was fine, i did a git pull in the assistant and AIY directories and run the `install-deps.sh` script. Everything is working but it is very quiet now. When I run the command `amixer get Master | grep "Front Left:" | sed "s/.*\[\([0-9]...
by av4625
Tue Dec 12, 2017 9:23 pm
Forum: AIY Projects
Topic: Make pi xmas tree work with aiy
Replies: 1
Views: 499

Make pi xmas tree work with aiy

Hi I want to be able to say Christmas tree on and Christmas tree off to control the pi Christmas tree. The Christmas tree is on another pi zero not the google aiy pi. code: https://thepihut.com/products/3d-xmas-tree-for-raspberry-pi I tried using code similar to above. I tried using gpiozero remote ...
by av4625
Sun Dec 10, 2017 9:11 pm
Forum: General discussion
Topic: Stopping script gracefully and turning off led's
Replies: 4
Views: 991

Re: Stopping script gracefully and turning off led's

Thanks for the ideas. Ill give them ago!
by av4625
Thu Dec 07, 2017 6:33 pm
Forum: General discussion
Topic: Stopping script gracefully and turning off led's
Replies: 4
Views: 991

Stopping script gracefully and turning off led's

Hi, I have code very similar to the code for the pi xmas tree. https://thepihut.com/products/3d-xmas-tree-for-raspberry-pi I want to start the script remotely from python doing `python3 script.py &` in subprocess Then I want to somehow stop the script. What is the best way to either get the pid of t...
by av4625
Thu Dec 07, 2017 2:20 pm
Forum: AIY Projects
Topic: Start Dev Terminal and starting my own terminal question.
Replies: 6
Views: 1603

Re: Start Dev Terminal and starting my own terminal question.

Also if you are wondering, to get to the virtual env from a normal terminal or ssh:
from the AIY voicekit directory
source env/bin/activate
`Start script here'
deactivate // To get back to a normal terminal
by av4625
Wed Dec 06, 2017 8:45 am
Forum: AIY Projects
Topic: New Google assistant SDK for python. With hotword support
Replies: 90
Views: 46138

Re: New Google assistant SDK for python. With hotword support

No it doesnt, There are different demos in src/ now, one for gpio, one for pk-google etc

Go to advanced search