Use LWT (Last Will and Testament) MQTT feature http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament
Update TerkinData with appropriate JSON serialization:
int json_length = root.measureLength(); char payload[json_length+1]; root.printTo(payload, sizeof(payload));
- Document ADS1231 patch for ESP8266, write to forum
- generic.ino: Rename RESCEIVER_ID to RECEIVER_ID
- Augment calibration sketches to send calibration values to backend?
- Use PlatformIO
- Rename repository from "arduino" to "firmware"
- node-wifi-mqtt: Submit data as JSON container
- # If you like this project, please add a star!
- Test framework based on gtest: https://github.com/google/googletest
- Should use recent ESP8266 Arduino Core, see also https://github.com/esp8266/Arduino/compare/2.3.0...master
- Properly document correct libraries for individual sketches (A. Nickel)
- mike-matera/ArduinoSTL#4
Alternative libraries for ADS1231:
Rename node-gprs-http to node-gsm-wifi-http
node-openhive: Make HTTP interface compatible with Hiveeyes backend
node-openhive: Make feature flags compatible with firmware builder
RaspIO setup
Hardware jumper to decouple SPI from RFM69
Compile using:
cat Makefile-Linux.mk # RasPIO Hiveeyes, 2016-12-15 BOARD_TAG = gert328 MCU = atmega328p F_CPU = 12000000L ISP_PROG = gpio FORCE_MONITOR_PORT = true
Upload using:
sudo avrdude -P gpio -c gpio -p atmega328p -v -U flash:w:../../bin/src/gert328/src.hex
Enable UART on /dev/ttyS0:
root@raspberrypi:~# cat /boot/config.txt | grep uart enable_uart=1
Use the correct serial device:
screen /dev/ttyS0 115200
.. seealso:: http://raspberrypi.stackexchange.com/questions/47671/why-my-program-wont-communicate-through-ttyama0-on-raspbian-jessie
Stop picocom:
CTRL + A + X
[o] Investigate alternative HX711 library
- [o] Migrate from StandardCplusplus to ArduinoSTL?
- [o] Provide complete Zip Snapshot of Repository contents
- [o] Add http://platformio.org/
- [o] Add https://nodemcu-build.com/
- [o] Add https://www.heise.de/developer/artikel/Auf-Kommando-3361570.html
- [x] Fix git submodule dependency when cloning freshly, still does not track feature branches.
- [o] BERadio: Try to use BERadioShadowEncoder again
- [o] BERadio: message.set_mtu_size(96); (!!!)
- [o] generic.ino-gateway: put delay, to allow serial interrupt
- [o] BERadio: Add warning message if BERadioMessage overflows buffer of EmBencode (display only once!)
- [x] Add main sketch from Clemens
- [o] Automatic firmware building for node-gprs-http
- [o] Add scale adjustment sketches for ADS1231 and HX711
- [x] Pluck into RadioHead, finally (char* to uint8_t* geschwummse)
- [x] Send data through RadioHead's RH_TCP driver
- [x] Debugging Infrastructure (dprint, memfree)
- [o] Integrate BERadio with Terkin transmitter infrastructure
- [o] Make :ref:`Kotori` receive data from RH_TCP driver
- [o] Make std::string to uint8_t conversion available at BERadioMessage::send
- [o] Move to https://github.com/rocketscream/Low-Power
- [o] Credits and more upstream references
- [o] CONTRIBUTORS.rst
- [o| node-gprs-http/README.rst
- [o] Display licenses in documentation
- [o] Properly document BOARD_TAG vs. BOARD_SUB for Arduino 1.0.x vs. 1.6.x
- [o] Project packaging (tarball, zip?) and publishing
- [o] Add
git push github master
tomake release
. Don't miss the tags! - [o] Also publish to aPlatformIO
- [o] Detect when compling against Arduino 1.0.x vs. 1.6.x and adjust BOARD_TAG vs. BOARD_SUB appropriately.
- [o] Get into aESP8266
- [x] Add Arduino gateway code, e.g.
gateway-rfm69-beradio
- [x] Add
node-wifi-mqtt
from Clemens - [x] Add :ref:`libberadio` spike and associated documentation from :ref:`beradio`
- [x] Send
embencode.patch
upstream to enable OO-based composition - [x] Integrate
StandardCplusplus
via git submodule - [x] Try to use it from regular sketches. Watch the firmware sizes!
- [x] Add Sphinx for documentation
- [x] Purge docs/build from git repository
- [x] Interlink Sphinx (conf.py) with hiveeyes, beradio kotori docs
- [x] Add "Howto use inotool" to README
- [x] Check out different Sphinx theme
- [x] Publish at https://hiveeyes.org/docs/arduino/
For more tooling like distribution package building, see :ref:`beradio` and :ref:`kotori` repositories
- [x] Add Makefile for convenience
- [x] Add bumpversion for release cutting
- [x] Find other modern command line driven Arduino IDE replacement, maybe just use ArduinoMk
- https://github.com/plerup/makeEspArduino
- https://github.com/esp8266/Arduino
- https://github.com/esp8266/Arduino/blob/master/boards.txt
- https://github.com/esp8266/Arduino/blob/master/platform.txt
- http://platformio.org/
- http://platformio.org/lib/show/92/RFM69
- http://platformio.org/lib/show/276/AESLib
- http://docs.platformio.org/en/latest/librarymanager/config.html#dependencies
- http://docs.platformio.org/en/latest/librarymanager/config.html#library-json
- http://docs.platformio.org/en/latest/librarymanager/creating.html#library-creating-examples
- http://docs.platformio.org/en/latest/userguide/lib/cmd_install.html#cmd-lib-install
- http://docs.platformio.org/en/latest/platforms/atmelavr.html#packages