Coder Social home page Coder Social logo

androidiotmqtt's Introduction

AndroidIotMqtt

Table of Contents

  1. General Info
  2. List of IoT device
  3. Topics Publish
  4. Download
  5. Installation
  6. Why am I open-sourcing it?
  7. Links

General Info


This is an open source code to build an Android application for IoT. It consists of creating a Mqtt client connected to a Broker in the same local network. We will be able to add from a predetermined list different IoT devices. In this list we have Tasmota and Zigbee2Mqtt devices. The configuration is very simple since the Topics are automatically created and added directly to a Dashboard.

Screenshot


List of IoT devices


A list of IoT devices used within the project:

  • Sonoff20 (Tasmota)
  • TuyaZigbeeSensor (Zigbee2Mqtt)
  • AqaraTemp (Zigbee2Mqtt)
  • SonoffSNZB02 (Zigbee2Mqtt)
  • XiaomiZNCZ04LM (Zigbee2Mqtt)

Topics Publish


The publish topic is created automatically and the device has to be configured with this same topic.

  1. Sonoff20:
    • Example:
      • Configuration (App): Type device: Sonoff20; Number Device: 1.
      • Topic (Tasmota): Dnomaid/Router_1/Sonoff20_1/Relay_1
  2. XiaomiZNCZ04LM:
    • Example:
      • Configuration (App): Type device: XiaomiZNCZ04LM; Number Device: 2.
      • Topic (Zigbee2mqtt): Dnomaid/mix/CC2531_1/XiaomiZNCZ04LM_2/RelaySensorClimate_1.
  3. SonoffSNZB02:
    • Example:
      • Configuration (App): Type device: SonoffSNZB02; Number Device: 1.
      • Topic (Zigbee2mqtt): Dnomaid/stat/CC2531_1/SonoffSNZB02_1/SensorClimate_1.
  4. AqaraTemp:
    • Example:
      • Configuration (App): Type device: AqaraTemp; Number Device: 1.
      • Topic (Zigbee2mqtt): Dnomaid/stat/CC2531_1/AqaraTemp_1/SensorClimate_1.
  5. TuyaZigbeeSensor:
    • Example:
      • Configuration (App): Type device: TuyaZigbeeSensor; Number Device: 1.
      • Topic (Zigbee2mqtt): Dnomaid/stat/CC2531_1/TuyaZigbeeSensor_1/SensorClimate_1.

Download


Currently, the application is released and available here: Google Play.

Get it on Google Play

Installation


Watch the video on youtube.

Watch the video

Why am I open-sourcing it?


  1. I got help all around from open-source community, and it is time for me to help back.
  2. A big problem of hobby projects is they lack continuity. I believe open sourcing the app could allow this app to be kept improving.
  3. The list of IoT devices is very small and the code is ready to add more devices in the future.

Links


From this link you can see a demo:

If you are interested, but do not know where to start, I leave this link where there are videos that can help you:

Eclipse Kura project:

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.