Skip to main content

Particle Connectivity Agent Library

Particle's default connectivity agent is great for rapid benchtop protos, though becomes problematic for scenarios which require long-term connectivity and non-blocking operation.
  • Spotty WiFi will cause the agent to eventually go offline indefinitely; requiring a power cycle
  • Internal clock is not automatically synchronized and drifts considerably over the course of a few days
  • Upon boot, the Setup() will not be invoked until WiFi connectivity is established - preventing initialization of IO
  • Cloud connection related functions will block execution of the application

Due to these issues, I built my own class to manage connectivity with the Particle Cloud. Basic usage is simple: set the system mode to manual, instantiate the class, and call Process() during loops.

Check it out on GitHub - https://github.com/TKBrown/Particle-Connectivity-Agent

Install via Particle CLI `particle library install Particle-Connectivity-Agent`

Popular posts from this blog

nVidia RTX 3090 Founder's Edition - Thermal Pad Modification

nVidia's RTX 3090 is a beast of a GPU featuring the latest Ampere architecture with 10,496 CUDA cores and 24GB GDDR6X. Like many products these days it's suffering from limited availability, but I finally managed to acquire one. The 3090 replaces my aging GTX 1070 Ti FTW2 as the primary gamer and boosts my daggerhashimoto rate for Ethereum mining. Unfortunately the 3090 cooling system is not well suited for mining workloads and upon firing up NiceHash, the VRAM temperature quickly reached 110C and began throttling due to excessive heat. Searching the web I found a solution - replacement of the stock thermal pads with higher efficiency aftermarket pads . There are two paths - replacement of all thermals pads front and back or replacement of just the back. I elected to do a full replacement (as it's not terribly difficult to continue once the card is torn apart) and followed  CryptoAtHome's YouTube guide . -WARNING- This process may void the warranty of your GPU and carri

Building Custom Beeswax Molds with 3D Printed PETG and Silicone Resin

Through my beekeeping operation I accumulate dozens of spent frames from which I salvage beeswax. Until recently I created candles as a means of storage for refined wax, though it reached a point where candle creation exceeded consumption. I decided to cast the refined wax into blocks for long term storage and began the process of creating molds. I pursued a number of concepts before settling on one which fit my needs; this post is will hopefully save others a fair amount of time as little information is available on the web for fabricating custom beeswax molds. Guidelines for the project: Use materials on-hand: 3D Printed PLA or PETG Silicone Resin Must be capable of reliably imprinting fine detail; minor defects are acceptable so long as it fits within the definition of "rustic" Technique must be adaptable across a range of sizes: 1/4 Lb to 5 Lbs Preheating of molds prior to casting not required Mold release agent (silicon spray) not required PETG Mo

Commentary on the Lummis-Gillibrand Responsible Financial Innovation Act

The crypto community is abuzz with the introduction of the Lummis-Gillibrand Responsible Financial Innovation Act . Although I have yet to see comprehensive analysis - as release occurred just this morning (6/7/22) - I was pleasantly surprised in my own reading by the evenhandedness. The legislation is largely targeting industry players (brokers, exchanges, stablecoin issuers, etc.) though there are some interesting items for the individual, which will be my primary lens for commentary: Section 101 Definitions The definition of a "PAYMENT STABLECOIN" (5D) excludes digital assets backed by other digital assets. An asset like the ill-fated UST backed by BTC would not be considered a stablecoin; or a theoretical digital asset backed by multiple stablecoins would not be considered a stablecoin. Section 201 Gain or loss from disposition of virtual currency The $200 exemption is a nice convenience, many every day items can now be purchased with crypto and no longer require the gain