Skip to content

Conversation

@JensOgorek
Copy link
Contributor

@JensOgorek JensOgorek commented Nov 21, 2025

This allows to subscribe to a property over the serial bus.

  • Add SerialBus.subscribe(id, "module.property") control frames (__SUBSCRIBE__:module.property), letting a node subscribe to a remote property without a proxy.
  • Subscribed peers send back lightweight updates as module.property=value (in normal bus frames) and only when the value changes; values use the standard property serializer (bools, ints, floats,
    quoted strings).
  • Allow dotted assignments to auto-create placeholder modules/properties so subscribers can store incoming module.property=value lines out of the box.

Bus syntax examples:

  • Request: $$<this_id>:<peer_id>$$__SUBSCRIBE__:input1.level
  • Update back: $$<peer_id>:<this_id>$$input1.level=0 (or true, "foo", etc.)

@JensOgorek JensOgorek changed the title add subscribing to properties over serial bus Serial Bus: Add subscribing to properties over serial bus Nov 21, 2025
@JensOgorek JensOgorek changed the title Serial Bus: Add subscribing to properties over serial bus Serial Bus #2: Add subscribing to properties over serial bus Nov 21, 2025
Base automatically changed from serial_bus to main December 18, 2025 15:10
@JensOgorek JensOgorek changed the title Serial Bus #2: Add subscribing to properties over serial bus Serial Bus No. 4: Add subscribing to properties over serial bus Jan 20, 2026
@JensOgorek JensOgorek added the enhancement New feature or request label Jan 28, 2026
@JensOgorek JensOgorek added this to the 0.11.0 milestone Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants