..

No images? Click here

Mobius & on-device metrics

Hey all

This is a bit of editorial privilege. I've been poking at the Mobius library a bunch recently for doing on-device metrics. Found some stuff that didn't quite work right. Reduced memory and disk usage a bunch. Improved persistence. Added DDSketch histograms. All of this is currently unreleased as I'm making sure I don't make it worse attempting to make it better. But check out mobius, I think you'll find a lot of it neat. I might make some kind of presentation for it eventually. Massive credit to those that built it. I'm just rolling on forward on a good idea.

I do have a question. What cool, useful or harrowing experiences do you have with on-device metrics. Are there simple algorithms you find tell you more than anything else? Is there a hard-learned lesson? What metrics do you care to track, what don't you care to track? Did you go down a rabbit-hole on this all and regret it. I want real experiences, opinions are cool too but best if backed by production usage as we all know. This can help shape what I do with the library and what I do with surrounding libraries.

I have a library I'd describe as so high churn it is absolutely roiling called mobius_smarts. While mobius is opinionated towards resilience, conservative footprint and careful consideration of trade-offs. This smarts library is allowed to be a bit wilder. I want it to take the metrics and give you useful signal. I doubt it is there yet. If you find this interesting, follow along on the Discord or reach out over email. Would love to have the input.

Have a great end of the week.

-Lars, editor at large

Nerves Meetup EU

Damir gave us an in-depth presentation on his many years of experience building UI and what it has taught him. He has funneled it two things.

A properly designed state management abstraction. Solve.

A pure, functional GUI library influenced by Elm UI. Emerge.

The video will come soon, watch the various channels and look here.

Make sure you are on the list to be informed when new speakers are announced.

 

NervesConf EU at Goatmire Elixir

The Goatmire Elixir website has all the planned speakers and workshop. Check it out :)

Hotel information and discounts are also on the site right now.

 

Next meetup: Herman & routers

If you've attended any Elixir event and especially a Nerves event anywhere in Europe you have met Herman. An OG and awesome constant of support for the project this lovely gentleman always shows up.

He hasn't been presenting much though. Day to day he wrangles WiFi for commercial customers and he does a lot with OpenWRT and finally he has a device suitable to use Nerves on, rather than OpenWRT. We look forward to hearing all about it.

Register now to not miss it later.

Herman verschooten

Herman verschooten

 

Software updates

System updates

All the system updates share some fundamentals this time. A security and bug fix release. Keeping up on the deps.

nerves_system_br, v1.33.9

This is a security and bug fix release.

  • Changes

    • Fix compilation of host-libunistring on glibc 2.43 hosts
       
  • Package updates

    • Erlang/OTP 28.5.0.1

So every system includes this:
 

  • nerves_system_br 1.33.9
  • Erlang/OTP 28.5.0.1

The systems:

nerves_system_x86_64, v1.33.5
nerves_system_vultr, v0.30.5
nerves_system_rpi5, v2.0.4
nerves_system_rpi4, v2.0.4
nerves_system_rpi3a, v2.0.4
nerves_system_rpi3, v2.0.4
nerves_system_rpi2, v2.0.4
nerves_system_rpi0, v2.0.4
nerves_system_rpi0_2, v2.0.4
nerves_system_rpi, v2.0.4
nerves_system_qemu_aarch64, v0.3.5
nerves_system_osd32mp1, v0.24.5
nerves_system_mangopi_mq_pro, v0.15.5
nerves_system_grisp2, v0.17.5
nerves_system_bbb, v2.29.5

Kiosk systems

Some recent work has gone into the kiosk systems and I recommend checking out the kiosk_demo which is really easy to get going on many displays now.

Note the qemu system which is a recent addition letting you work on host but within the embedded browser so you can iron out any constraints that are present in the kiosk but not on your host browser. As well as potentially involve the kiosk rendering in your CI and whatnot. Lots of possibilities.

kiosk_system_rpi5, v2.0.5
 
  • Disable unused Weston shells
  • Enable mime_info to support web inspector
  • Enable brotli to support WOFF2 fonts
  • Enable cgroup v2 and remove v1 options
 
kiosk_system_rpi4, v2.0.5
 
kiosk_system_qemu_aarch64, v0.1.2

This is a security and bug fix release.

  • Changes

    • Disable unused Weston shells
    • Enable mime_info to support web inspector
    • Enable brotli to support WOFF2 fonts

Other updates

nerves_livebook, v0.19.1

This updates Livebook to v0.19.8 and brings in security and bug fix updates in many dependencies.

  • Updates
    • Update to Livebook v0.19.8
    • Update Nerves systems to nerves_system_br v1.33.9
    • Add Axon, Bumblebee, NxEigen, NxSignal, and Scholar for RPi4 and RPi5
    • Update all dependencies
 
circuits_uart, v1.6.0
  • Fixes
    • Fix Elixir 1.20 warning
    • Remove support for Elixir 1.14 and earlier due to new compilation errors and lack of support from dependencies
 
nerves_runtime, v0.13.13
  • Changes
    • Support passing reboot parameters. This requires kernel support. The only official Nerves device with support is the Raspberry Pi which uses it to trigger the “tryboot” feature.
    • Fix Elixir 1.20 warning
 
