Asking for guidance to find the right hardware/software kit for a connected hive in a rural setting

Choosing LoRa

All right. I think the designated board within our community on this matter is the HTCC-AB01: Heltec CubeCell Dev-Board, being a development board which can be used reasonably well in production. On the projects I am aware of,

Maybe both of them want to report about experiences and outcomes or point out to specific resources about them.

LoRaWAN?

When looking at the infrastructure side, did you plan to do plain LoRa, or maybe also use LoRaWAN?

On this matter, @MKO recently reported about setting up a LoRaWAN gateway at their site at Günstiges Lora Gateway -- MikroTik LoRaWAN wAP LoRa8 kit, which I think turned out to be a device well done.

@wtf: You are actually still using a Pycom Pygate 8-channel LoRaWAN gateway at your place, right?

Forum usage tips

Feel free to use the search function to find out more about certain details after getting accustomed to acronyms and jargon. I think the search functionality of Discourse is pretty decent and I personally use it more often than not.

Here we go.

I know it’s sad. Will you be able to support yourself on this matter and use Google Translate or DeepL Translate: The world's most accurate translator instead?

That + my remedial German (I was stationed in WEST Germany in the 80’s) should get me.

The smart-scroll is breaking the Google Translate contextual choice, I need to take a minute and see if I can disable that and make it work.

1 Like

TLDR;

Use the link [en] Autonomous Cell #3: Ground Soil temperatures with CubeCell, DS18B20, Solar & LoRa for getting a translated variant of the post we focused on, in order to work around the “This post is too long to be translated by the [inline] translator” problem.

Details

Oh well, I also heard about that. – Google Search Indexing and Discourse - #8 by neounix - support - Discourse Meta

It looks like the magic toggle is to add ?_escaped_fragment_= to the URL and use that URL with Google Translate [1].

So, these URLs look quite good to me already.


  1. Picked up from Disable or bypass feature detect for Googlebot (while serving JS app to crawlers) - #7 by stance455 - support - Discourse Meta. ↩︎

No, it isn’t, this gateway is now at my place (though not yet online); he’s going to continue with the Mikrotik solution.

1 Like

Is the “The Things Indoor LoRaWAN WiFi Gateway - 8 Channel LoRa 900 MHz” (Product ID: 4345 on Adafruit’s website) a reasonable starter gateway for some initial work? A lot of the shields and hats with multi-channels seem to have supply chain issues right now, and for ~$100 that seems like it might be a good choice until things are not so weird.

At least @clemens uses it AFAIK, he could tell.

1 Like

I have 3 of them here in the US and like them. I emailed TTI and asked if they were still being produced and they said yes, they are still popular. They do not come with instructions, so you’ll need to google that. Setup process is a little funky but it works. Great for the price!

1 Like

Thanks so much! Might as well give that a go. It should get me going fairly quickly, at least for dev work.

One of those TTIGs [1][2] was donated to me for developing Terkin and Kotori, but, as far as I know, I forwarded it to @einsiedlerkrebs the other day. I think he even managed to attach an external antenna to the device after tearing it slightly apart, in order to increase coverage.

You will find diverse reports on the TTN forum about this device, also some troublesomes, with eventual lockups. Maybe this is just what users observed that @NewHopApiary refers to as »funky setup process« ;] [3].

Personally, while never having worked with it, I also think it is a very reasonable starter gateway, suitable for development and home automation. For production usage in a rural area (outdoor conditions!?) you will probably also have a look at the Mikrotik or a similar device again in the future.


  1. New gateway: The Things Indoor Gateway - TTIG - The Things Indoor Gateway - The Things Network ↩︎

  2. The Things Indoor Gateway - TTIG part 1 - TTIG - The Things Indoor Gateway - The Things Network ↩︎

  3. Also, I think the migration to TTNv3 caused some troubles for many users. This should now be a thing of the past, and current shipments will probably include modern firmware releases to resolve this matter. ↩︎

1 Like

@Andreas I haven’t experienced any lockups yet. My comment about the setup being odd is that you have to hold a reset button for 5 secs and then a setup button for 10 secs. Just seemed convoluted to me.

Here are the instructions for setting up the device and “Claiming” it.
https://www.thethingsindustries.com/docs/gateways/thethingsindoorgateway/

