Commit Graph
91 Commits
Author SHA1 Message Date
Pierrick C 17757f7b1f Add file rotation : data.csv => hourly => daily 2018-08-19 23:39:58 +02:00
Pierrick C c62ad455ba Better management of data to display 2018-08-19 00:02:45 +02:00
Pierrick C 4b9885d7a7 Add GPS data to data on flash memory 2018-08-19 00:01:23 +02:00
Pierrick C 50b73d3592 New base plate for electronic components 2018-08-19 00:00:22 +02:00
Pierrick C 238f5d0160 Small change to actually print Vbat 2018-08-17 23:55:01 +02:00
Pierrick C fcc9c2f15b Add 'CPUT' data type for CPU Temperature 2018-08-17 23:54:30 +02:00
Pierrick C b2e547cf55 Move data units and types dict from uart2mqtt module to cameteo_conf 2018-08-17 23:53:56 +02:00
Pierrick C 9174e70030 Display Vbat instead of Altitude 2018-08-17 23:20:08 +02:00
Pierrick C b7187d6d54 Add Vbat to written data on flash 2018-08-17 23:19:30 +02:00
Pierrick C 6141e4a9b2 Wait data for full screen refresh.
There is no partial refresh and the full refresh is slow => wait few
seconds for other data to arrive before refreshing instead of
refreshing every many times.
2018-08-15 22:04:29 +02:00
Pierrick C fe009f6116 Add different interval of time for sending data to Rpi and backup on flash memory 2018-08-15 18:59:03 +02:00
Pierrick C d0c130e5e6 New (working !) UART to communicate with the raspberry pi 2018-08-15 18:44:13 +02:00
Pierrick C d9d6d80588 Add info about pins usage and some tweak to try to debug 2d UART (to raspberry pi) 2018-08-12 17:09:47 +02:00
Pierrick C 57b22c4cc5 Add freeshly compiled firmware (one with frozen modules for bus-devices, GPS, Neopixel and BME280) 2018-08-12 15:28:59 +02:00
Pierrick C c65b4d3c44 Move from waveshare e-ink display to pimoroni's inkyphat
(run install_inkyphat_lib.sh to install dependencies)
2018-08-12 13:17:59 +02:00
Pierrick C ac55131ac5 Move old M0 firmawre in new directory 2018-08-11 16:28:54 +02:00
Pierrick C 4acb6bee45 Move code from M0 express feather board to M4 express board 2018-08-11 15:57:35 +02:00
Pierrick C 69ab6d4c2c Deleted one baaaad little space 2018-08-04 23:04:18 +02:00
Pierrick C 273be7d4b4 Updated schema with UART connecting RPi to feather 2018-08-04 22:53:57 +02:00
Pierrick C dda9f3ed7d Handle exception when the data is not correctly formatted or partial (ie : first start at boot time) 2018-08-04 22:20:19 +02:00
Pierrick C 311a36fbdf French -> english translation 2018-08-04 20:58:39 +02:00
Pierrick C c96f7b86ae Version 0.2 - Change date/time display to match the new source (feather RTC !).
Update doc, comments, licence, version...
2018-08-04 20:33:14 +02:00
Pierrick C be8d28a2f9 Update to use new data from feather m0 express (UART->MQTT) 2018-08-04 19:29:49 +02:00
Pierrick C b7205f397f Send data as single "packet" instead of multiple 2018-08-04 19:21:08 +02:00
Pierrick C 01dd30d2cf Add: data receveid on UART as compact JSON are sended to MQTT broker.
Old obsolete script deleted
2018-08-04 19:04:17 +02:00
Pierrick C d7e4705abd Add firmware with Circuitpython 3.x (stable) and frozen modules : GPS, BusDevice, BME280 and Neopixel 2018-08-04 17:03:03 +02:00
Pierrick C d5d7d78f59 Add the feather M0 express pinout to the doc 2018-08-04 16:21:30 +02:00
Pierrick C 3718666890 Add age (in seconds) of the last GPS fix 2018-08-04 16:20:51 +02:00
Pierrick C d88a47d793 Add end of line symbol to after json output to uart 2018-08-04 14:26:08 +02:00
Pierrick C 6363264b95 Rename firmware with version 2018-08-04 12:07:19 +02:00
Pierrick C e6faa04702 More informations 2018-08-04 12:05:23 +02:00
Pierrick C b767ff9670 More comments and informations 2018-08-04 12:03:11 +02:00
Pierrick C 4cc41e8e9a Add threshold parameter to set_clock_from_gps() and update some documentation 2018-08-03 23:25:14 +02:00
Pierrick C 66abc780f8 Add @property decorator to some method of Data class 2018-08-03 23:10:40 +02:00
Pierrick C 60e4b9f12d todo & version update 2018-08-03 22:44:41 +02:00
Pierrick C a5a279a64d Add first lines of code to send json data to raspberry pi with additionnal UART 2018-08-03 22:44:01 +02:00
Pierrick C 588a0e815c Debug json : now valid compact JSON (RFC 4627) 2018-08-03 20:38:46 +02:00
Pierrick C f07f998771 Reduction of memory use and fragmentation
Add onbaord LED as "read-only flash" indicator
2018-08-03 19:59:34 +02:00
Pierrick C 2a1aae6da8 Delete unneed print command 2018-08-03 18:55:30 +02:00
Pierrick C 7aa786493b Delete unnneeded code to disable GPS 2018-08-03 18:29:21 +02:00
Pierrick C 403ff7f550 Add : cut power to the GPS module if gps_enable if False to save battery 2018-08-03 15:35:03 +02:00
Pierrick C b08a56b204 Move function "update_neopixel()" to data class method "atmo2rgb()" for consistency and french to english color variables translation 2018-08-03 15:00:28 +02:00
Pierrick C 280823577c Full declaration of Data.data dict to "reserve" the RAM 2018-08-03 12:09:55 +02:00
Pierrick C bb88522d51 Updated directory arch 2018-08-03 10:59:14 +02:00
Pierrick C 4ab331dd30 Update for new directory arch. 2018-08-03 10:58:29 +02:00
Pierrick C 434d02288b Add new firmware with build-in lib: GPS, neopixel, BusDevice and BME280 2018-08-03 10:57:50 +02:00
Pierrick C aa60639307 Add : do not try again to write data on flash if it failed with read-only error 2018-08-02 00:15:25 +02:00
Pierrick C 5665ccff52 Add function to measure Vbat with some simple filter (mean of n samples, 10 by default) 2018-08-02 00:11:57 +02:00
Pierrick C 37e77ebef6 Add : write data on SPI flash memory if writable 2018-08-02 00:09:13 +02:00
Pierrick C 7c80336f9a Update metadata & info 2018-07-29 19:39:13 +02:00
Pierrick C f779371c5e Add fritzing "schema" 2018-07-29 18:49:19 +02:00
Pierrick C a958fc4189 Add Licence and metadata in the header 2018-07-29 18:48:25 +02:00
Pierrick C a758b2c3f4 Add function to set date/time with GPS clock if available and diffence >= 5s 2018-07-29 17:27:52 +02:00
Pierrick C 5ed1b85280 Set neopixel brightness to 1 and use neopixel_max_value instead to spare some mem 2018-07-29 16:45:19 +02:00
Pierrick C 8f73b1f864 Update and translate (fr->en) some comments 2018-07-29 16:25:37 +02:00
Pierrick C b8586837c3 Add Feather M0 internal RTC support 2018-07-29 16:19:44 +02:00
Pierrick C 0c2f6f22a9 GPS enable 2018-07-29 15:27:37 +02:00
Pierrick C 85a6425b25 Remove obsolete function update_gps() 2018-07-29 13:07:51 +02:00
Pierrick C 5f8990e60e Move js_ressources to content block 2018-07-29 13:04:54 +02:00
Pierrick C db92dbe984 Update from simple test script to more complete script 2018-07-29 13:02:16 +02:00
Pierrick C 71310249c3 File permission updates 2018-07-29 01:01:00 +02:00
Pierrick C 432165454c Rename and order parts folder 2018-07-28 18:49:57 +02:00
Pierrick C 01ed6e1658 Start to move from Arduino (C/C++) to MicroPython / CircuitPython (teensy=>Feather M0 express) 2018-07-28 18:42:27 +02:00
Pierrick C f421bda621 Add pymakr configuration file 2018-07-28 18:40:01 +02:00
Pierrick C 08fab2b86b Suppression fichiers inutiles : abandon de d3.js pour bokeh 2017-10-08 22:34:56 +02:00
Pierrick C 9aa4f8084d Petites améliorations du graphe + préparation d'autre amélioration
Ajout téléchargement des données en JSON
2017-10-02 00:33:03 +02:00
Pierrick C b5c32cfc15 Graphe fonctionnel avec bokeh pour les données par type (à améliorer, mais ça marche) 2017-10-01 18:14:12 +02:00
Pierrick C daf1053f7d Renommage de l'interface web 2017-10-01 09:40:04 +02:00
Pierrick C 42dbc8e1b4 Mise à jour chemin vers les template Jinja renommés 2017-10-01 09:23:50 +02:00
Pierrick C 114e6a830b Suppression fichier obsolète 2017-10-01 09:23:12 +02:00
Pierrick C ce15bceb58 Grand ménage des fichiers obsolètes/inutiles et réorganisation des dossiers 2017-10-01 09:20:19 +02:00
Pierrick C 2091c459be Mises à jour multiples à l'interface web : visu de photos, renommage des templates Jinja, nouvelle configuration, préparation graphe 2017-10-01 09:07:48 +02:00
Pierrick C 4aa801634f Renommage des templates Jinja pour plus de clareté 2017-10-01 09:05:50 +02:00
Pierrick C e39a0c1b91 Modif mise en page affichage sur EPD + Commentaires=>DocString 2017-10-01 09:04:55 +02:00
Pierrick C 5efa599b93 Mise à jour du SHIM suite à réunion KiCAD (connecteur intercalaire sur GPIO) 2017-10-01 09:03:08 +02:00
Pierrick C 669a31ce69 Suppression fichier inutile 2017-10-01 09:02:10 +02:00
Pierrick C 61c4296af6 Nouveau driver ePaper Display de Waveshare supportant les Image de la librairie PIL
Beaucoup plus facile à utiliser pour de l'affichage riche
2017-09-20 18:06:00 +02:00
Pierrick C e95f6eb57a Enresgitrement en base de données locales (+ vérification de sa contruction par db.creat_all),
Suppression temporaire des liens entre les tables de la BdD,
Ajout de l'enregistrement des photos en BdD
2017-09-19 16:35:17 +02:00
Pierrick C eb17eccb27 Passage à un MQTT mosquitto en localhost 2017-09-18 23:10:36 +02:00
Pierrick C e897b59d1f Ajout du support de la camera du Raspberry Pi
Séparation de la partie configuration du module "commun"
2017-09-18 22:37:04 +02:00
Pierrick C b1ca8a9190 Merge branch 'master' of framagit.org:arofarn/Cameteo 2017-09-16 22:46:38 +02:00
Pierrick C 3869cb594b Ajout du sketch arduino chargé sur une carte Adafruit Huzzah ESP8266 comme source de données (MQTT)
pendant les tests.
2017-09-16 22:44:39 +02:00
Pierrick C a32c02cf11 Amélioration de l'affichage sur l'écran ePaper
Ajout d'un proto de boitier pour le R-Pi Zero, la caméra et l'écran
Début de carte intermédiaire (SHIM) pour alim et UART sur le GPIO du R-Pi (KiCAD)
2017-09-16 22:40:14 +02:00
Pierrick C 240b9148a1 Modification de l'écran utilisé 2017-09-16 01:39:52 +02:00
Pierrick C 0afdeafc52 Ajout de l'écran ePaper 2017-09-16 01:36:47 +02:00
Pierrick C 67050de3a6 Début du travail sur la base de données avec SQLAlchemy et l'interface web avec Flask, bootstrap et d3js 2017-08-20 22:56:21 +02:00
Pierrick C 0ad392f4bf Merge branch 'master' of framagit.org:arofarn/Cameteo 2017-07-26 15:53:12 +02:00
Pierrick C df81ee662a Ajout des scripts MQTT 2017-07-26 15:51:58 +02:00
Pierrick C 40b00e8577 Add new file 2017-07-08 18:20:00 +02:00
Pierrick C 3db93518ae Add license 2017-07-08 18:10:59 +02:00
Pierrick C e9c20be21c Initial commit 2017-07-08 18:08:54 +02:00