![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
asyncio client library for tcp modbus devices. built on top of umodbus but extended for more industrial robustness and asyncio compat. the umodbus documentation is recommended reading to have any hope of using this code.
narrowly constructed for the use cases of Tutor Intelligence, but feel free to post an issue or PR if relevant to you.
create a TCPModbusClient
. once you have it, you can call the following methods on it:
await conn.send_modbus_message(request_function, **kwargs)
: sends a umodbus.functions.ModbusFunction
to the modbus device and returns the corresponding ModbusFunction
reply.await conn.test_connection()
: sends a modbus message to the device to ensure it's still operational (currently hardcoded to read coil 0) and return boolean of whether it succeeded. is implemented as a cached awaitable to allow you to spam this call.await conn.clear_tcp_connection()
: kill the current TCP socket (a new one will automatically be created for the next request)await conn.log_watch(msg, memo_key="system_temperature", expiry_period_s=10, hz=1)
: spins up a background coroutine to log the result of that message for the next expiry_period
seconds at hz
frequency. memo_key
is used to allow multiple calls to log_watch
without having overlapping log watch loops.await conn.close()
: for cleaning up the connection (kills TCP conn and ping loop)FAQs
asyncio client library for tcp modbus devices
We found that tcp-modbus-aio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.