Coder Social home page Coder Social logo

micropython-sinricpro-sdk's Introduction

Micropython-SinricPro SDK

The simple way to control your MicroPython board with Amazon Alexa, Google Home, SmartThings, Homebridge and Node-RED.

Tutorials:

Which device types are working as of now?

Device Type Supported ? Notes
Switch
  • Completed
-
Blinds
  • Completed
-
Dimmable Switch
  • Completed
-
Fan
  • Completed
-
Garage Door
  • Completed
-
Light
  • Completed
-
Lock
  • Completed
-
Thermostat
  • Completed
-
TV
  • Completed
-
AC Unit
  • Completed
-
Temperature Sensor
  • Completed
-
Motion Sensor
  • Completed
-
Contact Sensor
  • Completed
-
Speaker
  • Completed
-
Custom Device Types Pending -

How do I install it?

Using mpremote: (pip install --user mpremote)

make sure device is not connected to IDE

mpremote mip install github:sinricpro/micropython-sinricpro-sdk 

or

py -m mpremote connect <COM_PORT> mip install github:sinricpro/micropython-sinricpro-sdk

Using mip:

import mip
mip.install("github:sinricpro/micropython-sinricpro-sdk")

How can I use it?

Checkout the examples directory.

Will it run on Microcontroller X?

Code is being developed and tested on a ESP32 devkit with MicroPython 1.21

For development using PyMakr:

  1. Install Micropython (https://docs.micropython.org/en/latest/esp32/tutorial/intro.html)
  2. Install PyMakr in VSCode
  3. VSCode -> Open Workspace from File -> micropython-sinricpro-sdk.code-workspace
  4. Create a new file called main.py to code.
  5. Connect to ESP32 in PyMakr -> Upload -> Hardreset device.
  6. Please use Pylint for formatting (https://marketplace.visualstudio.com/items?itemName=ms-python.pylint)

micropython-sinricpro-sdk's People

Contributors

kakopappa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.