Skip to content

About

YouTube, Python-based computer science 101-level mini challenges, HVAC fault detection equations, and we also study BACnet stacks in Python as well as IoT frameworks like AWS IoT Core—and heck, why not see if AI can make a BAS?

Resources

Stars

20 stars

Watchers

2 watching

Forks

Latest commit

 

History

752 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Py BACnet Stacks Playground

Discord Python MIT Residential DSM lab DIY BACnet router Rust BACnet lab Bandit Linux

Discord daily challenges Rust networking lessons Days 1–112 OverTheWire Bandit Vibe 23 Residential DSM GHCR vibe19 Docs PDF

Hands-on playground for HVAC controls technicians, IoT practitioners, and building-systems tinkerers: a 112-day Rust-first network programming course, building-automation experiments, and Linux shell practice.

The networking course goes from Rust fundamentals through IPv4/IPv6, packet parsing, UDP/TCP, async services, Modbus, BACnet routing, and Raspberry Pi labs. Build a TCP proxy, a pocket router/WAP, and finish with a contribution to DIY BACnet Router. Python companions are optional test peers and comparisons. Weekly review projects leave the implementation to you; RDF/Brick/Haystack are separate electives.

Already at the old Day 19? Keep your completed work and continue with Day 20, porting your own project to Rust. All 112 lesson plans are written; validation notes distinguish checked examples from learner-run hardware labs.


Who this is for

Who this is for

  • HVAC controls technicians who want to automate scans, collect data, and build simple tools
  • IoT practitioners working with building automation
  • Anyone who knows BACnet/Modbus from the field and wants to learn Rust, understand packets in Wireshark, and build network tools and router labs
Learning paths

Learning paths

Track What you get Start here
Rust network programming 112 days, 16 review projects: Rust, IPv4/IPv6, packets, UDP/TCP, async proxy, Modbus, BACnet, Pi router/WAP and MS/TP; Python optional Course index · Lab guide · Day 1
Linux (OverTheWire Bandit) Shell / Linux fundamentals via Bandit; daily challenges on Discord (same cadence as Python & Rust) lessons/bandit/ · Discord
Grid-search DSM tutorials Ten progressive EnergyPlus ExampleFiles lessons (thermostat → BESS) supporting Vibe 23 lessons/grid_search/ · INDEX.md
DIY BACnet router (app 13) Pi/Linux BACnet/IP ↔ MS/TP router; three-phase Rust lab vibe_code_apps_13/ · AGENTS.md
Open FDD Vibe Coder (app 19) Streamlit + pandas 50-rule cookbook lab (completed reference) vibe_code_apps_19/
OpenFDD WattLab (app 20) EnergyPlus ECM screens (completed reference) vibe_code_apps_20/
Demand twin (app 21) Liberty cooling DR twin (completed reference) vibe_code_apps_21/
Lakeside ES (app 22) Lakeside heating DSM / grid-search stack (completed reference) vibe_code_apps_22/
Residential DSM lab (app 23) Heat-pump home DR + thermostat/battery grid search vibe_code_apps_23/
Live BACnet twin (app 24) Priority-array RTU twin + BAS mimic (SURROGATE_PLANT_V1) vibe_code_apps_24/
PID hunting tutorial (app 25) Open-FDD PID-HUNT-1 notebook + synthetic AO math vibe_code_apps_25/
Vibe code checkpoints

Vibe code checkpoints

Hands-on milestones from BACnet scripting to cloud FDD. Checkpoints 1–10 are historical demos; featured builds are linked below.

