elecnix / erablidash Goto Github PK
View Code? Open in Web Editor NEWApplication Node.js d'affichage des données de l'érablière
Application Node.js d'affichage des données de l'érablière
The addition of color in the pie chart was very welcome. It gives important info at the very first sight.
Currently, evaluating the valves position required careful reading. Some form of visual highlight would help on this respect.
Same thing for the pump state.
Multiply duty with rate, and average over 5 cycles.
We currently keep only the last value of a metric. To support graphs, we need to accumulate time-series data that may come unordered with gaps. It should be possible to request a replay to fill the gaps. A graph could cover a rolling window of time, or a fixed window. Graph data should be stored in the same manner as latest-values: in memory, then periodically to disk. It should be sent along to WebSocket clients.
Reçu stocké par le collecteur:
"published_at":1453422173675
Reçu "live":
"published_at":"2016-01-22T00:32:10.625Z"
When I start a photon for test purpose, It screw-up de small production display because the name of the additional device is very long. The device table goes to the lower portion on the screen and push the display of the pump and vacuum. Alain and the operator, now rely on this info.
The production dashboard should be limited to devices to devices in the config.
It seems that there's a problem with the file docker-compose.yml, refered to in https://gist.github.com/elecnix/51637af8e7bea6d4faf8471397e4b0e5.
Worked fine:
docker-compose up -d
got:
ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.
Afin de ne pas laissé affiché des données désuètes, il faut que le tableau de bord affiche clairement un problème de connexion.
Affichage vert/jaune/rouge pour ok/délai suspect/déconnecté.
Add a button to trigger the dashboard to flush its data and request a replay of all events from the collector, but at a defined rate.
Currently, the replay happens one device at a time, but that needs to change to sending events from all devices in the same time sequence they were published (devices interleaved).
The dashboard should tell the collector how much to compress or expand time. A ratio of 2 should mean a replay rate of 2X, twice as fast as the original events. A ratio of 0.5 should mean twice as slow.
Since the dashboard flushes all its data, and does not store snapshots, it should also ask the collector to apply the replay ratio only starting at a given timestamp. This way, we can replay a day of interest without having to wait for the whole season to happen :)
Représenter les équipements sur la page, de manière naturelle: sondes, réservoirs, valves.
C'est le "layout".
Define 2016 devices in config.json along with their probes.
En fonction des prévisions météo et des données historiques, prévoir la prochaine coulée, heure par heure, dans un rapport temps-réel.
We set a single refresh 10 seconds after loading the page, but it should be evey 10 seconds.
Dans config.json, on a une liste de sondes, et de réservoirs. Il faut les nommer "comme il faut", et ajouter ce qu'on prévoit pour 2016 (valves, températures, etc.).
Il semble que les coulées soient un aspect important. Comment représenter ça dans le tableau de bord?
Sommaire de saison: nombre de coulées, volume total. Lien vers liste des coulées.
Sommaire de coulée: durée, volume total, débit moyen.
Sommaire de coulée par pompe.
Accompagné de jolis graphiques: débit et cumulatif (superposés), empilés par pompe (colorés).
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.