MadPatrick / somfy

Tahoma/Conexoon plugin for IO blinds, this plugin require internet connexion and a Somfy account
GNU General Public License v3.0
14 stars 3 forks source link

Add new roller shutter #7

Closed JanJaapKo closed 1 year ago

JanJaapKo commented 2 years ago

With this PR we can control not only the up/down but also the tilt operation of venetian blinds. Has been tested by JP and works fine. Solves issue #5

JanJaapKo commented 2 years ago

@MadPatrick please check if this version does not lead to problems on your end, then we can merge this PR so that the improvement is available to all users

MadPatrick commented 2 years ago

Hello JanJaap,

Unfortunately the Screens are not working with the new version. This is a snip of the log

2022-07-23 20:40:00,824 - DEBUG - connectionpool.py - Starting new HTTPS connection (1): tahomalink.com:443 2022-07-23 20:40:00,909 - DEBUG - connectionpool.py - https://tahomalink.com:443 "POST /enduser-mobile-web/enduserAPI/events/2c5bd04f-ac10-3e01-0925-6f0891572ded/fetch HTTP/1.1" 200 None 2022-07-23 20:40:00,913 - DEBUG - tahoma.py - get events response: status '200' response body: '[]' 2022-07-23 20:40:00,913 - DEBUG - tahoma.py - get_events: no DeviceStateChangedEvent found in response: [] 2022-07-23 20:40:09,092 - DEBUG - plugin.py - Polling unit in 29 heartbeats. 2022-07-23 20:40:19,083 - DEBUG - plugin.py - Polling unit in 28 heartbeats. 2022-07-23 20:40:23,745 - DEBUG - plugin.py - onCommand: DeviceId: 'io://1237-2024-7920/2331376' Unit: '5', Command: 'Set Level', Level: '12', Hue: '' 2022-07-23 20:40:23,745 - ERROR - plugin.py - unit not supported

JanJaapKo commented 1 year ago

Waiting for feedback from JP to check all is still working, then this branch can be merged