⚠️ ⚠️ ⚠️ ARTIK Cloud has been depcreciated by Samsung ⚠️ ⚠️ ⚠️
Here we create an ESP8266/32 based device that emulates a RGB LED light using NeoPixels, which connects to ATRIK cloud. ARTIK cloud connects to smart home assistants like Google Home, Amazon Alexa, etc.
Connecting to Samsung ARTIK Cloud https://my.artik.cloud/
GitHub: debsahu/ARTIKCloud
An application made for ESP8266 to comunicate with ARTIK Cloud
- Connects to ARTIK Cloud via MQTT SSL port 8883
- ARTIK Cloud is connected to all assistant platforms, integration is seamless
- Compiles on ESP8266-arduino core v2.4.2, v2.5.0-beta3, git version
ARTIK Cloud Instructions
ARTIK Cloud Developer
- Create a Device Type
- Click on Device Type
- Add a new device + New Device Type
- Provide a Name for this device type
- Provide a Device Display Name
- Add an unique name: com.user.devicetype
- Create/Upload a Manifest
- Use the manifest provided for RGB lights
- Activate Manifest
ARTIK My Cloud
- Create an end-product “Device”
- Click on “Devices” -> “+Add Another Device…” -> Select Device Display Name
- Provide a YouTube Lights « this will show up on your assistants
- Click on Add Device
- Generate a TOKEN
- Click on Generate Device Token…
MQTT
Libraries Needed
platformio.ini is included, use PlatformIO and it will take care of installing the following libraries.
Library | Link | |
---|---|---|
ESPAsyncUDP | https://github.com/me-no-dev/ESPAsyncUDP | |
ESPAsyncTCP | https://github.com/me-no-dev/ESPAsyncTCP | |
Adafruit NeoPixel | https://github.com/adafruit/Adafruit_NeoPixel | |
NeoPixelBus | https://github.com/Makuna/NeoPixelBus | optional: #define USE_NEOPIXELBUS |
ESPAsyncWiFiManager | https://github.com/alanswx/ESPAsyncWiFiManager | #define USE_WIFIMANAGER |
ESPAsyncDNSServer | https://github.com/devyte/ESPAsyncDNSServer | |
ESP Async WebServer | https://github.com/me-no-dev/ESPAsyncWebServer | #define USE_ASYNC_WEBSERVER |
ArduinoJson | https://github.com/bblanchon/ArduinoJson | |
WebSockets | https://github.com/Links2004/arduinoWebSockets | optional: //#define USE_ASYNC_WEBSERVER |
WiFiManager | https://github.com/tzapu/WiFiManager | optional: //#define USE_ASYNC_WEBSERVER & #define USE_WIFIMANAGER |
ESP32
Check this issue for latest progress.
Hardware
- Connect 5V to + of WS2812B and VIN of NodeMCU or voltage regulator in of your favorite ESP8266 board
- Connect GND to GND of WS2812B and ESP device
- Connect GPIO3/RX pin of ESP8266 to WS2812B
- Attach at least a 1000μF capacitor between 5V and GND near the first LED