Contents:
PlugApi
PowersensorListener
Classes
PowersensorListener([broadcast_address])
Bases: DatagramProtocol
DatagramProtocol
Called when some datagram is received.
Scans the local network for discoverable devices with a timeout. Returns the list of IP addresses of the discovered gateways (plugs).
Disconnects from all devices.
Subscribes to updates from known devices.
Unsubscribes from all devices.