An open API service indexing awesome lists of open source software.

https://github.com/rafeyosa/android-to-aws-iot-core

Simple IoT App Watering Plant with AWS IoT Core (MQTT)
https://github.com/rafeyosa/android-to-aws-iot-core

android aws-iot-core internet-of-things iot kotlin

Last synced: 4 months ago
JSON representation

Simple IoT App Watering Plant with AWS IoT Core (MQTT)

Awesome Lists containing this project

README

          

# Android-to-AWS-IoT-Core

This Application using Android Studio with programming langguage Kotlin. For the Board using NodeMCU ESP8266 with Arduino IDE for programming. Project using AWS IoT Core to be MQTT Broker for pass data from Board to Application.

[NodeMCU Source Code](https://github.com/rafeyosa/ESP8266-to-AWS-IoT-Core)

Application using MVVM Pattern with program to **Connect** and **Subscribe** into AWS IoT Core. For additional option to **Publish** you can use this program:

val topic: String = "topic"
val msg: String = "message"

try {
mqttManager.publishString(msg, topic, AWSIotMqttQos.QOS0)
} catch (e: Exception) {
Log.e(LOG_TAG, "Publish error.", e)
}