totalimmersion / com.somfy.tahoma

Somfy TaHoma app for Homey
GNU General Public License v3.0
10 stars 16 forks source link

Terrace awnings aren't being imported to Homey #72

Open djbeethoven opened 4 years ago

djbeethoven commented 4 years ago

My other devices, such as roller shutters, were imported correctly. However, my Terrace awnings are not being imported. Perhaps I'm doing something wrong?

Furthermore, but I do not know if this is an issue, none of these devices, roller shutters included, are being imported by Alexa

fjeldstad commented 4 years ago

Not sure if it's related but my horizontal awnings are recongized by the app, can be added as devices in Homey, can be controlled from Homey but does not report status back. That is, the indicator for how far the awning is extended is incorrect, doesn't update when retracting the awnings, cannot trigger flows etc.

fjeldstad commented 4 years ago

@totalimmersion Any ideas what could be wrong? Is the project alive? Can I help out with debugging in any way? Would really like to control the horizontal awnings from Homey; the vertical ones are working perfectly and it's much more flexible than using the Somfy Connexoon app.

fjeldstad commented 4 years ago

After experimenting a bit with the unofficial API that the app uses it seems it is pretty easy to run into the rate limit. Not sure exactly what the limit is, but the cooldown period seems to be pretty long. Could that be the issue? I have only three Somfy devices (two awnings and one luminance sensor) but still, syncing every 10 seconds or so would potentially result in small bursts of requests.

fjeldstad commented 4 years ago

...but I realised that all device states are fetched in a single request, so it shouldn't matter how many devices I have.

I do think I've found the issue for my specific problem though, will create a new issue for that.