Skip to main content

103 posts tagged with "Helium"

View All Tags

How To Use The Helium Bridge

· 9 min read
Nik
Site Owner

So you've read the piece on the Helium Bridge and you want to use one to bring your favorite non-LoRaWAN sensor data onto the Helium Network? Rad!

Let's start off with the current limitations, just so you don't get all hot and bothered then realize what you wan't ain't doable yet. Right now, it works "out of the box" with 4 sensors:

  • WS80 from Fine Offset (Ecowitt), a small weather station.
  • WH45 from Fine Offset/Ecowitt, an air quality monitor
  • Acurite 592TXR Indoor/Outdoor Temp/Humidity sensor
  • Springfield PreciseTemp Soil Moisture

For the WS80 specifically we've published a specialized set of instructions so you can make some changes regarding how much it reports on Helium vs how quickly it collects data. You probably don't want to be sending data out as quickly as it's collected, every 1.7 seconds, as that would be a fairly large DC bill.

Keep in mind that this is just the beginning, and that doing this project will introduce you to (force you to?) level up your geek chops. This is not a small "build an Ikea table" project. If you've never done this before, plan on about 3 weekends to put everything together so you can reliably build a bunch of Bridges.

You'll be ordering PCBs and components, soldering them together, and programming what you've built. It's really cool, and we'll walk you through step by step so it's as easy as possible, but be ready to hang in there a bit!

If you want to use the Bridge with other protocols like BLE or ANT+, you'll need to take the hardware basics and do some tinkering, or wait a bit as we continue to tinker as well and add more options.

Find The Helium Bridge Github Here

You can find the a detailed set of instructions over on Github for how to build a Helium Bridge. In this post, I'll add in a few explanatory points and help guide you through some of the things that aren't intuitively obvious to us less-geeky types.

Let's think of doing this in three distinct stages:

  • Assembling the hardware
  • Programming the device
  • Using it with specific sensors

Assembling the Hardware

Ok, so step one is to order the PCB, or Printed Circuit Board that will be the base of the Bridge. To do that you'll go to the Github and download what's called a "Gerber File". You'll find that in the "pcb" folder, here.

You'll then upload the Gerber to a place that'll print 'em for you. We used OSH Park, which you can find here. When you go there, you'll seen the options to upload your files right on the main page.

It can be a little confusing going through the ordering process, and it seems to change every few months or so. The important parts are to make sure everything lines up correctly and to make sure you order what's called a "mask" when you order the board. Trust me, this'll make applying the solder paste much easier.

You see, we're NOT going to hand solder this board. You're going to use what's called a "Reflow Oven" to attach the various components. You can buy one of those, or, way more fun, you can build one! We built the Controleo3 from Whizoo using their kit and a toaster oven!

Once you have (or have access to) a reflow oven, you'll need the board and the components to put in and "cook it" as well as consumables like solder paste to make the electrical connections.

Everything you'll need to buy or have on hand other than the reflow oven is listed in the Githhub. Rather than double-listing 'em (and risking have separate lists in different places), I'd just go over there and put in your orders. It can take a few weeks to get everything in.

