Connect to a Somewear Device
Your data is about to become an astronaut.
Enable USB Line-in
Before connecting your Somewear device, you will need to switch it to connect over USB instead of Bluetooth.
In the Somewear Android app, pair to your hotspot.
Tap the device status pill in the top right.
Tap “Advanced Settings” down at the bottom.
Tap “Change” under the “Connection Mode” row. Tap USB & “Change and disconnect” to confirm.
The hotspot will disconnect and you can now connect to your hotspot over usb.
Send over Somewear device
Install tio: https://github.com/tio/tio
Connect your hotspot with usb to your machine & power it on.
ls /dev | grep tty.usb
– list your usb devices. Should look something liketty.usbserial-D30EPUJZ
. Copy this.tio -b 115200 -d 8 --line-pulse-duration RTS=200,DTR=400 -p even --socket inet:9092 /dev/YOUR_DEVICE_HERE
- Connect to the device & proxy over port 9092beam up
– Start Beam as a daemon.curl -v -X POST http://localhost:9091/api/device/connect
– Tell beam to connect.You're all set! Try sending a message (see Usage section above). Disable your network connectivity on your OS or use
beam --disable-http
to force satellite transmissions.Use
tail -f ~/.somewear/beam/log/output.log
in a new terminal window to see your logs.
Last updated