Skip to content

Releases: smartrent/grizzly

v0.14.3

31 Aug 23:39
Compare
Choose a tag to compare

Fixed

  • Fix the start order of the connection supervisor and Z-Wave ready checker
    to ensure the supervisor process is alive before trying to test the
    connection

v0.14.2

31 Aug 15:59
Compare
Choose a tag to compare

v0.14.2

Added

  • Grizzly.ZWave.CRC module for CRC functions related to the Z-Wave protocol

Removed

  • crc dependency

v0.14.1

28 Aug 21:50
Compare
Choose a tag to compare

Enhancements

  • Support zipgateway 7.14.01
  • Add Grizzly.ZWave.CommandClasses.CentralScene
  • Add Grizzly.ZWave.Commands.CentralSceneConfigurationGet
  • Add Grizzly.ZWave.Commands.CentralSceneConfigurationSet
  • Add Grizzly.ZWave.Commands.CentralSceneConfigurationReport
  • Add Grizzly.ZWave.Commands.CentralSceneNotification
  • Add Grizzly.ZWave.Commands.CentralSceneSupportedGet
  • Add Grizzly.ZWave.Commands.CentralSceneSupportedReport

Thank you to those who contributed to this release:

  • Jean-Francois Cloutier

v0.14.0

27 Aug 20:43
Compare
Choose a tag to compare

This breaking change has to do with how Grizzly is started. It is no longer an
application. Grizzly exposes the Grizzly.Supervisor module for a consuming
application to add to its supervision tree. All other APIs are backwards capable.

See the upgrade guide for more specifics on how to upgrade.

Breaking Changes

  • Grizzly is not an OTP application anymore and will need to be started
    manually via the new Grizzly.Supervisor module
  • All application config/mix config options are not used
  • Removed the Grizzly.Runtime module

Enhancements

  • Add Grizzly.Supervisor module
  • Add Grizzly.ZWave.CommandClasses.Indicator
  • Add Grizzly.ZWave.Commands.IndicatorGet
  • Add Grizzly.ZWave.Commands.IndicatorSet
  • Add Grizzly.ZWave.Commands.IndicatorReport
  • Add Grizzly.ZWave.Commands.IndicatorSupportedGet
  • Add Grizzly.ZWave.Commands.IndicatorSupportedReport
  • Add Grizzly.ZWave.CommandClasses.Antitheft
  • Add Grizzly.ZWave.Commands.AntitheftGet
  • Add Grizzly.ZWave.Commands.AntitheftReport
  • Add Grizzly.ZWave.CommandClasses.AntitheftUnlock
  • Add Grizzly.ZWave.Commands.AntitheftUnlockSet
  • Add Grizzly.ZWave.Commands.AntitheftUnlockGet
  • Add Grizzly.ZWave.Commands.AntitheftUnlockReport
  • Add Grizzly.ZWave.Commands.ConfigurationBulkGet
  • Add Grizzly.ZWave.Commands.ConfigurationBulkSet
  • Add Grizzly.ZWave.Commands.ConfigurationBulkReport
  • Add Grizzly.ZWave.Commands.ConfigurationPropertiesGet
  • Add Grizzly.ZWave.CommandClasses.ApplicationStatus
  • Add Grizzly.ZWave.Commands.ApplicationBusy
  • Add Grizzly.ZWave.Commands.ApplicationRejectedRequest

Thank you to those who contributed to this release:

  • Jean-Francois Cloutier

v0.13.0

11 Aug 21:58
Compare
Choose a tag to compare

This update breaks the main Grizzly.send_command/4 API as Grizzly use to
respond with different tuples but now it will return with the new
Grizzly.Report.t() data structure. A full guide on the breaking changes
and what needs to be updated can be found here.

This change allows us to gather more information about a response from Grizzly.
For example, with this change, you can get transmission stats about network
properties when sending a command now:

{:ok, report} = Grizzly.send_command(node_id, command, command_args, transmission_stats: true)

report.transmission_stats

See Grizzly.Report module for full details.

Enhancements

  • Add Grizzly.Report
  • Add getting transmission stats for sent commands
  • Docs and type spec updates

v0.12.3

31 Jul 16:52
Compare
Choose a tag to compare

Fixes

  • Handle multichannel commands that are not appropriately encapsulated

Thank you to those who contributed to this release:

  • Jean-Francois Cloutier

v0.12.2

30 Jul 16:59
Compare
Choose a tag to compare

Enhancements

  • Add Grizzly.ZWave.CommandClasses.Hail
  • Add Grizzly.ZWave.Commands.Hail
  • Support updated Z-Wave spec command params for
    Grizzly.ZWave.Commands.DoorLockOperationReport

v0.12.1

20 Jul 18:32
Compare
Choose a tag to compare