In big picture terms, the PCB is the structure to which the brains (the Lilygo computer), the radio (the CC1101), the power (the 18650 battery), the charging source (the solar panel) and the receive & transmit antennas to attach to. You could connect all those manually (that's how we started), but it can be a little tricky to do that, and using the PCB makes for a much cleaner final project.

Here's the printed PCB and a PCB with the "mask" taped over it and ready to have the solder paste applied. Note how the holes in the mask line up with the places where the solder paste will need to go on the board.

Using a card (usually supplied with the mask), smear on the solder paste once you have the mask taped on. Remember to tape the board to the mat first so it doesn't slide under the mask.

Once you've got your components placed, carefully remove the mask, then slide everything into your reflow oven and cook it!

Here's the PCB after we added solder paste and the CC1101 (the square green board). We got a little ahead of ourselves on this one and cooked it before we added the UFL connector (right below the green board). :)

Ok, so that's cool. You'll end up doing a little hand soldering, but nothing crazy.

While it may seem confusing to read about this, once you have all the components in front of you it will make far more sense, and you can basically "see" the signal flow.

Pay careful attention to the Github instructions, especially the parts about polarity on the battery. Oh, and don't lay this thing down on a metal surface with the battery in; it'll short! Ask me how I know...

Once you've got it all together, but BEFORE you put in the battery or connect the solar panel, you'll connect to the LilyGo (the thing with the red squiqqly line over it in the picture above) with a PC and program the thing.

Programming the Device

I've always found programming any of these boards to be a little finicky, which has almost always been a result of my ignorance and ineptitude. Read the directions carefully, go slowly, and if you have any problems jump on over to the GK Discord and look for the Helium Bridge channel; we'd love to help out!

If you use Platformio (which is what we used and recommend) and you haven't before, it'll be much trickier to start, but once you're up and running with Platformio it's universally liked far more than other options. So, prepare for a(nother) steep learning curve. Rad, right?

The step-by-step version is over on Github. If you have questions please drop 'em here or jump into the Discord link above.

Using It With Sensors

Ok, so as it currently stands you can use with sensors listed above. Some of them are on 433MHz (the soil moisture sensor and the temp/humidity sensor listed above), and some are on 915Mhz (the weather station and the air quality monitor above).

As thousands of sensors are out there, it's not practical to list every single option and configuration. You're heading off a little into the wilderness here as you add more and more sensors. If you don't find that fun, this may not be for you. :)

Keep in mind that the Bridge doesn't distinguish between what it hears; it's not like it's just "listening" for one device. If there is a weather station and an air quality monitor in range, it'll pick up and retransmit both sets of data. We're not sure of the limits here as far as how many devices an individual Bridge can handle. For now, if the signals overlap in being received, you'll lose a reading.

It's reasonable to think you'd easily handle 5-10 sensors per device, but that's not a guarantee.

The data is separated out in the decoder, so you can have a couple different sensors all flowing through one Bridge and getting separated out in the Decoder on whatever Console you're using.

One of the cool things Dirk did was write the decoder so you don't have to adapt it for Helium Console or the MeteoScientific Console; it'll just work. Neat, right?

Areas for Further Exploration

  • Level up MQTT - Have each sensor have its own named MQTT topic.
  • Adding more sensors - Modify the rtl_433 esp libarary and add more sensor decoders to the javascript decoder
  • In the WS80 version of the code, we have a bunch of features like "sleep to save power", reporting on battery status, and aggregating data. Integrating some of those functionalities into the LMICnode.cpp would be pretty rad.

The Helium Bridge - A Thousand New Sensors

· 6 min read
Nik
Site Owner

Once you've built the world's largest LoRaWAN network, the next step is clearly to use it. Still, it can be hard to use a network that doesn't yet have an absolute boatload of sensors ready for it.

Part of this is the hardware lag cycle. It takes time to build hardware, and we're just now getting to the point where new hardware that's custom built for Helium (or any LoRaWAN) is starting to really pop into the market. I know, I know, there are a ton of shiny brochures with all kinds of fancy sensors that are ready right now.

I've bought a couple of those. With two exceptions (well done WeatherXM and DIMO!), LoRaWAN devices are usually expensive, have unreliable support, and generally don't work out of the box.

Where does that leave us in the Helium network? Firmly on the building side, but with an awful lot of light coming up on the horizon.

If we look at current (early October 2023) data usage over on the Dune OUI tracker, you'll see that between the top IoT data users, we're using about 88 million DC (1 DC = 24 bytes) per day, with the MeteoScientific Console (my publicly available console) going through ~71,000 DCs in 24 hours.

Now, 88,000,000 data credits SEEMS like a lot, but compared to what it can be? We're probably 2 orders of magnitude off. How do we get from here to there? We add sensors.

That brings us back to our original problem: Where do those sensors come from, and how do we get a TON of them cheaply?

While there are LoRaWAN sensors that'll work on Helium, the vast majority of IoT devices today weren't built for a LoRaWAN. What do you do?

Pretty obviously, you build something to allow any IoT sensor to connect to Helium. You build a bridge.

Back in April of 2023 I got a grant from the Helium Foundation to do just that. Dirk Beer and I worked on the thing over the summer, occasionally dropping updates as we got various parts of it working, and ended up with a rad little PCB design that anyone can order and then build.

This adds the potential for thousands of sensors to come on board. They could be weather stations, soil moisture sensors, air quality monitors, tire pressure sensors, people counters, traffic counters, parking sensors, or any number of different sensors. Here's a list of rtl_433 sensors that it's ready for now.

Eventually, the Bridge will receive any non-LoRaWAN radio protocol (rtl_433, Bluetooth, ANT+, WiFi, etc) then retransmit that data, either raw or processed, back out over Helium.

Let's think through a couple of scenarious just to get your mind running.

Opportunity!

First, you might (like me) have an obsession with remote weather stations. By "remote" I mean those weather stations that are beyond the range of short range wireless protocols that reach out to 100 meters at most. Almost by definition, they end up also needing to be remote from power, so they get energy from a solar panel and battery. Most of the time, remote weather stations price points are over $1,000. The KestrelMet 6000 I won at a CES raffle STARTS at $1,299!

Now, there are exceptions, like the WeatherXM Helium station that runs $400. For a commercial product, that's pretty amazing, and probably about as low as you'll get.

If, however, you were willing to do a little DIY and you had a Bridge that would receive the signals from a station that was nearby and had a short range, then re-transmit them over a much longer range, you'd be able to buy a much cheaper weather station like the $109 EcoWitt WS80.

Add the Helium Bridge, a device that costs ~$60 in parts (less if you buy in bulk) and takes about an hour to put together with the right tools and probably another hour of fiddling around the first time to program. By the time you're done with shipping for the WS80, you've spent just over $200 for a remote weather station you can customize any way you want (and that coincidentally, could be sending a ton of data!)

Now I'll grant that it's a DIY solution, and those will almost always be cheaper and more finicky than commercial solutions, but...pretty cool example of adding sensors to Helium!

It's the same thing with an air quality monitor like the WH-45 from EcoWitt; $125 for the sensor, another $60 for the bridge, call it $20 for the shipping and you're just over $200 for a totally remote capable sensor. You'll still need power, but a small solar panel and battery will be totally fine. Not that there's anything on the market that's an exact match, but just as an example, the OmniScience G-7 Wireless starts at $499.

Downsides

Ok, so the benefits of a Bridge are obvious; what are the downsides and limitations?

First, the current Bridge is still pretty DIY. Unless you're willing to do a little soldering and follow programming directions, this isn't yet a solution at scale.

Second, IoT in general isn't particularly easy, and adding in a second device that connects your IoT device to the wider world is another complication.

Still, the Bridge that currently exists is open source, meaning anyone, from you the reader to your favorite manufacturer, can read the directions then build and deploy your own, for WHATEVER sensor you want!

The Future

So, where does that leave us? At beginning of an amazing new world with still so much to be done! The rtl_433 list is a long one, but that's just one protocol.

There's ANT+ (commonly used for heart monitors and other biometric devices), Bluetooth (everywhere), WiFi, and the list goes on. If it can connect wirelessly, we can get it to connect through the Bridge. Whether you're retransmitting data from your bike computer or heart rate monitor or even a sensor that monitors your oxygen consumed as you work out (ahem, upcoming project!), the ability to bridge over information adds a ton of potential value to the Helium ecosystem.

I'd love to see what you do with it; if you have a specific sensor you're working on, please let me know in the comments and if you've got geek chops we'd LOVE to have you contribute over at the Helium Bridge Git repo.

LFG!

How To Use A Helium Integration

· 10 min read
Nik
Site Owner

Let's start with the basics: What the heck is a Helium Integration, and why would you even need one?

An "integration" is what allows the raw data that's coming from your Helium sensors to be actually used. Whether that's showing a dashboard of soil moisture, or temperature, or if you're tracking the number of people who park in a spot, you'll need an integration to actually understand that data.

Let's do a quick review of how information moves through a LoRaWAN:

It starts with the Device sending out a Packet over radio waves. That Packet is received by a Hotspot. The Hotspot sends it on to an LNS (LoRaWAN Network Server), which will typically decode the packet and send it on to an Integration.

Now, an Integration doesn't have to be a display; it could be any use of that data. Let's say you have a Helium sensor monitoring soil moisture under a sprinkler manifold. If that sensor suddenly reports that it's super wet, you may want to have your Integration just shut off any water to the manifold.

Of course, you might want to know if that soil moisture is because of a leaking pipe or just that it rained recently, so you probably want to tie in data from a local weather station, like this:

To see all that data, you need an Integration. In this case, we'll be using the MeteoScientific integration, which also has a Rules Engine that allows you to create rules and workflows around what happens when it rains, or gets too cold, or does any one of a number of things that your sensors can report on. *Full disclosure: I own and run MeteoScientific and invested in the software it runs on, which is called UplinkEngine.

For now, I'll walk you through how to connect your Console to an Integration. We'll get to actually displaying the decoded data in the next post.

The MeteoScientific App is free to sign up for, and the smallest device plan is $.50/month, which is competitive with any other integration option out there.

Integration Options

There are lots of other integration services, like Datacake, Ubidots, Tag.io, and of course, Nova's 1663 option for large commercial users. Each of them offers something slightly different, and depending on what you want, they may be a good match for you. They all will have the same general steps that we'll follow below for MetSci. You'll generate an API key, add it to your LNS, figure out how to read the incoming data, and then (for most of them), automate actions based on that data.

Relax, we won't do ALL of that in this post. :)

I'll make an assumption now in order to save us some time and space, and that's that you already have your sensor up and connected to the Helium network. If you don't, start over here with the MeteoScientific Console.

Chirpstack Device Setup - Example

Once you have a device set up, it'll look something like this weather station, which is an example from the Chirpstack LNS on console.meteoscientific.com:

You can see that the sensor is up and reporting packets consistently, and the signal strength is good enough. Now, this is just the Device. To create an Integration, start by finding your Application in Chirpstack. Click on the Application, then look for the Integration tab, like this:

Click on the Integration tab, and then hit either the "plus" button if you don't currently have one, or the pencil icon if you already do (which is the case in this example.)

Once you're in the integration, we're going to tell Chirpstack where to send the data from our sensor. This sends our data to the "Integration."

To do that, we're going to open another tab and for our Integration account. In this case, that's the MetSci (MeteoScientific) app. There we'll generate an API key, then copy and paste a few things back into the Chirpstack Integration window.

MeteoScientific App

So, over on app.meteoscientific.com, look for your account name, then API Keys, then go to the top right and hit the "Add API Key" blue button, like this:

Once there, you'll see the option to add an API key. API stands for Application Programming Interface, and it's the code that allows two programs to talk to each other.

Add the key and name it something that makes sense, then save. You'll need to add a "verification code" which will be sent to the email you signed up for the App with.

You could name it Super Duper Double Trouble Radical Wizard Key. The name doesn't really matter, it just has to make sense to you. Once you see it in your API KEYS list, we'll move on to the next step: Add the Device you have over on Chirpstack to the MetSci App, then using the API key to connect the two.

Gather your DevEUI, AppEUI, and AppKey from your Chirpstack account for the Device you want to add, then in the MetSci App, go to Core-->Devices and Add Device, like this:

It'll display a screen where you enter in all your various EUIs and keys. Fill those in, then hit Save at the bottom.

For now, don't worry about Heartbeat Interval, Public Viewing, Parameters or Position, we'll fill that in later. Hit Save, and you'll see your Device.

Look for the "How to Receive Uplinks" tab and expand that, then carefully follow the instructions. It'll look like this:

Use the copy/paste buttons to grab your "Endpoint URL" and the HTTP Headers Authorization. We'll paste those in over on the MetSci Console, back in the Integrations tab we left open from before.

Go back to Chirpstack

In Console, on the Integrations --> HTTP edit box, start by choosing JSON, then fill in the Event Endpoint URL.

Now hit the "Add Header" button, and add in a Header with a "key" of Authorization and a "value" pasted in from your app. That will start with "Bearer" and then have your API key in there. I've already done mine, but just for reference, this is what it looks like:

You're done!

That's it! You've connected your Console with an Integration using an API Key. Wait for your sensor to send a packet, and you'll see the packet show up in your MetSci app. I'll save the next step (taking the decoded data from the packet and displaying it in the app) for another post. For now, pat yourself on the back, you've made the last big connection in a long set of geeky rules, well done!

If you're digging this set of instructions, I'd love to have you as a MetSci Console and App customer. However, I'm more psyched to just have you using Helium in general, so whatever combo of LNS and Integration you use is fine with me. If you're having trouble, drop me a note in the comments below and I'll do my best to help you out!

Rock 'n roll!

Archived Comments

E.H. - 8/12/2023

Hello Nik. I am E. H. from Zenica, which is located in Bosnia and Herzegovina. Zenica is a small town with a large ironworks. It is called Željezara Zenica (You can check it on this link - you will have to translate it into English https://bs.wikipedia.org/wiki/Željezara\_Zenica) It used to employ 20,000 people. A big war happened in Bosnia and Herzegovina 30 years ago, which you probably know about. The country never recovered from that war. You can still see ruined buildings, bullet holes and rubble from explosions, unemployment is huge and corruption is flourishing. The country is still divided on national and ethnic lines. Now you are probably wondering what all this has to do with Helium and your blog. Well, I discovered helium 3 years ago. Of course when I discovered helium I also discovered your blog. And I want to tell you that you are the biggest star in the helium world! I wanted to use Helium to monitor the level of air pollution in my city. I wanted to set up measuring stations all over the city that would post real-time data to a website or app so people could check the air quality before going outside. They would also finally have data that would be collected over a period of time so that they would have evidence that the steel plant is poisoning my city. I already wrote to you that corruption is flourishing, the Mittal Steel company that bought the ironworks does not comply with any regulations, it emits huge amounts of dust and smoke into the air at night when it is less visible (I can send you pictures if you want), local corrupt politicians assure us that the pollution does not originate from the steel factory but from people who use coal for heating. Mostly a long and sad story, and in the meantime, people die en masse from cancer. And back to helium, I ordered two hotspots 3 years ago. One sensecap and one bobcat. I installed them, I even installed one sensor similar to what you wrote in this article. You can check it at the following link: https://app.datacake.de/pd/ec69f339-95b6-4279-93e8-04d49ca24a8d One of the hotspots was added to the denylist a year ago for some unknown reason. You can check it at this link: https://www.crowdspot.io/hotspots/112jFvxA6VL3eofEsTMA9f8Ge2KF85VYhXx9zGmWWiFbB2KARGMm?submissionId=5561 Of course, I immediately reported the incorrectly added hotspot on Crowdspot, sent pictures and coordinates of my setup, and since then a year has passed and nothing has happened. It still says status pending. What can I do? The cost of a new hotspot is about the same as my monthly salary. I can't just buy a new hotspot. I haven't even paid off the two hotspots I bought yet. Please help. You can contact me at [redacted] Sincerely, E.H.


Nik - 8/12/2023

Hi EH, Thanks for writing in and sorry to hear about Zenica's issues. It definitely sounds like Helium could help with providing coverage for air quality monitors, love that idea! As far as the Crowdspot issue, I don't have any control over that. It's currently an issue being debated and addressed by the community at large in the Discord server. The most you could probably do is rally your Helium friends to vote it out of the denylist, but that's not a guarantee either. Sorry I don't have better news!


How To Use Helium for Parking Sensors

· 7 min read
Nik
Site Owner

One of the great opportunities of a ubiquitous wireless network like Helium's LoRaWAN is in monitoring parking. While parking may seem slightly less interesting than day-old oatmeal to most of us, the more you know about parking the more you wonder why we don't pay far more attention to it.

Let's start with the business cases for it. Any given city government typically lays out various types of parking options; 2 hour parking, 72 hour parking, 15 minute parking, commercial loading, taxis, etc. These are applied to a city layout in order to promote the efficient use of street space and support citizens and businesses as they go about their day. The city of San Diego has 55,000 parking spaces in downtown alone; that's a lot of potential data!

As a quick example, you might want 2 hour parking on most of the "main strip" of any given small town, with spots for businesses to load or unload, taxis to pickup, or people to have a reliable place to leave their car when they run short errands like mailing a package or buying something from a restaurant.

So far, so good, right? Think about the following three questions: First, how do you know the current layout is working? Second, how do you make sure people are following the rules? Third, how might you turn parking violations into a significant profit center until citizens clean up their act?

Most cities in the US have very little "real time" idea of how citizens are parking. In one sense that's great; I don't really want to be under constant parking surveillance. In another sense it's one of the craziest things you can think of. We literally build a city, hope we got it right, and measure almost nothing to make sure.

Imagine doing that in school! "Hey students, here's a test where if you get an answer wrong you're going to owe a small amount of money. I want you to take the test. When you're finished, crumple it up and throw it into the trash can from wherever you're sitting. I'm going to take a nap while you take the test. If I wake up, I may try to catch some of the crumpled up balls of paper that were your test when you throw them. If I catch anything, I'll grade you on a few random answers. If you got them wrong, I'll charge you. If I don't look at your test then you pass."

Why not just grade the test? Well, up until very recently, "grading the test" was very expensive and technically difficult.

Helium has changed half of that by making it easy for anyone to deploy a sensor measuring parking wherever they want, and the world of sensor manufacturers is spinning up production to meet the burgeoning demand. As we get to scale, prices begin to come down, and we get to actually "grade the test."

Of course, waiting to get to scale and for prices to come down and for local government to embrace new technology isn't a good formula for getting shit done, and GSD is my happy place, so...I went ahead and bought then deployed a few parking sensors.

I'll give you the bad news up front: Out of the 3 sensors I bought (they run just under $200 each when you're buying low volume), 2 of them broke within a week or so from cars driving over 'em. The company has acknowledged the problem and is working on a better enclosure, and will send me the upgraded version when they're ready. I'm cool with that; I expect things to break in these early days.

Now, those two were "surface mount", meaning that they just fasten straight to the surface of a street, like this:

It's not like the in-ground one is much larger, here are both types on my carpet in the office:

So, what's it like to install the in-ground one?

https://youtu.be/76HAjnuqDPk

Ok, with that as the current state (1 working, 2 broken), what's next? I'll spend the next few weeks while I wait for the 2 replacements working on how I want to visualize the data. Remember, I want to give our city the ability to "grade" how well parking is working. I think it might look something like this:

I could be wrong and they just want a boring old spreadsheet, but let's take a swing at the elephant in the room:

A parking violation here in San Diego runs about $53. A parking meter enforcement officer (PMEO) earns $19.64/hour. Now, I'm not going to get into wage debates here, but it doesn't take much more than a 5th grade education to see that a PMEO who can quickly see where they should ticket is, at least until people learn not to violate the parking signs willy-nilly, a profit center.

I know, I know, a couple of you will be fucking howlers and complain about your rights being infringed because you shouldn't have to live in an Orwellian state. That's ridiculous, you know it, and all you have to do is follow the signs or vote in better rules. There is an entirely different (and much stronger) case to be made that governments are fairly bad at spending money, but for now, let's just imagine we could improve things by gathering data.

Look, we're getting closer to a world where more things are measured, and in the measuring the world gets benefits like making data-driven decisions to improve an operation. The jackwagon in the '67 Camaro might have nice taste in old cars, but she doesn't get to park 4 hours in a 15 minute zone without a consequence. Other people can use that space, businesses rely on traffic flow, and thinking that the signs apply to everyone else but not you is a recipe for a world that is less fair and fun.

Ok, so that's how you might use data from street parking in a punitive way, how could a small business constructively use a parking sensor to improve sales?

One way is to indicate to customers that a parking slot in a specific area is free for them to use; that's an easy Helium fix. If the parking space is occupied, there's an integration that turns a light in front of the business red, to indicate parking 'round back is full. If the parking space is available, the light is green.

The business sends out emails and tells walk-in customers to look for the light, which is a fun story to tell and lets customers know that the business cares about 'em and is willing to explore cutting edge technology. As more people are able to park and walk in and spend, the business generates more profit by providing a better experiences. Winning all 'round!

Now, these are just 2 options to explore in the world of just parking sensors; imagine how much is left to develop across the entire IoT space?! I'd love to hear how you think YOU might use IoT in your business, whether it's parking sensors, cold chain monitoring, buoy tracking, or counting how many people walk by the front door versus come inside to track how your signage is working.

The possibilities for exploration and improvement are damn near endless, I can't wait to hear how you're using 'em!

Rock on!

Sunsetting Helium Console - The End of an Era

· 7 min read
Nik
Site Owner

As any project progresses from a good idea to first implementations and moves closer and closer to commercial viability, the nature of access to the project will change. Typically you start off by giving away access for free, just so people can try the thing out. Helium's LoRaWAN (as all DePIN projects do) went a step further, and issued tokens for those who were willing to put up a gateway, in Helium parlance called a "Hotspot".

If you put up ("deployed') a Hotspot and provided LoRaWAN coverage, you earned a token called HNT. In the early days of the network, earning HNT is what drove the explosive growth from zero to about a million Hotspots in the course of around 2 years, as both the amount of HNT earned and the value of that HNT in dollars on the open market made deploying Hotspots a very lucrative endeavor.

If you think of HNT earnings as being like a giant pie, where early adopters got huge slices and many others looked on those slices and made their own lambo plans, you can see where it ends up going. Like any tasty pie, as more and more people claimed their slice, the slices got thinner and thinner, and at this point (June 2023) there isn't a huge financial incentive solely for providing coverage.

So, that leaves the real work of Helium still ahead: Allowing people to use this network that a community of strangers has built, and as part of that, allowing for and encouraging the support of businesses that build on top of the Helium ecosystem. I should say here before going any further that while I believe building a business on Helium is a reasonable bet, if you're considering running a business on Helium you should do your own risk analysis and research.

With that out of the way, let's talk about what will need to happen in order for Helium as a system to build a project with long term sustainability. We should start with a brief review of how the Helium LoRaWAN works, as it's slightly different than other LoRaWANs in two important aspects.

First, the technical aspect of having an additional step in the journey of a packet of data as it makes its way from a sensor to its final destination of being useful information. This step, through the "HPR", or Helium Packet Router, causes additional technical hurdles that are surmountable but must be understood by businesses considering using Helium.

Second, the personnel aspect of many people who would never before have thought about touching a LoRaWAN suddenly gaining access to high technology as a revenue stream. In this case I'm thinking of those businesses that might use a service like MeteoScientific (full disclosure, MetSci is a Gristle King Inc offering) for their own use or to upsell clients on a subscription model.

Here's a quick visual on the flow of data, from left to right, as a "packet" of information leaves a sensor and travels through to its final destination.

Along every step of the way is an associated cost. The sensor is a physical object that costs money to buy, a Gateway costs money to deploy, the Helium Packet Router costs money to operate, as do the LoRaWAN Network Server (LNS) and an Integration, which is where you see and use the data from the sensor.

In this article, we're going to focus on the LNS options, as this is currently hindering the growth of a decentralized system.

Currently, the Helium Foundation, a non-profit organization with the mission to be a steward of ecosystem development, network governance, and public education, runs a free version of an LNS, called "Helium Console". Anyone can sign up for it and run up to 10 devices on it, paying the "base rate" of data credit costs, which is $.00001/DC.

If you wanted to run your own LNS, you'll need to buy an OUI (think of it as a license to run an LNS) which currently costs $900, and you'll need to host your LNS on servers. Yes, you could scrap together hardware and do this on the cheap. However, for any serious business use, servers in the cloud with a reasonable uptime guarantee will cost at minimum a few hundred dollars a month to run. If you were to hire an expert (like I've done) to run servers using the OUI you've bought, you can expect your costs to start around $1,800/month.

Staying in business is straightforward; if you can buy the thing for 1 and sell it for 2, you're in business. Simple in concept, business is deceptively tricky in practice as you face not only the challenge of finding and keeping customers but also the competitive nature of others trying to run their own business. If you enjoy that kind of challenge it's extremely engaging, but you do want to make sure as much of the deck as possible is stacked in your favor.

That includes making sure there is no reasonable competition that can undercut your prices and sustain their operations.

Having a free option run without a profit motive stifles competition. For example, why would you use the MetSci Console, which charges $.0001/DC, when you could use the HF Console, which charges $.00001/DC?

Of course, there are other significant advantages to using the MetSci Console. On MetSci there is no practical limit on devices, we are constantly adding new decoders and support, it integrates with the MetSci app, and while there's currently no SLA, we have kept up with a 24 hour response time to all requests.

There is currently no business support for the HF Console and the Foundation has said that they will eventually sunset this Console, although with no date given.

Still, this is about more than just one LNS, this is about developing a decentralized system that supports businesses trying to build on it. In a system where the central player does not have pressure to turn a profit and offers a free alternative, the incentives to build competition are artificially suppressed.

Now, the argument can be made that no one will think of building a business on a model that only allows 10 devices and has no support, and that's reasonably fair, but the question is: Why offer it all? Why not just get out of the way of the businesses who are trying to build on the network, let them compete on a price/quality basis without unfair competition, and assume that will build a far healthier system?

With that in mind, I've proposed that the Helium Foundation shut down public access to their Console instance along with all current accounts with 10 or less devices in order to open up the playing field for a healthy and spirited competition between vendors willing to invest long term in Helium.

I could be wrong about this, and I'd love to hear how and why a better solution exists, so feel free to drop comments below, or comment on the HIP if it gets accepted, or head over to the GK server and join the discussion there.

Citizen Science: The Next DePIN Frontier

· 3 min read
Nik
Site Owner

Now that Helium has shown the world how to deploy a global network of physical devices at a low capex, and Hivemapper, GEODNET, and WeatherXM (among many others) following suit, what should we expect to see in the next year?

My guess is we'll see the rise of DePIN/CS, for Decentralized Physical Infrastrucutre Networks/Citizen Science.

Many of these projects already exist, supported by enthusiasts around the world who already build and deploy sensing devices. It could be the Raspberry Shake project monitoring earthquakes, or Birdnet tracking birdsong, or Sky360 keeping an eye on what goes on up above us. All of these projects show an average person how to employ technology to gather data about the world around them, then share that data to the global community.

Here's a page from my Birdnet instance, showing what birds were heard about my backyard. You can listen to these birds (or ones closer to you) over on the BirdWeather app.

With hundreds of thousands of people introduced to the idea that they can move slightly above the average understanding of how to employ technology (deploying almost a million LoRaWAN gateways around the world in Helium's case), there is a distinct hunger for setting up a data-capture device that improves our understanding of the world and capturing some of the value from that data stream.

What will really accelerate this is figuring out the dual paths of DIY devices as well as manufactured hardware. Outside of Helium (and they only did it for a short while), very few projects have explored DIY options, mostly due to security reasons. The question remains: How do you make sure the data flow you're getting is real, accurately asserted, and correct when there is a financial incentive to provide it?

Now, all of that is down the road a bit. For now, I'd suggest checking out a few of these projects and just getting your hands dirty. I recently took a Raspbery Pi4 and put it into service as a Birdnet, including building the custom microphone for it.

The project required basic soldering skills, the ability to follow instructions, and the ability to purchase a few things on the internet. Not hard, and very promising as far as a low barrier to entry for radically improving our sense of the world. I used an old Helium outdoor enclosure to house the Pi, and in about an hour of assembly had a rad little device that I'm helping contribute to bird knowledge with.

Do you have a favorite "citizen science" project? I'd love to hear about it and with any luck, build a node and put my shoulder to the wheel of science.

Rock on!

Improving Chirpstack for Helium

· 4 min read
Nik
Site Owner

The most important person reading this may be non-technical. While technical expertise is critical to accomplish the goals set out below, much of the initial work done will be "imagination work", trying to figure out how we as a community want to work with, in, and around a new form of access into Helium.

Let's start with laying out how the system works, from the sensor sending out a packet all the way until you see that information displayed on a screen.

The sensor emits a packet, the packet is received by a Helium Hotspot (also known as a "gateway"), that Hotspot sends it to the Helium Packet Router. The Helium Packet Router figures out which LNS to route the packet to and sends it there. At the LNS the packet is received and decoded, then sent out to an Integration, usually to be displayed in a dashboard or sometimes as an alert or notification. Whew!

Now, currently that "LoRaWAN Network Server" can be either the Helium Foundation Console, or, as in the image, a Chirpstack Console. Either one is considered an LNS.

This flow is different than a "normal" LoRaWAN network because of the addition of the Helium Packet Router. Now, the HPR is required for this whole thing to work; it coordinates the 400,000 Hotspots across the world. No other LoRaWAN out there has anything close to this amount of Hotspots, so they don't have this problem.

In fact, a typical LoRaWAN deployment might have just 2 or 3 Hotspots (they'd call 'em Gateways) and would look like this:

So the big difference is REALLY big: 2 or 3 (or maybe 2-3 dozen) Hotspot/Gateways versus 400,000! That's why at Helium we need the HPR.

Ok, so here's the rub (well, one of a few rubs). Chirpstack wasn't built for a network like Helium. The way it displays information to the LNS owner is based on the idea that an LNS will maybe 3 dozen gateways.

By the way, if you want to see and use an actual Chirpstack instance on Helium, please check out the MeteoScientific Chirpstack Console, which I'm running to help normal people use this fancy technology. It's free to sign up for an account, and you get a couple hundred DC when you do, which is enough to add your first sensor to the network and see how it works for yourself.

When you first sign into the Chirpstack Console, this is what you see:

That's fantastic if you only have a handful of gateways and you're really focused on Device Data Rate, but...that ain't us, which means that out of the 4 displays (Device, Gateways, Data Rate Usage, and Gateway Map) we only see 2, and really, only 1 of those is useful to most of us.

So, what should we do?

Since Chirpstack is open source (you can read all about it here and check out their Github account here), I think we build a better option. This is either a commercial opportunity (you design a dashboard and sell access to it) or something that the Helium Foundation would be delighted to see a grant application for.

As a general thing to start with, I'd like to see something like this, where the LNS owner gets to see data about the fleet of Hotspots & Devices they're running.

Now, that probably won't be what it ends up with, and I'd love to hear what YOU would want to see! It might be cool to see most recent device onboarded, or a per device DC burn window, or an alert for any device that goes out of some pre-set parameters.

Whatever it is, I'm looking forward to seeing who is going to build what. It is entirely possible I'll have one built for the MeteoScientific Console just to see how it works, so consider me in the running for helping improve this. Now, this'll work best if we all put our shoulders to the wheel together, so if there is anything I can do to help you along the way, please reach out, I'd love to collab on this and improve the system for everyone.

Rock on!

Riding The Downlink - A Rough Guide To Browan Tabs

· 8 min read
Nik
Site Owner

What is a downlink, why would you want one, and how can you use 'em? With Helium being a permissionless network, we're going to have a ton of people who are not LoRa wizards trying to use a LoRaWAN, including downlinks. I thought I'd write up a few articles on how to solve some of the frustrating obstacles you might find as you continue your Helium journey. This should help the average user get a hold of one lever in this high technology world called "the downlink". We'll start off with some background, explain a little about how it works and give some examples of how you might use it.

LoRaWAN is not something the average person is familiar with, and almost all manuals available are written for people who already understand what's going on. That's fantastic if you got a EE degree and then a Masters in wireless communication. It's less useful if you're a plumber who wants to level up their game and is curious about technology (i.e. an excellent candidate to use the Helium network).

Let's start with a few sensors from Browan, a company that's been in the LoRaWAN business since 2016, and the wireless business since 2002. Browan was kind enough to send me samples so I could share them with you.

Browan famously makes the Object Locator Tabs, which were some of the first devices ever on Helium, and make up many of the devices BFGNeil uses over at Trackpac. While most of us know Tabs as trackers, the Tab form factor (the little hexagonal shape) is used to house a number of sensors, 3 of which I'll talk about here. Browan also makes the MerryIoT line, which produced a Helium Hotspot for a while and continues to sell LoRaWAN sensors.

Here are a few examples of different Tabs. You can find all of 'em over on Browan's website.

Onboarding these sensors will give you a good idea of the potential and the limitations that they come with. The potential is the bigger of the two; by combining these you can figure out an awful lot about a space; from whether the cat came in (motion sensor in a cat tunnel) knocked over the water bowl and then left, all the way out to determining whether or not you should open the windows when you're welding in your garage workshop.

I'll leave the imagination part up to you and dig into some of the practicalities you might run up against if you're still new to the whole LoRaWAN & Helium thing.

We'll start at the basic level: Every sensor has 3 "keys" to it: The DevEUI, the AppEUI, and the AppKey. There are others, but as a basic Helium user, those are the three you need.

In many sensors you can change those keys to suit you. That might be important if you're security minded, or if you have an internal identification scheme for the sensors in your business.

With Browan Tabs, you don't have to worry about changing keys. You can't reprogram the DevEUI, AppEUI, or AppKey. It's simple: What they ship with is what you've got. You'll either receive the key-set in an email, or they may be printed on a slip of paper or sticker in the box. Don't lose 'em, as you won't have an easy way to retrieve them. I know of one case where the keys for over 300 Tabs were lost and they got thrown out. Don't let that be you!

Now, every device on a LoRaWAN has a "decoder", also called a "codec". This is a set of instructions that deciphers the data the sensor sends out (in an uplink) and turns it into something we can read and use, like a temperature or air quality reading. Decoders are vital to actually using the network, but they're not always easy to find or to write for a specific device.

The Tabs all share one decoder, which is kind of cool. This means that in Chirpstack (which you can try here), you just set up a Device Profile and then create multiple Applications for it. In the Helium Console, you'd just set up one Function, then run all the Devices through that Function.

Ok, so that's all the basic stuff. What happens if you want to change something on the device? There isn't a way to connect a programming cable to Tabs, so you have to do it wirelessly, through something called a downlink.

A downlink is a command you send over the air once the sensor is activated and has joined the network. A downlink is received by the sensor AFTER the sensor uplinks. If your uplink interval (the interval at which your sensor sends data) is only once a day, you'll only have one shot per day to send back a downlink.

A downlink might tell the sensor to send out packets on a different interval (every 5 minutes vs every hour), or it might tell the sensor when to actually report something. For example on the Indoor Air Quality sensor, you might only want to pay attention to temperature changes of over 5 degrees; you don't need to know if the room went from 72F to 73F.

Downlinks are tricky for new users. Conceptually easy, they are finicky in practice. If you don't get every detail correct, they don't work. Let's go through a few examples of common pitfalls that you can avoid.

Let's start by checking out the Browan manual for the IAQ Sensor, you can find it here. On page 14, you'll see the the Appendix for Configuration of Downlink Commands.

The first thing to look for is what port to send the downlink on. In this case, it's 204.

Next, figure out what parameter you want to change. If you want to change multiple parameters and see what happens after each change, consider changing your uplink intervals to be frequent so you have multiple fast options for sending back downlinks, then setting the uplink interval back to whatever you'll use long term.

So, how do we write an downlink and then send it? Every device is slightly different, and reading the manual helps. In general, you'll have to do some translation between what you want to say (Hey, only tell me if the temp changes 10 degrees) and what you send (0x10 in the case of a Browan IAQ tab). Usually you can find example payloads that'll guide you, like this:

I've found that most of the time, the examples seem simple but can be really confusing. Are you supposed to send 01 02 or 0x02? Or something else?

Usually, the engineer who wrote the firmware on the device has done some little tweak that totally makes sense to her, but can catch ya out if you're not paying attention. In the example image above, note that the "Unit" of time is 5 minutes. They also don't refer to a "uplink interval", they call it a "Keep alive value".

Finally, you may notice that they use a format called hexadecimal, which you'll need to translate to. In the IAQ index delta example above, 50 is the number you as a human would read, but you'll need to send 32. You can convert Decimal to Hexadecimal here.

The easiest way to get the right command is to use Browan's Downlink Translator, which I've made available in a Google sheet you can view and copy by hitting the button below.

Browan Downlink Translator

Here's what it looks like; use the tabs on the bottom to find the sensor you're using, then choose the Config value you want and then copy/paste the Downlink Command Payload. You can choose to configure all of 'em at once as well (as you can see in the screenshot below.)

Oh, and one more thing. There's a trick to popping off the shell so you can replace the battery; here's how to do it:

https://youtu.be/jOMi0DIaDz0

Archived Comments

V - 10/30/2024

Hi Nik Your blog helped me set Ambient Light Sensor. Thank you!


Frédéric Bosc - 10/25/2025

It is refreshing to read something written by a human in these days. Great day to you !


A Rough Guide to Chirpstack on Helium

· 13 min read
Nik
Site Owner

At the beginning of Helium's LoRaWAN, the ability to route a packet from a device through the Hotspot network to wherever you wanted it to go was a service provided either Helium Inc or eventually, the Helium Foundation. That routing happened through the Helium Console, which was a custom built LNS (LoRaWAN Network Server). An LNS is the thing that manages all the packets of data on a LoRaWAN.

Devices sense the data and transmit it, Hotspots receive the data and pass it to an LNS, the LNS routes the data to the entity who pays for it and keeps track of who sent what where and when. That's a lot of w's.

Helium Console had a few limitations. First, for a normal user you could only have 10 devices on it. It was always only ever meant to be a demonstration or "intro to Helium" tool.

Second, it was very expensive for the Helium Foundation to run. This was fine to cover in the early days, but in order for the network and market to fully mature, solutions provided by the market need to evolve. In order for those to evolve, there can't be a "free" competitor. That explains why the Helium Console is being phased out a long while from now (my guess is end of 2024) to make room for anyone to run an LNS to run their sovereign LoRaWAN applications. (Thanks to Abhay for the improvement on that statement!)

Short version? The Helium ecosystem is ready for businesses to be built.

So, as a network user, where does that leave you?

The first option is Chirpstack, and using Paul Pinault's (disk91 on Discord) technical expertise, I'm running one that you can try. The LNS is being run under the MeteoScientific name as part of my "how to run a Helium business" series.

It's free to create an account, and you get a few hundred data credits for free when you sign up so you can test drive it. After that, data credits cost $.0001 each. If you had a device that sent 3 parameters (say, temperature, humidity, and air pressure) once an hour, that would cost you [.0001 x 3 x 24 x 365] about $2.63/year.

Want to try it out? Let's get started. First, go to console.meteoscientific.com and create an account. Once you've signed up and you're in, look to the left, where you'll see the basic menu.

This is a little different than the old Helium Console, but don't panic, I'll walk ya through it. For now you should see a couple hundred credits up in the top right of your screen, that's plenty to get a device on and get started.

The first thing you'll want to do is decide what device you're going to onboard. In my case, I'll be using the MakerFabs LoRaWAN Soil Moisture Sensor, which you can buy here. I've written about how I'm using it, how to print a 3D enclosure for it, and it's predecessor all on this blog, feel free to review any of those links if you need to. It looks like this:

Pretty simple, right? Now, if you've gotten a sensor on Helium before you may be tempted to skip ahead and "just figure it out", which you can do if you know 2 things. First, Chirpstack doesn't use AppEUIs. Second, Chirpstack doesn't have a menu item for Devices; those are found in Applications. You can muddle through it from there if you'd like, or you can continue following along step by step.

Step 1: Create a "Device Profile". Chirpstack (and I) make this super easy in this case by already having a template in the MetSci (short for MeteoScientific) LNS. You can find it by going to "Device profile" in the menu and hitting the "Add Device profile" button on the top right.

When you hit that "Add device profile" button you'll see a page with a ton of choices, including the "Select device-profile template" blue button. More on that later. Most choices are self-explanatory, some of 'em are new to many of us. If you're onboarding something other than the soil moisture sensor I'm using in my example, I'd suggest leaving the defaults as they are and changing just the Name, Description, and Region to match what you've got:

If you're using the soil moisture sensor (and you're in the US915 region), I've made this wicked easy; just hit the "Select device-profile template" button, and look for "MakerFabs", then keep clicking all the obvious choices. That will load up the template for you with a US915 region. Even if you don't have this sensor, feel free to use this as a little reference point on your new Console journey!

Now, there's an important step if you're using a different device: You'll need to add in the "codec", which we used to call a "decoder". For the SMS (Soil Moisture Sensor) template, it's already loaded in. If you're using something else, make sure you look for the Codec tab and add in a decoder (usually you can find it on the interwebz and copy/paste it in. Remember to "Submit" when you're done making all your edits to the General tab and the Codec. Here's where to find the Codec tab:

Cool, so now we have a "Device profile" and we've added the codec. What's next? In Helium, we'd add a Device. In Chirpstack, we add an Application.

Head down to Applications, and (obviously?) hit the Add application button.

This'll bring up something that seems blindingly obvious and redundant: The "Name" and "Description" of the Application. We're almost there, so bear with this; it'll make more sense when we finish the next step of adding a Device. I know, I know, it's confusing. Just keep going.

Now, one way to use an Application is that you're using 2 sensors that are the same sensor but in different regions (US915 and EU868, one for me, one for my auntie in England's garden), or you might be using them for different properties and so they have different sending requirements (every hour vs once per day). They could pull from the same or different templates, depending on how you want to set them up. For one device it won't make much sense, but Helium ain't about running just one device...

Woohoo, let's add a device! Now that we have an Application, from the Applications tab in the main menu, choose the application you just made:

Then hit the blue "Add device" button.

That'll bring you to the device page. I like to fill out the description fully, with a reminder to myself of the naming convention I'm using, although that may only be on the 001 of each device. On the Device EUI you can fill in what you have or have Chirpstack generate a DevEUI for you by hitting the little circle/arrow button. For Device Profile, choose the (only) option

Once you've filled all that in, hit Submit at the bottom, which will take you to the "Application key" tab up in OTAA keys on the Application menu. You can use the same circle/arrow button to generate an App Key (if you're going to load that onto your device), or you can type in the AppKey if one came with the sensor.

There is no APPEUI in Chirpstack! This can be a bit jarring to you, and in some cases you'll have to enter in all zeros for your AppEUI if you're programming your device (which is what I do for this device in Platformio).

Whew, we've done all the Chirpstack work we need to do! If your device came with pre-programmed keys you'll use, you should add batteries and it *should* fire right up. You'll see that in Applications / [your application] / Devices / [your device].

In that case I didn't have any batteries in it, I just used the Upload and Monitor and power from the USB on Platformio. Looks like it's reporting correctly!

Very cool, right? Feel free to try it out, and let us know if you find any bugs; this is still pretty new, so we haven't worked out all the kinks yet. If you want a head start on this rad new world we're heading into with Helium, this is your chance. Rock on!

Archived Comments

Mark Roberts - 10/13/2023

Thanks for this. Trying out MeteoScientific now. You should put a link to this blog on the meteoscientific.com page to help direct people to get started. I have a question... If I want to migrate a device that is currently running on console.helium.com do I delete it and create new DevEUI, etc. or can I just use the DevEUI that Helium provided? Do I leave the device there? -mark.


Mark Roberts - 10/13/2023

Update... I went ahead and reprogrammed my first device with the devEui and appKey generated by Chirpstack, using 0 for the appEui and the device is sending data through helium to meteoscientific now. My next step is to get the data to my MQTT broker, since part of the reason I want to migrate right away is that the MQTT Integration in Helium seems to be very unreliable, throwing an ill-documented, undefined 'failed to publish' error on some but not all devices after running for a while. The problem is that when I go to the integrations tab of my application I see a "Get Certificate" button under MQTT, not a simple + sign. When I click Get Certificate and then Generate Certificate there is an error dialogue: "Error: Read mqtt ca_cert". So I'm stuck. My broker doesn't use SSL, I don't need this feature, just simple authorization with user and password... so how do I get past this? Thanks, -mark.


Nik - 10/14/2023

Hi Mark, thanks for trying it out! If you want to migrate from the Helium Console to MetSci I've got a video on how to do that, here.


Nik - 10/14/2023

Hi Mark, as of 14OCT2023 we don't have a direct MQTT integration, but there is a workaround, using an HTTP-->MQTT. You can find those directions here.


mdroberts1243 - 10/14/2023

Thanks Nik. For now I'm trying to follow the directions you linked. Currently I only see the packets from Helium Console hitting my MQTT broker though. I'll email you a screen shot of the integration settings since I don't think I can post a picture here. Is there a way to debug integrations in Chirpstack? I don't see any events associated with the integration.


chioz - 10/19/2023

Hello there, Got myself some dragino lht65n and want to utilize them for business idea. Seem like it was harder than i thought to get it online on chirpstack and hopefully then on to datacake. Could there be a guide how to onboard them please? I have gotten a heltec cubecell ab02s with your guide that seem to register fine on chirpstack (cannot seem to figure out how to get it onwards to datacake thought) But when trying the Dragino it is registered as "never seen". The Dragino also lights up its red diodes to show it is not connected. The guide from Dragino is also lacking a simple guide for helium usecase.


Nik - 10/19/2023

Hi Chioz, check out the MetSci YouTube channel for help. I'm not sure about why the Dragino isn't being seen, although I've also noted it can take a few tries to get things working.


Chioz - 10/25/2023

Thanks for getting back on this. Tried following the steps in your youtube channel. Same thing happening. Cannot connect to Chirpstack. Tried adding them to console.helium - super easy. So tried to migration video but cannot follow the steps as it is not the same. On "Setup API" Tab, I get "Refused to Connect" when choosing "Vip Console", however "Foundation Console" works so i get to the next step. I then choose "Temp" label defined in the helium console, The "Select Intergration" has no alternative but "none", and the same is true for "Select Function" (No wonder when i just added them to helium console without anything more) The next tab (Setup Chirpstack) has my company name as "Select tenant" - pressing this only gives the message " Invalid chripstack authentication, try to logout / login" Have tried a few refreshes and log out and in on this. I guess i must be doing something wrong here to then :/ Cant we just continue to have the helium console please? (I know, I know ...., it is being cut of eventually...)


fagermo - 11/12/2023

dont know where to ask for help on this, but cant seem to get password recovery working or to make a new account...


Chioz - 11/13/2023

Finally got things set up for the Chirpstack way :D Thanks for the guides and making this. By the way, needed the app_eui to be the correct number for it to register a dragino sensor. May be needing to correct that in the youtube video :D Thanks again


Arm - 11/19/2023

Hello, could someone help me add a Dragino LT-22222 device? I have the keys, DEV EUI, APP EUI and APP KEY. Which of these should I use because it is not clear to me.


Nik - 11/20/2023

Hey Arm, cruise over to the MetSci YouTube videos, they should walk you through the process: https://www.youtube.com/@meteoscientific/videos


The Solana Transition & The Staking Pie

· 5 min read
Nik
Site Owner

Now that Helium is on Solana, what's next? Let's start with the big ones: All actions are now way faster than they were. Need to transfer tokens to someone? Should take about 30 seconds. Want to update info on your Hotspot? Same time. No more waiting 40 minutes or a few hours, or even a few days for actions you take to happen.

Now, having said that, there are a few things that have a delay in when you start to SEE them, one of which is staking rewards.

Before we get too far into that, let's rewind a bit and start with what staking is, why having it is new and a big deal, and what the implications are. Let's start with what staking is, and why a project might offer it. In many crypto projects you'll stake, or lock up, tokens in exchange for the right to contribute to the blockchain in some way and be rewarded for that contribution. One example of contributing is running a blockchain validator. A validator makes sure all the transactions submitted to the blockchain are valid. If you use your validator nefariously (to cheat by validating bogus transactions), you stand to lose your stake. If your validators contributes to the network by helping validate transactions, you get paid in tokens.

When you "stake" HNT, you're doing something different: You're buying voting power. The more HNT you stake, and the longer you stake it for, the more voting power you get in return. That power is counted in "veHNT", or Vote Escrowed HNT, and you can read about it here.

You don't get anything other than voting power when you stake. If you'd like to earn tokens for your stake, you'll need to take another step, which is to "delegate" your stake.

When you delegate your stake to a subDAO (currently IOT or MOBILE), you'll earn tokens from that subDAO. The more you delegate, the more you earn, BUT it's a little more complicated than that. Let's start at the top, with looking at ALL available HNT.

If we think of HNT as a giant pie split up into slices, the first split comes when we carve out the HNT set aside for HST, or Helium Security Tokens. HST is what investors in the Helium Inc got when they put in their money, as recently as 2021 and as far back as 2018 or so. HST is super valuable, super rare, and not (as far as I know) for sale anywhere. It's good to know it exists, but it's not really worth focusing on.

The HST split of all available HNT looks about like this (roughly a third).

Let's focus on the HNT we DO get access to, which is the largest slice of that pie at 68%. If we cut that out and make it it's own pie, here's how it would look if MOBILE and IOT were perfectly balanced.

In that scenario there are only 2 subDAOs, MOBILE and IOT. They each get exactly half of the pie, and each pays out 6% of the HNT it gets in the form of its native token to those who delegate their HNT to the subDAO. Now, that's not all how it'll shake out. In the early days following the transition, things went pretty lopsided in favor of IOT, and at one point the pie looked a little like this:

Because the subDAOs pay out just 6% of the HNT they receive based on how many delegated votes they get, that payout slice can get mighty fine.

Of course, it could go the other way, in MOBILE's favor, which might look something like this:

However it shakes out, we're in new territory here. As you can see, the more veHNT is delegated to a subDAO, the more powerful that subDAO gets. At the same time, the more veHNT goes to a subDAO that YOU are a part of, the lower your individual delegation rewards. The whole thing is slightly more complicated than the distribution in a box of Cheerios, although if you zoom out enough, it comes down to this:

The more valuable a network IS, the more value those who participate in it will receive. That's it.

We haven't scratched the surface beyond staking and into the rest of what Solana brings, like a new developer ecosystem, lightening the load on the Nova and Foundation blockchain teams so they can re-focus on building wireless networks, and the implications of the advantages from combining all that.

Just think, pretty soon there'll be smart contracts revolving around sensor data picked up from Helium based weather stations that feed into giant insurance pools managing risk across the globe that are supported by DeFi products, and it'll all happen on Solana. The ride is about to get wild!

Before you get discouraged, remember this: Those who learn fastest stand to see the most success, and right now there's an awful lot of learning to do! As a human you have a native ability to learn, and the more you learn the better you get. Start new, don't worry if you make mistakes at first, hang on, and enjoy the ride into the future we're all creating together. Rock 'n roll!