Code Monkey home page Code Monkey logo

lemur-caramel's Introduction

caramel - home automation

Arduino

Components Required

  1. ESP8266 (Any arduino supported microcontroller boards with wifi capabilities)
  2. OLED 1306
  3. LED
  4. Resistor (< 300 ohms)

Information:

1) Connection for OLED to ESP8266

2) Connecting LED to ESP8266 (for the current code connect 2 LED's to pin D3 and D4 respectively)

3) Dependencies for arduino modules

MQTT Library
SSD1306Wire (For writing to oled display)
ArduinoJSON (For parsing json from API)

4) External Dependences
  1. MQTT Server
5) Message Format

Command Format { "operation_id": 123, "user_id": 123, "operation": "WASH", "parameters": {"type": "QUICK"} }

Result Format { "operation_id": 12, "status": "executing" }

Flask Rest API (Python based)

Dependencies

MongoDB Database

Information:

1) Install dependencies (Use python3)

pip install -r requirements.txt

2) To start server (Use python3)

python main.py

3) Info on Running server (Multi Thread App Server)

Host: 127.0.0.1 Port: 3000

Queue Management (Python and MQTT based)

Dependencies

MongoDB Database Mosquitto MQTT Server

Information:

1) Install dependencies (Use python3)

pip install -r requirements.txt

2) To start application (Use python3)

python main.py

UI (Nodejs, Javascript, CSS, HTML)

Dependencies

npm

Information

1) Install all required dependencies

npm install

2) To start the server

npm start

lemur-caramel's People

Contributors

santoshbalaji avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

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.