Giter Site home page Giter Site logo

croft's Introduction

Croft

Exposes an UDP endpoint that processes packets from a LoRaWAN gateway and enqueues the message on a RabbitMQ queue, typically consumed by Jolie.

croft's People

Contributors

gonzalocasas avatar htdvisser avatar johanstokking avatar seppestas 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

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

croft's Issues

Post message to MQTT broker

Next to posting the message to RabbitMQ, croft should also post the message to the MQTT broker. Configure with environment variables.

The topic should simply be the device address for now.

rssi missing in packages sent by croft

please add the signal strength indicator data to the packages sent to jolie this helps to better understand gateway coverage measurements.

proposal: as the croft lora.RXPK seems to have an Rssi attribute it should be possible to include this in in croft server method convertRXPK.

background/motivation: yesterday @gonzalocasas and me were testing things nodes in zurich with two things nodes. one with a proper antenna and one BETA v1 node.

while packages of the first node were received and displayed on the django rest api http://thethingsnetwork.org/api/v0/nodes// we did not have any luck with thethings uno and its onboard antenna. on mqtt (croft.thethings.girovito.nl:1883) singal strength information also seems missing

having the singal strenght information available in the rest api and on mqtt would help to get a better understanding regading combinations of setups and related ranges.

PUSH_ACK where PULL_ACK expected

I might be wrong here but to me it seems the TTN gateway server is responding wrong to my PULL_DATA requests sent by my Kerlink, causing:

INFO: [down] the last 3 PULL_DATA were not ACKed, exiting application

In the screenshots you can see the PULL_DATA being sent and answered with a PUSH_ACK (0x01) where 0x04 is expected.

screen shot 2015-11-24 at 18 52 04

screen shot 2015-11-24 at 18 52 31

Pushed data missing in API

Looking at the data from node 02012902 pushed by gateway 008000000000A050 there are packets missing in the API. The gateway pushes to both TTN and Semtech and as packets are showing at Semtech it looks like there is an issue in the TTN code.

croft parses time incorrect

It looks like croft incorrectly tries to parse timestamps in "stat" and/or "rxpk" packets as rfc822 ("02 Jan 06 15:04 MST") instead of using RFC3339 or something ike that ("2016-01-04 21:04:04 GMT").

Current time seems to be used in this case, which is (almost) correct anyway.

This is shown in the logfile of croft (version installed from GitHub on Jan 3).

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.