Coder Social home page Coder Social logo

dastu08 / esp32-weather-station Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 115 KB

This is a project with the ESP32 chip onboard the ESP32-devkitc and a temperature and pressure sensor BMP180. It uses the ESP-IDF framework.

License: MIT License

CMake 2.11% C 97.89%
bmp180 esp-idf esp32 esp32-devkitc

esp32-weather-station's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @dastu08
  • ๐Ÿ‘€ Iโ€™m interested in ... embedded programming
  • ๐Ÿ“ซ How to reach me ... look at my repos or find me in the matrix @dastu08:matrix.org

esp32-weather-station's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

esp32-weather-station's Issues

Encryption of UDP traffic

  • Use AES to encrypt the UDP traffic.

Task

This means the strings with the JSON objects should be encrypted, then sent via UDP and on the receiving side decrypt the message to get back the JSON object.

The key for AES should be exchanged before hand and will be included in the ESP32 at the time of compilation.

The encryption needs to take place during the call of the function pl_udp_send. Currently it is called in al_weather_station.

Suggestion

Add an extra component doing the encryption and then define new functions
in the pl_udp component to encrypt the message before sending it via UDP.

accept json

Accept the incoming UDP message to be formated in json.

Some examples

{"type":"get","quantity":"temperature"}
{"type":"get","quantity":"pressure"}
{"type":"get","quantity":["temperature", "pressure"]}
{"type":"set","name":"heartbeat","value":"on"}
{"type":"set","name":"heartbeat","value":"off"}
{"type":"set","name":"heartbeat_interval","value": 30}}
{"type":"set","name":"measurement_interval","value": 5}}

Use a type to either get a value in return or set a value.

For get the quantity has to be specified that will be returned. This should also include lists like "quantity": [ "temperature", "pressure" ].

For set the name of the variable to set and the value should be given.

All field values should be lowercase and use underscores.

Version numbering

  • Add version numbering tags in repo.
  • Create releases on github for stable versions.

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.