HomeconnectLocal
HomeConnect Local (minimal protocol client)
Focus: AES mode first (ws://host:80/homeconnect) with custom AES+HMAC framing. TLS-PSK mode is supported via OpenSSL TLS 1.2 + PSK callback.
Constants
SERVICE_DOMAIN = "_homeconnect._tcp.local"
VERSION = "0.1.0"
Class methods
decode_urlsafe_b64(s : String) : Bytes
Sourcediscover_devices(timeout : Time::Span = 2.seconds, service_domain : String = SERVICE_DOMAIN) : Array(DiscoveredDevice)
Discover Home Connect devices on the local network using mDNS.
The resolver flow is:
- PTR: _homeconnect._tcp.local -> instance service names
- SRV: instance -> target host + port
- A/AAAA: target host -> IP addresses
urlsafe_b64_no_pad(bytes : Bytes) : String
SourceNested types
- HomeconnectLocal::Access
- HomeconnectLocal::Action
- HomeconnectLocal::AesFraming
- HomeconnectLocal::Client
- HomeconnectLocal::DeviceDescription
- HomeconnectLocal::DiscoveredDevice
- HomeconnectLocal::Entity
- HomeconnectLocal::EntityDesc
- HomeconnectLocal::Error
- HomeconnectLocal::Execution
- HomeconnectLocal::Message
- HomeconnectLocal::NotConnected
- HomeconnectLocal::Parser
- HomeconnectLocal::Program
- HomeconnectLocal::ProtocolError
- HomeconnectLocal::RemoteError
- HomeconnectLocal::Runtime
- HomeconnectLocal::TLS12PSK
- HomeconnectLocal::Transport
- HomeconnectLocal::TransportMode
- HomeconnectLocal::TypeMapping