Coder Social home page Coder Social logo

sensebox / opensensemap Goto Github PK

View Code? Open in Web Editor NEW
99.0 11.0 51.0 13.43 MB

Platform for storing and exploring sensor data

Home Page: https://opensensemap.org

License: MIT License

JavaScript 44.64% HTML 47.35% CSS 7.91% Shell 0.09% Dockerfile 0.02%
opensensemap iot sensor platform citizenscience

opensensemap's Introduction

openSenseMap

Commitizen friendly

This repository contains the code of the openSenseMap frontend running at https://opensensemap.org. To get more information about openSenseMap and senseBox visit the before mentioned links or have a look at this video or read the openSenseMap chapter in our documentation. openSenseMap is part of the senseBox project.

Originally, this frontend has been built as part of the bachelor thesis of @mpfeil at the ifgi (Institute for Geoinformatics, WWU Münster) and is currently maintained by @mpfeil.

The easiest way to get up and running with your own copy is clicking the Deploy to Netlify button below. It will clone the repository into your own account, and deploy the site to Netlify. It is going to ask for Maptiles url and API endpoint. Please use the default values listed under configuration or use your own.

Deploy to Netlify

Configuration

You can configure the API endpoint and/or map tiles using the following environmental variables:

ENV Default value
OPENSENSEMAP_API_URL https://api.testing.opensensemap.org
OPENSENSEMAP_CMS_URL <YOUR_DIRECTUS_CMS_URL>
OPENSENSEMAP_STYLE_URL <YOUR_MAPBOX_STYLE_URL>
OPENSENSEMAP_ACCESS_TOKEN <YOUR_MAPBOX_ACCESS_TOKEN>

You can set them in your terminal or create a file called .env and set the values.

Development

  • Have Node.js v10, grunt and bower installed
  • Check out a branch for your feature (git checkout my-aweseome-feature)
  • Run npm install and npx bower install
  • Run frontend in development mode (npx grunt serve)
  • Commit your changes to your branch and push it to your fork
  • Create a pull request against the master branch

See also: CONTRIBUTING

Release

To release a new version of the openSenseMap frontend do the following:

  • Run npm run release on master branch
  • Run git push --follow-tags origin master
  • Create new release on Github Release

Related projects

Services

Deployment

Technologies

Organization

Branches

  • master (runs on testing server)
    • Is used for production container build tags

Docker

openSenseMap including openSenseMap-API

For installing openSenseMap and openSenseMap-API with Docker check out our oSeM-compose repository.

openSenseMap

To build just openSenseMap you can run: docker build -t osem .

Following build-args are availble:

Build Arg Default value
OPENSENSEMAP_API_URL https://api.opensensemap.org
OPENSENSEMAP_CMS_URL <YOUR_DIRECTUS_CMS_URL>
OPENSENSEMAP_STYLE_URL <YOUR_MAPBOX_STYLE_URL>
OPENSENSEMAP_ACCESS_TOKE <YOUR_MAPBOX_ACCESS_TOKEN>

License

MIT - Matthias Pfeil 2015 - now

opensensemap's People

Contributors

adorfer avatar akim95 avatar alexishappy avatar bkari02 avatar chk1 avatar dependabot[bot] avatar donrai avatar felixerdy avatar gitter-badger avatar m5r avatar maximgeerinck avatar mdragunski avatar mpfeil avatar muztank avatar nclsppr avatar noerw avatar ricciocri avatar thiemann96 avatar tmasternak avatar ubergesundheit avatar umut0 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensensemap's Issues

Additional option for ino download

If file download was missed or file was not backed up by a user, it should be possible to download the ino-file again by providing the SenseBox ID.

Visualization of mobile senseBoxes

If a SenseBox was registered as "mobile" the it should be (visually) separated from the fixed stations. Think about an initial position and an aggregation of the different measuring point, when clicking on it.

Graph: Change data display

Data is not always continuous but currently shown as such. Remove the lines and colour below data points and just show the points?

Bug: Wrong box selected after filter operation

  • Search for a name of a SenseBox
  • Select the corresponding box by clicking on the rocket icon
  • Select the box by clicking on in
    --> Wrong box is shown in the sidepannel (always 'CALIMERO')

Change and improve registration email

  • Email sender has quotation marks ' in the name
  • Different email text
  • Fix double new lines
  • Arduino sketch for manually configured boxes has wrong sensor IDs in it

Add description for installation site properties

The measurements taken by a SenseBox directly reffer to the site where it was set up.
A short description should be given by the user where he or she is putting the Box.
Later and in addition, we could categorize this attribute (indoors, outdoors, ...)

Download: Prevent empty downloads

Make the date when the last data was submitted the maximum date for downloading

and/or

Check if data is present in the time frame chosen by user

Download of .ino file

Currently, the ino file which is created by the server after registration process is complete, is only shown as text in a new tab when clicking the download link.
(Firefox 29.0.1 Ubuntu 12.04 64bit)

Download data

Select one or multiple SenseBoxes for data download.

Find better symbols

We need symbols that are on point of what they do (edit/save sensor config).

Text and translations improvements

„Aufstellungsort“ in „Geplanter Aufstellungsort“ ändern
Einheit von „UV-Index“ in µW/cm² ändern

Remove Sensebox ID from registration confirmation text (user gets an email with it)

apply new webdesign

Can you apply the new senseBox design theme to the menu bar:

  • logo top left
  • fonts in menu
  • website icon

Icons for measurements only partly appear

Symbols for temperature, humidity and light values are not loaded in the measurement details. Only noise and pressure symbols appear. (I am running Firefox 29.0.1 on Win7 Prof N x64 SP1)

openstreetmap api visualization

Hello Matthias,

just checked your opensensemap. Great work, congratulations!
What I've seen so far, selecting a sensebox via openstreetmap api automatically leads to a zoomed map window at little scale. What do you think about setting automatic zoom display to street name's scale level and center the map on the selected sensebox?

Cheers,
Jakob

Spelling mistake

When downloading the Sketch by hand (over the api key), the ino-file is called "sensbox.ino" instead of "sensebox.ino"

Navbar is destroyed

After cloning repository and running npm install and bower install navbar is not working anymore

Add filter for SenseBox Photonik

Enable filtering for different SenseBox types (Photonik, Home, ...). Result should be a OSM containing only the requested type of SenseBoxes.

Idea: New Layer of Satellite Images

Additional layers of information such as satellite images (which allow turn on/off) to certain areas of the map that are being monitored could provide more information of complex environmental interactions. Landsat images could be an option.

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.