Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Videos & KonferenzenTwo Minute Papers: Claude Opus 5.5 AI: A Massive Leap Forward(24.09.2026 um 10:40 Uhr)
Sicherheitslücken (CVE)USN-8805-1: Moodle vulnerability(23.09.2026 um 16:43 Uhr)
Sichere ProgrammierungI thought clipboard sync would be simple. Android had other plans.(24.09.2026 um 11:01 Uhr)
Sichere ProgrammierungAI-assisted genealogy, a follow-up(24.09.2026 um 11:02 Uhr)
Sicherheitslücken (CVE)Smart Contract Vulnerability Surface Analysis: HashKey Exchange(24.09.2026 um 11:02 Uhr)
Sichere ProgrammierungAI Agents Calling Your Existing Backend Without MCP Development(24.09.2026 um 11:06 Uhr)
Videos & KonferenzenTwo Minute Papers: Claude Opus 5.5 AI: A Massive Leap Forward(24.09.2026 um 10:40 Uhr)
Sicherheitslücken (CVE)USN-8805-1: Moodle vulnerability(23.09.2026 um 16:43 Uhr)
Sichere ProgrammierungI thought clipboard sync would be simple. Android had other plans.(24.09.2026 um 11:01 Uhr)
Sichere ProgrammierungAI-assisted genealogy, a follow-up(24.09.2026 um 11:02 Uhr)
Sicherheitslücken (CVE)Smart Contract Vulnerability Surface Analysis: HashKey Exchange(24.09.2026 um 11:02 Uhr)
Sichere ProgrammierungAI Agents Calling Your Existing Backend Without MCP Development(24.09.2026 um 11:06 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Elixir for IoT: Why It Feels Like the Future

Most IoT projects today lean heavily on Python, C, or Node.js, and that’s fine. But during my recent academic paper selection process, I came across “The Benefits of Tierless Elixir/Potato for Engineering IoT Systems”, and it completely shi…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Most IoT projects today lean heavily on Python, C, or Node.js, and that’s fine. But during my recent academic paper selection process, I came across “The Benefits of Tierless Elixir/Potato for Engineering IoT Systems”, and it completely shifted how I think about building IoT architectures.



The paper raised a question that stuck with me:

why do we keep separating the logic, runtime and UI layers in IoT systems if functional, tierless architectures can unify everything?



That curiosity, combined with the influence of a professor(Adolfo Neto) who strongly advocates for functional programming and the BEAM, pushed me to test this idea in practice.



So I built a complete IoT prototype using Elixir, Circuits, Raspberry Pi, and Phoenix LiveView. And honestly? It felt like IoT the way it should be: supervised, fault-tolerant, reactive, and consistent from the edge to the dashboard.



Dark-themed Phoenix LiveView dashboard showing real-time sensor readings for temperature (29.2°C), light level (62.9%), and button status.





The Prototype: What I Actually Built



My goal was simple:



Build an IoT system end-to-end using only Elixir, from the hardware to the backend.



That resulted in a two-part monorepo:




  • A Raspberry Pi running Elixir (no Nerves this time, just Elixir Circuits)

  • A Phoenix LiveView dashboard receiving sensor data in real time



The device communicates via Phoenix Channels/WebSockets, sending temperature, light level, and button events, while receiving commands to control a buzzer.





Architecture Overview



Architecture diagram illustrating data flow: hardware sensors on Raspberry Pi pass data to GenServers, then via WebSockets to the Phoenix Server, PubSub, and finally the LiveView dashboard process.



If a sensor process fails: only that process restarts.

If the network blips: the BEAM keeps the system stable.

If the dashboard disconnects: LiveView reconnects automatically.



This is where the “future feeling” starts to show.





Circuit Setup (Everything on the Pi4)



Wiring diagram showing the Raspberry Pi 4 GPIO connected to a breadboard containing a DS18B20 temperature sensor, LDR photoresistor, push button, and active buzzer circuit.



Hardware used:




  • DS18B20 (1-Wire temperature sensor)

  • LDR + Capacitor (for RC timing)

  • Button (pull-up GPIO)

  • Active buzzer + transistor



The LDR timing loop runs in a separate process so it doesn’t block WebSocket communication, a natural fit for the actor model.





Why Elixir Feels Like the Future of IoT



After building this, a few conclusions became obvious:




  • The BEAM VM solves problems IoT devs fight daily

  • Concurrency is natural, not bolted-on

  • Fault tolerance is built-in

  • Real-time dashboards require zero JS

  • A single language from hardware to UI reduces mental load

  • Tierless architectures aren’t just academic, they’re practical



This cohesiveness made the whole experience feel weirdly futuristic.



Not flashy.

Not hyped.

Just… right.





What’s Next?




  • Implementing a Nerves firmware version

  • Adding more sensors

  • Testing distributed BEAM cluster of Pis

  • Applying Potato tierless concepts end-to-end

  • Publishing a deeper academic report



Elixir isn't mainstream in IoT, but maybe it should be.



This small prototype convinced me that a unified, functional, message-driven approach has the potential to dramatically simplify embedded systems.



If you're curious about IoT, the BEAM, or tierless architectures, give Elixir a try.

It might surprise you the same way it surprised me.





Try It Yourself







GitHub logo

tuliocll
/
elixir-iot-sample



A complete IoT example using Elixir, Phoenix LiveView, and Raspberry Pi.







Elixir IoT Example 🚀




Elixir
Raspberry Pi
LiveView


Elixir IoT Example is a monorepo demonstrating how to connect a Raspberry Pi to a real-time Phoenix LiveView dashboard using Phoenix Channels, WebSockets, and Elixir Circuits.


It includes:



  • 🌡️ Real-time temperature readings (DS18B20)

  • 💡 Light level measurement using RC timing (LDR)

  • 🔘 Physical button input

  • 🔔 Remote buzzer control through WS commands

  • 📊 Web dashboard with auto-updating LiveView


This project serves as a practical, didactic example of building IoT systems entirely in Elixir.



Requirements





  • Elixir 1.17+

  • Erlang/OTP 26+

  • Node.js 16+ (for assets)

  • Raspberry Pi 4 / 3 (tested with Pi4)

  • Erlang + Elixir installed in the Rasp

  • Enable 1-Wire in Rasp (See doc/1-wire.md)



🏗️ Architecture and Circuit




Architecture


Circuit



Running server





cd server
mix deps.get
mix phx.server



Open:


http://localhost:4000/dashboard


📡 Raspberry Pi (Elixir Circuits)





Running





# Clone the repo on the rasp and:
cd rasp
mix deps.get
iex -S mix



The device will:






SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - Elixir for IoT: Why It Feels Like the Future
id: 4329ada6-9787-4bf0-aa2c-416ed178ffd0
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Elixir for IoT: Why It Feels L" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Elixir for IoT: Why It Feels Like the Fu.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Elixir for IoT: Why It Feels Like the Future

Thematisch verwandte Begriffe: Elixir, Feels, Like, Future · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97056 | SigNoz versions from v0.98.0 up to (but not including) v0.143.0, when co…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick