There’s also a gateway/forwarder which receives data from the LoRa subsystem and sends it to HTTP as well. Everything is forwarded verbatim without any decoding involved, the payload just is being announced as “Content-Type: text/csv” when performing the HTTP POST request:
It is based on the contribution “lopy_lora_server.py” by @constantinos on the Pycom Forum (thanks!):
Note: Please be aware that this hasn’t been run on any real iron yet. We appreciate your help in doing this!
Together with @clemens, we have been able to confirm that code from the current development state of the Hiveeyes MicroPython Firmware works successfully with and without sensors attached and MQTT-over-WiFi telemetry enabled.
# Find serial port.
# Configure serial port.
# Pre-flight checks.
# Bootstrap dependencies once.
# Usage: After updating the list of dependencies, e.g. through "git pull".
# Upload firmware framework and sketch and trigger a cold start.
# Usage: Each time you modify code.
While we haven’t been able to resolve every main topic referenced above, we have been able to make reasonable progress on many details. You will be able to get more detailed insights by scanning the raw changelog or the new release page.
We would like to thank all contributors who have been involved making this happen. Thanks also for excellent counseling to @weef, who just joined the game. You know who you are.
We will be dearly happy to have more testers and developers on the code base. As things are still being minted there and the framework feels reasonably robust right now, this will clearly have a positive impact. In this sense, we would like to encourage you to try this out if this sparks your interest.
Der Code hängt noch ein wenig schief drin und könnte bei der nächsten Iteration besser gebündelt werden, es könnte aber auch schlimmer sein. @tonke und @einsiedlerkrebs haben damit bereits ein wenig gefunkt und jede:r andere kann dies auch tun und wird damit Daten wie gewohnt komfortabel ins Grafana Dashboard bekommen – ansonsten gebt bitte Bescheid wenns hakt!
Für weitere Schritte fehlt es an der Implementierung wesentlicher Telemetriekonzepte für die nahtlose Integration mit der gesamten Infrastruktur. Auch wenn entsprechende Pläne bereits vorliegen, konnten wir hier bisher noch nicht mit der Implementierung weiterkommen.
Interaktive Konfiguration über eingebautes Captive Portal
Dafür müssen ein paar Kabelbäume neu gezogen werden.
Accessing the FiPy over network  and turning off deep sleep while in maintenance mode in order to gain steady network connectivity while reprogramming the device  makes sense, so we added this to our backlog  and started investigating already .
The goal for any improvements would be to make managing the FiPy over network as easy as possible .
We would like to start shedding more light onto the details on which giants’ shoulders we are actually standing each day and night – even the dwarf giants’. Today, we would like to introduce you to the fine Dotty Dict package conceived and maintained by Paweł Zadrożny.
Dotty Dict is a dictionary wrapper for quick access to deeply nested keys. In practice, it looks like that:
We chose Dotty Dict in order to access nested data structures like outlined in the configuration file blueprint settings.example.py by conveniently addressing values using flattened keys in dotted accessor notation, like
The sandbox features a new make target "install-ftp" which uploads the whole bunch of sources to the device using FTP. In order to do that, you will have to configure the device’s IP address which you can find out using the new MicroTerkin Agent as outlined at Wartungsmodus für den Terkin-Datenlogger.
When the device is on the network, everything becomes more efficient.
# Signal IP address communication
# Deploy sources using FTP
# Attach to the console
Press reset button
Currently, a full "make install" takes whopping ~2m10s to complete over UART/FTDI/USB. The new FTP transfer mechanism brings that down to ~30s for a full installation and ~17s for an installation without the dist-packages folder. ↩︎
Installing it should be as easy as "apt install lftp" or similar. ↩︎
We took the chance to spread the word about the datalogger software Terkin for MicroPython we are conceiving here on the Pycom user forum.
Just recently, the datalogger program started to spark interest with others and we got support from @poesel to integrate support for BLE  as well as LoRa/TTN telemetry from @Thias after following up on what @einsiedlerkrebs and @tonke have been doing the other day. Thank you so much!
Saying this, we will be happy to accept further contributions from the community as we are aiming to make this more generic beyond its original scope of beehive monitoring.
In order to support that, we are exceptionally happy about the recent firmware release from Pycom finally bringing MicroPython 1.11 to the plate  and followed up on that by refactoring our codebase in order to bring it into a better shape . Thanks for your input on that, @pinguin.
After shaving some more yaks, we are looking forward to the upcoming release version 0.7.0. As we have been able to unlock MicroPython module freezing for Pycom devices, there will be complete firmware images to flash to your device.