nerves_ssh, v1.3.1
  • Updates
    • Support OTP 29’s change to require explicitly enabling exec support for Erlang. Nearly all Nerves users either disable exec or use Elixir to evaluate execs, so this probably doesn’t affect many people.
 

vintage_net_mobile, v0.12.0

  • Drop support for Elixir 1.14 and earlier
  • Various updates to fix new Elixir 1.20 and Dialyzer warnings
  • Added copyright and license headers throughout for REUSE compliance. No change in licensing.
 
vintage_net, v0.13.12
  • Fixes
    • Make permissions change on /etc/resolv.conf best effort. This was introduced in v0.13.11. It turns out that the permissions can’t be changed in all scenarios and when they can’t, they’re fine. Therefore, don’t crash.
 
nerves_key_pkcs11, v1.3.0
  • Changes
    • Drop support for Elixir 1.14 and earlier. No changes were made, but dependency updates make old Elixir versions more difficult to support now.
    • Add copyright and license headers throughout for REUSE compliance. No change in license.
 
nerves_bootstrap, v1.15.2
  • Changes
    • Use new HexDoc URL format in new projects
 
qmi, v0.10.3
  • Fix Elixir 1.20 warning
 
nerves_pack, v0.7.2
  • Changes
    • Add licensing information for completeness. There’s no actual code in this project so it’s marked CC0-1.0.
 
alarmist, v0.4.2
  • Bug fixes
    • Fix arithmetic error exception when using the hold operation. Thanks to @jfcloutier and @Nezteb.
 
nerves_discovery, v0.1.3
  • Fixes
    • Fix crash when no network available (@gworkman)
 
vintage_net_direct, v0.10.8
  • Changes
    • Allow one_dhcpd v3.0 to be used
    • Add copyright and license headers for REUSE compliance
    • Drop support for Elixir 1.14 and earlier
 
circuits_quickstart, v0.15.3

This is a security and bug fix update.

  • Updates
    • Update Nerves systems to `nerves_system_br v1.33.9 (Erlang/OTP 28.5.0.1, Buildroot 2025.11.3) * Bump many dependencies to their latest
       
circuits_quickstart, v0.15.2

This is a security and bug fix update.

  • Updates
    • Update Nerves systems to `nerves_system_br v1.33.7 (Erlang/OTP 28.5, Buildroot 2025.11.3)
 
delux, v0.4.2

This release drops support for Elixir 1.15 and earlier. Other than that it only has cosmetic changes from moving the repository to the Elixir Circuits organization and adding copyright and license headers.

 
nerves_uevent, v0.1.7
  • Bug fix
    • Handle duplicate properties in battery reports on Linux 6.14 and later. See https://www.mail-archive.com/acpi-bugzilla%40lists.sourceforge.net/msg51785.html. Thanks to @gausby for reporting and testing the fix.
    • Raise the max number of properties per uevent and silently drop extras
 

Community projects

BEAM Bots posted an awesome demo in their June blog post. Including this demo video. Claims are made that this is all in service of the Goatmire workshop. Which is not full yet. But I bet it will be soon.

They also release update libraries like constantly.

bb, v0.20.3
  • generate a robot_opts/0 helper for new robots (#142) by James Harton
 
bb_kino, v0.3.5
  • throttle event stream rendering under high-rate traffic (#59) by James Harton
 
bb_sensor_ina219, v0.2.2
  • crash on read failure instead of logging and continuing (#5) by James Harton
 
bb_sensor_bmi323, v0.1.2
  • crash on read failure instead of logging and continuing (#5) by James Harton

grisp_updater, 2.3.0

Added

  • Add systems metadata to local update info when provided by the system callback

Changed

  • Allow system_get_systems/1 to return a map with boot, valid, next, and optional systems entries while keeping tuple return values backward compatible

Full Changelog: https://github.com/grisp/grisp_updater/compare/2.2.0…2.3.0

 
Nerves and Elixir shirt on a table

You can buy an official Nerves shirt from oswag. Fair trade, organic and high-quality. Family-scale business.

 

Got questions?

Trouble-shooting is best done on the Nerves Forum over at Elixir's Forum. But if you have big-picture questions you would like to ask around Nerves, feel free to send them in and we might just have ourselves a column here.

Participating in the community

The Nerves community is found wherever Elixirists gather. But our primary focus is the Nerves Discord. You are very welcome to join us there.

Also fine to throw questions into the Elixir Forum's Nerves section.

 

How you can help Nerves

Contribute in the way that works for you:

  • Send corrections or improvements for documentation wherever it fails to help you.
  • Write about Nerves, give talks about Nerves. Make videos about Nerves. It is all good.
  • Write or port a new hardware library and include it in the Elixir Circuits collection.
  • Get in touch about taking over maintenance duties for some libraries, we might be able to provide you hardware.
  • Apply for an EEF stipend on something Nerves-related and build it. We can help if you have questions about this.

Finally, if you have questions about the newsletter or want to suggest something you can simply respond to this email.

- Lars

 
 
 
  Forward 

This newsletter is managed by Lars Wikman of Underjord.io for the Nerves project. With much love.

You are receiving this newsletter because you subscribed to the Nerves Project newsletter. If you are receiving this in error or no longer want to receive it you can unsubscribe below.
Preferences  |  Unsubscribe