Changelog

SmartWire Studio v0.6.1

This release adds DIY hardware device categories, multi-sensor presence capabilities, and automatic floor middle-group grouping for large projects.


🛠️ DIY Device Hardware & Protocols

  • New DIY_DEVICE category: Separates general microcontrollers (ESP32, ESP8266, Raspberry Pi) from LED dimmers (LED_DIY).
  • ESPHome sensor and GPIO configuration: Add multi-sensor functions (mmWave LD2410/SEN0395, PIR, BME280/SHT3x/DHT22 climate, SGP40 VOC, SCD40/SCD30 CO2, BH1750 lux, reed contacts, and relays) directly in the device detail panel.
  • Hardware pin mapping: Assign primary GPIO pins, secondary UART pins, and I2C addresses per sensor channel.
  • Room trade synchronization: Sensor channels with assigned rooms automatically create and update linked room trade functions.
  • Production YAML export: Generates complete ESPHome YAML with I2C bus scan, UART, binary sensors, environmental sensors, and switch actuators.
  • Multi-protocol support: Non-lighting trades (presence, security, and window contacts) can now select DIY, KNX, DALI, or CONVENTIONAL.
  • Smart hardware auto-assignment:

    • Presence: Suggests KNX_SENSOR, DALI_SENSOR, or DIY_DEVICE (8 default channels).
    • Security: Suggests KNX_BINARY or DIY_DEVICE.
    • Conventional: Marks circuits as non-bus installations without actuator channels.
  • Controller overview: Grouping and ESPHome configuration download for DIY devices.

🌡️ Multi-Sensor Presence Capabilities

  • Environmental sensor options: Presence detectors now support optional sensor data objects.
  • Supported metrics:

    • Temperature (DPT 9.001, 2-byte float °C)
    • Humidity (DPT 9.007, 2-byte float %)
    • VOC air quality (DPT 9.008, 2-byte float ppm)
    • CO2 concentration (DPT 9.008, 2-byte float ppm)
  • Automatic slot reservation: Group address blocks reserve sensor slots when enabled.

🏢 ETS Middle-Group Floor Grouping

  • ETS limit enforcement: ETS allows at most 8 middle groups (0 to 7) per main group.
  • Automatic fallback: Projects with more than 8 rooms automatically group middle groups by floor (HG = Trade, MG = Floor blocks).
  • Validation resolution: Prevents invalid ETS configurations when planning buildings with many rooms.

🔌 Conventional Installation Support

  • Non-bus circuits: Sockets and direct feeds without switching or metering can use the CONVENTIONAL protocol.
  • Address generation filter: Conventional circuits do not generate unwanted KNX communication objects or require actuator hardware.

Docs: docs/diy-device-and-presence-trades.md, docs/knx-block-engine.md