This is awesome! Thank you so much for sharing this to the community @gusgonnet. I just ordered several of those Shelly BLE buttons to start playing with. You sharing this here will sure help accelerate the development.
The concept is to build upon the water meter tracking I'm doing for maple sap I started outlining here:
The scenario is a maple syrup producer will buy sap from neighboring farm, some use a water meter, others don't. For those that use a water meter, they physically write down the value on the water meter and use napkin math try to account for where all the sap came from for that day, week, season, etc. (Neighbor A, Neighbor B, Neighbor C). Etc.
Basically when someone gets done unloading their haul of sap (i.e. water), we need to create a "production event" or basically a single record in the database/table of the date/time, total gallons, and who/where it came from. My initial thought was just detect when the flow stopped for a period of time and publish the volume of water pumped that cycle, but pumps can turn off mid unload, someone might have 2 tanks to unload, etc. That logic would likely be tough to be good enough for all scenarios where we only get 1 production event. In that scenario, the person would also have to go into the app and mark who it came from.
The concept I'm going to try and test out is use a different BLE beacon for each neighbor. I.e. Neighbor A is the Blue BLE beacon, Neighbor B is the Red Beacon, Neighbor C is the white beacon and so forth. Then once anyone is done unloading their sap, they simply push their button. When the event is observed by Particle device, it then triggers the Particle.Publish of how many gallons was pumped since the last event. The intent is to make the paperwork side of it much easier/automated, you get date, time, quantity and location.
What I love about the BLE beacon is it's quick/easy and I can add as many as I want. I'd just use the Address as the GUID number.
Any chance you've played with this:
https://www.shelly.com/en-us/products/shop/shelly-h-and-t-gen3-1
In a difference scenario, I'd like to monitor temperature and humidity within BLE range of this same device. Basically it's a Frost protection device, don't let me pumps freeze. I assume with a little effort this could talk as well via BLE, decode the packet and have an ability to add on several wireless Temperature and Humidity BLE sensors. I was originally thinking of using a beacon but having the display is nice as well for when you are in person + BLE.