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)
- Host: GitHub
- URL: https://github.com/rafeyosa/android-to-aws-iot-core
- Owner: rafeyosa
- License: mit
- Created: 2021-09-22T04:18:18.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-06T03:36:01.000Z (over 1 year ago)
- Last Synced: 2025-04-28T14:05:29.396Z (about 1 year ago)
- Topics: android, aws-iot-core, internet-of-things, iot, kotlin
- Language: Kotlin
- Homepage:
- Size: 103 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
}