greenbreakfast 86b72940c3 bringing in card manager stability fix from PR #6 4 years ago
..
device 634b101c64 open sourcing oboo software packages repo 4 years ago
duktape 634b101c64 open sourcing oboo software packages repo 4 years ago
js 634b101c64 open sourcing oboo software packages repo 4 years ago
lv_drivers 634b101c64 open sourcing oboo software packages repo 4 years ago
lvgl 86b72940c3 bringing in card manager stability fix from PR #6 4 years ago
oboo_gui 634b101c64 open sourcing oboo software packages repo 4 years ago
test 634b101c64 open sourcing oboo software packages repo 4 years ago
.gitignore 634b101c64 open sourcing oboo software packages repo 4 years ago
LICENSE 634b101c64 open sourcing oboo software packages repo 4 years ago
README.md 634b101c64 open sourcing oboo software packages repo 4 years ago
config.h 634b101c64 open sourcing oboo software packages repo 4 years ago
img_tiger.bin 634b101c64 open sourcing oboo software packages repo 4 years ago
img_tiger.c 634b101c64 open sourcing oboo software packages repo 4 years ago
lv_conf.h 634b101c64 open sourcing oboo software packages repo 4 years ago
lv_drv_conf.h 634b101c64 open sourcing oboo software packages repo 4 years ago
main.c 634b101c64 open sourcing oboo software packages repo 4 years ago
makefile 634b101c64 open sourcing oboo software packages repo 4 years ago
messageQueue.c 634b101c64 open sourcing oboo software packages repo 4 years ago
messageQueue.h 634b101c64 open sourcing oboo software packages repo 4 years ago
runtime.c 634b101c64 open sourcing oboo software packages repo 4 years ago
runtime.h 634b101c64 open sourcing oboo software packages repo 4 years ago

README.md

Oboo-Clock-Card-Manager

Display and Card manager for the Oboo Clock running on the Omega2

Notifications

Display Manager listens to /notification topic.

Setting a Notification

To set a notification, send a message to /notification with the following syntax:

{
  "cmd": "set",
  "text": "<NOTIFICATION TEXT>",
  "size": <FONT SIZE>       // OPTIONAL: default is 20
}

Clearing a Notification

To clear a notification, send a message to /notification like the following:

{
  "cmd": "clear"
}

Status Icons

Display manager listens to the /status topic

Setting a Status Icon

To configure a status icon, publish a message to /status like the following:

{ 
  "cmd":"update", 
  "elements": [ 
    { 
      "type": "<STATUS TYPE>",    // string
      "value": <STATUS VALUE>     // integer representing the status 
    } 
  ] 
}

Available Status Icons

On and off icons, can be set to 0 for off, or 1 for on:

  • wifi
  • bluetooth
  • alarm

Range icons:

  • battery
    • Accepts range from 0 (empty battery) to 4 (full battery)