I’m using the Raspberry Shake in offline mode (no GPS) with stand-alone ON mode, for the purposes of an educational workshop. I can use the Shake with all its capabilities with the offline mode mode off, i.e. I can access the web front-end and see data streams (4 channels) on SWARM. However, when I take the Shake off the internet connection and connect directly to my laptop via the Ethernet cable, I don’t see any data streams on SWARM, even though I can still access the web front-end. Can you help me, please?
Thanks for the suggestion! I’m a Windows user and have investigated this, and it seems that the shake has the IP address from the front end
> :
169.254.63.145
From what I understand, this is within the Discovery IP range. When I tried to manually specify an address for the ethernet port using Windows’ netsh (to 169.254.8.11, per the example in the docs), I couldn’t even connect to the front-end. However, even with this IP address for the ethernet port, I still can’t see SWARM live data streams. Do you have any suggestion for where I am perhaps going wrong?
Yes, the Shake is predisposed to have its direct IP connection in the discovery range. You will have to set your local PC/laptop IP address in the same range so that the two devices will be able to communicate with each other.
If you want, could you please post a screenshot of your local PC network adapter configuration, so that I may be able to see what is possibly causing the problem?
I was able to get the shake to broadcast data to SWARM by manually configuring the SWARM source IP address, so problem solved! Thanks a lot for the help!
In case this is useful to others. I had the same issues using Windows.
I connected the shake through ethernet to my laptop. Used Bonjour Browser for Windows to find the IP address of the shake: 169.XXX.XX.XX ignoring the :9
then you can enter the IP in the Swarm config file at the line:
server=myShake;wws:169.XXX.XX.XX:16032:15000:1. Launched Swarm and the Shake was in Networks and streaming live data.
Side note: Make sure that the time on the Raspberry Shake is set to the current time, otherwise the waveforms will not display in Swarm! If you type the command date after logging in via ssh, you can see the current date. The date can be updated using the command sudo date --set “yyyy-mm-ddThh:mm:ss”
It might be helpful if you could reset the date on https://rs.local/ in addition to using the command line.
The IP of each shake is easily found after plugging it in your laptop by doing rs.local and checking the numbers in the line: Ethernet Local IPv4. Then, copy that number in the config file and launch Swarm.
Yes, SWARM has a updated date/time requirement otherwise, as you have seen, it will not display data even if the connection details are correct.
It might be helpful if you could reset the date on https://rs.local/ in addition to using the command line.
This is a very interesting suggestion! I’ll put it on the software team’s radar so that they can see what work is required to add this feature in one of our future OS updates. Thank you!