# Need help with design for my home flow

**URL:** https://discourse.nodered.org/t/need-help-with-design-for-my-home-flow/10263
**Category:** General
**Created:** [16 April 2019 20:26 UTC](https://discourse.nodered.org/t/need-help-with-design-for-my-home-flow/10263 "2019-04-16T20:26:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![aihysp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aihysp/32/2278_2.png) [@aihysp](https://discourse.nodered.org/u/aihysp)
#### Post date: [16 April 2019 20:26 UTC](https://discourse.nodered.org/t/need-help-with-design-for-my-home-flow/10263/1 "2019-04-16T20:26:49Z")

</div>

Hi All  
i am using NR + Openhab for a long time , i use NR+mosquito as my MQTT Broker  
and OH only saves my values(maybe little stupid but working 🙂 )

i am using this simple flow to pass values between MQTT and OH  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/7106653ca8fd4db8d3554dcf3c35fde214dfccfa.png)

and i have more complex flows for PIR+Timers+Automation and what not 🙂  
but i have the feeling that i maybe doing it in a very complex way, since i am not a dev  
i am just flowing along with it is working for me,

so i wanted to ask maybe someone can suggest how i can make this flows more flexible  
when i its starts to get a litle more complex i think i can do better  
see below a more complex flow,

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2933cd2c624f5c4bd5d97593d3d1bdbfdbbfa1d5.png)

i need somthing that can handle

- Timers
- Motion sensors
- time zones
- ability to override/turn off , the above functions

don't get me wrong, i am not asking to someone to fix my flow  
i have all the above working but if anyone can give me a better way i will be really glad!  
Thanks
