Giter VIP home page Giter VIP logo

ruuvi.gateway.micropython's Issues

UART TX

Implement UART transmissions to the NRF52.

Add button functionality

Ruuvi GW will have an included button that can be used to reset WiFi and enable hotspot again. Add this functionality to the micropython version

Include Status Page

Include status page that will include:

Mode being used
Memory Free
Messages Sent since boot
etc

MQTT Heartbeat Task

Add MQTT heartbeat task.

This allows for the gateway to send current memory, CPU usage etc. Also allows knowning if the device is still online without looking at connected clients.

MQTT Actions

Add mqtt subscription so that commands can be received by the Ruuvi Gateway and actioned.

Such tasks would be:

  1. NRF52 settings
  2. WiFi Settings
  3. Endpoint Settings
  4. Endpoint Transmission Times

Investigate Async Web Server

Old version of app created alot of duplicate code and relied on many threads. Once LAN support was added memory issues were being caused.

An async web server should be able to be used. As this is mainly to accomodate a seamless end user experience and not add to the gateway functionality it will not be a priority.

It would require WiFi and LAN to run concurrently and the old config style to be reused.

HTTP Mode: tag management

When tag dictionary is full and new tag entry is received check if one exists for that MAC. If so replace with new entry.

If new entry, remove the oldest entry and add new entry.

Convert Config File to JSON

Currently the config file is a python file containing a dictionaries.

The config should be converted into a json file so that it can be easily edited(overwritten).

MQTT Topics

Allow MQTT topics to be configured.

Example:

Topic1/MAC/Topic2/tagmac
Topic1/MAC/Topic2/heartbeat

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.