Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roller shutter warning #2

Closed
tikismoke opened this issue Jun 26, 2017 · 8 comments
Closed

Roller shutter warning #2

tikismoke opened this issue Jun 26, 2017 · 8 comments

Comments

@tikismoke
Copy link

WARNING: Could not parse product: Roller shutter

How can i help you with this to test?
I can only grab window 0 and 1 but i have 4 device 2 shuutter and 2 window.

@tikismoke
Copy link
Author

I print the json anser of the klf200 i got:
[{'name': 'Volet roulant cour', 'id': 0, 'scenes': ['Fermer volet cour', 'Ouvrir volet cour'], 'category': 'Roller shutter', 'typeId': 2, 'subtype': 0}, {'name': 'Fenêtre cour', 'id': 1, 'scenes': ['Fermer fenetre cour', 'Ouvrir fenetre cour'], 'category': 'Window opener', 'typeId': 4, 'subtype': 1}, {'name': 'Fenêtre jardin', 'id': 2, 'scenes': ['Fermer fenetre jardin', 'Ouvrir fenetre jardin'], 'category': 'Window opener', 'typeId': 4, 'subtype': 1}, {'name': 'Volet roulant jardin', 'id': 3, 'scenes': ['Fermer volet jardin', 'Ouvrir Volet jardin'], 'category': 'Roller shutter', 'typeId': 2, 'subtype': 0}]

@Julius2342
Copy link
Owner

Hello! I don't have a roller shutter :-)

Probably we have to add a class named "RollerShutter" derived from Device (Just copy Window) ...

And, what reminds me: we have to add unit tests for parsing results...

Julius2342 added a commit that referenced this issue Jun 26, 2017
@Julius2342
Copy link
Owner

May you test this?

@tikismoke
Copy link
Author

Not this evening, I'll try in the week.

Did you find any way to get position? Or other API functionality?

@Julius2342
Copy link
Owner

Julius2342 commented Jun 26, 2017

No, did not really try to find other api calls. But i discovered a security problem: https://gist.github.com/Julius2342/6282ded9f527e762ea50f42c2c439a1a

@tikismoke
Copy link
Author

Ok the roller-shutter class is working for me.

@Julius2342
Copy link
Owner

merged to master and deleted remote branch.

Question for me is: what are the other typeids? But we probably have to ask Velux. :)

Do you also experience these stange timeout problems?

@tikismoke
Copy link
Author

Not sure Velux will be very helpfull but hy not have a try.

Julius2342 pushed a commit that referenced this issue Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants