Giter Site home page Giter Site logo

marquette's Introduction

Marquette

Web browser based Control Panel that can publish and subscribe to MQTT messages.

Features

  • Resizable tile based control panel
  • Messages received by browser using Server-Sent Events
  • Messages sent from browser using HTTP POST

Install

git clone https://github.com/njh/marquette.git
npm install

Usage

  1. Edit settings.js to point to your MQTT server
  2. Edit tiles.json to configure your buttons and display text
  3. Run npm start to start the web server
  4. Open http://localhost:1890/ in you local web browser

Screenshot

Browser Screenshot

Limitations

  • Only 'Push Button' and 'Text' tiles currently supported
  • In-browser configuration not implemented
  • Styling improvements needed

Related Projects

Author

Nicholas Humfrey (@njh)

License

marquette's People

Contributors

njh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

marquette's Issues

Run the mosquito_loop on a background thread.

Running it from a timer seems to cause a crash on older devices that are doing a lot of work. Suspect that the timer fires the loop again before it finishes it's prior run.

Consider something like this:

  • (void) loop: (NSTimer *)timer {
    if (!_running) {
    _running = YES;
    // Run the loop on a background queue
    dispatch_async(_backgroundQueue, ^{
    @autoreleasepool {
    while (_running) {
    mosquitto_loop(mosq, 1, 1);
    [NSThread sleepForTimeInterval:0.01];
    }
    _running = NO;
    }
    });
    }

}

demo

Is it possible to have a live demo or screenshot of the project added to the README?

thanks

Unable to use libmosquitto in ARC

i am getting null as topic as well as message (in project with ARC)

mqttWithARC[1519:c07] did recieved (null) => (null)

plz tel me how to resolve this issue

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.