frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

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

https://github.com/Nonannet/pyhoff
10•Saloc•3d ago
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

Comments

eternityforest•3d ago
Wow, I'd love to add this to my control app for escape rooms, if those Wago controllers were a bit more affordable!
Saloc•2d ago
For non-professional application it’s not the cheapest option, however on the used marked I payed 82 € for my last ethernet bus cupper plus 3 digital IO terminals. Often used Beckhoff variants of the functional identical terminal are a little bit cheaper than WAGO – might have to do with the different market segment they targeting. In a professional setting the hardware costs compensate often easily for saved working hours in debugging flimsy screw terminal connections and dubious firmware flaws. Also, the cheap options often need more than 5 times the control cabinet real estate per IO, witch alone can compensate for the higher price.
Agyemang•6h ago
Tfgjkifg
Agyemang•6h ago
Yuihfbk

Bypassing Google's big anti-adblock update

https://0x44.xyz/blog/web-request-blocking/
472•deryilz•8h ago•403 comments

Hacking Coroutines into C

https://wiomoc.de/misc/posts/hacking_coroutines_into_c.html
39•jmillikin•2h ago•7 comments

Kimi k2 largest open source SOTA model?

https://github.com/MoonshotAI/Kimi-K2
257•ConteMascetti71•10h ago•71 comments

MacPaint Art from the Mid-80s Still Looks Great Today

https://blog.decryption.net.au/posts/macpaint.html
786•decryption•19h ago•174 comments

Chrome's hidden X-Browser-Validation header reverse engineered

https://github.com/dsekz/chrome-x-browser-validation-header
59•dsekz•2d ago•9 comments

Switching to Claude Code and VSCode Inside Docker

https://timsh.org/claude-inside-docker/
11•timsh•1d ago•0 comments

Lost Chapter of Automate the Boring Stuff: Audio, Video, and Webcams in Python

https://inventwithpython.com/blog/lost-av-chapter.html
112•AlSweigart•11h ago•6 comments

Show HN: I made a JSFiddle-style playground to test and share prompts fast

https://langfa.st/
19•eugenegusarov•10h ago•3 comments

A better Ghidra MCP server – GhidrAssistMCP

https://github.com/jtang613/GhidrAssistMCP
64•jtang613•9h ago•10 comments

The fish kick may be the fastest subsurface swim stroke yet (2015)

https://nautil.us/is-this-new-swim-stroke-the-fastest-yet-235511/
186•bookofjoe•15h ago•129 comments

Light exposure at night predicts incidence of cardiovascular diseases

https://www.medrxiv.org/content/10.1101/2025.06.20.25329961v1
71•gnabgib•5h ago•46 comments

Two-step system makes plastic from carbon dioxide, water and electricity

https://phys.org/news/2025-06-plastic-carbon-dioxide-electricity.html
40•PaulHoule•3d ago•7 comments

Zig's New Async I/O

https://kristoff.it/blog/zig-new-async-io/
79•afirium•4h ago•48 comments

Supreme Court's ruling practically wipes out free speech for sex writing online

https://ellsberg.substack.com/p/free-speech
478•macawfish•9h ago•601 comments

Exposing a web service with Cloudflare Tunnel (2022)

https://erisa.dev/exposing-a-web-service-with-cloudflare-tunnel/
88•sturza•3d ago•36 comments

A.I. Is Making Sure You Pay for That Ding on Your Rental Car

https://www.nytimes.com/2025/07/09/travel/rental-car-ai-scanner-hertz.html
27•pseudolus•2h ago•32 comments

Working through 'Writing A C Compiler'

https://jollygoodsw.wordpress.com/2025/03/13/working-through-writing-a-c-compiler/
123•AlexeyBrin•15h ago•31 comments

New Date("wtf") – How well do you know JavaScript's Date class?

https://jsdate.wtf
293•OuterVale•19h ago•166 comments

Malware found in official gravityforms plugin indicating supply chain breach

https://patchstack.com/articles/critical-malware-found-in-gravityforms-official-plugin-site/
197•taubek•21h ago•42 comments

Proposed NOAA Budget Kills Program Designed to Prevent Satellite Collisions

https://skyandtelescope.org/astronomy-news/proposed-noaa-budget-kills-program-to-prevent-satellite-collisions/
311•bikenaga•11h ago•188 comments

HNSW as abstract data structure: video intro to Redis vector sets

https://www.youtube.com/watch?v=kVApsFUeuEA
8•antirez•2d ago•0 comments

MoonPay executives may have sent $250k to Nigerian scammer

https://www.theblock.co/post/362339/moonpay-executives-may-have-sent-250000-to-nigerian-scammer-doj-filing-suggests
26•wslh•3h ago•1 comments

Second Variety, by Philip K. Dick (1953)

https://www.gutenberg.org/files/32032/32032-h/32032-h.htm
39•djoldman•3d ago•15 comments

Show HN: DesignArena – crowdsourced benchmark for AI-generated UI/UX

https://www.designarena.ai/
66•grace77•12h ago•19 comments

Faking a JPEG

https://www.ty-penguin.org.uk/~auj/blog/2025/03/25/fake-jpeg/
380•todsacerdoti•1d ago•88 comments

First malaria treatment for babies approved for use

https://www.bbc.com/news/articles/c89e872jdjxo
124•toomuchtodo•4d ago•31 comments

Vibe-Coding a PCB – surprisingly good

https://atomic14.substack.com/p/vibe-coding-a-pcb-surprisingly-good
121•iamflimflam1•12h ago•58 comments

Arizona resident dies from the plague less than 24 hours after showing symptoms

https://www.independent.co.uk/news/health/arizona-plague-death-cases-b2787325.html
217•Anon84•10h ago•112 comments

OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google

https://www.theverge.com/openai/705999/google-windsurf-ceo-openai
965•rcchen•1d ago•622 comments

Preliminary report into Air India crash released

https://www.bbc.co.uk/news/live/cx20p2x9093t
379•cjr•1d ago•759 comments