Skip to content

Instantly share code, notes, and snippets.

@gesellix
Last active March 18, 2020 21:44
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gesellix/d50652b348aaabbf0d08fc99f71f4b4b to your computer and use it in GitHub Desktop.
Save gesellix/d50652b348aaabbf0d08fc99f71f4b4b to your computer and use it in GitHub Desktop.
Oboo setup/config
{
"cards": {
"0": {
"name": "weather",
"id": 0,
"tempUnit": "celsius",
"card": "Weather",
"location": "Europe/Berlin CET-1CEST,M3.5.0,M10.5.0/3",
"distanceUnit": "metric"
}
}
}
  • connect to wifi (Oboo-Clock<...>)
    • password: 12345678
  • connect via ssh root@192.168.3.1:
    • password onioneer
  • follow the internal event stream
    • mosquitto_sub -v -t "#"
#! /bin/sh
# login to the oboo (after joining its wlan network): ssh root@192.168.3.1
# - https://getoboo.com/community/topic/first-time-setup-of-your-oboo-smart-clock-maker-edition/
# - https://getoboo.com/community/topic/enable-bluetooth-audio-on-oboo/
# - https://getoboo.com/community/topic/software-update-weather-card/
wifisetup
sh /etc/cron.week/firmware_update.sh
opkg update
opkg upgrade onion-script
onion time list | grep Berlin
onion time set Europe/Berlin CET-1CEST,M3.5.0,M10.5.0/3
onion time sync
sh /usr/bin/mcu/setMcuTime.sh
mosquitto_pub -t /set -m '{"cmd":"hour mode", "value":"24"}'
sh /usr/bin/mcu/setMcuTime.sh
gpioctl dirout-high 3
#gpioctl dirout-low 3
/etc/init.d/card-manager restart ; /etc/init.d/oboo-cards restart
oboo config generate
# vi /etc/config.json
/etc/init.d/card-manager restart ; /etc/init.d/oboo-cards restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment