sideralis / air Goto Github PK
View Code? Open in Web Editor NEWAir project
Air project
If user of a device is removed, then when the device connect to internet, the device is orphelin and noone can register it.
It is not possible to fully use IBM IOT as retain message is not working. So there is no other choices than implementing our own mqtt broker.
Move from SDK v2.2 to SDK v3.0
Adapt air software
if one part of mac address starts with a zero, this zero is omitted.
For example 38:2b:78:03:d7:1d is sent as 38:2b:78:3:d7:1d
Implement a debug module which can not only print message on console but also messages as mqtt messages to our broker.
This way, I can monitor the status of each device.
Use Flutter: https://flutter.io/
French standard
yearly average should not exceed 40ug/m3
daily average should not exceed 50ug/m3 more than 35 days per year
Source: https://www.airparif.asso.fr/reglementation/normes-francaises
It should be possible to update air firmware OTA.
When registering a new device, the user provides the SSID and password of the wifi through a web page.
Once provided, the user does not have a feedback if this registration went well.
air-website may be impacted too.
Firmware should be able to decrypt a token hashed with a public key.
Device should send a running/not running status.
When connecting, send a lastWillMessage = "offline", and lastWillRetain = true, and then send a publish message= "online", and retainedFlag = true
Setup MQTT server on IBM cloud
Send pm values to the MQTT server
Currently the reference start date is hard coded and common for all devices.
It should be linked to registration date of device.
Device should know the time with precision to be able to associate the measurements with a time reference.
It may (or may not?) happen that during a registration something is going wrong. In this case, the device may be registered at server side, but not at device side, meaning that the device does not have any token.
A new registration will fail as the device will get already registered and not the token!
Measure rate could be changed by web interface.
Min 1mn
Max 1 hour
This change impact the mqtt connection as we may loose it between two messages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.