├── .github ├── scripts │ └── validate_examples.py └── workflows │ ├── README.md │ ├── pr-validation.yml │ ├── publish-release.yml │ └── stale.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs └── CONTRIBUTING.md ├── examples ├── README.md ├── airqualitysensor │ └── airqualitysensor_example.py ├── blinds │ ├── README.md │ └── blinds_example.py ├── camera │ ├── README.md │ └── camera_example.py ├── contactsensor │ └── contactsensor_example.py ├── customdevice │ ├── README.md │ └── customdevice_example.py ├── dimswitch │ └── dimswitch_example.py ├── doorbell │ └── doorbell_example.py ├── fan │ └── fan_example.py ├── garagedoor │ ├── README.md │ └── garage_door_example.py ├── light │ ├── README.md │ └── light_example.py ├── lock │ ├── README.md │ └── lock_example.py ├── motionsensor │ ├── README.md │ └── motion_sensor_example.py ├── powersensor │ └── powersensor_example.py ├── switch │ ├── README.md │ └── switch_example.py ├── temperaturesensor │ ├── README.md │ └── temperature_sensor_example.py ├── thermostat │ ├── README.md │ └── thermostat_example.py └── windowac │ └── windowac_example.py ├── llms-full.txt ├── llms.txt ├── pyproject.toml └── sinricpro ├── __init__.py ├── capabilities ├── __init__.py ├── air_quality_sensor.py ├── brightness_controller.py ├── camera_controller.py ├── color_controller.py ├── color_temperature_controller.py ├── contact_sensor.py ├── lock_controller.py ├── mode_controller.py ├── motion_sensor.py ├── open_close_controller.py ├── percentage_controller.py ├── power_level_controller.py ├── power_sensor.py ├── power_state_controller.py ├── push_notification.py ├── range_controller.py ├── setting_controller.py ├── temperature_sensor.py └── thermostat_controller.py ├── core ├── __init__.py ├── actions.py ├── event_limiter.py ├── exceptions.py ├── message_queue.py ├── signature.py ├── sinric_pro.py ├── sinric_pro_device.py ├── types.py └── websocket_client.py ├── devices ├── __init__.py ├── sinric_pro_air_quality_sensor.py ├── sinric_pro_blinds.py ├── sinric_pro_camera.py ├── sinric_pro_contact_sensor.py ├── sinric_pro_custom_device.py ├── sinric_pro_dimswitch.py ├── sinric_pro_doorbell.py ├── sinric_pro_fan.py ├── sinric_pro_garage_door.py ├── sinric_pro_light.py ├── sinric_pro_lock.py ├── sinric_pro_motion_sensor.py ├── sinric_pro_power_sensor.py ├── sinric_pro_switch.py ├── sinric_pro_temperature_sensor.py ├── sinric_pro_thermostat.py └── sinric_pro_window_ac.py └── utils ├── __init__.py └── logger.py /.github/scripts/validate_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/.github/scripts/validate_examples.py -------------------------------------------------------------------------------- /.github/workflows/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/.github/workflows/README.md -------------------------------------------------------------------------------- /.github/workflows/pr-validation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/.github/workflows/pr-validation.yml -------------------------------------------------------------------------------- /.github/workflows/publish-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/.github/workflows/publish-release.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/README.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/airqualitysensor/airqualitysensor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/airqualitysensor/airqualitysensor_example.py -------------------------------------------------------------------------------- /examples/blinds/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/blinds/README.md -------------------------------------------------------------------------------- /examples/blinds/blinds_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/blinds/blinds_example.py -------------------------------------------------------------------------------- /examples/camera/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/camera/README.md -------------------------------------------------------------------------------- /examples/camera/camera_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/camera/camera_example.py -------------------------------------------------------------------------------- /examples/contactsensor/contactsensor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/contactsensor/contactsensor_example.py -------------------------------------------------------------------------------- /examples/customdevice/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/customdevice/README.md -------------------------------------------------------------------------------- /examples/customdevice/customdevice_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/customdevice/customdevice_example.py -------------------------------------------------------------------------------- /examples/dimswitch/dimswitch_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/dimswitch/dimswitch_example.py -------------------------------------------------------------------------------- /examples/doorbell/doorbell_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/doorbell/doorbell_example.py -------------------------------------------------------------------------------- /examples/fan/fan_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/fan/fan_example.py -------------------------------------------------------------------------------- /examples/garagedoor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/garagedoor/README.md -------------------------------------------------------------------------------- /examples/garagedoor/garage_door_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/garagedoor/garage_door_example.py -------------------------------------------------------------------------------- /examples/light/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/light/README.md -------------------------------------------------------------------------------- /examples/light/light_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/light/light_example.py -------------------------------------------------------------------------------- /examples/lock/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/lock/README.md -------------------------------------------------------------------------------- /examples/lock/lock_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/lock/lock_example.py -------------------------------------------------------------------------------- /examples/motionsensor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/motionsensor/README.md -------------------------------------------------------------------------------- /examples/motionsensor/motion_sensor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/motionsensor/motion_sensor_example.py -------------------------------------------------------------------------------- /examples/powersensor/powersensor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/powersensor/powersensor_example.py -------------------------------------------------------------------------------- /examples/switch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/switch/README.md -------------------------------------------------------------------------------- /examples/switch/switch_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/switch/switch_example.py -------------------------------------------------------------------------------- /examples/temperaturesensor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/temperaturesensor/README.md -------------------------------------------------------------------------------- /examples/temperaturesensor/temperature_sensor_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/temperaturesensor/temperature_sensor_example.py -------------------------------------------------------------------------------- /examples/thermostat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/thermostat/README.md -------------------------------------------------------------------------------- /examples/thermostat/thermostat_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/thermostat/thermostat_example.py -------------------------------------------------------------------------------- /examples/windowac/windowac_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/examples/windowac/windowac_example.py -------------------------------------------------------------------------------- /llms-full.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/llms-full.txt -------------------------------------------------------------------------------- /llms.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/llms.txt -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/pyproject.toml -------------------------------------------------------------------------------- /sinricpro/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/__init__.py -------------------------------------------------------------------------------- /sinricpro/capabilities/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/__init__.py -------------------------------------------------------------------------------- /sinricpro/capabilities/air_quality_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/air_quality_sensor.py -------------------------------------------------------------------------------- /sinricpro/capabilities/brightness_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/brightness_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/camera_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/camera_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/color_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/color_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/color_temperature_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/color_temperature_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/contact_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/contact_sensor.py -------------------------------------------------------------------------------- /sinricpro/capabilities/lock_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/lock_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/mode_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/mode_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/motion_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/motion_sensor.py -------------------------------------------------------------------------------- /sinricpro/capabilities/open_close_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/open_close_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/percentage_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/percentage_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/power_level_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/power_level_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/power_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/power_sensor.py -------------------------------------------------------------------------------- /sinricpro/capabilities/power_state_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/power_state_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/push_notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/push_notification.py -------------------------------------------------------------------------------- /sinricpro/capabilities/range_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/range_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/setting_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/setting_controller.py -------------------------------------------------------------------------------- /sinricpro/capabilities/temperature_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/temperature_sensor.py -------------------------------------------------------------------------------- /sinricpro/capabilities/thermostat_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/capabilities/thermostat_controller.py -------------------------------------------------------------------------------- /sinricpro/core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/__init__.py -------------------------------------------------------------------------------- /sinricpro/core/actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/actions.py -------------------------------------------------------------------------------- /sinricpro/core/event_limiter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/event_limiter.py -------------------------------------------------------------------------------- /sinricpro/core/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/exceptions.py -------------------------------------------------------------------------------- /sinricpro/core/message_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/message_queue.py -------------------------------------------------------------------------------- /sinricpro/core/signature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/signature.py -------------------------------------------------------------------------------- /sinricpro/core/sinric_pro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/sinric_pro.py -------------------------------------------------------------------------------- /sinricpro/core/sinric_pro_device.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/sinric_pro_device.py -------------------------------------------------------------------------------- /sinricpro/core/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/types.py -------------------------------------------------------------------------------- /sinricpro/core/websocket_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/core/websocket_client.py -------------------------------------------------------------------------------- /sinricpro/devices/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/__init__.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_air_quality_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_air_quality_sensor.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_blinds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_blinds.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_camera.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_contact_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_contact_sensor.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_custom_device.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_custom_device.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_dimswitch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_dimswitch.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_doorbell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_doorbell.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_fan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_fan.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_garage_door.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_garage_door.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_light.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_light.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_lock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_lock.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_motion_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_motion_sensor.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_power_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_power_sensor.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_switch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_switch.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_temperature_sensor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_temperature_sensor.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_thermostat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_thermostat.py -------------------------------------------------------------------------------- /sinricpro/devices/sinric_pro_window_ac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/devices/sinric_pro_window_ac.py -------------------------------------------------------------------------------- /sinricpro/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/utils/__init__.py -------------------------------------------------------------------------------- /sinricpro/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinricpro/python-sdk/HEAD/sinricpro/utils/logger.py --------------------------------------------------------------------------------