Enhancements

  • Add Grizzly.ZWave.Commands.MultiChannelAggregatedMemberGet
  • Add Grizzly.ZWave.Commands.MultiChannelAggregatedMemberReport
  • Add Grizzly.ZWave.Commands.MultiChannelCapabilityGet
  • Add Grizzly.ZWave.Commands.MultiChannelCommandEncapsulation
  • Add Grizzly.ZWave.Commands.MultiChannelEndpointFind
  • Add Grizzly.ZWave.Commands.MultiChannelEndpointFindReport
  • Add Grizzly.ZWave.CommandClasses.MultiCommand
  • Add Grizzly.ZWave.Commands.MultiCommandEncapsulation
  • Add Grizzly.ZWave.CommandClasses.Time
  • Add Grizzly.ZWave.Commands.DateGet
  • Add Grizzly.ZWave.Commands.DateReport
  • Add Grizzly.ZWave.Commands.TimeGet
  • Add Grizzly.ZWave.Commands.TimeReport
  • Add Grizzly.ZWave.Commands.TimeOffsetGet
  • Add Grizzly.ZWave.Commands.TimeOffsetReport
  • Add Grizzly.ZWave.Commands.TimeOffsetSet
  • Add Grizzly.ZWave.CommandsClasses.TimeParameters
  • Add Grizzly.ZWave.Commands.TimeParametersGet
  • Add Grizzly.ZWave.Commands.TimeParametersReport
  • Add Grizzly.ZWave.Commands.TimeParametersSet
  • Documentation updates

Fixes

  • Some devices send alarm reports that do not match the specification in a
    minor way. So, we allow for parsing of these reports now.
  • Fixed internal command class name to module implementation mapping issue
    for :switch_multilevel_set and :switch_multilevel_get commands.

Thank you to those who contributed to this release:

  • Jean-Francois Cloutier

v0.12.0

15 Jul 20:36
Compare
Choose a tag to compare

There is a small breaking change that will only effect you if you have
:water_leak_detected_known_location and :water_leak_dropped_known_location
hard coded into your application for any reason. These are notifications about
water leaks, and so if you have not directly tried to match on or handle logic
about water leak notifications then this breaking change should not effect you.

From a high level this release provides updates to Z-Wave notifications in
terms of command support and package parsing, extra tooling for better
introspection, a handful of new commands and command classes, and helpful
configuration items.

Enhancements

  • Add Grizzly.ZWave.Commands.ApplicationNodeInfoReport
  • Add Grizzly.ZWave.CommandClass.NodeNaming
  • Add Grizzly.ZWave.Commands.NodeLocationGet
  • Add Grizzly.ZWave.Commands.NodeLocationReport
  • Add Grizzly.ZWave.Commands.NodeLocationSet
  • Add Grizzly.ZWave.Commands.NodeNameGet
  • Add Grizzly.ZWave.Commands.NodeNameReport
  • Add Grizzly.ZWave.Commands.NodeNameSet
  • Add Grizzly.ZWave.Commands.AlarmGet
  • Add Grizzly.ZWave.Commands.AlarmSet
  • Add Grizzly.ZWave.Commands.AlarmEventSupportedGet
  • Add Grizzly.ZWave.Commands.AlarmEventSupportedReport
  • Add Grizzly.ZWave.Commands.AlarmTypeSupportedGet
  • Add Grizzly.ZWave.Commands.AlarmTypeSupportedReport
  • Add Grizzly.ZWave.Commands.AssociationGroupingsGet
  • Add Grizzly.ZWave.Commands.AssociationGroupingsReport
  • Add Grizzly.ZWave.Commands.AssociationRemove
  • Add Grizzly.ZWave.Commands.AssociationReport
  • Add Grizzly.ZWave.Commands.AssociationSpecificGroupingsGet
  • Add Grizzly.ZWave.Commands.AssociationSpecificGroupingsReport
  • Add Grizzly.ZWave.CommandClasses.MultiChannelAssociation
  • Add Grizzly.ZWave.Commands.MultiChannelAssociationGroupingsGet
  • Add Grizzly.ZWave.Commands.MultiChannelAssociationGroupingsReport
  • Add Grizzly.ZWave.Commands.MultiChannelAssociationRemove
  • Add Grizzly.ZWave.Commands.MultiChannelAssociationReport
  • Add Grizzly.ZWave.Commands.MultiChannelAssociationSet
  • Add Grizzly.ZWave.CommandClass.DeviceResetLocally
  • Add Grizzly.ZWave.Commands.DeviceResetLocallyNotification
  • Add Grizzly.ZWave.Commands.LearnModeSet
  • Add Grizzly.ZWave.Commands.LearnModeSetStatus
  • Add Grizzly.Inclusions.learn_mode/1
  • Add Grizzly.Inclusions.learn_mode_stop/0
  • Support version 8 of the Grizzly.ZWave.Commands.AlarmReport
  • Support parsing naming and location parameters from Z-Wave notifications
  • Add mix zipgateway.cfg to print out the zipgateway config that Grizzly
    is configured to use.
  • Add Grizzly.list_commands/0 to list all support Z-Wave commands in
    Grizzly.
  • Add Grizzly.commands_for_command_class/1 for listing the Z-Wave commands
    support by Grizzly for a particular command class.
  • Add :handlers to :grizzly configuration options for firmware update and
    inclusion handlers.
  • Documentation updates

Fixes

  • Parsing the wrong byte for into the wrong notification type
  • Invalid type spec for Grizzly.ZWave.Security.failed_type_from_byte/1

Thank you to those who contributed to this release:

  • Jean-Francois Cloutier

v0.11.0

30 Jun 21:01
Compare
Choose a tag to compare

Grizzly now supports parsing alarm/notification parameters as a keyword list of
parameters. This change is breaking because the event parameters use to be the
raw binary we received from the Z-Wave network and now it is a keyword list.

We only support lock and keypad event parameters currently, but this puts into
place the start of being able to support event parameters.

Enhancements

  • Support parsing event parameters for lock and keypad operations

Thank you to those who contributed to this release:

  • Jean-Francois Cloutier