Skip to content

Commit

Permalink
Add initial writeback easing specification (#781)
Browse files Browse the repository at this point in the history
* Adding easing examples

* Add gencode
  • Loading branch information
grafnu authored Dec 7, 2023
1 parent 5863526 commit 3a5f29e
Show file tree
Hide file tree
Showing 9 changed files with 116 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .gencode_hash.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
b35646a2f3d7c30fd34e3ea6ab6a1070b39c469fd1de49cab1093ff32faaf06d gencode/docs/command_discovery.html
cde866298a8a54168d3582b50ec93160209d07338d3d6c58d215855bc35cb158 gencode/docs/command_mapping.html
3757f7214d426fec626fe08156766f5b5ad872e65e350ee181162d5d3a7e24d6 gencode/docs/config.html
0ad0aafdfd7fa858f1fa14ff4f044f878fc2df398210d798e64cf6af98c88672 gencode/docs/config.html
4809ac52b172f1754cc311928c9b54611ec52837d7cce11ee03789c603cbc655 gencode/docs/config_mapping.html
08583688b20f892c0b453f41787ac01a46ac601663736bcd6ed6f57be0758e79 gencode/docs/configuration_endpoint.html
6cf94d6cb600c75cde32a64bd78acb3ed3b54adfad08dbf6bb159b467e8925c9 gencode/docs/configuration_execution.html
Expand Down Expand Up @@ -88,7 +88,7 @@ b3b7ef6cae004d5fdb4052f860df0aa583df87bb798a027fc769aeaf16489789 gencode/java/u
5e1c5411fae4d7c47391ceb5d19ae864fcd484df75ac6b6db39fd2d12647dec8 gencode/java/udmi/schema/Physical_tag.java
3e331b3817cc87f2fe087aae3a1e599819ceda1ca086094d7f400f5f1c3bdbb9 gencode/java/udmi/schema/PodConfiguration.java
d808259db6bbcd26ecf438844ce286d15d4750906be24588d97acfbe8a4ae315 gencode/java/udmi/schema/PointEnumerationEvent.java
eb478a6ebd66b150da8d6dc8fdf05a10d09d6d0ea1df8a0578728703718c5551 gencode/java/udmi/schema/PointPointsetConfig.java
468c2c95e9dcbaf4ff706fad7f168c14321eaa35b7fb190848ea8bfd86d981d7 gencode/java/udmi/schema/PointPointsetConfig.java
8f3fc1cdc2dcd3e524863f4675aebabc450a35f5fd1cdc3fd37289b5cab7f2ec gencode/java/udmi/schema/PointPointsetEvent.java
65337109653a93d873dae40eb517857149bae1b20c7b479f41b35c0822d94ba0 gencode/java/udmi/schema/PointPointsetModel.java
a77b840d671100245c7b68ef8b0130d1ea6375c6ed8a2e145b4208b5962bbc66 gencode/java/udmi/schema/PointPointsetState.java
Expand Down Expand Up @@ -141,7 +141,7 @@ b461bdc24310ef972faf579b5be577b5af67fb0977d6afb4c42955211b26e3d5 gencode/python
ac3facbd96f7cb2f7e387e7497d6a36af379a2687329571f250c5670f9933244 gencode/python/udmi/schema/config_mapping.py
52bce04ef0d73ac1c543dfa676cc9d1d0b5ac8f2ba6dac84b5a26f927a6c2479 gencode/python/udmi/schema/config_mapping_device.py
9eab64849e04b25203d5da47856c3f8dda2b96903e4dc43ab932ee35014700bd gencode/python/udmi/schema/config_pointset.py
33ce7ee99051d56dd3c4d69edf92583d0bb7fd751417948b71292ac2285d3c19 gencode/python/udmi/schema/config_pointset_point.py
5444c5eb6971addf729566e39e7eb13dd8b78dceeeab3ef8a6ec3d2a7f5ed25c gencode/python/udmi/schema/config_pointset_point.py
7da3bdb37f338260d5f3829fa5fcbb9bbf9f146b514a68319c314a96c6b8ac12 gencode/python/udmi/schema/config_system.py
cce623b34fd694880039a1c080214c33e00acaef5bc72276cf11a3bb2de40000 gencode/python/udmi/schema/config_system_testing.py
30b1809e364cb3f7070002bb4a9954b11b25543b099b4bbe450d280001e4de55 gencode/python/udmi/schema/config_udmi.py
Expand Down
59 changes: 59 additions & 0 deletions gencode/docs/config.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion gencode/java/udmi/schema/PointPointsetConfig.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions gencode/python/udmi/schema/config_pointset_point.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions schema/config_pointset_point.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"description": "Used for cloud writeback functionality, this field specifies the value for a given point in the device's current units.",
"examples": [22.4]
},
"stop_time": {
"description": "RFC 3339 timestamp for the specified point write easing to stop",
"type": "string",
"format": "date-time",
"examples": ["2019-01-17T14:02:29.364Z"]
},
"cov_increment": {
"type": "number",
"description": "The CoV (change of value) increment, which when set, enables CoV on the point and defines the minimum change in present value of the respective point before an update is published",
Expand Down
19 changes: 19 additions & 0 deletions tests/schemas/config/easing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "1.4.2",
"timestamp": "2018-08-26T21:39:29.364Z",
"pointset": {
"points": {
"room_temperature": {
"set_value": 37.3,
"stop_time": "2018-08-26T21:40:29.364Z"
},
"hallway_temperature": {
"set_value": 37.3,
"stop_time": "2018-08-26T21:40:29.364Z"
},
"hallway_lights": {
"set_value": false
}
}
}
}
Empty file added tests/schemas/config/easing.out
Empty file.
14 changes: 14 additions & 0 deletions tests/schemas/config_pointset/easing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "1.4.2",
"timestamp": "2018-08-26T21:39:29.364Z",
"points": {
"room_temperature": {
"set_value": 37.3,
"stop_time": "2018-08-26T22:48:27Z"
},
"hallway_temperature": {
"set_value": 37.3,
"stop_time": "2018-08-26T22:49:20Z"
}
}
}
Empty file.

0 comments on commit 3a5f29e

Please sign in to comment.