Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting values for mutable registers #2

Open
bjeanes opened this issue Aug 30, 2022 · 0 comments
Open

Support setting values for mutable registers #2

bjeanes opened this issue Aug 30, 2022 · 0 comments

Comments

@bjeanes
Copy link
Owner

bjeanes commented Aug 30, 2022

For now, Modbus-MQTT only supports input and holding registers, so this only applies to holding registers.

If a register value is being published to modbus-mqtt/$DEVICE/$REGISTER topic then it should listen to modbus-mqtt/$DEVICE/$REGISTER/set for a new value, parse/interpret it in a reasonable way vis-a-vis scale, offset, type, etc.

Unsure how errors should work here, but probably can just set something in the .../status topic.

When setting a register value, it should read-back the value and publish it on its topic straight away instead of waiting for next tick.

@bjeanes bjeanes moved this to 🆕 New in Modbus-MQTT Aug 30, 2022
@bjeanes bjeanes moved this from 🆕 New to 📋 Backlog in Modbus-MQTT Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant