Where to start - Wanting to use Pycom to build myself a monitor

Hi Michael, great to have you here at hiveeyes, welcome! Nice to see people from Australia here also!

Just to clarify, we supported the BOB research project and there is a user friendly, via captive portal configurable BOB software. You can find a lot of documentation under Bee Observer Online Dokumentation (only German).

Feature-wise and from a stability perspective the BOB software package was not optimal. So – especially Andreas – developed the Terkin software a replacement of the BOB software, compatible with the PyCom devices and compatible with the other BOB hardware (PCB, sensors, …). Unfortunately Terkin has no captive portal for configuration. So you have to edit config parameters in a text file. The biggest blocker may be the installation of Terkin it’s not so user firendly – for a Windows user – you have to use the terkin sandbox see Setup MicroPython sandbox — Terkin Datalogger 0.14.0 documentation and working with the so called “sandbox” needs a light learning curve. Alternatively you can use the Terkin releases with a IDE of your choice, that would I recommend to start. In case you need later nightly builds or you will modify parts you can still use “the sandbox”.

For the release use the workflow would be:

  • install Visual Studio Code (or Atom)
    I had too much problems with Atom and switched to VS, especially the PyMakr plugin did not run in case a new Atom version showed up.
  • install the PyMakr Plugin to upload code to your PyCom devices
    Pymakr - Visual Studio Marketplace
  • download the Terkin package as release!! do not download the repo / code version!
  • open the code in VSC
  • edit the config file
  • upload to LoPy / xPy

I have not installed Terkin a longer time, so I do not know what a working combination of PyCom’s firmware and terkin software is. But @Andreas has done some work in the last days and has a recommendation?

You can find the Terkin configuration file under terkin-datalogger/src/settings.example.py at main · hiveeyes/terkin-datalogger · GitHub it is quite flexible and can send your data also to swarm.hiveeyes and in parallel to your own server.

1 Like