Hi,
I've been building a mobile client against ESPSomfy RTS over the past weeks and ended up writing down a number of behaviours I had to discover by reading the firmware source and capturing traffic — the socket frame format not being valid JSON, the API token being bound to the client IP, and myPos reporting -1 rather than 255 when no favourite is set, among others.
None of this is a complaint; the device does exactly what it says. But I lost time on each of them, and I suspect anyone else writing a client would too.
The notes are here: https://github.com/Moritz-Staat/ESPSomfy/blob/main/docs/API-CLIENT-NOTES.en.md
Every item is cross-referenced against the firmware source, so it should be quick to verify. If any of it is useful for the Integrations wiki, I'm happy to adapt the format or open a PR — and equally happy if you'd rather leave it where it is.
Thanks for the project, and for all the work you've put into this repo. Having the shade position tracked even when the original remote is used is the part that made this worth building on.
Best regards,
Moritz
Hi,
I've been building a mobile client against ESPSomfy RTS over the past weeks and ended up writing down a number of behaviours I had to discover by reading the firmware source and capturing traffic — the socket frame format not being valid JSON, the API token being bound to the client IP, and
myPosreporting-1rather than255when no favourite is set, among others.None of this is a complaint; the device does exactly what it says. But I lost time on each of them, and I suspect anyone else writing a client would too.
The notes are here: https://github.com/Moritz-Staat/ESPSomfy/blob/main/docs/API-CLIENT-NOTES.en.md
Every item is cross-referenced against the firmware source, so it should be quick to verify. If any of it is useful for the Integrations wiki, I'm happy to adapt the format or open a PR — and equally happy if you'd rather leave it where it is.
Thanks for the project, and for all the work you've put into this repo. Having the shade position tracked even when the original remote is used is the part that made this worth building on.
Best regards,
Moritz