# Checkpoint Summary Status
1 BAC0 + bacpypes3 basics Read/write present-value, release with NULL, priority arrays. Done
2 RPM apps ReadPropertyMultiple across devices; CSV logs with daily rotation. Done
3 Priority array tools Parse priority-array, inspect overrides, control authority. Done
4 BACnet server apps Mini BACnet device: schedules, calendars, weather server inputs. Done
5 Device discovery tools Who-Is / I-Am scanning and device enumeration. Done
6 VOLTTRON + OpenClaw exploration VOLTTRON deploy experiments; AI-assisted edge BAS/FDD scaffolding. Done
7 VOLTTRON v9 BAS-style web agent BACnet-integrated supervisory web agent on VOLTTRON v9. Done
8 BAS schedule widget demo Schedule widget and frontend UI concepts. Done
9 diy-bas — beginning phase First diy-bas shell: Flask API + vanilla JS UI. Done
10 diy-bas — integration Auth, alarms, schedules, trends, discovery in Django + React (superseded by 11). Done
11 Agentic BAS from spec Spec-driven BAS via SKILL.md, workspace memory, and cron-driven Codex CLI agent. Paused
12 AI-assisted edge-to-cloud HVAC FDD End-to-end HVAC FDD pipeline: BACnet discovery, RPM polling, AWS IoT Core MQTT, DynamoDB, Lambda, FDD Rule Lab. Done
13 DIY BACnet router Pi/Linux BACnet/IP ↔ MS/TP router in Rust (rusty-bacnet): wire test → mini-device → router appliance. Active
14 BACnet routing research lab BACpypes3 timed labs toward Misty3 and router-mstp. Active
15 Rust embedded BACnet device Embedded Rust BACnet on STM32 NUCLEO-F401RE; RS-485 / MS/TP lab. Active
16 Rust BACnet stack lab rusty-bacnet server + probe; Open-FDD mimic; Feather concept. Active
17 Project Haystack playground Niagara nHaystack, rusty-haystack, pyhaystack. Active
18 DIY BAS / Haystack data lake (Rust) · Discussion #5 Read-only bas-haystack-lake-rs: collector, Postgres lake, admin API, Docker/CI. Active
19 Open FDD Vibe Coder (Streamlit) Streamlit + pandas twin of the Open-FDD Pandas Cookbook. Container: ghcr.io/bbartling/vibe19. Done
20 OpenFDD WattLab EnergyPlus companion to vibe19: MeasureBriefs → Docker EP 26.1 → IDF patches → QA. Done
21 Demand-management twin Liberty Building cooling DR: G14 Twin → hourly E+ farm → sklearn facility_kw. Done
22 Lakeside ES (unified) Lakeside Elementary heating DSM / grid-search stack. Done
23 Residential heat-pump DSM Hypothetical heat-pump home: DR demo, TOU thermostat grid, battery co-optimization. Active
24 Live BACnet + physics twin FastAPI BAS mimic + optional BACnet; priority-8 UI writes; SURROGATE_PLANT_V1. Active
25 Open-FDD PID hunting tutorial Jupyter + PyPI open-fdd: synthetic AO hunting, PID-HUNT-1 math, AND-gate viz. Active
Rust network programming — weekly outline

Rust network programming — weekly outline

The course index is the canonical syllabus. Rust is required; Python companions are optional. A study day is a session, not a calendar deadline. Reviews can span a weekend. There are no full review solutions in the lesson pages.

Week Days Focus
1 1–7 Rust setup, values, strings and collections
2 8–14 Control flow, text records and identity
3 15–21 Functions, files, Day 19 review and Rust bridge
4 22–28 Ownership, types, CLI design and tests
5 29–35 IPv4/IPv6, routes, neighbors and DNS
6 36–42 Binary codecs, packet inspection and Wireshark
7 43–49 UDP discovery, correlation and fault injection
8 50–56 TCP streams, framing, half-close and bounded service
9 57–63 Async Rust, cancellation and TCP traffic switch
10 64–70 Modbus TCP/RTU framing and read-only toolkit
11 71–77 BACnet BVLC/NPDU/APDU and rusty-bacnet
12 78–84 Transactions, segmentation, COV and failure handling
13 85–91 BACnet routing, BBMD and isolated network labs
14 92–98 Pi pocket router/WAP, DHCP, DNS and forwarding
15 99–105 Serial, RS-485, MS/TP and measured evidence
16 106–112 DIY BACnet Router study and contribution

Supporting material: lab guide, wire contracts, offline fixtures, topologies, capture filters, and project briefs.

The old 75-day lesson files were replaced directly; no archive is kept. Existing unrelated semantic-modeling and application projects remain available as electives. Live hardware and image gates require their own evidence.

Linux training — OverTheWire Bandit

Linux training — OverTheWire Bandit

Linux / shell fundamentals use OverTheWire Bandit — not a local LFCS day pack.

Item Link
Play Bandit overthewire.org/wargames/bandit · start at Level 0
Repo pointer lessons/bandit/README.md
Daily challenges Posted on Discord — same pattern as the Python and Rust lesson posts

Bandit teaches the command-line basics (SSH, files, permissions, pipes, processes) that everything else in this repo assumes. When stuck: man <command>, help <builtin>, then ask on Discord.

Related EnergyPlus tutorials: bounded DSM grid-search labs live at lessons/grid_search/ and support the active Vibe 23 residential DSM studio.

💛 Support This Work

If this playground saves you time or budget, or helps with BAS / BACnet / DSM learning, you can support continued open-source development through PayPal. Your contribution directly helps fund the monthly time and labor required to keep the project moving forward. Your support is greatly appreciated.

Donate $25 via PayPal Donate $50 via PayPal Donate $250 via PayPal Choose a custom PayPal donation amount

License

MIT — see LICENSE.

About

YouTube, Python-based computer science 101-level mini challenges, HVAC fault detection equations, and we also study BACnet stacks in Python as well as IoT frameworks like AWS IoT Core—and heck, why not see if AI can make a BAS?

Resources

Stars

20 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages