# Start a flow with input from another system (Modbus)?

**URL:** https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143
**Category:** General
**Created:** [15 July 2022 12:29 UTC](https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143 "2022-07-15T12:29:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)
#### Post date: [15 July 2022 12:29 UTC](https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143/1 "2022-07-15T12:29:45Z")

</div>

I was wondering if it is possible to start a Node Red flow when I perform a action in my Home Automation system? I have the possibilty in my system to start a modbus write when performing an action (I belive) I do read values from Node Red through Modbus write nodes. What I was trying to send to Node Red is : mbex($Hus:NODERED:Socket$, 1,6,1067),

---

<div class="post-metadata">

### Author: ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)
#### Post date: [15 July 2022 22:31 UTC](https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143/2 "2022-07-15T22:31:19Z")

</div>

Got some help from someone who know my home automation system a bit better than me. Had to do this code: $Hus:WorkingVariabelNodeRed:Memory$ = 1,  
mbex($Hus:NODERED:Socket$,$Hus:WorkingVariabelNodeRed:Memory$,6,1007),  
So yes it is possible, and yes now its working.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 July 2022 22:32 UTC](https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143/3 "2022-07-29T22:32:19Z")

</div>

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