Releases: caligo-mentis/smart-bus
Releases · caligo-mentis/smart-bus
Version 0.7.0
- Add Read Dry Contact Status commaands (
0x15CE
,0x15CF
)
Version 0.6.0
- Allow to reuse same UDP address
- Socket events on
Bus
instance - Enable UDP broadcast
- Add address getter to
Device
instance - New API functions signature
- Sender device decoupled from
Bus
class - Events on
Device
provides command object as a payload Channel
DSL removed- Keep command payload
- Fix channels info for scene status commands (
0x0003
,0xEFFF
) - Fix parsing of "Response Read Sensors Status" (
0x1605
) - Add Panel buttons control commands (
0xE012
,0xE14E
) - Add AC Control commands (
0x193A
,0x193B
)
BREAKING:
bus.device()
,bus.send()
anddevice.send()
functions
have new signature;device.send()
method now sends command from device
to target;
Refer to Send commands
readme section for details.
- Now
Bus
object represents only and udp socket,
sender device could be any device and must be initalized
separately;
Refer to Initialization
readme section for details.
-
Events on
Device
instance have same payload as events onBus
; -
device.channel()
abstraction removed, listen for events manually;
Refer to Complete example
readme section for details.
Version 0.5.0
- Add Logic Control and Date Time commands
Version 0.4.0
- Add commands for Sequence, Scene, Area, Curtain Switch, Floor Heating,
Panel Control, Sensors and Read Temperature sections of
system specification - Add missing Channels and Universal Switch commands
Version 0.3.0
- URL syntax for configuration
- Send commands without additional data
- Outgoing commands logging
Version 0.2.0
- Universal Switch Control command
- Fix
Bus
object address initialization - Reimplement
Channel
class asEventEmitter
BREAKING: channel.level
is a simple property now, use channel.control
function instead.
Version 0.1.1
- Support old versions of nodejs (>=0.12)
Version 0.1.0
Base features:
- Receive and send SmartBus commands
- Simple DSL for "Single Channel Control" command