Story

Show HN: Pyhoff – Connect Python ML Models to Beckhoff/WAGO IO Hardware

Saloc Wednesday, July 09, 2025

Built this Python package because I wanted to run hardware controlling ML stuff and other control algorithms directly connected to industrial I/O hardware without jumping into annoying PLC toolchains (Windows only, licensing hassle, no editor choice, proprietary version control - you name it). For sure its not for ms‑cycle loops, or uptime critical production stuff, but in applications with relaxed timing it allows for fast iteration on the setup - making prototyping a pleasure. Its easy to use, has no dependencies beside Python, its fully type annotated and MIT licensed. Internal it uses ModBus/TCP for hardware communication, the implementation is exposed, so it co-serves as ModBus/TCP client library.

I'd love to hear your use cases, feature ideas and PLC toolchain stories ;)

Docs: https://nonannet.github.io/pyhoff

Summary
The article describes pyhoff, a Python library for hierarchical factor models that can be used for personalized recommendation systems. It provides a flexible and efficient approach to modeling user preferences and generating personalized recommendations.
15 4
Summary
github.com
Visit article Read on Hacker News Comments 4