Neuron on Node.js over modbus (with MQTT)
-
I wrote some Node.js code to allow access to Neuron devices over modbus overlay and made it opensource today.
I any of you are interested the npm package can be found here: https://www.npmjs.com/package/unipi-neuron
And the GitHub page is here https://github.com/wesleydv/node-unipi-neuronFor now there is only support for digital inputs and outputs/relays but I will be expanding the features in the near future.
I also made an example implementation to allow access over MQTT: https://github.com/wesleydv/node-unipi-neuron-mqtt
Please note I'm not a Node.js developer by trade so surely there will be a lot of things that can be improved in the code.
Any feedback is greatly appreciated. -
@wesleydv Nice work and thank you for sharing!
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