Node-Red Modbus write node's not working

Hello.
In my house i have main automation (lights, heating, Hot water) done using Unipi PLC controller and Home Assistant on Raspberry Pi4 for additional task like camera, tracking and some more other things.
Both controllers are integrated using modbus , on home assistant i have Node red addon to read data from Unipi1.1. I have 16 read nodes for coils, 2 read nodes for holding registers (for temperature) and 2 nodes for writing data to coils controlling heating and hot water. For several months it was everything ok exept sometimes after update core or node red addon i experience some problems with write nodes(not working). Usually restarting helps so overall it was ok. Last week i add 7 more read nodes, also i done core and node red updates, form then all read nodes work perfect but write nodes sometimes work but very slow and then not working at all.
For few days im trying to solve the promlem but no luck…
Any help will be helpful.
Thanks in advance.

My advice would be to do 1 single read of multiple registers then parse the results using buff-parser e.g...

That will greatly reduce comms to modbus device & should be more stable.

Hello Steve.
Thanks for reply. Your way of configuration makes much more sense, i'm new to node red so i didn't know about it. You mean i'm should not use more then 10 read node's in configuration? As it's advised? You think this may couse the write node's problems?
I have exactly the same topic on HA forum

And another user suggest the problem it's on HA site, and that makes sense as well.
Regards.

Hello.
I was too busy over the week but yesterday i try configuration proposed by Steve and everything works perfect.
Thank You Steve.





Youre welcome.

In case you lose this screenshot, the built-in help contains this info...

Also, as you probably noticed, the add button auto increments the offset to assist you...

c1QhuKasew

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.