Open
Description
Pasted from our discord chat. Let me know if you need any more info.
We’ve come across a desk which appears to be slightly different in one area.
In summary (and to refresh)...
Most desks send:
- This protocol over the RJ45 port. Bytes 3 and 4 (of 4) are used for height. We use this in your component.
https://discord.com/channels/429907082951524364/952464939480645642/957101799528095774 - This protocol over the R12 port (for Bluetooth dongle port), and bytes 5 and 6 (of 9) are used for height. This is not used by the desky component.
https://discord.com/channels/429907082951524364/952464939480645642/957107106492850246
But what we’ve found with some Jarvis desks is that they appear to actually send the second “9 byte message” over the RJ45 port. Everything else appears to be the same (including how the bytes are used to calculate height.
https://community.home-assistant.io/t/desky-standing-desk-esphome-works-with-desky-uplift-jiecang-assmann-others/383790/105?u=mahko_mahko
So I think the feature request is to be able to select/switch the protocol.
My thought was the revised config might look a bit like below?
Thank you!
desky:
#uart_id: desk_uart (optional, unless multiple uarts are defined)
id: my_desky
height_protocol_variant: (optional, 4byte or 9byte, defaults to 4byte)
height: # optional sensor publishing the current height
name: Desk Height
# any other sensor options
Metadata
Metadata
Assignees
Labels
No labels