Skip to main content
This is a python library for alexa home automation skill

SINRIC PRO —> https://sinric.pro/

Functions:

  • Automate your home using alexa with sinricpro

Installation :

Python3

python3 -m pip install pysinric --user

Pro Switch Demo:

from sinric import SinricPro
from sinric import SinricProUdp
from credentials import apiKey, deviceId


def power_state(did, state):
    # Alexa, turn ON/OFF Device
    print(did, state['state'])
    return True, state['state']


callbacks = {
'powerState': power_state
}

if __name__ == '__main__':
    client = SinricPro(apiKey, deviceId, callbacks, enable_trace=False)
    udp_client = SinricProUdp(callbacks)
    udp_client.enableUdpPrint(False)  # Set it to True to start printing request UDP JSON
    client.handle_all(udp_client)

Release files for sinricpro 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sinricpro 0.0.9
File Size Uploaded
sinricpro-0.0.9.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sinricpro 0.0.9
File Interpreter ABI Platform
sinricpro-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size:24.6 kB

Release files / sinricpro-0.0.9.tar.gz

Download URL sinricpro-0.0.9.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
324a1fcbe1c2914231fdee0d1ff9018a6547a523e8df220f7520bfbe06438d57
BLAKE2b-256 checksum
How to use checksums
31cb227015b8b23d1161a8a56f059715c3490720ee94e0f02ea6e209dd885c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

Release files / sinricpro-0.0.9-py3-none-any.whl

Download URL sinricpro-0.0.9-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46504e39c276ecb33f3a56118dbaac5b23061eefedbe370293afd33c768ad985
BLAKE2b-256 checksum
How to use checksums
f17a83ec8992c4d3d695e9fcca14d59e3d0dc5b4472d508604313c3e874f479a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

Release history Release notifications | RSS feed

6.0.0

2 release files

5.3.2

2 release files

5.3.1

2 release files

5.2.1

2 release files

5.0.1

2 release files

5.0.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.7.7

2 release files

2.7.5

2 release files

2.7.4

2 release files

2.7.3

2 release files

2.7.2

2 release files

2.7.1

2 release files

2.6.4

2 release files

2.6.3

2 release files

2.6.2

2 release files

2.6.1

2 release files

2.5.3

2 release files

2.5.1

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.9

2 release files

2.3.8

2 release files

2.3.7

2 release files

2.3.6

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page