The Xiamio Mi Vacuum Robot is an affordable bit of kit, yet comes with a powerful SoC and utilises a wide range of sensors. A talk at 34C3 last year showed how to gain root access to the underlying Ubuntu Linux operating system.
Based on this groundwork, the talk will explain how the vacuum can be provisioned as a node in a Kubernetes cluster. From then on,well-known Kubernetes primitives can be used to control it: CronJobs periodically schedule drives, and a custom Prometheus exporter is used to track metrics about a vacuum’s life.
Using custom controllers and CRDs, extended features of the vacuum can be utilised: requesting raw sensor readings, dumping a map of your home, and allowing the vacuum to drive custom paths.
|Event||Kubecon Europe 2018|