AdyRock / com.somfy.tahoma

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

IO Door sensor #172

Open Daniels1959 opened 5 months ago

Daniels1959 commented 5 months ago

Afther the last update Somfy Tahoma 26.03.2024, the IO devices # Door / window contact # are not responding to Homey

AdyRock commented 5 months ago

Can you enable the Information Log in the App settings screen, trigger one of the sensors and then send the log.

Daniels1959 commented 5 months ago

OK Adrian, just sended

AdyRock commented 5 months ago

Can you see any Tokens in the Local Tokens tab of the app settings?

Daniels1959 commented 5 months ago

Error: No Somfy bridges have been detected. Make sure the Developer mode has been enabled on you Somfy account. The Somfy bridge should broadcast it's IP and PIN via mDNS once the option is enabled.

Daniels1959 commented 5 months ago

Token

AdyRock commented 5 months ago

Have you got the Developer mode enabled on your account?

Daniels1959 commented 5 months ago

no

AdyRock commented 5 months ago

OK, so that explains why you have no local tokens. I would recommend you do that as the app will then be able to access your Tahoma directly instead of going via the cloud. It will be more reliable and faster (update every 3 seconds instead of 30 seconds).

However I am working on a fix for the issue caused by the update.

Daniels1959 commented 5 months ago

OK , how to do this ?

AdyRock commented 5 months ago

Instructions are in the first post here under Local Access: https://community.homey.app/t/app-cloud-pro-somfy-tahoma-connexoon-v4-0-37-test-v4-0-75/35206

Daniels1959 commented 5 months ago

ok Done , great results !!

Daniels1959 commented 5 months ago

everything works correctly, great service Adrian, thank you

AdyRock commented 5 months ago

The update is also available that fixes the issue you had, but is not relevant now .

Daniels1959 commented 5 months ago

may ask you an other question , related Senario player ?

AdyRock commented 5 months ago

Yes, fire away.

Daniels1959 commented 5 months ago

a player retains his last position, so the status, for example: under, is retained until you change the status! = like a switch ! Why not as a button ?

Daniels1959 commented 5 months ago

Player

AdyRock commented 5 months ago

Sorry, I don't understand. It looks like the capability has 4 states, so how would that be a button? Maybe you could translate the text to see if it makes more sense to me.

Daniels1959 commented 5 months ago

now always 1 status is always 1, and it also remains 1 if you don't press with a button the status is 1 as long as you press it. e.g.: I switch on a lamp with the player (ON). I switch that lamp off with another device. If I now want to switch this lamp on again with the player, I first have to change the status of the player, and then back to ON, to switch the lamp on.

AdyRock commented 5 months ago

I think I understand what you mean. I have order a controller so I can have a play.

Daniels1959 commented 5 months ago

good morning Adrian , backt to the first issue , the issue came again , the IO devices # Door / window contact # are not responding to Homey token 28 03

Daniels1959 commented 5 months ago

I just sended the Information Log

Daniels1959 commented 4 months ago

Hi Adrian , related the Senario player , did you have a play with the controller ?

AdyRock commented 4 months ago

Sorry, yes. can you try the new test version of the app. This resets the state to null after 500ms so it can be changed again. However, there seems to be an issue with the local events (which I have reported to Somfy) where it will only notify of different button press once. So, if you press Up then it won't notify of another Up press until the Down is pressed. The cloud events work fine and it will send a notification for each press, so you can get Up, Up, Up, etc.

Daniels1959 commented 4 months ago

hi Adrian , just did the test , seems not to work here , . i need still to go UP again to activate the Down commando

AdyRock commented 4 months ago

Yep, as I say, if you are using local mode, the events are on sent in an alternating sequence. So you can't respond to 2 or more consecutive presses of the same button. I have reported it to Somfy. When I tested it in cloud mode, all the notifications came in, but in one notification, so there was up to 30 second delay and then just a ms or two between processing each event. Hopefully, Somfy will fix it, but that could take a long time.

Daniels1959 commented 2 months ago

Hi Andy , did you have any response , related the report to Somfy ?

AdyRock commented 2 months ago

I had a response a few days ago, and I need to provide some examples of JSON responses. Unfortunately, I packed away my remote when I started my office refurbishment, so I don't have it to hand to generate the logs. I'm in the process of unpacking all the boxes now, so will get on it as soon as I come across the remote.

Daniels1959 commented 2 months ago

OK Andy

Daniels1959 commented 2 months ago

Hi Adrian , i am still struggling with the scenario player, is it not possible to make a card, like the Philips Hue dimmer switch? (IF you press the button: up - Stop - Down) ? Now its the card : IF the external status is changed .

https://homey.app/nl-be/app/nl.philips.hue/Philips-Hue/

AdyRock commented 2 months ago

Sorry you lost me on this one.

I have sent logs to Somfy, and I'm waiting for a response. My Tahoma did update this afternoon, but I have been able to check if it fixes the issue.

Daniels1959 commented 2 months ago

Hi , My Tahoma did also the update, I have tested the player , but still the same issue

AdyRock commented 2 months ago

Hi Adrian , i am still struggling with the scenario player, is it not possible to make a card, like the Philips Hue dimmer switch? (IF you press the button: up - Stop - Down) ? Now its the card : IF the external status is changed .

https://homey.app/nl-be/app/nl.philips.hue/Philips-Hue/

You mean this one?

image
Daniels1959 commented 2 months ago

2024-06-21

AdyRock commented 2 months ago

Sorry, I'm still confused as the card I showed is the equivalent card of the Hue one you show.

Daniels1959 commented 2 months ago

Yes but on the Hue dimmer is it a push function , related to the Player it is a Set function. Means if you push a buton on the Hue , he has the status 1 , release the buton status 0 . Push again on the same buton Status 1 , release the buton status 0, en so on . On the Player , if you push the buton ( exmpl. UP ) , he go to Status 1 and stay at status 1 , until you push a other buton ( STOP or Down)

AdyRock commented 2 months ago

Ah, I see. The Somfy remote doesn't provide a button-up event, but I can set it to null after a short delay so you get a separate event for each press (once they fix the bug).

Daniels1959 commented 2 months ago

ok Adrian , please keep me informed when the bug is fixed