-
Notifications
You must be signed in to change notification settings - Fork 30
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
Need a simple tuto to execute a little python program #759
Comments
We should indeed improve the documentation a bit; #190. You can see a very advanced implementation in Home Assistant (see https://github.com/home-assistant/core/tree/dev/homeassistant/components/overkiz). from pyoverkiz import OverkizClient
from pyoverkiz.enums import OverkizCommand
from pyoverkiz.models import Command, Device, StateDefinition
client = OverkizClient(USERNAME, PASSWORD, server=SUPPORTED_SERVERS["somfy_europe"])
device_url = "rts://1231-xxxx-2819/xxxxxxxx"
exec_id = await client.execute_command(
device_url,
Command(OverkizCommand.OPEN, [0])
) |
THANK YOU SO MUCH !!!!!!!!!!!!!!!!!!!! It's working perfectly !!! #INSTALL or UPDATE python-overkiz-api : https://github.com/iMicknl/python-overkiz-api : #GIVE LOGIN INFORMATIONS :
#THEN GET INFORMATIONS ABOUT SOMFY DEVICES :
#FIND THE ROLLER SHUTTER URL (IT SHOULD BE LIKE THIS : #PASTE THE ROLLER SHUTTER URL :
#AND VOILA ! : |
HERE IS MY COMPLETE CONFIG FOR RTS SOMFY ROLLER SHUTTER AND IO SOMFY Atlantic Electrical Heater HEATING SYSTEM ( Interface de chauffage io. Référence 1822452 )
|
HERE IS MY CONFIG FOR MyFoxAlarm TSKAlarmController Somfy Outdoor Camera Référence 2401560 AND THE SPOTLIGHT
|
Thank you for your precious help. Almost everything works now. However, I have a last problem for importing my scenarios. I don't know how to do : Here is my code. I try to adapt this : https://github.com/home-assistant/core/blob/dev/homeassistant/components/overkiz/scene.py If you could give me a quick help, it would be nice. However I'm already more than satisfied by all the help you provided to me, it was very helpful. Thanks ;-)
|
@pzim-devdata sorry for the late reply, you need to call |
Thank you ! 😉 |
HERE IS MY CONFIG FOR SCENARIOS
|
Hello,
Thank you very much for your program.
I would like to make a little Python script to simply open or close my Roller Shutter, for exemple, and I don't know how to use this API.
Could you, please, provide us a little tuto to explain how the API works ?
I've executed the script from the Readme file and I have this information :
Volet Cuisine (rts://1231-xxxx-2819/xxxxxxxx) - rts:RollerShutterRTSComponent UpDownRollerShutter - RollerShutter
But for the rest I don't know what to do...
Thanks !
The text was updated successfully, but these errors were encountered: