Giter Site home page Giter Site logo

omlox-rpc-nodemcu's Introduction

omlox-rpc-NodeMCU

Example for connecting a temperature sensor to the RPC interface on the omlox hub.

Setup

Tested with a build containing these modules: adc, bit, bme280, file, gpio, http, i2c, mqtt, net, node, pwm, rtctime, sjson, spi, tmr, uart, websocket, wifi Probably only bme280, gpio, http, i2c sjson, tmr, wifi are necessary. You can get a custom firmware build from pages like https://nodemcu-build.com/. Then you can flash the firmware to your ESP8266 using the esptool. Having done that, you can either use the luatool or the ESPlorer to connect to the ESP8266 and write your scripts to it.

Usage

To use the example, you have to put in your network configuration at the top of the code. You might also want to change the configuration of the I2C interface. Then you need to upload the file to the ESP8266 and run it, either from the command line inerface or through the init.lua file.

omlox-rpc-nodemcu's People

Contributors

wetzelbe avatar

Stargazers

 avatar

Watchers

 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.