Raspberry Shake won't record data

470 views
Skip to first unread message

Brian Shiro

unread,
Feb 2, 2017, 1:25:04 PM2/2/17
to RaspberryShake
After working great for about a day (before and after the ver.0 to ver.1 update), my Raspberry Shake will no longer record data.  The unit powers on just fine.  I can ssh into it and access its file system.  However, no new data is being written to the /opt/data/archive directory.  Likewise, the raspberryshake.local:5000 web front end also stopped working.  I discovered these problems the hard way when trying to deploy the instrument in the field yesterday (after successful tests in the office first).  Today back in the office, it still will not start data acquisition.  Multiple reboots of the RPi have not helped.  Do you have any tips?  Is there a way to manually force it to start data acquisition?  Thanks.

Branden Christensen

unread,
Feb 2, 2017, 1:39:35 PM2/2/17
to RaspberryShake
Hi Brian:


Buenos días. 

Please send the logs from /opt/log/*

Also, please send output of:

$ ls /opt/settings/sys/ver*

In your office you are running a direct connection from your computer to the Shake and sometimes through a router. 

Also, please send the output of:

$ slinktool -Q :18000

All the commands should be executed from the Shake. 

Does it still work back home where it is connected to your router?

Please note that Shake was not designed to be used in non-networked conditions (like out in the field without a radio and Ethernet connection). But we will see what we can manage to make this option available to you. Please tell us more about your objectives with using the unit in the field where there is no network/ NTP. We really need to understand what you expect the functionality to be. 


Yours, 


Branden Christensen
Director, OSOP


Get yours now! Visit shop.raspberryshake.org


On Thu, Feb 2, 2017 at 1:25 PM, Brian Shiro <brian...@gmail.com> wrote:
After working great for about a day (before and after the ver.0 to ver.1 update), my Raspberry Shake will no longer record data.  The unit powers on just fine.  I can ssh into it and access its file system.  However, no new data is being written to the /opt/data/archive directory.  Likewise, the raspberryshake.local:5000 web front end also stopped working.  I discovered these problems the hard way when trying to deploy the instrument in the field yesterday (after successful tests in the office first).  Today back in the office, it still will not start data acquisition.  Multiple reboots of the RPi have not helped.  Do you have any tips?  Is there a way to manually force it to start data acquisition?  Thanks.

--
Some useful links:
 
Manual: http://manual.raspberryshake.org/
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.
To post to this group, send email to raspber...@googlegroups.com.
Visit this group at https://groups.google.com/group/raspberryshake.
To view this discussion on the web visit https://groups.google.com/d/msgid/raspberryshake/d72d329c-bc25-415e-aadd-3f833ab25f88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brian Shiro

unread,
Feb 2, 2017, 2:26:29 PM2/2/17
to RaspberryShake, branden.c...@osop.com.pa
Hi Brandon:

Buenos dias.  Thanks again for your help.

Right now, I want to use the Raspberry Shake as a lightweight, low power, easy to deploy seismometer that I can use to collect data from temporary field sites (few days at a time).  Since it's so inexpensive, if it gets stolen or damaged, it won't be as much of a problem compared with more conventional/expensive seismic equipment.  The intent right now this week is to capture the seismic signal from the collapse of a section of the sea cliff near Kilauea's east rift eruption ocean entry.  We expect it to fall in any day now.  If I can get this working for non-networked field use like this, I may buy one or two more units to have on hand for such temporary deployments.

Longer term, I'll probably set up the Raspberry Shake in our seismic vault near HVO next to a STS-2 and Episensor, offering the opportunity for high quality comparisons of earthquake and volcanic activity recordings across a range of instrument types.  If I can overcome the networking hurdles here, it will be on the network contributing data to the Raspberry Shake community at that point.

In answer to your questions, my /opt/log directory content is attached.  I am running ver.1.  The slinktool command returns nothing (I have to CTL-C to get out of it.).  I haven't been able to try it back at home on the internet yet.  I'm wondering if it's trying to connect to a NTP server and somehow that's preventing it from starting the data acquisition process.  I had been fiddling with NTP settings when I had it on the network at home because it said it was not using NTP.  For temporary field deployment purposes, any time drift over a few hours or days isn't too significant.  I'm looking into GPS options to add to the Raspberry Shake to provide accurate timing in the field in the future.

Thanks,
Brian



To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshak...@googlegroups.com.
shiro_shake.tar.gz

Branden Christensen

unread,
Feb 2, 2017, 2:52:34 PM2/2/17
to RaspberryShake
Brian: 


I respond in line below. We need to get together for drinks and share stories some day. 


Buenos dias.  Thanks again for your help.

No problem, Raspberry Shake is new and we are fighting every day to squash bugs, add features and make improvements. Not sleeping much lately but I would rather be doing this than sleeping.
 

Right now, I want to use the Raspberry Shake as a lightweight, low power, easy to deploy seismometer that I can use to collect data from temporary field sites (few days at a time).  Since it's so inexpensive, if it gets stolen or damaged, it won't be as much of a problem compared with more conventional/expensive seismic equipment.  The intent right now this week is to capture the seismic signal from the collapse of a section of the sea cliff near Kilauea's east rift eruption ocean entry.  We expect it to fall in any day now.  If I can get this working for non-networked field use like this, I may buy one or two more units to have on hand for such temporary deployments.

The problem is that the ntpdate service does not complete when there is no network, which prevents start up of the system. So your hunch was correct. This will be addressed in a future update. In the meantime, you can correct this by hand by editing one file on the OS. Richard will send you an email directly.  

Longer term, I'll probably set up the Raspberry Shake in our seismic vault near HVO next to a STS-2 and Episensor, offering the opportunity for high quality comparisons of earthquake and volcanic activity recordings across a range of instrument types.  If I can overcome the networking hurdles here, it will be on the network contributing data to the Raspberry Shake community at that point.

Cool, we would love to have you on the network. There are already 3 RShakes up in Hawaii.

Wow, those are expensive seismic sensors. See here for what you can hope to expect:


 

In answer to your questions, my /opt/log directory content is attached.  I am running ver.1.  The slinktool command returns nothing (I have to CTL-C to get out of it.).  I haven't been able to try it back at home on the internet yet.  I'm wondering if it's trying to connect to a NTP server and somehow that's preventing it from starting the data acquisition process.

Bingo, you got it. Thanks for confirming that there was nothing in SL.
 
  I had been fiddling with NTP settings when I had it on the network at home because it said it was not using NTP.  For temporary field deployment purposes, any time drift over a few hours or days isn't too significant.  I'm looking into GPS options to add to the Raspberry Shake to provide accurate timing in the field in the future.

Got it. Keep sending us feedback and we will keep improving RShake.  


Branden

Brian Shiro

unread,
Feb 2, 2017, 3:06:30 PM2/2/17
to RaspberryShake, branden.c...@osop.com.pa
Thanks!  If I get that ntpdate advice soon, I'll be able to deploy this today.  Meanwhile, I'll do some reading up on it.

Ideally, there would be some hierarchy of priorities for the timing.  First would be GPS, if available.  If not, it would use network-based NTP.  And if NTP isn't available, it would use the internal system clock.

Brian

Branden Christensen

unread,
Feb 2, 2017, 3:33:56 PM2/2/17
to RaspberryShake
Thanks for those suggestions Brian. 

Raspberry Shake only work with NTP timing. There is no option to add GPS and we do not plan on ever adding it. For that, we have Raspberry Shake's big brother Sixaola

But do take into account that our NTP timing is extremely good. Way better than any velocity model out there. See the timing specs here: http://manual.raspberryshake.org/specifications.html#timing


Yours, 



Branden Christensen
Director, OSOP


Get yours now! Visit shop.raspberryshake.org


--
Some useful links:
 
Manual: http://manual.raspberryshake.org/
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.
To post to this group, send email to raspberryshake@googlegroups.com.

chris...@aol.com

unread,
Feb 2, 2017, 7:39:32 PM2/2/17
to raspber...@googlegroups.com
Hi Branden, 

    The problem with this statement is that your timing accuracy may be limited by the transmission 
times of the signals on the Internet, particularly about the hour.  
    The US Official time is received from www.time.gov/ie
    The WWVB Radio time on 60 K Hz coverage is shown at :- 
http://www.ntp-time-server.com/wwvb/wwvb.html Radio clocks are NOT expensive ! 
    Computers usually have VERY poor accuracy clocks, running on 32 K Hz Crystals and Win10 
seems to do one update per week - and I haven't found a way to force an update - on earlier 
operating systems you could request a time check. My current laptop is over 4 seconds OUT - 
as determined by my Rugby Radio Clock.  I have used 'abouttime' to reset the computer clock at 
minutes to each hour. I had one computer which drifted by over a second each hour. I suspect 
that the crystal was getting much too hot. 
    Have you ever done a check to determine the accuracy of your local NTP ? I suggest that this 
could be a wise move ! I seem to remember Angel doing one several years ago - with less than 
perfect results !  
    The US Internet time was not quite in synchronism with my Radio Clock when I checked it this 
evening !

    Regards, 

    Chris
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshak...@googlegroups.com.
To post to this group, send email to raspber...@googlegroups.com.

Branden Christensen

unread,
Feb 2, 2017, 7:46:31 PM2/2/17
to raspber...@googlegroups.com
Chris:


We perform to spec. +/- 20 ms. 


Branden Christensen
Director, OSOP


Get yours now! Visit shop.raspberryshake.org


--
Some useful links:
 
Manual: http://manual.raspberryshake.org/
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.
To post to this group, send email to raspberryshake@googlegroups.com.
Visit this group at https://groups.google.com/group/raspberryshake.

Mercalli

unread,
Feb 2, 2017, 9:43:26 PM2/2/17
to RaspberryShake
No issues with my RaspberryShake, but for my network I am thinking about something like this:
https://frillip.com/raspberry-pi-stratum-1-ntp-server/



Kelly Gann

unread,
Feb 2, 2017, 10:08:06 PM2/2/17
to RaspberryShake
That's really cool!

jeffersonite

unread,
Feb 3, 2017, 1:56:56 AM2/3/17
to RaspberryShake, branden.c...@osop.com.pa
Hey Brian,

I'd be very interested in seeing whatever finding you come up with!

Jefferson

David J Taylor

unread,
Feb 3, 2017, 3:47:18 AM2/3/17
to Raspberry Shake group, sats...@gmail.com
From: Mercalli

No issues with my RaspberryShake, but for my network I am thinking about
something like this:
https://frillip.com/raspberry-pi-stratum-1-ntp-server/
==========================

Or if you prefer a no-soldering approach:

https://store.uputronics.com/index.php?route=product/product&path=60_64&product_id=81

http://www.satsignal.eu/ntp/Raspberry-Pi-quickstart.html

Offsets within a few microseconds:

http://www.satsignal.eu/mrtg/performance_ntp.php

Cheers,
David
--
SatSignal Software - Quality software written to your requirements
Web: http://www.satsignal.eu
Email: david-...@blueyonder.co.uk
Twitter: @gm8arv

David J Taylor

unread,
Feb 3, 2017, 4:02:05 AM2/3/17
to Raspberry Shake group, sats...@gmail.com
Hi Branden,
[]
My current laptop is over 4 seconds OUT - as determined by my Rugby Radio
Clock.
[]
Regards,

Chris
================================

Chris,

You might consider installing NTP, if the error rate is less than 43
seconds/day. NTP is available for Windows, Linux, Mac etc. You should be
able to get within 100 ms even over a worst case link. Using a Wi-Fi link
to my local stratum-1 NTP servers I typically see well within a millisecond
on a couple of Windows portables:

http://www.satsignal.eu/mrtg/bergen_ntp_2.html
http://www.satsignal.eu/mrtg/ystad_ntp-2.html

Angel Rodriguez

unread,
Feb 3, 2017, 8:34:06 AM2/3/17
to raspber...@googlegroups.com
Hi Chris,

Actually linux NTP is very good and maybe Windows only checks now and then but NTP on linux is real smart and knows how often it needs to check to keep the computer time accurate.  I check timing quality on one of my Shakes and we check and report timing quality on all Shakes as the data reaches the servers.  Most Shakes have a timing quality of 95 which is very good.  You can see the timing quality value if you mouse over and open a station on the station view map.  It will be shown in the popup near the bottom.

I have attached a picture of some timing quality graphs on a Shake.  You can see that is very good.

Again, Windows does it different and maybe not as well as linux.  

I find that with a Beaglebone that has been running NTP for a while. I can get millisecond timing, with a real PC we can get sub-millisecond timing. NTP get better the longer it runs on a computer. In Raspberry Shake for software reasons we say our timing is +/- 20 ms.  No matter how good the NTP might get can on the Pi we say that the timing accuracy is =/- 20ms.

Regards,

Angel




Shake forum on google.groupsSome useful links:
On Thu, Feb 2, 2017 at 7:39 PM, chrisatupw via RaspberryShake <raspberryshake@googlegroups.com> wrote:
To post to this group, send email to raspber...@googlegroups.com.
Visit this group at https://groups.google.com/group/raspberryshake.
--
Some useful links:
 
Manual: http://manual.raspberryshake.org/
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.

--
Some useful links:
 
Manual: http://manual.raspberryshake.org/
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.
To post to this group, send email to raspber...@googlegroups.com.
Visit this group at https://groups.google.com/group/raspberryshake.
Screen Shot 2017-02-03 at 8.07.18 AM.png

David J Taylor

unread,
Feb 3, 2017, 10:56:06 AM2/3/17
to Raspberry Shake group, sats...@gmail.com
Hi Chris,

Actually linux NTP is very good and maybe Windows only checks now and then
but NTP on linux is real smart and knows how often it needs to check to keep
the computer time accurate. I check timing quality on one of my Shakes and
we check and report timing quality on all Shakes as the data reaches the
servers. Most Shakes have a timing quality of 95 which is very good. You
can see the timing quality value if you mouse over and open a station on the
station view map. It will be shown in the popup near the bottom.

I have attached a picture of some timing quality graphs on a Shake. You can
see that is very good.

Again, Windows does it different and maybe not as well as linux.

I find that with a Beaglebone that has been running NTP for a while. I can
get millisecond timing, with a real PC we can get sub-millisecond timing.
NTP get better the longer it runs on a computer. In Raspberry Shake for
software reasons we say our timing is +/- 20 ms. No matter how good the NTP
might get can on the Pi we say that the timing accuracy is =/- 20ms.

Regards,
Angel
==================================

Angel, nice to see you're using my MRTG suggestions!

Windows can also run NTP just like Linux (and the Mac).

With a PPS source, they can be within 100-150 microseconds:
http://www.satsignal.eu/mrtg/performance_ntp.php#windows-stratum-1

When LAN or Wi-Fi synced to a stratum-1 source and taking some care in the
setup, to within ~500 microseconds, unless you're unlucky. Some versions of
Windows did indeed check too infrequently, and don't have the same
multi-server fallback and other features which the NTP reference
implementation offers. If anyone needs more details:

http://www.satsignal.eu/ntp/setup.html

Angel Rodriguez

unread,
Feb 3, 2017, 11:22:27 AM2/3/17
to raspber...@googlegroups.com
HI Dave,

Yes, we have it setup on several of my Shake. Good stuff!

Angel
--
Some useful links:

Manual: http://manual.raspberryshake.org/
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
--- You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.
To post to this group, send email to raspber...@googlegroups.com.
Visit this group at https://groups.google.com/group/raspberryshake.

OhioSeis

unread,
Feb 3, 2017, 12:16:03 PM2/3/17
to RaspberryShake, branden.c...@osop.com.pa, zengz...@gmail.com

We recorded one earthquake so far on an STS2 and a R-Shake co-located about 75' from each other. The M2.4 quake was 166Km from the recording instruments.
I too am interested in using these as short-term portable aftershock detection systems off network. As we are a state agency, money is very limited. I'm quite impressed with what I've seen so far though!
We also use one as a travelling demo for local and state elementary and middle schools. We had issues getting the real-time trace to work due to the timing issue between the Shake and an R-Pi when not connected to a network.

Branden Christensen

unread,
Feb 10, 2018, 5:53:41 PM2/10/18
to RaspberryShake
Raspberry Shake only work with NTP timing. There is no option to add GPS and we do not plan on ever adding it. For that, we have Raspberry Shake's big brother Sixaola

So much for that! I eat my words! Today we released software update 0.9, which includes support for connecting a USB GPS antenna to Raspberry Shake. 
Yours,  Branden

Thorsten Miglus

unread,
Feb 10, 2018, 8:27:01 PM2/10/18
to RaspberryShake
Branden,

can you tell some details about the supported GPS antenna? Manufacturer, type?
I would prefer to purchase one at a local store in Europe.

Thanks
Thorsten

Branden Christensen

unread,
Feb 10, 2018, 8:43:36 PM2/10/18
to raspber...@googlegroups.com
Thorsten:


Buenas noches. 


Good to hear fron you.

Yes, please see the link in the changelog to the manual. All of the information is given there.


Yours, Branden


--
Some useful links:
 
Manual: http://manual.raspberryshake.org/

---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshake+unsubscribe@googlegroups.com.
To post to this group, send email to raspberryshake@googlegroups.com.
Visit this group at https://groups.google.com/group/raspberryshake.

chris...@aol.com

unread,
Feb 11, 2018, 10:42:28 AM2/11/18
to raspber...@googlegroups.com
Funny thing. You are offering a GPS receiver for $ 179. 
Larry Cochrane at psn.quake.net sells one for $ 85. 

    Regards, 

    Chris

From: Branden Christensen <branden.c...@osop.com.pa>
To: RaspberryShake <raspber...@googlegroups.com>
Sent: Sat, 10 Feb 2018 22:53
Subject: Re: [RShake Forum] Raspberry Shake won't record data

--
Some useful links:
 
Manual: http://manual.raspberryshake.org/
Do It YourSelf Page: http://raspberryshake.org/do-it-yourself
Shop: https://shop.raspberryshake.org/
Website: http://raspberryshake.org/
 
Instagram: https://www.instagram.com/raspishake/
Facebook: https://www.facebook.com/raspishake/
Twitter: https://twitter.com/raspishake/
Hashtag: #rasperryshake, @raspishake
DOI: https://doi.org/10.7914/SN/AM
---
You received this message because you are subscribed to the Google Groups "RaspberryShake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raspberryshak...@googlegroups.com.
To post to this group, send email to raspber...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages