Quoting from https://www.ubisys.de/wp-content/uploads/ubisys-j1-technical-reference.pdf (page 7):
Notice: When the device is power-cycled, it does not have knowledge of the shutter’s current position.
It has to reach the top or bottom limit once after a power-cycle to learn the current position; then it is
able to maintain positioning using ubisys’ unique WaveStep™ technology. For safety reasons the
device will not start moving after a power-cycle in order to seek the top or bottom position. Instead, it
will wait for any command that instigates motion, and if necessary, will try to find the upper bound as a
reference point first, before moving to the requested target position.
After a power cycle of the J1 the Current Position - Lift
is set to 65535 (max 16 bit int).
The old bri
reporting reports 648
via REST API. But “lift” is just “0”:
{
"config": {
"groups": [
"0"
]
},
"etag": "8692c7d1f70af1e8c13253dc54b3a4ca",
"hascolor": false,
"lastannounced": null,
"lastseen": "2023-10-09T08:26Z",
"manufacturername": "ubisys",
"modelid": "J1 (5502)",
"name": "Markise",
"state": {
"bri": 648,
"lift": 0,
"on": false,
"open": true,
"reachable": true,
"tilt": 0
},
"swversion": "2.3.0",
"type": "Window covering device",
"uniqueid": "00:1f:ee:00:00:00:51:4a-01"
}
I use(d) the "bri": 648
to detect ther was a power outtage of the device and do a manual close/open to get the correct state. bri
is deprecated so I guess it will be removed someday. Is is possible to add a special value to lift
when Current Position - Lift
is set to 65535? Maybe just something like -1.