AdyRock / com.somfy.tahoma

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

Feature request: “Strong winds state” to be available for IO awning #129

Open happytesting opened 1 year ago

happytesting commented 1 year ago

For my IO awning, i got this wind sensor that is directly connected to the awning for safety. So when the wind is too strong, it will force it to go back in. I would like this state of “strong winds” to be available for homey. There must be something available in the api, since the Tahoma app shows this state when it occurs. If this already exist somewhere, I’m sorry, but I did not find it.

AdyRock commented 1 year ago

I have just added that for some awnings from another users request. Could you try the ew test version to see if it works for you. If not, send me your Device log from the app settings page.

happytesting commented 1 year ago

Wow, really! Whats the easiest way of getting that test app? I did it for some other app a few years ago, but don’t remember. Will try it tomorrow for sure. And thanks for the really swift reply ;)

AdyRock commented 1 year ago

Find the app in the Athom store and then add test to the end of the URL.

happytesting commented 1 year ago

Ok, so I found the user that requested similar, this one right? https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-37-test-v4-0-40/35206/1604

First of all, I think he is actually asking for same thing, but with a different device. But just like my wind sensor, it is directly paired with the awning. This is my sensor (or looks like it): https://www.conrad.se/sv/p/vindsensor-somfy-1816091-2543160.html

But just like the other guy, the status is in the somfy app put on the awning.

About installing the test app, when going to the URL in store and put /test behind it, it redirects back to the real version again. Would this be the appropriate url? https://homey.app/sv-se/app/com.somfy.tahoma/Somfy-TaHoma-&-Connexoon/test

happytesting commented 1 year ago

Or is this the thing from the test version maybe? image

happytesting commented 1 year ago

image Ok, so it looks like that may be what Im after. I added it to a flow and then triggered the wind by blowing the sensor.

image IMG_580437F18F20-1

But one thing that may be troublesome here, is that the timeline notification happened 3 times. The thing that may be wrong here, is that the Tahoma hub may be sending you the state 3 times, because I have 3 different awnings, and they are all secured by this wind sensor. But since I only added one of the awnings to be logged, I would prefer not to get 3 lock state messages.

It is also a bit curious that one of them actually did not pick up the lock state: "wind".

I guess for now I can live with this myself, but it may cause some confusions for others.

happytesting commented 1 year ago

Lots of comments now =)

But now I noticed the lock state looks to change to an empty state every 1 mins, the wind state was still in my Somfy app. Which basically means I cannot really rely on waiting for this state to change to empty. IMG_2256

I guess I can capture that the state variable is wind, and then handle it myself, but it would be better if I can reliably ask for the update when its not locked anymore. image

AdyRock commented 1 year ago

I will look into the 1 minute change. As for the 3 notifications, it might be related as each device should only get one.