Server listener and iot_message handler
Project description
What it is === App used at Raspberry Pi as receiver of incoming messages and pass them to registered handlers (relay, screen, sensors)
from message_listener.server import Server
msg = Message(‘rpi1’) svr = Server(msg) svr.add_handler(‘20x4’, Handler(lcd)) svr.start()
Initialization:
__init__(self, message, port=5053, ip_address=’0.0.0.0’, buffer_size=65535)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
message_listener-0.1.2.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for message_listener-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b958ed9df2db419d77e6a739aee61f7b24f92c262de49b8170a6aee37d643f3 |
|
MD5 | 11245ffb23cfc8848b07e29b7c600b41 |
|
BLAKE2b-256 | bf3e94fdf02979e6b55bbebb2a92cbbde75229261e7295aff48c1b28a57b4aa5 |