This code applies to to following tutorial https://www.hackster.io/Zalmotek/predictive-maintenance-with-tinyautomator-0c0f8a
Waylay TinyAutomator runs locally on any low-footprint Docker-enabled devices such as a Raspberry Pi or test your solution on the laptop.