vs OT Divide Field Devices Control Logic Business Logic “OT” Operational Technology “IT” Information Technology milliseconds to seconds per iteration interfaces with the physical world realtime & safety logic minutes to months per iteration interfaces to databases and APIs optimization & customization
Barcode Reader Switch Light Inventory Management Machine Learning Model ERP Historian (Time Series Database) Human Machine Interface 1 Human Machine Interface 2 Broker
Barcode Reader Switch Light Inventory Management Machine Learning Model ERP Historian (Time Series Database) Publish Subscribe Human Machine Interface 1 Human Machine Interface 2 Broker
Barcode Reader Switch Light Inventory Management Machine Learning Model ERP Historian (Time Series Database) Publish Subscribe Human Machine Interface 1 Human Machine Interface 2 Broker
Barcode Reader Switch Light Inventory Management Machine Learning Model ERP Historian (Time Series Database) Publish Subscribe Broker Human Machine Interface 1 Human Machine Interface 2
Reader Switch Light Inventory Management Machine Learning Model ERP Historian (Time Series Database) Human Machine Interface 1 Human Machine Interface 2
Sensor Barcode Reader Switch Light Inventory Management Machine Learning Model ERP Historian (Time Series Database) Human Machine Interface 1 Human Machine Interface 2
my-arbitrary-topic-name myhouse/livingroom/lights/sofalamp site/area/line/unit/equipment/sensor/reading spBv1.2/<GroupID>/<EdgeNodeID>/<DeviceID>/<DataType> homeassistant/<ComponentType>/<NodeID>/<DeviceID>/config ISA-95-ish hierarchy Simple topic name Made-up hierarchy Sparkplug Home Assistant “all lights in all rooms” a specific topic “all devices in the living room” Subscriptions are for topic filters:
Stanford-Clark for monitoring pipelines over satellite links 2010 v3.1 made available royalty-free 2010 Mosquitto broker released 2011 Facebook Messenger blog post 2013 v3.1 submitted as standard proposal to OASIS 2014 v3.1.1 published by OASIS 2019 v5 released Approximate Release Dates of selected other tools and protocols AMQP 2003 ActiveMQ 2004 RabbitMQ 2007 ZeroMQ 2009 NATS 2011 Kafka 2011 The Facebook Messenger blog post is here: https://engineering.fb.com/2011/08/12/android/building-facebook-messenger/
MQTT message payloads - Defines topic namespace - Defines payload format (using Google Protobufs) - A specific way to use retained messages and last will messages - Each message has these fields: Name, Alias, Time stamp, Data type, Value - Discoverability, self-describing - Edge Node vs Device Python packages: Eclipse Tahu, mqtt-spb-wrapper spBv1.2/<Group ID>/<Edge Node ID>/<Device ID>/<Data Type>
a web browser. Adds headers to the MQTT message to also support the WSS protocol. MQTT over QUIC Uses QUIC instead of TCP for Layer 3, inspired by HTTP/3. Experimental feature in a few brokers. MQTT over Kafka Kafka MQTT Proxy is an addon service for your Kafka cluster. Allows publishing MQTT messages directly to Kafka without intermediary. MQTT over Zigbee, other IEEE 802.15.4, Bluetooth see next slide
- Topic IDs (two bytes) as aliases for topic names - Supports sleeping client devices (broker queues messages) - QoS level -1 for session-less fire-and-forget - Last Will persists in session, and can be changed at any time - Gateway discovery mechanism for sensor networks MQTT-SN spec v1.2: https://www.oasis-open.org/committees/download.php/66091/MQTT-SN_spec_v1.2.pdf Version of MQTT for even-lower-power devices and on non-TCP-IP networks. An MQTT-SN gateway translates between MQTT-SN clients and an MQTT broker. Is this a typo in the spec? MQTT-SN was previously called MQTT-S (without “N”). That caused confusion because of the similarity to HTTP and HTTPS (where “S” means “secure”). Python tooling for MQTT-SN is sparse, no package recommendation.
11:30 – noon Into the Logisticverse: Improving Efficiency in Transportation Networks Uzoma Nicholas Muoh Friday 2:30 – 3:00pm Start thinking small: Next level Machine Learning with TinyML and Python Maria Jose Molina Contreras Friday 3:15 – 3:45pm Create interactive games using MicroPython and electronics Juliana Karoline de Sousa Friday 5:00 – 5:45pm Embedded Python Q&A Open Space For Q&A and playing with hardware. Hosted by Maria, Juliana Karoline, and Jonas. (Open door, come and go any time.) daily Adafruit CircuitPython Open Space expo hall MicroPython Badge at Auth0 booth What’s the URL for these slides again? https://jonasneubert.com/pycon2023 Watching this on Youtube? The best ways to contact me are [email protected] linkedin.com/in/jonasneubert Will there be a Q&A session? Yes!