sinricpro / python-sdk

python3 sdk for sinric pro.
https://sinric.pro
23 stars 9 forks source link

Multiple range instances #31

Open djschwab opened 2 years ago

djschwab commented 2 years ago

I have defined a custom device with multiple range instances, all with unique instance id's. How can I tell which range was set in my onSetRangeValue callback?

kakopappa commented 2 years ago

Python SDK does not have custom device support. I am preparing a PR to implement custom devices. It will be ready in a day or two

djschwab commented 2 years ago

Thank you for your prompt reply. Will the new PR include this capability? I think Sinric is a great idea and I will recommend it to my colleagues.

Cheers,

... Dave Schwab

On Sat, Nov 20, 2021, 8:44 PM Aruna Tennakoon @.***> wrote:

Python SDK does not have custom device support. I am preparing a PR to implement custom devices. It will be ready in a day or two

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sinricpro/python-sdk/issues/31#issuecomment-974739963, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHL7TLSY247VPJYXHBCAX2TUNBFIZANCNFSM5IMF3XHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kakopappa commented 2 years ago

Yes new PR will pass the instanceId in the callback

PR

https://github.com/sinricpro/python-sdk/pull/32

Example

https://github.com/sinricpro/python-examples/pull/5

Waiting for dhanush to review and merge. If you are in a hurry you can get the code from the PR branch and try.

Thanks for recommending. Please let me know if you have any questions / ideas

On Mon, 22 Nov 2021 at 7:46 AM djschwab @.***> wrote:

Thank you for your prompt reply. Will the new PR include this capability? I think Sinric is a great idea and I will recommend it to my colleagues.

Cheers,

... Dave Schwab

On Sat, Nov 20, 2021, 8:44 PM Aruna Tennakoon @.***> wrote:

Python SDK does not have custom device support. I am preparing a PR to implement custom devices. It will be ready in a day or two

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/sinricpro/python-sdk/issues/31#issuecomment-974739963>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AHL7TLSY247VPJYXHBCAX2TUNBFIZANCNFSM5IMF3XHQ

. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android < https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/sinricpro/python-sdk/issues/31#issuecomment-974953939, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZVOTYXLSZUEMTMH73DUNGHFJANCNFSM5IMF3XHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.