1
0
Fork 0

Update readme

master
Martin Boonk 2022-02-20 19:14:19 +01:00
parent 7569800e23
commit 2bda4e41f3
1 changed files with 40 additions and 10 deletions

View File

@ -27,9 +27,11 @@ Folder types:
* Number * Number
* Contains files named 0.ext to 9.ext and minus.ext * Contains files named 0.ext to 9.ext and minus.ext
* WeatherIcon * CodedImage
* Contains files named with 3 digits for openweathermap weather codes, i.e. 721.ext * Contains files named with only digits for codes, i.e. 721.ext
* Icon * Contains a file named fallback.ext in case no code matches
* Codes are evaluated as follows: 721 -> if not found check 720 -> if not found check 700 -> if found use
* MultiState
* Notifications: sound.ext, silent.ext, vibrate.ext * Notifications: sound.ext, silent.ext, vibrate.ext
* other status icons: on.ext, off.ext * other status icons: on.ext, off.ext
* Scale * Scale
@ -46,18 +48,30 @@ This file contains the description of the watch face elements.
Properties: { Properties: {
"Redraw": { "Redraw": {
"Unlocked": 5000, "Unlocked": 5000,
"Locked": 6000 "Locked": 60000,
}" "Default": "Always"
}
} }
``` ```
Possible values for `Default` are `Always`, `Change`
##### Images ##### Images
``` ```
Image: { Image: {
"X": 0, "X": 0,
"Y": 0, "Y": 0,
"Scale": 1,
"RotationValue": "Seconds",
"MinRotationValue": 0,
"MaxRotationValue": 60,
ImagePath: [ "path", "in", "resources", "file" ] ImagePath: [ "path", "in", "resources", "file" ]
} }
``` ```
`RotationValue` references one of the implemented numerical values.
Mandatory:
* `ImagePath`
##### Coded Images ##### Coded Images
``` ```
@ -88,6 +102,10 @@ be integer.
The `Value` field is one of the implemented numerical values. The `Value` field is one of the implemented numerical values.
`Alignment` is either `BottomRight` or `TopLeft` `Alignment` is either `BottomRight` or `TopLeft`
Mandatory:
* `ImagePath`
* `Value`
##### Scale ##### Scale
``` ```
@ -103,6 +121,10 @@ The `Value` field is one of the implemented numerical values.
The `Value` field is one of the implemented numerical values. The `Value` field is one of the implemented numerical values.
`MaxValue` and `MinValue` set the start and endpoints of the scale. `MaxValue` and `MinValue` set the start and endpoints of the scale.
Mandatory:
* `ImagePath`
* `Value`
##### MultiState ##### MultiState
``` ```
@ -115,6 +137,10 @@ The `Value` field is one of the implemented numerical values.
``` ```
The `Value` field is one of the implemented multi state values. The `Value` field is one of the implemented multi state values.
Mandatory:
* `ImagePath`
* `Value`
##### Nesting ##### Nesting
``` ```
Container: { Container: {
@ -136,7 +162,7 @@ Container names can be everything but other object names.
#### Implemented data sources #### Implemented data sources
##### For Number objects ##### Numerical
* Hour * Hour
* HourTens * HourTens
@ -144,6 +170,9 @@ Container names can be everything but other object names.
* Minute * Minute
* MinuteTens * MinuteTens
* MinuteOnes * MinuteOnes
* Second
* SecondTens
* SecondOnes
* Day * Day
* DayTens * DayTens
* DayOnes * DayOnes
@ -160,7 +189,7 @@ Container names can be everything but other object names.
* WeatherCode * WeatherCode
* WeatherTemperature * WeatherTemperature
##### For MultiState ##### Multistate
* on/off * on/off
* Lock * Lock
@ -182,15 +211,16 @@ stored on the watch
# TODO # TODO
* Handle events and redraws better, actually hit minutes/seconds for redraw
* Performance improvements * Performance improvements
* Mark elements with how often they need to be redrawn * Mark elements with how often they need to be redrawn
* Use less RAM (maybe dedicated parser for JSON working on a stack/queue) * Use less RAM (maybe dedicated parser for JSON working on a stack/queue)
* Allow watchfaces to declare if the want to show widgets * Allow watchfaces to declare if the want to show widgets
* Temporarily show widgets with slide up/down * Temporarily show widgets with slide up/down
* Analog Hands?
* Finalize the file format * Finalize the file format
* Description of the file format
* Allow additional files for upload declared in info.json * Allow additional files for upload declared in info.json
* Settings
* Localization
# Creator # Creator