Somfy Developer Mode (a.k.a. Local API) has been announced, together with the deprecation of the Somfy Open API. Somfy will continue to support this API until June 21st 2022.
I advice you to use instead pyoverkiz that already support the API exposed by the Developper mode.