@lbussy I have the unit plugged into an outlet inside a house. I then have several Dragino LSN50 units outside about 225 meters away. I’m seeing about -90db RSSI and about 9 SNR.

1 Like

I am purchasing it for the workbench - but should serendipity strike and it continues to work with my remote devices, so much the better.

Something that’s just struck me is that the Arduino repository doesn’t have a LoRa node exemplar. All I see is RFM69 which I understand is not LoRa. Am I right?

Is there a reason LoRa doesn’t seem to be represented there? As a newbie, I may not understand the nuances, but it seems like LoRa would be a primary solution.

1 Like

Dear Lee,

thank you for your excellent question. You are absolutely right. RFM69 is not LoRa. LoRa is RFM95/96. And even LoRa is not LoRaWAN. Roughly ;].

I had to catch up on this topic a bit, mainly because the work in this area spun off into two different dedicated projects by @wtf and @MKO, both based on the HTCC-AB01: Heltec CubeCell Dev-Board.

Arduino firmwares with LoRaWAN telemetry now has a short summary in order to give an overview about both projects to the community in this context, and to compare some of their properties.

Would this feature set be a common ground what you also roughly be aiming at?

With kind regards,
Andreas.

It would - that gives me enough to start with really, as soon as I finish the next release of a VERY important project (Keg Cop :slight_smile: .)

1 Like

That HTCC-AB01 seems to be out of stock wherever I check. Any thoughts on the Heltec Automation CubeCell GPS-6502 ASR6502 LoRa GPS?

It adds GPS which may or may not be desired and has solar cell management. It does have an OLED which we don’t need, but I am assuming it can be disabled via software and/or removed.

Whelp, I’ll try it out. I have one now and I am finally at Beta 2.1 of my other project so that’s good. I’m doing a little studying on Vue but I can take on a couple more things.

@Andreas I see the naming convention for the firmware is in the format of:

  • purpose role name, either node or gateway
  • transport name of the physical transport mechanism, e.g. rfm69, gprs or wifi.
  • protocol name of the transmission protocol, e.g. beradio, mqtt, http or any.

So a “scale” node I write using LoRa and beradio for the SparkFun QWIIC AD board would be named node-rfm69-beradio-nau7802?

Is beradio the currently recommended protocol for new development? And if I use that, does that imply I would need to implement a gateway (gateway-rfm69-beradio) to send to Hiveyes? And keeping in mind I snagged a Things Indoor Gateway; using the TTN gateway that I would use some other format compatible with TTN, correct?

I realize some of these questions are remedial, but until I actually get a “Hello World” running, I need to ask them. :slight_smile:

Hi Lee,

don’t get confused about BERadio. It is a Bencode-based, yet custom-baked, ASCII-compatible payload format we used in the early days when running RFM69-based radio communication [1]. Today, I would focus on CayenneLPP instead as we did elsewhere already and only resort to a different serialization scheme when absolutely needed.

I think today, given that we would like to start with a LoRaWAN-based datalogger doing payload serialization using CayenneLPP, I would just call the variant/folder name "node-lorawan", straight ahead.

If we would gain different subvariants while we go, we can still rename to take in different other labels discriminating the firmware from similar ones, like heltec, ttn, etc.

This matter around the whole topic of telemetry resonates very much with your other question, which is yet unanswered:

Your inquiry here absolutely makes sense. I just haven’t been able to catch the time to write a concise compendium about that topic.

With kind regards,
Andreas.


  1. As you can see on the repository at GitHub - hiveeyes/beradio: The BERadio specification and implementation for Arduino and Python. Transmit data in Bencode format over radio links, decode and publish to MQTT., it has not been updated since ages. We should actually reflect that statement on the repository or somewhere else as well. Also, we should bring the repository up to speed (Python 3.7+?) in case this is still useful to others. ↩︎

Thank you!

The way I see it, and given the ubiquity of PlatformIO, board variants should be handled in the platformio.ini file as new definitions. Within reason of course. If we assume all of them will have an rfm69 radio, then the pin definitions for other items is trivial. Maybe. I say that without starting so you know how that goes.

1 Like

I’m back! It took me forever to get my latest release done for another project, plus I was actually keeping bees in my spare time. I hope to get back to this to contribute some firmware in the near-term.

1 Like