Skip to content

Messages

Tom Harris edited this page Jun 12, 2018 · 1 revision

The insteonplm.messages module contains the factory method to create an Insteon Message and the Message classes. The insteonplm.messages module has the following public methods:

  • create: Factory method to create a message class from a raw byte string.The create method returns a concrete class of the abstract class insteonplm.messages.Message. The create method takes the following parameters:

    • rawdata: Raw byte string of data usually received from the Insteon Modem (i.e. IM class)
  • isComplete: Tests if the raw byte string is long enough to contain the entire message. The isComplete method takes the following parameters:

    • rawdata: Raw byte string of data representing the message.

Startup Process

IM Class

  • PLM Class

  • Hub Class

Clone this wiki locally