greenbreakfast 86b72940c3 bringing in card manager stability fix from PR #6 1 year ago
..
device 634b101c64 open sourcing oboo software packages repo 1 year ago
duktape 634b101c64 open sourcing oboo software packages repo 1 year ago
js 634b101c64 open sourcing oboo software packages repo 1 year ago
lv_drivers 634b101c64 open sourcing oboo software packages repo 1 year ago
lvgl 86b72940c3 bringing in card manager stability fix from PR #6 1 year ago
oboo_gui 634b101c64 open sourcing oboo software packages repo 1 year ago
test 634b101c64 open sourcing oboo software packages repo 1 year ago
.gitignore 634b101c64 open sourcing oboo software packages repo 1 year ago
LICENSE 634b101c64 open sourcing oboo software packages repo 1 year ago
README.md 634b101c64 open sourcing oboo software packages repo 1 year ago
config.h 634b101c64 open sourcing oboo software packages repo 1 year ago
img_tiger.bin 634b101c64 open sourcing oboo software packages repo 1 year ago
img_tiger.c 634b101c64 open sourcing oboo software packages repo 1 year ago
lv_conf.h 634b101c64 open sourcing oboo software packages repo 1 year ago
lv_drv_conf.h 634b101c64 open sourcing oboo software packages repo 1 year ago
main.c 634b101c64 open sourcing oboo software packages repo 1 year ago
makefile 634b101c64 open sourcing oboo software packages repo 1 year ago
messageQueue.c 634b101c64 open sourcing oboo software packages repo 1 year ago
messageQueue.h 634b101c64 open sourcing oboo software packages repo 1 year ago
runtime.c 634b101c64 open sourcing oboo software packages repo 1 year ago
runtime.h 634b101c64 open sourcing oboo software packages repo 1 year 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)