Skip to main content

A python package for your sinric-pro alexa skill

Project description

This is a python library for alexa home automation skill



  • Automate your home using alexa with sinricpro

Installation :


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sinricpro-0.0.9.tar.gz (9.1 kB view hashes)

Uploaded source

Built Distribution

sinricpro-0.0.9-py3-none-any.whl (15.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page