Giter Site home page Giter Site logo

iot-lora-image's People

Contributors

ryanteck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iot-lora-image's Issues

Option to connect to WiFi network.

Allow the user to select and connect the gateway to a WiFi network.

While this is a web UI this will work for example if someone is using the ethernet port direct to a computer or wants to switch the network it is on.

Add update method

Currently there is no way to update this software.

Add a function so that the software can update itself.

504 gateway timeouts

After the first time i look at the dashboard I get a lot of 504 gateway timeout nginx..... errors. refresh will sometimes work but eventually it'll end up on a 504 page and that's it. the dashboard will not come up again

server information not reloaded after reboot

Everything works fine. However, rebooting the controller does not load the server defined in /opt/iotloragateway/local_conf.json and does not push packages to ttn. Investigation shows the following:

pi@iotloragateway:/opt/iotloragateway $ sudo journalctl -fu iot-lora-gateway 
-- Logs begin at Thu 2019-02-14 10:11:58 GMT. --
Jan 28 19:49:59 iotloragateway iot-lora-gateway[652]: src/ttn_transport.c:371:ttn_connect(): ttn_connect: sleeping() at 230, total 240
Jan 28 19:49:59 iotloragateway iot-lora-gateway[652]: 19:49:59  ERROR: [TTN] Connection to server "" failed, retry in 480 seconds

Simply running sudo systemctl restart iot-lora-gateway loads the settings from local_conf.json and everything works as expected again. This looks like a bug to me!

Add ability to configure Modem Manager File

Add the ability to configure the modem manager file. Including templates for most UK Providers.

UK

  • EE
  • Vodafone
  • O2
  • Three
  • GiffGaff
  • Smarty
  • Asda Mobile
  • Tesco Mobile
  • Hologram
  • AAISP

Lockdown Samba

We have Samba installed so windows computers can type in the hostname of the device e.g http://iotloragateway

However we want to essentially disable it as much as we can.

Move a lot of configuration to a MySQL Database

New Plan for configuration:

Move as much of it to a MySQL Database.

This will allow easier integration of the many new features of the system but also means that it would be harder for unauthorised modifications as instead of being able to take out the SD Card / CM3, plug it into a computer and modify all of the files the person must gain access to the MySQL Database which while still possible and wouldn't not be possible to prevent modifications this would make it more of a task to do so rather than just pop in and replace all configuration.

It should also make it easier for configurating the LoRa modules themselves.

4G Module Testing

Perform testing to ensure the 4G Modules work fine primarily for our Standalone Gateway but also for normal gateway with Pijuice Data

Module List:

  • Quectel EC25-E []
  • Simcom Sim7100E []

Ideally with modem manager

Generate new account password on boot

We want to generate a password on each boot and then save this to the config file.

Once the user sets up the account we want to then display this to the user after they've setup an account with a warning to make a note of it / print it out and to change the password if they log in via SSH etc.

Once the user has seen the password generate a new one which will not work and save this to the file to prevent abuse and / or maybe write the password to the /boot partition as well allowing a user to access it via USB.

This should make the gateway mostly compliant to the proposed guideline of the COP for Consumer IOT Security of passwords must be unique. However cannot comply to be resettable to any universal setting.

Switch to ram logging

Switch the gateway software & nginx to use Ramlog.

This will increase the lifespan of the Standalone gateway by preserving the EMMC. At the same time this could offer potential speed benefits and benefits for SD Card users on Gateway HATs.

Move config files to admin folder and protect with .htpasswd

It would be great if the config files were moved to an admin folder and protected with a .htpasswd. I have done this on my dev system and it works well.

The status page remains public so that it can be viewed across the LAN but the config pages become protected so the settings can't be changed without authorisation.

Analytics / Reporting / Phone Home

It would be good to look into some kind of analytics / phoning home into the software to allow us to gain some statistics.

To comply with GDPR this will either be optional / limited information (such as you can't fully opt out of Windows 10).

Stats that would be interesting to track:

  • Uptime / If it's active, such as a ping signal
  • Raspberry Pi Serial Number
  • Raspbery Pi Model Code
  • If the gateway is set to TTN Mode or Legacy Mode
  • Average CPU Temperature
  • Gateway Type (Nebra or HAT)

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.