Releases: EatonEM/emcb-udp-coordinator
Releases · EatonEM/emcb-udp-coordinator
v1.0.0
v0.12.0
[0.12.0] - 2023-11-30
Added
- Support for the following EV-SB commands:
getEvseDeviceState
,getEvseAppliedControlSettings
,getEvseConfigSettingsAndMode
, andpatchEvseConfigSettingsAndMode
- Example files for each SB and EV-SB command using unicast
Changed
- Updated the message queuing system to allow every command to have it's own timeout instead of a single, static timeout for each batch of messages
- Updated several dependencies and removed unused ones
Removed
- Support for
getDeviceDebugData
andsetCloudLogging
(these were removed from the device in EM firmware release v1.16.0)
v0.11.1
v0.11.0
v0.10.0
[0.10.0] - 2019-06-26
Added
- Average Power Calculation / Logging (in Watts) to
Examples/cli/writeDeviceDataToCSV.js
getMasterIPAddress()
createDevice(idDevice, ipAddress, unicastGetNextSequenceNumber = true)
- Undocumented EmcbUDPbroadcastMaster functionality:
setCloudLogging
andEMCB_UDP_MESSAGE_CODE_SET_CLOUD_LOGGING
constantsetMeterMode
andEMCB_UDP_MESSAGE_CODE_SET_METER_MODE
constant
EmcbUDPbroadcastMaster
now accepts abroadcastIPaddress
or aifaceName
argument to allow specifying which network interface/broadcast address a user want to use.
Changed
- Allow
.send()
to be called by outside code with a genericmessageCode
andmessageData
, passing the response back as a raw buffer. This allows sending of arbitrary data to a device, without needing to implement a parser, etc. held by the library. Currently this is Undocumented behavior. - The default behavior for network interface and broadcast IP address discovery is now more intelligent in selecting the appropriate network interface (no longer simply the first one with a valid local IP address)
- Improve handling of no unicast udpKey being provided for a particular device ID that was found during the discovery process.
Fixed
- Parsing issues for Int64 numbers (was only parsing 7 bytes instead of all 8 due to the fact that
Buffer.slice(start,end)
is not inclusive on theend
) - The
device
property was not present in EMCB_UDP_EVENT_DEVICE_REMOVED events - Issue with using an undefined device in
.on(EMCB_UDP_ERROR_TIMEOUT, ...)
in examples - Documentation error in
getMeterData
data.responses[${IP_ADDRESS}].period
- Formatting issues in
Examples/cli/writeDeviceDataToCSV.js
- Improved initialization code to handle devices discovered with a good Broadcast key but without a provided unicast key
Removed
- EMCB_UDP_BROADCAST_ADDRESS is no longer a constant as we are now using some async code to determine the broadcast address. This value can still be accessed through the
EmcbUDPbroadcastMaster.ipAddress
property (although it may not be available immediately in sync code after instantiation).
v0.8.1
Initial Public Release
Merge pull request #1 from EatonEM/develop v0.8.0