A web-based graphical viewer for the sigfox-weather-station example program running on the SmartEverything board
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



A Node.js based graphical viewer for the sigfox-weather-station example program running on the SmartEverything board.

Detailed information about this project can be found here: https://bitoniau.blogspot.fr/2017/01/sigfox-weather-station-grapher.html

Weather Grapher

Weather Grapher


Creating a Sigfox backend API access

You first need to create an API access for your SmartEverything device on the Sigfox backend (so the Weather Grapher server can fetch data from it). To do that:

  • Log onto the Sigfox backend using your credentials
  • Go to the 'Group' tab
  • Click the group in the list
  • Go to 'API Access' in the left panel
  • Click the 'New' button in the top-right corner
  • Fill in the form:
    • Name: 'WeatherGrapher'
    • Custom roles: 'DEVICES_MESSAGES[R]'
  • Press 'Ok'

Preparing the Weather Grapher server

  • Make sure you've got Node.js installed on the machine (the Raspberry Pi in the example, but it could be anything)
  • Get a local version of this project's repository
  git clone https://github.com/jbitoniau/sigfox-weather-station-grapher
  • Provide the Node.js server with Sigfox API credentials. Copy and paste the login and password obtained previously into a SigfoxBackendAuth.txt file at the root of the project (next to this README.md). It should contain a single login:password line. Something that looks like this:

Starting the server

Now you should be able to start the Node.js server like so:

  sudo node WeatherGrapher.js

Running as 'sudo' is needed as the server runs on port 80. If that's a problem, you can change it to port 8080, for example, in the code and sudo won't be needed.

Visiting the webpage

The URL for the page looks like this:

Replace '' with the address of the Weather Grapher server, and '2F42A' with the ID of your SmartEverything device. An optional date argument can be added at the end to graph a particular period of time:

Going back in time past the first message will be rejected by the backend and fail. Trying to graph the future will break the spacetime continuum (the grapher will fallback to current time).



  • Panning: left-click drag in the graph or mouse wheel (vertically and horizontally)
  • Zooming in/out: control+mouse wheel for x axis, and shift+control+mouse wheel for the y axis


  • Panning: arrow keys
  • Zooming in/out: -/+ for the x axis, and shift -/+ for y axis


  • Panning: one-finger swipe
  • Zooming in/out: two-finger pinch


This project is for educational purpose only, use it at your own risk. In particular, be careful with making the server accessible over the internet as no special care was taken concerning security.