Measure TR - The Viberry - Page 3 - AVS Forum | Home Theater Discussions And Reviews
Forum Jump: 
 223Likes
Reply
 
Thread Tools
post #61 of 479 Old 09-12-2019, 06:14 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Viberry for Dummies - Second Edition

Since the development of Room EQ Wizard (REW), analysis of a home theater's frequency response (FR) has become routine, and, as a result, great strides have been made in making one's room sound as good as time, effort and finances allow. Though there has always been interest in tactile response (TR), as demonstrated by the abundance of ButtKickers and Crowsons and the like, there has not been a good way to measure it quantitatively. The VibSensor app is a big step in the right direction, but it has its limitations (https://www.avsforum.com/forum/113-s...st-thread.html).
Thanks to the groundbreaking work of our own @3113d00d, such measurements are now available with relative ease and at relatively minor cost. This isn't a "build thread" per se, since the pieces just plug together, and the "programming" is straight-forward, so the process is fairly painless. You do need access to a wireless network.
This write-up is just meant to be a Dummies/Reader's Digest/cookbook version of Matt's excellent work originally for vibe, the predecessor of qvibe:
https://vibe.readthedocs.io/en/latest/
with the added convenience of a "headless" (without a keyboard or monitor) installation:
https://desertbot.io/blog/headless-p...-setup-windows
If you can, copy/paste any programming that needs to be done. Otherwise, be VERY careful about every space and punctuation mark.

Mac users should use the Terminal app in the Utilities folder everywhere the PC folks will use PuTTY. Only the prompt is different.
Apologies to Matt for the American English spelling of "Analyzer."

Start with a Raspberry Pi Zero WH for $14.00
https://www.adafruit.com/product/3708
If you have a cell phone or tablet, you may already have a 5V microUSB power supply of at least 1A. If not:
https://www.adafruit.com/product/1995
A power bank will also work, if you want to be completely portable
https://www.adafruit.com/product/1959
Sign up for the newsletter and use code "Welcome" to save 10%.

The motion sensor is an MPU-6050. If you don't mind soldering a header to the board, you can find it elsewhere and save some money. If, however, a soldering iron is a lethal weapon in your hands, as it is in mine, get one of these:
https://www.amazon.com/KEYESTUDIO-MP...ateway&sr=8-16
As you might expect, it is probably available for less elsewhere, such as:
https://www.ebay.com/itm/Keyestudio-...-/132763231596

This is the female to female i2c cable that connects the Pi to the 6050. You need four of them (four cables, not four sets of 40, but they're usually sold in bulk packs. If you can find fewer for less, go for it):
https://www.ebay.com/itm/40pcs-30cm-...960f5e240fee24
https://www.amazon.com/EDGELEC-Bread...cs&sr=1-3&th=1
[Caution: link to Amazon doesn't always take you to female to female cable]
Tested working with up to 40cm cable (longer also likely to work - not sure what max length is).


You need a microSD card of between 8GB and 32GB.
Don't bother with a case.


The first step is to format the microSD card. The proper way to do that is with a free utility from the SD Association:
https://www.sdcard.org/downloads/formatter/
If the formatter ejects your drive (it's called "BOOT"), just unplug the card and plug it back in.

Rather than install NOOBS and use NOOBS to install Raspbian, just download the Raspbian Lite (currently Buster) zip archive.
https://www.raspberrypi.org/downloads/raspbian/
but don't unzip it; use this program to "flash" Raspbian to your microSD card:
https://www.balena.io/etcher/
Again, if it's ejected, just plug it back in and ignore all the dire warnings that it needs to be formatted (unless you want to do everything all over again).

Windows:
  1. Run Notepad
  2. In a new file put in one space and nothing more
  3. Click File / Save As ...
  4. Navigate to the card drive "boot"
  5. Be sure to set Save as type to All Files (so the file is NOT saved with a .txt extension)
  6. Call the file ssh and save it
  7. Close the file
  1. Run Notepad
  2. Find the contents below in this thread: https://desertbot.io/blog/headless-p...-setup-windows and copy/paste into Notepad (adjusting for the name of your country code [https://www.worldatlas.com/aatlas/ctycodes.htm], network name and network password) since the editor on this board totally screws up the formatting. You can ignore everything else there.
  3. Click File / Save As ...
  4. Be sure to set Save as type to All Files (so the file is NOT saved with a .txt extension)
  5. Call the file wpa_supplicant.conf and save it
  6. Close the file
Mac:

Terminal:
$ touch /Volumes/boot/ssh
$ touch /Volumes/boot/wpa_supplicant.conf

Open "boot" in Finder; open "wpa_supplicant.conf" with TextEdit.
Find the contents below in this thread: https://desertbot.io/blog/setup-pi-zero-w-headless-wifi, and copy/paste into TextEdit (adjusting for the name of your country code [https://www.worldatlas.com/aatlas/ctycodes.htm], network name and network password) since the editor on this board totally screws up the formatting. You can ignore everything else there.

Save (make sure the extension is still .conf).

Everybody: eject the card, insert it into the pi, boot (plug it in). Give it a minute to boot up.

Get the IP address of your Pi.

Mac:
Terminal:
$ ping raspberrypi.local
Control-C to stop scrolling.

Windows:
Access your router (typically 192.168.1.1)



Access the DHCP Client Table



Note the address for "raspberrypi." You will need it. A lot.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2019-09-11 at 8.47.50 PM.png
Views:	129
Size:	21.9 KB
ID:	2614316  

Last edited by LastButNotLeast; 12-10-2019 at 10:13 AM. Reason: info for sd card somehow got lost
LastButNotLeast is offline  
Sponsored Links
Advertisement
 
post #62 of 479 Old 09-12-2019, 06:15 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Windows:
Install PuTTY
https://www.chiark.greenend.org.uk/~...ty/latest.html
On first login, "yes" to update the key.
In the Category menu on the left, select "Selection." This allows you to set the behavior of the mouse button (right click can paste or bring up a menu).
Enter the IP address of the pi.
login as: pi
password: raspberry

Mac (Terminal):
$ ssh-keygen -R raspberrypi.local
$ ssh [email protected]
Default password is "raspberry." You will be asked to change it when you log in.

PuTTY/Terminal (P/T):
$ sudo raspi-config
Option 1: change password
Option 4: locales (if you wish a different language - arrows to move up/down, space bar to select, tab to <OK>. Time-consuming.
Option 5: enable both SSH (P2) and I2C (P5)
Option 7: advanced options: expand card (A1)
<finish> to exit config and reboot.

Now login (PuTTY with IP address, Terminal with $ ssh [email protected]) and update everything:
$ sudo apt-get update
$ sudo apt-get dist-upgrade
[only if you installed the Lite version, do this also: $ sudo apt-get install i2c-tools]
$ sudo apt autoremove
$ exit

This will take some time, but you should see progress. The screen may go blank. You may decide after several hours that nothing is happening. Just reboot (unplug, plug back in) and start over.

Disconnect power to the Pi.
Install the MPU.
Holding the Pi with the header on the right, the top left pin is pin1, the top right pin is pin2. Ignore both those pins completely.



Pins 3 and 5 are immediately below pin1; pins 4 and 6 are immediately below pin2. The header on the MPU-6050 is clearly marked.



pin3 -> SDA
pin4 -> VCC
pin5 -> SCL
pin6 -> GND

Reboot pi (plug it in), login and test the MPU:

$ i2cdetect -y 1

result should look like this:

[email protected]:~/$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Install the recorder:
Enter these one line at a time and wait for the prompt before entering the next line.

$ sudo apt install python3 python3-venv python3-pip libyaml-dev git
$ mkdir python
$ cd python
$ python3 -m venv qvibe
$ cd qvibe
$ . bin/activate
$ pip install qvibe-recorder
$ pip install --upgrade qvibe-recorder

Run the recorder:
$ ./bin/qvibe-recorder

You will get a screen of "Warnings." That's good.
Eventually, you will start to get "FIFO Count." That's great!
Stop the recorder (P/T: control-C, perhaps several times).

You now have a Viberry!

Place the sensor at the site to be measured. Affix it to the chair or platform or to a solid member on top of the platform for accurate and repeatable measurements and make sure you're sitting in your favorite chair when measuring. It has been suggested to use beeswax to (temporarily) affix the sensor to parts of the chair (and its surroundings).
https://www.amazon.com/Beesworks-1oz...gateway&sr=8-2

Download and run the analyzer:
https://github.com/3ll3d00d/qvibe-analyser/releases
Click blue "Releases" tab to get to the newest release. Click on the blue release number to get the files.
Windows: qvibe-analyserSetup.exe
Mac version is qvibe-analyser.app.zip.

It will ask you to add a recorder from the preferences screen (so make sure your recorder is running):



Provide the ip address and port 10002.
Click on "+"
It will then show up on the analyzer page under "Recorders."
Before you connect to the recorder, click on "Sensor Config" and change "Batch Size" to 25 (20 might also work).
Click on the green check box to save the change as the default.
Click on the icon on the right to start recording and on the one below it to stop.
Click on "Show Data."

The standardized test tone is produced by the generator function of REW:



CAUTION -- NOTA BENE -- WARNING

Extended use of this file or use at high volumes WILL DESTROY YOUR EQUIPMENT. Be conservative.
For the one poor soul who doesn't yet have Room EQ Wizard (shame on you), use this:
https://www.dropbox.com/s/tga7ayyvbe...0tone.wav?dl=1

For movie content I think peak is probably the one to use as well as the spectrogram, but peak and average should have the same shape (i think) so either way should work fine. Keep the average visible in order to verify, as a discrepancy between avg and peak implies something might be wrong.
A slow moving (2-5s?) average is possibly more correct for noise.

The software allows the use of several Viberries concurrently. The results of such experiments will certainly be enlightening.

The next time you start your Viberry, log in and start the recorder:

$ cd python/qvibe
$ ./bin/qvibe-recorder


HINT: Get the sensor in place BEFORE you boot the pi; large movements once it's running (sitting on it, for example) will cause overload errors.


Once you're sure everything is working, you can set up your Viberry to autologin and autorun:

$ sudo mkdir -pv /etc/systemd/system/[email protected]
$ sudo nano /etc/systemd/system/[email protected]/autologin.conf

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin pi --noclear %I 38400 linux

exit (ctr-x) save (y) enter (keep name)

sudo nano /etc/systemd/system/qvibe.service

[Unit]
Description=qvibe
After=network-online.target

[Service]
Type=simple
User=pi
WorkingDirectory=/home/pi
ExecStart=/home/pi/python/qvibe/bin/qvibe-recorder
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target

exit (ctr-x) save (y) enter (keep name)

$ sudo reboot


"If you can't measure it, you can't improve it." - Peter Drucker
Now we have a way of measuring it. Let's see what we can do to improve it.

Michael
Attached Thumbnails
Click image for larger version

Name:	QsD9CCv - Imgur.jpg
Views:	120
Size:	85.8 KB
ID:	2614326   Click image for larger version

Name:	wXy4LaZ - Imgur.jpg
Views:	113
Size:	83.8 KB
ID:	2614328  

Last edited by LastButNotLeast; 12-07-2019 at 12:00 PM.
LastButNotLeast is offline  
post #63 of 479 Old 09-12-2019, 10:02 AM
AVS Forum Special Member
 
Nalleh's Avatar
 
Join Date: Aug 2014
Location: Norway
Posts: 3,962
Mentioned: 349 Post(s)
Tagged: 0 Thread(s)
Quoted: 2721 Post(s)
Liked: 3718
^^^ Awsome guide update LBNL

I am up to the "install the MPU" step, and i followed the guide as is.

Only thing is on the flash the image step(balena ethcer), it couldn’t open the zipped image, i had to unzip it, then it flashed the image ok

Dual Atmos Receivers - Atmos 13.1.8/DTS X 9.1.8/Auro 3D 13.1 - Denon AVCX8500H+AVRX7200WA - Klipsch+KEF - 6xSI18" - 12xJBL 12" w/6xSLAPS M12 downfiring VNF - 3x2 stacked Crowson MA - 4xBK-LFE - 6xNU6K(fan&trig mod) - Minidsp 10x10HD - Oppo UDP203 - XBox OneX - Apple TV4K - JVC RS600 Dreamscreen V2 120"- Philips 65OLED873.
Nalleh’s HT

Last edited by Nalleh; 09-12-2019 at 10:15 AM.
Nalleh is online now  
Sponsored Links
Advertisement
 
post #64 of 479 Old 09-12-2019, 10:29 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Thank you. I did it mostly based on your experience, so I hope others can benefit.
The flashing problem is odd, but I'm glad it worked. I did it again today with a zipped image.
Let me know if anything else weird happens.
I'm eager to see some of your graphs.
Michael
Nalleh likes this.
LastButNotLeast is offline  
post #65 of 479 Old 09-14-2019, 01:35 AM
AVS Forum Special Member
 
Nalleh's Avatar
 
Join Date: Aug 2014
Location: Norway
Posts: 3,962
Mentioned: 349 Post(s)
Tagged: 0 Thread(s)
Quoted: 2721 Post(s)
Liked: 3718
I somehow missed this:


Option 5: enable both SSH (P2) and I2C (P5)
Option 7: advanced options: expand card (A1)
<finish> to exit config and reboot.


And i still haven’t solidered the header or mounted the MPU, but i did this:

Install the recorder:
Enter these one line at a time and wait for the prompt before entering the next line.

$ sudo apt install python3 python3-venv python3-pip libyaml-dev git
$ mkdir python
$ cd python
$ python3 -m venv qvibe
$ cd qvibe
$ . bin/activate
$ pip install qvibe-recorder

Run the recorder:
$ ./bin/qvibe-recorder

You will get a screen of "Warnings." That's good.

Open your browser and enter the IP of your Pi and port 10002, (http://the IP address of your Pi:10002/api/1/devices).


But i can’t connet when to the PI when entering it’s IP adress?


I may need to start over, now that i know more the correct sequence, LOL.

Dual Atmos Receivers - Atmos 13.1.8/DTS X 9.1.8/Auro 3D 13.1 - Denon AVCX8500H+AVRX7200WA - Klipsch+KEF - 6xSI18" - 12xJBL 12" w/6xSLAPS M12 downfiring VNF - 3x2 stacked Crowson MA - 4xBK-LFE - 6xNU6K(fan&trig mod) - Minidsp 10x10HD - Oppo UDP203 - XBox OneX - Apple TV4K - JVC RS600 Dreamscreen V2 120"- Philips 65OLED873.
Nalleh’s HT
Nalleh is online now  
post #66 of 479 Old 09-14-2019, 02:14 AM
Senior Member
 
Foundation42's Avatar
 
Join Date: Feb 2006
Location: Seattle area
Posts: 204
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 89 Post(s)
Liked: 103
Thanks for posting the updated instructions. I got my parts in and I'm working on putting it all together. I didn't have a problem with the .zip file, but as I near the end of post 61 I am running into a different issue. I am able to create the ssh and wpa_supplicant.conf files, but when I boot everything up it doesn't connect to the network. When I pull the memory card out to take a look, the two files are gone. Watching it boot, I didn't see any errors and it looks like its booting all the way up. Am I missing something obvious?
Foundation42 is offline  
post #67 of 479 Old 09-14-2019, 03:04 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
Quote:
Originally Posted by Nalleh View Post


Option 5: enable both SSH (P2) .
This option is replaced by the ssh file in /boot



Quote:
Originally Posted by Nalleh View Post

Open your browser and enter the IP of your Pi and port 10002, (http://the IP address of your Pi:10002/api/1/devices).





But i can’t connet when to the PI when entering it’s IP adress?


This verification step is for the old vibe

For qvibe, you can do (in a command prompt or shell)

Code:
telnet ipaddress port
Press ctrl+] to quit

A functioning recorder will start blasting data at you at this point

If you have no configured sensor then I would not expect it to work. If it started ok though then probably no point doing this step, just connect with the analyser instead
Nalleh likes this.
3ll3d00d is online now  
post #68 of 479 Old 09-14-2019, 03:18 AM
AVS Forum Special Member
 
Nalleh's Avatar
 
Join Date: Aug 2014
Location: Norway
Posts: 3,962
Mentioned: 349 Post(s)
Tagged: 0 Thread(s)
Quoted: 2721 Post(s)
Liked: 3718
^^ Thanks, then maybe all is well then....so far... just need to get the MPU connected then

Dual Atmos Receivers - Atmos 13.1.8/DTS X 9.1.8/Auro 3D 13.1 - Denon AVCX8500H+AVRX7200WA - Klipsch+KEF - 6xSI18" - 12xJBL 12" w/6xSLAPS M12 downfiring VNF - 3x2 stacked Crowson MA - 4xBK-LFE - 6xNU6K(fan&trig mod) - Minidsp 10x10HD - Oppo UDP203 - XBox OneX - Apple TV4K - JVC RS600 Dreamscreen V2 120"- Philips 65OLED873.
Nalleh’s HT
Nalleh is online now  
post #69 of 479 Old 09-14-2019, 05:16 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Quote:
Originally Posted by 3ll3d00d View Post
This verification step is for the old vibe
But it still works for qvibe, for me, anyway.


Michael
LastButNotLeast is offline  
post #70 of 479 Old 09-14-2019, 05:19 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Quote:
Originally Posted by Nalleh View Post
I somehow missed this:

Option 5: enable both SSH (P2) and I2C (P5)
Option 7: advanced options: expand card (A1)
<finish> to exit config and reboot.
Just run sudo raspi-config again.
Michael
LastButNotLeast is offline  
post #71 of 479 Old 09-14-2019, 05:28 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Quote:
Originally Posted by Foundation42 View Post
I am able to create the ssh and wpa_supplicant.conf files, but when I boot everything up it doesn't connect to the network. When I pull the memory card out to take a look, the two files are gone. Watching it boot, I didn't see any errors and it looks like its booting all the way up. Am I missing something obvious?
Both files are moved on first start-up.
Don't ask me to where.
So you don't see it on your router?
Make sure you enabled ssh in raspi-config.
Other suggestions I leave to Matt.

Michael
Alaric likes this.
LastButNotLeast is offline  
post #72 of 479 Old 09-14-2019, 05:30 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
Quote:
Originally Posted by LastButNotLeast View Post
But it still works for qvibe, for me, anyway.


Michael
Implies that vibe is running also
3ll3d00d is online now  
post #73 of 479 Old 09-14-2019, 06:37 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Quote:
Originally Posted by Foundation42 View Post
when I boot everything up it doesn't connect to the network.
Be patient. It can take a minute or more.
Michael
LastButNotLeast is offline  
post #74 of 479 Old 09-14-2019, 06:43 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
Quote:
Originally Posted by LastButNotLeast View Post
Both files are moved on first start-up.
wpa_supplicant.conf will be found in /etc/wpa_supplicant

It will be v hard to debug this without logging in so I recommend you plug a keyboard and monitor in then you can dig around.
3ll3d00d is online now  
post #75 of 479 Old 09-14-2019, 07:17 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Quote:
Originally Posted by 3ll3d00d View Post
Implies that vibe is running also
Can't be. Not even installed.
BTW, came up with a great way to autostart recorder, but can't autologin with Buster; have tried everything I can find (generating keys is way too much trouble), so will settle for having to log in.

sudo nano /home/pi/.bashrc
Scroll down past the last line of the file:
echo Starting recorder
sudo sh -c "python/qvibe/./bin/qvibe-recorder"
exit (ctr-x) save (y) enter (keep name)
Reboot.

Michael

Last edited by LastButNotLeast; 09-14-2019 at 07:52 AM.
LastButNotLeast is offline  
post #76 of 479 Old 09-14-2019, 08:00 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
Did you try systemd? And what do you mean by generating a key is too much trouble?
3ll3d00d is online now  
post #77 of 479 Old 09-14-2019, 08:18 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
Quote:
Originally Posted by LastButNotLeast View Post
Can't be. Not even installed.
qvibe-recorder simply does not have code to produce that response nor provide an http interface
3ll3d00d is online now  
post #78 of 479 Old 09-14-2019, 08:50 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Alright, I'll format and start over again.
Generating a key and installing it for any computer I might want to use with the recorder is a PITA compared to just logging in with the simple user and pw I have.

IIRC, the systemd procedure worked for Jessie but doesn't work for Buster.
What I have is simple and works (at least for me - we'll see what happens when Nalleh tries it ).
Michael
Nalleh likes this.
LastButNotLeast is offline  
post #79 of 479 Old 09-14-2019, 08:59 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
There are just 2 things to do (run ssh-keygen on your machine, add the public key to .ssh/authorized_keys on the pi) and that's it. Same thing on windows if you use cygwin or WSL.

Systemd works the same way on buster.
3ll3d00d is online now  
post #80 of 479 Old 09-14-2019, 09:17 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
I'll look into it and write it up.
Still in the middle of starting over. Again.

And running out of time and patience for today.
Michael
Nalleh likes this.
LastButNotLeast is offline  
post #81 of 479 Old 09-14-2019, 09:46 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Quote:
Originally Posted by LastButNotLeast View Post
Open your browser and enter the IP of your Pi and port 10002, (http://the IP address of your Pi:10002/api/1/devices).
You should see at the top:
DST|[{"name": "mpu6050", "fs": 500.0, "sPB": 125.0, "aOn": true, "aSens": 2.0, "gOn": false, "gSens": 500.0, "tOn": false, "sT": true}]
followed by a bunch of other stuff.
Sure enough, this still works.
Michael
Attached Thumbnails
Click image for larger version

Name:	Capture.2.JPG
Views:	8
Size:	101.5 KB
ID:	2615016  
LastButNotLeast is offline  
post #82 of 479 Old 09-14-2019, 10:00 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
And now, after adding the autostart, I'm getting "batch overdue" errors, so I've removed that from the guide.
And starting over once again.

Michael
Nalleh likes this.
LastButNotLeast is offline  
post #83 of 479 Old 09-14-2019, 10:25 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,256
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2558 Post(s)
Liked: 2855
Quote:
Originally Posted by LastButNotLeast View Post
Sure enough, this still works.
Michael
the behaviour above is browser specific; e.g. chrome will produce an ERR_INVALID_HTTP_RESPONSE error, firefox will show the above data as it streams that data in, konqueror just sits there spinning because the "document" will never complete loading

the app is not producing a valid http response so this is not the correct way to verify it is working
3ll3d00d is online now  
post #84 of 479 Old 09-14-2019, 12:22 PM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
Okay, deleted.
I'm not doing anything else until I get the new mpu, just in case some of my problems aren't self-inflicted.
I think it shipped, at least as far as Dongguan City, Guangdong Province.
Michael
LastButNotLeast is offline  
post #85 of 479 Old 09-15-2019, 01:51 AM
Senior Member
 
Foundation42's Avatar
 
Join Date: Feb 2006
Location: Seattle area
Posts: 204
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 89 Post(s)
Liked: 103
Quote:
Originally Posted by LastButNotLeast View Post
Both files are moved on first start-up.
Don't ask me to where.
So you don't see it on your router?
Make sure you enabled ssh in raspi-config.
Other suggestions I leave to Matt.

Michael

Thanks, I got passed the problem of not finding it on the network. SSID is case sensitive. Once I got that corrected, it popped right up.
Alaric likes this.
Foundation42 is offline  
post #86 of 479 Old 09-15-2019, 04:43 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
LastButNotLeast is offline  
post #87 of 479 Old 09-15-2019, 07:40 AM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
It is a good idea to make a backup image of your Viberry.
(Why didn't I think of this a dozen reformats and reinstalls ago? ):
https://thepihut.com/blogs/raspberry...ry-pis-sd-card
Michael
Nalleh likes this.
LastButNotLeast is offline  
post #88 of 479 Old 09-15-2019, 01:11 PM
Senior Member
 
Foundation42's Avatar
 
Join Date: Feb 2006
Location: Seattle area
Posts: 204
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 89 Post(s)
Liked: 103
I made it through getting the MPU installed and then ran into an issue when I tried to test it. I got a message 'Command not found' error when I tried to run i2cdetect.


As soon as I installed the i2C-tools by executing sudo apt-get install i2c-tools , the test worked and reported the results you have listed. We may want to add that to the list of things to install.


Getting ready to install the recorder next...
Foundation42 is offline  
post #89 of 479 Old 09-15-2019, 03:12 PM
Senior Member
 
Foundation42's Avatar
 
Join Date: Feb 2006
Location: Seattle area
Posts: 204
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 89 Post(s)
Liked: 103
I'm getting close! I have the recorder installed and added to the analyzer, but when I connect to the recorder, I'm getting errors. Any idea what I'm missing?





Attached Thumbnails
Click image for larger version

Name:	QVibe Analyser Error Screenshot 1.png
Views:	104
Size:	44.5 KB
ID:	2615778   Click image for larger version

Name:	QVibe Analyser Error Screenshot 2.png
Views:	102
Size:	35.3 KB
ID:	2615780  
Foundation42 is offline  
post #90 of 479 Old 09-15-2019, 03:44 PM - Thread Starter
AVS Forum Addicted Member
 
LastButNotLeast's Avatar
 
Join Date: Feb 2007
Location: 08077
Posts: 10,312
Mentioned: 80 Post(s)
Tagged: 1 Thread(s)
Quoted: 2657 Post(s)
Liked: 2323
That is EXACTLY how mine looks. We're blaming the MPU, which is why I have another one (pre-soldered) coming from China.
Let's see if Matt needs any more info to help diagnose.

BTW, I think I had the same problem with i2cdetect when I d/l the Lite version; I have not had the problem with the others.
I'll try installing the Lite version again some day and see what happens.
Thanks for the head's up.
I'm hoping others chime in soon.
Michael
LastButNotLeast is offline  
Sponsored Links
Advertisement
 
Reply Subwoofers, Bass, and Transducers

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off