pzim-devdata / tahoma

[UP TO DATE] Command Line Interface to Control ALL Somfy's Devices. 100% functional with ChatGPT
MIT License
5 stars 2 forks source link

Devices not recognized #2

Closed paleiadevelopment closed 1 year ago

paleiadevelopment commented 1 year ago

Hi! after getting everything to work, sadly the application seems to not support the types of device I use. The prompt said to post about this here, so I am: EG Erker mitte,io://2026-9407-8819/1402064,PositionableScreen Device 'EG Erker mitte' NOT controlled by tahoma yet Balkon,io://2026-9407-8819/2583581,PositionableHorizontalAwning Device 'Balkon' NOT controlled by tahoma yet

Is there anything else I can provide? I hope support can be added. These are Somfy sunscreens.

pzim-devdata commented 1 year ago

Yes you are right, I can add PositionableScreen and PositionableHorizontalAwning. But for now I'm very busy (I have a lot of work). Could you please wait for max one month ? If I have time I will add Somfy sunscreens and let you know. Sorry for the time.

pzim-devdata commented 1 year ago

Finally, I will do it now ;-), could try with this two files ? Replace get_devices_url.py and tahoma.py in the tahoma's folder and let me know : Somfy_update.zip

paleiadevelopment commented 1 year ago

it works!!! Thank you SO much!

Is it also possible to open/close partway? You can do that in Somfy's official app. Like open 50% for example. That would be the cherry on top :) But even "just" opening/closing is already so much nicer than always using the app!

pzim-devdata commented 1 year ago

Did you tried 'MY' ? For going to xx% I have no time to do it. I will check later, but I'm not sure if it's ok because I can't test on my own.

paleiadevelopment commented 1 year ago

Yes, My works, but that puts it to one pre-saved setting. You can't do "My50" for example and programming that "my" state on Somfy's app is horrible, to say the least. Half of the time it saves the wrong setting.

No worries - if you ever feel like building it in, I volunteer for testing :)

pzim-devdata commented 1 year ago

I'm happy that it works, I wasn't sure. I will check if I can found an option for opening to xx%, but I'm not very sure, because I have already tried with Velux, which is IO protocol too, and it didn't worked. Send me a message in one month, I will be on holidays and I will try to find something for that. Sorry

pzim-devdata commented 1 year ago

Are you sure it's working perfectly ? Like this I will push now a new release on Github

paleiadevelopment commented 1 year ago

Yes, open, close, stop and my work perfectly fine :)

pzim-devdata commented 1 year ago

ok, thank you

pzim-devdata commented 1 year ago

For now you can try the sleep function : for exemple : python3 'F:\Portable\tahoma\tahoma.py' close sunscreen Erker; sleep 10; python3 'F:\Portable\tahoma\tahoma.py' open sunscreen Erker; sleep 3; python3 'F:\Portable\tahoma\tahoma.py' stop sunscreen Erker and create a shortcut with this command called 'Close sunscreen Erker to 75%' for instance.

For configuring the MY command it can be done with the remote control by pressing the MY button for 10 seconds on the position you want to save.

paleiadevelopment commented 1 year ago

Yes, timing the "stop" command and making a batch file is how I'm solving it right now. I hope it will be possible to have a true "set to X%" command in the future

pzim-devdata commented 1 year ago

@paleiadevelopment :

As promised, the work is done. I have published a new version of tahoma. Could you please download it, try the following command and let me know if it works: python3 'F:\Portable\tahoma\tahoma.py' 25 sunscreen Erker ?

I have also created a tahoma.exe program, like this it will be easier to create shortcuts without adding python3 parameters. For exemple you will be able to create a shortcut directly with this command : F:\Portable\tahoma\tahoma 25 sunscreen Erker or if you create a PATH to the folder of tahoma : tahoma 25 sunscreen Erker

And finally I have added the ability to control Scenes. tahoma -g to download them

Enjoy ;-)