pyzwave.mailbox module

class pyzwave.mailbox.MailboxService(adapter)

Bases: object

Mailbox for storing messages for sleeping nodes

async initialize(ipaddress: ipaddress.IPv6Address, port: int) → bool

Initialize the mailbox

async messageReceived(_sender, rootNodeId: int, _endPoint: int, message: pyzwave.message.Message, _flags: pyzwave.commandclass.Zip.HeaderExtension)

Handle incoming mailbox messages

class pyzwave.mailbox.QueueItem(nodeId: int, handle: int, data: bytes, adapter)

Bases: object

Class for holding one queue entry. It is also responsible for sending it’s heartbeats

property checksum

Return a checksum of the data

property data

The qctual queue data

start()

Start the task for sending heartbeats to the mailbox proxy

stop()

Stop sending heartbeats