# Sinric Pro Documentation > Sinric Pro is an IoT cloud platform that connects ESP32, ESP8266, Raspberry Pi Pico W and other development boards to Amazon Alexa, Google Home, Samsung SmartThings, Apple HomeKit (Homebridge), Home Assistant, a mobile app and a REST API. This site is the official documentation: setup guides, step-by-step hardware tutorials with complete code, device type and capability references, and API guides. Key facts: - Website: https://sinric.pro - Portal (create devices, get credentials): https://portal.sinric.pro - Arduino library for ESP32, ESP8266 and RP2040: `SinricPro` (https://github.com/sinricpro/esp8266-esp32-sdk). Install it from the Arduino Library Manager, or add `sinricpro/SinricPro` to `lib_deps` in PlatformIO. - Other SDKs: ESP-IDF, Raspberry Pi Pico, MicroPython, Python, NodeJS. See https://github.com/sinricpro - REST API reference: https://apidocs.sinric.pro - MCP server for AI coding assistants (documentation search, API reference, SDK examples): https://docs.sinric.pro/mcp. Setup: https://help.sinric.pro/pages/mcp-server ## Start here - [How to Control an ESP32 or ESP8266 with Alexa and Google Home](https://help.sinric.pro/pages/tutorials/general/esp32-esp8266-alexa-google-home): step-by-step guide with a complete sketch - [How to Install the Sinric Pro Library](https://help.sinric.pro/pages/tutorials/general/install-sinricpro-library): Arduino IDE, PlatformIO and common install errors - [Quickstart Tutorials](https://help.sinric.pro/pages/quickstarts): index of all tutorials ## Guides and integrations - [Amazon Alexa](https://help.sinric.pro/pages/alexa): Connect Sinric Pro to Amazon Alexa. Enable the Sinric Pro skill, link your account, discover your ESP32 and ESP8266 devices and control them by voice. - [API Guide](https://help.sinric.pro/pages/api-guide): Sinric Pro REST API guide. Create an API key, authenticate, list devices and send commands to your devices over HTTP. - [Apple Shortcuts](https://help.sinric.pro/pages/apple-shortcuts): Create an Apple Shortcut that turns a relay on an ESP32, ESP8266 or Raspberry Pi on and off through the Sinric Pro API. - [Automations](https://help.sinric.pro/pages/automations): Create Sinric Pro automations with drag and drop. Trigger devices by time, sunrise or sunset, delays and device events, and send push notifications. - [Device Templates](https://help.sinric.pro/pages/custom-templates): Build your own device type in Sinric Pro with device templates. Drag and drop capabilities and generate the code for ESP32 and ESP8266. - [Energy Estimates](https://help.sinric.pro/pages/energy_estimates): How Sinric Pro estimates the energy use of your devices from their on and off times and wattage. - [Sinric Pro For Business](https://help.sinric.pro/pages/for-business): Sinric Pro for Business helps you build and sell smart home products, with device provisioning, device management and OTA updates. - [Google Home](https://help.sinric.pro/pages/google-home): Connect Sinric Pro to Google Home. Link the Sinric Pro action in the Google Home app and control your ESP32 and ESP8266 devices with Google Assistant. - [Home Assistant](https://help.sinric.pro/pages/home-assistant): Connect Sinric Pro to Home Assistant with the official custom integration. Install with HACS, add your API key and control your Sinric Pro devices from Home Assistant. - [Homebridge (Homekit)](https://help.sinric.pro/pages/homebridge): Expose your Sinric Pro devices to Apple HomeKit with the Homebridge SinricPro plugin. Install the plugin and add your API key. - [IFTTT](https://help.sinric.pro/pages/ifttt): Integrate IFTTT Webhooks with Sinric Pro. Send device events to IFTTT and control Sinric Pro devices from IFTTT applets. - [Local Control](https://help.sinric.pro/pages/local-control): Local control lets the Sinric Pro app talk to your ESP32 and ESP8266 devices directly over Wi-Fi, so they keep working when the internet is down. - [MCP Server & Skill](https://help.sinric.pro/pages/mcp-server): Connect AI coding assistants such as Claude Code, Codex and Cursor to the Sinric Pro documentation, API reference and SDK examples with the MCP server. - [Modules](https://help.sinric.pro/pages/modules): What a module is in Sinric Pro, and how one ESP32 or ESP8266 board can host several devices. - [Node-RED](https://help.sinric.pro/pages/node-red): Receive Alexa, Google Home and SmartThings commands in Node-RED with the Sinric Pro Node-RED plugin. Installation and example flow. - [OTA Updates](https://help.sinric.pro/pages/ota): Set up firmware over-the-air (OTA) updates for ESP32 and ESP8266 with Sinric Pro. Upload firmware in the Portal and update devices remotely. - [Pricing](https://help.sinric.pro/pages/pricing): SinricPro Pricing Plans for DIY users - [Quickstart Tutorials](https://help.sinric.pro/pages/quickstarts): Sinric Pro quickstart tutorials for ESP32, ESP8266 and Raspberry Pi Pico W. Switches, lights, sensors, cameras and more with Alexa and Google Home. - [Samsung SmartThings](https://help.sinric.pro/pages/smartthings): Connect Sinric Pro to Samsung SmartThings. Add Sinric Pro in the SmartThings app and control your ESP32 and ESP8266 devices from the SmartThings dashboard. - [Troubleshooting](https://help.sinric.pro/pages/troubleshooting): Fix common Sinric Pro problems on ESP32 and ESP8266. Unstable connection, device offline, Alexa or Google Home not responding. - [Utterances](https://help.sinric.pro/pages/utterances): Sample voice commands (utterances) for Amazon Alexa and Google Home for each Sinric Pro device type. ## Tutorials - [Local WiFI OTA Update via ArduinoOTA](https://help.sinric.pro/pages/ota-updates/local-wifi-ota-update): Update ESP32 and ESP8266 firmware over your local Wi-Fi with ArduinoOTA in a Sinric Pro sketch. - [Build an Air Quality Sensor with a MQ135 Sensor to detect smoke and other harmful gas for Alexa](https://help.sinric.pro/pages/tutorials/air-quality-sensors/mq135): Build an MQ135 air quality sensor with an ESP32 or ESP8266. Covers wiring, how to calibrate the MQ135, fixing readings stuck at 4095, and Alexa integration. - [ESP32-S3 H.264 Camera for Alexa, Google Home](https://help.sinric.pro/pages/tutorials/camera/esp32-h264-alexa-googlehome-camera): Stream live H.264 video from an ESP32-S3 camera to Alexa Echo Show, Google Nest displays, Chromecast and the Sinric Pro app. - [ESP32 WebRTC Camera (Live View in Sinric Pro App and Portal)](https://help.sinric.pro/pages/tutorials/camera/esp32-webrtc-camera): Stream live video from an ESP32 camera to the Sinric Pro app and Portal from anywhere using WebRTC. - [RaspberryPI WebRTC Camera for Alexa, Google Home](https://help.sinric.pro/pages/tutorials/camera/raspberrypi-webrtc-alexa-googlehome-camera): Build a Raspberry Pi WebRTC camera and view the live feed on Alexa Echo Show, Google Nest displays, Chromecast and the Sinric Pro app. - [Contact Sensor (MC-38) Tutorial for ESP8266, ESP32, Raspberry Pi Pico W](https://help.sinric.pro/pages/tutorials/contact-sensors/contact): Build a door and window contact sensor with an MC-38 reed switch and an ESP32, ESP8266 or Raspberry Pi Pico W. See the open/close state in Alexa. - [How to Build a Gas Sensor to detect alcohol, ethanol, smoke in the air using a MQ-3 using ESP32, ESP8266 or Raspberry Pi Pico W for Alexa](https://help.sinric.pro/pages/tutorials/custom-device-types/alcohol-sensor/MQ-3): Build an MQ-3 gas sensor with an ESP32, ESP8266 or Raspberry Pi Pico W to detect alcohol, ethanol and smoke, with Alexa and push notifications. - [Battery Powered Capacitive Soil Moisture Sensor for ESP8266, ESP32, Raspberry Pi Pico W](https://help.sinric.pro/pages/tutorials/custom-device-types/battery-powered-capacitive-soil-moisture-sensor/battery-powered-capacitive-soil-moisture-sensor): Build a battery powered capacitive soil moisture sensor with an ESP32 or ESP8266 that wakes from deep sleep and reports to Sinric Pro. - [How to build a Capacitive Soil Moisture Sensor (HW-390) for ESP8266, ESP32, Raspberry Pi Pico W for Alexa](https://help.sinric.pro/pages/tutorials/custom-device-types/capacitive-soil-moisture-sensor/HW-390): Build a capacitive soil moisture sensor (HW-390) with an ESP32, ESP8266 or Raspberry Pi Pico W. Wiring, calibration, code and Alexa. - [Handling Sinric Pro Smart Button](https://help.sinric.pro/pages/tutorials/custom-device-types/smart-button/push-button): Add a push button to the Sinric Pro app that triggers an action on your ESP32, ESP8266 or Raspberry Pi Pico W. - [Water Level Indicator (Water Tank) using Ultrasonic Sensor (HC-SR04) for ESP8266, ESP32, Raspberry Pi Pico W for Alexa](https://help.sinric.pro/pages/tutorials/custom-device-types/ultrasonic-sensor/HC-SR04): Build a water tank level indicator with an HC-SR04 ultrasonic sensor and an ESP32, ESP8266 or Raspberry Pi Pico W. Wiring, code and Alexa. - [Water Sensor (also known as Water leak, flood, or rain detector) for ESP8266, ESP32, Raspberry Pi Pico W for Alexa](https://help.sinric.pro/pages/tutorials/custom-device-types/water-sensor/flood-leak-rain-sensor): Build a water leak, flood or rain sensor with an ESP32, ESP8266 or Raspberry Pi Pico W. Check the state with Alexa and get push notifications. - [Dimmable Switch Tutorial using YYAC-3S for ESP32](https://help.sinric.pro/pages/tutorials/dimmable-switch/YYAC-3S): Build a dimmable switch with an ESP32 and a YYAC-3S AC dimmer module. Control light brightness with Alexa, Google Home or SmartThings. - [RobotDyn AC Light Dimmer with ESP32 or ESP8266 for Alexa and Google Home](https://help.sinric.pro/pages/tutorials/dimmable-switch/robotdyn-ac-light-dimmer): Wire a RobotDyn AC light dimmer module to an ESP32 or ESP8266. Covers the RBDdimmer library, dimmerLamp constructor parameters, zero-cross and PWM pins, and Alexa and Google Home control. - [Smart Doorbell using ESP32, ESP8266 or Raspberry Pi Pico W for Alexa, Google Home](https://help.sinric.pro/pages/tutorials/doorbell/doorbell): Build a smart doorbell with a push button and an ESP32, ESP8266 or Raspberry Pi Pico W. Get notifications in Alexa, Google Home and the Sinric Pro app. - [Wally Tutorial](https://help.sinric.pro/pages/tutorials/for-business/wally/wally): Sinric Pro for Business tutorial. Create a 2 gang Wi-Fi smart switch product (Wally) on ESP32, from product definition to provisioning. - [SinricPro Device Creation Wizard Guide](https://help.sinric.pro/pages/tutorials/general/device-creation-wizard): Step-by-step guide to the Sinric Pro device creation wizard. Device information, notifications, timers and other settings. - [Espalexa or fauxmoESP "Device Not Found"? Why Emulation Fails and How to Fix It](https://help.sinric.pro/pages/tutorials/general/device-not-found-fauxmoESP-espalexa): Alexa says "No new devices found" with Espalexa or fauxmoESP? Why Hue and WeMo emulation fails on ESP32 and ESP8266, and how to fix it. - [How to Control an ESP32 or ESP8266 with Alexa and Google Home](https://help.sinric.pro/pages/tutorials/general/esp32-esp8266-alexa-google-home): Connect an ESP32 or ESP8266 to Amazon Alexa and Google Home with Sinric Pro. Step-by-step guide with Arduino code, no custom Alexa skill and no port forwarding. - [Sending Voice Announcements via Alexa Using SinricPro](https://help.sinric.pro/pages/tutorials/general/how-to-send-announcements-to-alexa): Send voice announcements to Alexa from an ESP32 or ESP8266 with Sinric Pro, using a contact sensor and an Alexa routine. - [Sending Voice Announcements via Google Home Using SinricPro](https://help.sinric.pro/pages/tutorials/general/how-to-send-announcements-to-google-home): Send voice announcements to Google Home from an ESP32 or ESP8266 with Sinric Pro, using Google Home automations. - [How to Install the Sinric Pro Library (SinricPro.h) in Arduino IDE and PlatformIO](https://help.sinric.pro/pages/tutorials/general/install-sinricpro-library): Install the Sinric Pro library (SDK) for ESP32, ESP8266 and Raspberry Pi Pico W in Arduino IDE or PlatformIO, and fix the "SinricPro.h: No such file or directory" error. - [Sinric Pro - IoT Cloud Platform for ESP8266, ESP32 and Raspberry Pi Pico W](https://help.sinric.pro/pages/tutorials/general/iot-platform-esp8266-esp32): Sinric Pro is an IoT cloud platform for ESP8266, ESP32 and Raspberry Pi Pico W. Control your devices with Alexa, Google Home, a mobile app and an API. 3 devices free. - [ESP32 RF Transmitter + SinricPro Integration Tutorial](https://help.sinric.pro/pages/tutorials/general/rf-transmitter-with-sinricpro): Control 433MHz RF lights, fans and outlets with Alexa and Google Home using an ESP32, an RF transmitter and Sinric Pro. - [Sinric Pro Alternatives - How Sinric Pro Compares](https://help.sinric.pro/pages/tutorials/general/sinric-pro-alternatives): Compare Sinric Pro with the alternatives for controlling an ESP32 or ESP8266 by voice - Espalexa and fauxmoESP, Tasmota, ESPHome with Home Assistant, other IoT clouds and a custom Alexa skill. - [Settings Tutorial](https://help.sinric.pro/pages/tutorials/general/sinricpro-settings-tutorial): Use Sinric Pro custom settings to change configuration values on your ESP32 or ESP8266 remotely, without reflashing the firmware. - [Control a 5050 RGB LED Strip with ESP32 or ESP8266 using Alexa and Google Home](https://help.sinric.pro/pages/tutorials/light/LED-Stripe-5050): Control a 5050 RGB LED strip with an ESP32 or ESP8266 using Alexa and Google Home. Covers the 5050 LED strip pinout, transistor wiring and code. - [PIR Motion Sensor with ESP32 or ESP8266 for Alexa: HC-SR501, HC-SR505, AM312](https://help.sinric.pro/pages/tutorials/motion-sensors/HC-SR501-HC-SR505-AM312-HC-SR312): Build a PIR motion sensor with an ESP32, ESP8266 or Pico W. Compares HC-SR501 vs HC-SR505 vs AM312 (HC-SR312), with wiring, sensitivity adjustment and code for Alexa. - [How to Control a Relay (Turn On/Off) Using MicroPython on an Raspberry Pi Pico W with Thonny](https://help.sinric.pro/pages/tutorials/switch/micropython/how-to-turn-on-and-off-a-relay-using-micropython-raspberry-pi-picow-with-thonny): Control a relay with MicroPython on a Raspberry Pi Pico W using Thonny and Sinric Pro, with Alexa, Google Home and SmartThings. - [How to Control a Relay (Turn On/Off) Using MicroPython on an ESP32 with Pymakr](https://help.sinric.pro/pages/tutorials/switch/micropython/how-to-turn-on-and-off-a-relay-using-micropython): Control a relay with MicroPython on an ESP32 using the Pymakr extension for VS Code and Sinric Pro, with Alexa, Google Home and SmartThings. - [Control a Relay with ESP32 or ESP8266 using Alexa and Google Home (Switch Tutorial Part 1)](https://help.sinric.pro/pages/tutorials/switch/part-1): Control a relay with an ESP32, ESP8266 or Raspberry Pi using Alexa, Google Home or SmartThings. Wiring, code and account linking. - [Add a Push Button to an ESP32 or ESP8266 Relay with Alexa (Switch Tutorial Part 2)](https://help.sinric.pro/pages/tutorials/switch/part-2): Add a push button to an ESP32 or ESP8266 relay so it can be toggled by hand and by Alexa or Google Home, with the state kept in sync. - [Control Multiple Relays and Buttons with ESP32 or ESP8266 and Alexa (Switch Tutorial Part 3)](https://help.sinric.pro/pages/tutorials/switch/part-3): Control multiple relays with multiple push buttons on one ESP32 or ESP8266, with Alexa and Google Home. - [Temperature, Humidity Sensor Tutorial for BME280 Sensor](https://help.sinric.pro/pages/tutorials/temperature-sensors/BME280): Connect a BME280 temperature and humidity sensor to an ESP32 or ESP8266 and read it with Alexa, Google Home or SmartThings. Wiring and code. - [Temperature, Humidity Sensor Tutorial for BMP180 Sensor](https://help.sinric.pro/pages/tutorials/temperature-sensors/BMP180): Connect a BMP180 temperature sensor to an ESP32 or ESP8266 and read it with Alexa, Google Home or SmartThings. Wiring and code. - [DHT11 and DHT22 Temperature and Humidity Sensor with ESP32 or ESP8266 for Alexa and Google Home](https://help.sinric.pro/pages/tutorials/temperature-sensors/DHTx_AMx_RHTx): Connect a DHT11, DHT22, AM2302 or RHT03 temperature and humidity sensor to an ESP32 or ESP8266 and read it with Alexa or Google Home. - [DS18B20 Temperature Sensor with ESP32 or ESP8266 for Alexa (also MAX31820, DS1822)](https://help.sinric.pro/pages/tutorials/temperature-sensors/DS18B20): Connect a DS18B20, DS1822, DS1820, MAX31820 or MAX31850 1-Wire temperature sensor to an ESP32 or ESP8266, with wiring, code and fixes for -127 readings. - [LM35, LM335 and LM34 Temperature Sensor with ESP32 or ESP8266 for Alexa](https://help.sinric.pro/pages/tutorials/temperature-sensors/LMx): Connect an LM35, LM335 or LM34 temperature sensor to an ESP32 or ESP8266. Covers LM35 vs LM335 vs LM34 differences, pinouts, wiring and code for Alexa and Google Home. - [TV Tutorial - IR Transceiver](https://help.sinric.pro/pages/tutorials/tv/ir-transceiver-esp8285): Control your TV with Alexa and Google Home using an ESP8285 ESP-01M IR transceiver module and Sinric Pro. Wiring and code. ## Device template capabilities - [Brightness Capability](https://help.sinric.pro/pages/device-templates/capabilities/brightness): Brightness capability for Sinric Pro device templates. Control the brightness of lights and other devices. Includes Alexa, Google Home and SDK examples. - [Channel Capability](https://help.sinric.pro/pages/device-templates/capabilities/channel): Channel capability for Sinric Pro device templates. Change or skip channels on a TV or other entertainment device. Includes Alexa, Google Home and SDK examples. - [Color Temperature Capability](https://help.sinric.pro/pages/device-templates/capabilities/color-temperature): Color Temperature capability for Sinric Pro device templates. Adjust lights from warm white to cool white. Includes Alexa, Google Home and SDK examples. - [Color Capability](https://help.sinric.pro/pages/device-templates/capabilities/color): Color capability for Sinric Pro device templates. Set the RGB colour of colour-changing lights. Includes Alexa, Google Home and SDK examples. - [Contact Sensor Capability](https://help.sinric.pro/pages/device-templates/capabilities/contact-sensor): Contact Sensor capability for Sinric Pro device templates. Report the open or closed state of doors and windows. Includes Alexa, Google Home and SDK examples. - [Doorbell Capability](https://help.sinric.pro/pages/device-templates/capabilities/doorbell): Doorbell capability for Sinric Pro device templates. Raise doorbell press events and get Alexa announcements. - [Equalizer Capability](https://help.sinric.pro/pages/device-templates/capabilities/equalizer): Equalizer capability for Sinric Pro device templates. Set and adjust equalizer bands and sound modes. Includes Alexa, Google Home and SDK examples. - [Input Control Capability](https://help.sinric.pro/pages/device-templates/capabilities/input-control): Input Control capability for Sinric Pro device templates. Switch the input of a TV or other entertainment device. Includes Alexa, Google Home and SDK examples. - [Lock Capability](https://help.sinric.pro/pages/device-templates/capabilities/lock): Lock capability for Sinric Pro device templates. Lock and unlock a device. Includes Alexa, Google Home and SDK examples. - [Media Control Capability](https://help.sinric.pro/pages/device-templates/capabilities/media-control): Media Control capability for Sinric Pro device templates. Play, pause, stop and skip audio or video. Includes Alexa, Google Home and SDK examples. - [Mode Capability](https://help.sinric.pro/pages/device-templates/capabilities/mode): Mode capability for Sinric Pro device templates. Switch a device between predefined modes. Includes Alexa, Google Home and SDK examples. - [Motion Sensor Capability](https://help.sinric.pro/pages/device-templates/capabilities/motion-sensor): Motion Sensor capability for Sinric Pro device templates. Report detected movement and trigger Alexa routines. - [Open-Close Capability](https://help.sinric.pro/pages/device-templates/capabilities/open-close): Open-Close capability for Sinric Pro device templates. Open, close and position blinds, doors and similar devices. Includes Alexa, Google Home and SDK examples. - [Percentage Capability](https://help.sinric.pro/pages/device-templates/capabilities/percentage): Percentage capability for Sinric Pro device templates. Control a device property as a percentage. Includes Alexa, Google Home and SDK examples. - [Power Level Capability](https://help.sinric.pro/pages/device-templates/capabilities/power-level): Power Level capability for Sinric Pro device templates. Set the power level of a device. Includes Alexa, Google Home and SDK examples. - [Power Capability](https://help.sinric.pro/pages/device-templates/capabilities/power): Power capability for Sinric Pro device templates. Turn a device on and off and report its state. Includes Alexa, Google Home and SDK examples. - [Push Notification Capability](https://help.sinric.pro/pages/device-templates/capabilities/push-notification): How to send a push notification from an ESP32, ESP8266 or Raspberry Pi Pico W to your phone with the Sinric Pro SDK, using sendPushNotification(). - [Range Capability](https://help.sinric.pro/pages/device-templates/capabilities/range): Range capability for Sinric Pro device templates. Control a numeric setting within a minimum and maximum, such as fan speed. Includes Alexa, Google Home and SDK examples. - [Setting Capability](https://help.sinric.pro/pages/device-templates/capabilities/setting): Setting capability for Sinric Pro device templates. Define custom settings and send their values to your device. - [Smart Button Capability](https://help.sinric.pro/pages/device-templates/capabilities/smart-button): Smart Button capability for Sinric Pro device templates. Add a push button to the Sinric Pro app that triggers an action on your device. - [Start-Stop Capability](https://help.sinric.pro/pages/device-templates/capabilities/start-stop): Start-Stop capability for Sinric Pro device templates. Start, stop, pause and resume a device such as a washing machine. Includes Alexa, Google Home and SDK examples. - [Temperature Sensor Capability](https://help.sinric.pro/pages/device-templates/capabilities/temperature-sensor): Temperature Sensor capability for Sinric Pro device templates. Report the current temperature and humidity. Includes Alexa, Google Home and SDK examples. - [Thermostat Capability](https://help.sinric.pro/pages/device-templates/capabilities/thermostat): Thermostat capability for Sinric Pro device templates. Set the target temperature and thermostat mode. Includes Alexa, Google Home and SDK examples. - [Toggle Capability](https://help.sinric.pro/pages/device-templates/capabilities/toggle): Toggle capability for Sinric Pro device templates. Control an on/off setting of a device. Includes Alexa, Google Home and SDK examples. - [Volume Capability](https://help.sinric.pro/pages/device-templates/capabilities/volume): Volume capability for Sinric Pro device templates. Set, adjust and mute the volume. Includes Alexa, Google Home and SDK examples.