Skip to content

flespi-software/examples

Repository files navigation

flespi.io usage examples

Changelog on forum

HTTP stream receiver

More info about http streams: https://flespi.com/blog/get-data-in-your-platform-via-flespi-http-stream

In short:

  1. create a stream in flespi platform, using http as configuration and something like http://your-server:port/path-on-server as uri parameter
  2. subscribe created stream to items you need
  3. deploy one of examples listed above on your server or VPS
  4. configure your example to listen on your-server:port network endpoint and to handle a /path-on-server uri
  5. flespi platform will constantly deliver a batch of messages to your deployment

Device message converter script

Converts messages to KML, GPX, GEOJSON, CSV

Message webhook listener

MQTT client examples

MQTT client source code examples using the flespi broker on nodejs, python, python on windows, lua, browser, micropython (esp8266), dart, etc...

MQTT device telemetry dashboard example

A simple example of using mqtt to receive and display telemetry data from devices.

run it in your browser

MQTT device message handler

Snapshots downloader tool

Snapshots uploader tool

Re-register device messages tool

Devices creation tool

This tool may help you to create many devices in your flespi.io account.

Contributing

If you have cool examples of flespi API usage or have time and zeal to write examples on your preferred language, you are welcome to contribute by making a pull request or contact us on the forum.