Control Unipi relays with Python
-
Hello,
How I can control relay of Unipi with Python?Thank you for help.
-
Hello @loggeduser,
yes, you can. There are three ways how to communicate with IOs from your program:- ModbusTCP server - local process running on port TCP/502 making the IOs available via Modbus coils and registers. You can read more about the Modbus Registers Maps
- EVOK - all sorts of web APIs (json, rest, websocket,...), more information here
- SysFS - IOs are made available through a virtual filesystem, more information here
But it depends on which unit you use.
Best regards,
Martin
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login