Grizzly.StatusReporter behaviour (grizzly v8.15.3)

View Source

A behaviour that is used to report the status of various parts of the Grizzly runtime

Summary

Callbacks

ready() deprecated

This callback is called when Grizzly starts up zipgateway and able to establish everything is running correctly.

Called when the Serial API status changes. Only applicable if Grizzly is managing the Z/IP Gateway process.

This callback is executed during a firmware update of the Z-Wave module

Types

serial_api_status()

@type serial_api_status() :: :ok | :unresponsive

Callbacks

ready()

This callback is deprecated. Use `Grizzly.Events` instead.
@callback ready() :: any()

This callback is called when Grizzly starts up zipgateway and able to establish everything is running correctly.

After this callback is called the implementor can assume the it is safe to access the Z-Wave network through Grizzly.

serial_api_status(serial_api_status)

(optional)
This callback is deprecated. Use `Grizzly.Events` instead.
@callback serial_api_status(serial_api_status()) :: any()

Called when the Serial API status changes. Only applicable if Grizzly is managing the Z/IP Gateway process.

zwave_firmware_update_status(update_status)

This callback is deprecated. Use `Grizzly.Events` instead.
@callback zwave_firmware_update_status(Grizzly.ZWaveFirmware.update_status()) :: any()

This callback is executed during a firmware update of the Z-Wave module