More BLE for the Somfy Sonesse2 Zigbee Motors

More BLE for the Somfy Sonesse2 Zigbee Motors
Actually my blinds this time.

I've had people reach out and ask if I knew anything about other commands for configuring the Sonesse2 motors without the offical app. So I've dug through the source I have here, and this is what I've found.

First of all, I'm pretty sure you need to perform an Authentication first in all cases.

⚠️
I have not tested any of these other than "Authentication" and "Leave Network". These are reverse engineered from the TahomaPro Android app.

You try these at your own risk!

Authentication✅

Open access to the motors configuration system.

What Description
Endpoint 0000000b-cad9-46c6-a2ea-2ca16d57b4a5
Parameters Pin code for motor, as a 3 byte int, in little-endian.

Exit & Lock ⚠️

Close access to motors configuration system, I think - not actually used by the app, but defined - you can probably skip this.

What Description
Endpoint 00010007-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x02

Leave Network ✅

Causes a factory default motor to leave its own Zigbee network and start polling to join another.

What Description
Endpoint 00020001-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01

Identify✅

Cause the blind to dance to help identify which blind is being accessed.

What Description
Endpoint 00000001-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01

Open⚠️

May be for venetian blinds, doesn't exist on roller - Open the blind.

What Description
Endpoint 0000000d-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01

Close⚠️

May be for venetian blinds, doesn't exist on roller - Close the blind.

What Description
Endpoint 0000000e-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01

Stop⚠️

Stop the blind.

What Description
Endpoint 00000006-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01

Move Up✅

Move the blind up manually.

What Description
Endpoint 00010009-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01 moves large amount, 0xf401 moves a small amount

Move Down✅

Move the blind down manually.

What Description
Endpoint 00010008-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01 moves large amount, 0xf401 moves a small amount

Go To Position✅

Move the blind to a specific position, 0-32767 calibrated against limits set!

What Description
Endpoint 00000005-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x???? should be decimal 0 (open) - 32767 (closed), little endian

Set Limit⚠️

Set's the limits of the blind.

What Description
Endpoint 00010007-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x00 to set upper limit, 0x01 to set lower limit

Set Direction⚠️

Set the direction of the blind.

What Description
Endpoint 00010005-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x00 - Counter Clockwise, 0x01 - Clockwise

Reset to factory defaults⚠️

Reset the blind to factory defaults.

What Description
Endpoint 00010001-cad9-46c6-a2ea-2ca16d57b4a5
Parameters 0x01