Commit Graph

114 Commits

Author SHA1 Message Date
Pierrick C ea15123df4 Add raspberry pi power control pin 2018-09-15 08:12:54 +02:00
Pierrick C 4ed3310042 Add pin usage in docstrings 2018-09-15 08:11:09 +02:00
Pierrick C 672b0b6015 Disable debug for set_clock_from_localtime 2018-09-10 15:18:00 +02:00
Pierrick C cca0c082c8 Add clock check before writing data 2018-09-10 11:03:28 +02:00
Pierrick C e84682c391 Fix error when GPS send None timestamp 2018-09-10 11:02:38 +02:00
Pierrick C 7146111a56 Explicit debug + change in data collection order 2018-09-10 11:01:44 +02:00
Pierrick C 5396d6f946 Unused variables 2018-09-10 10:59:41 +02:00
Pierrick C 1cce6281b5 Fix the use of GPS as time source in the new cameteo module 2018-09-10 10:01:36 +02:00
Pierrick C aafc5f2c77 Small changes in verbosity 2018-09-10 10:00:26 +02:00
Pierrick C d5be5e1a28 Better way to free ressources from unused neopixel 2018-09-10 09:58:31 +02:00
Pierrick C af9d40ceb6 Fix file rotation.
Now it's a method of Data classes
2018-09-10 09:57:01 +02:00
Pierrick C bb2a2f2665 Lib & firmware update + cleaner directories structure 2018-09-10 09:52:27 +02:00
Pierrick C 7953969dff Debug csv line generation 2018-09-10 07:53:21 +02:00
Pierrick C 1d02bb7d2f Disable LED13 at boot (too fast to be seen) 2018-09-09 22:55:41 +02:00
Pierrick C 97b6d67177 Return json to Data.__repr__() 2018-09-09 16:58:12 +02:00
Pierrick C fba971349c Big rewrite !!!
Data objects has subclasses for GPS, system and BME280 and moved to 
module
2018-09-09 11:39:21 +02:00
Pierrick C 9b36c49893 Comment update 2018-09-09 11:36:54 +02:00
Pierrick C bc875c32fe Do not wiat for fix to use date/time from GPS => use GPS RTC everytime! 2018-08-25 22:21:37 +02:00
Pierrick C c64f463ef0 pylint and PEP 8 checks (again) 2018-08-25 22:16:09 +02:00
Pierrick C eeaa78869c Some code formatting changes 2018-08-25 11:44:35 +02:00
Pierrick C 67b7fdce68 pylint and PEP 8 checks
Only styles changes
2018-08-25 11:38:05 +02:00
Pierrick C b4036b8092 Debug daily file rotation 2018-08-24 21:19:49 +02:00
Pierrick C 2efc31ab4d Update README.md
Mise à jour de la liste de matériel (CircuitPython sur adafruit feather)
2018-08-20 22:17:15 +02:00
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