# Converting Scene – LUA code from Fibaro HC2 to Homey

**URL:** <https://community.homey.app/t/converting-scene-lua-code-from-fibaro-hc2-to-homey/78181>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [March 21, 2023, 8:43pm UTC](https://community.homey.app/t/converting-scene-lua-code-from-fibaro-hc2-to-homey/78181 "2023-03-21T20:43:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 23, 2023, 12:44pm UTC](https://community.homey.app/t/converting-scene-lua-code-from-fibaro-hc2-to-homey/78181/7 "2023-03-23T12:44:05Z")

</div>

You’re welcome! I own a Pro 2019, and the test import went well.  
My guess is the Pro 2023 handles the script slightly different. I’ll check with the app developer @Arie_J_Godschalk.  
Arie, can you import this flow for me on the Pro 23 to see what goes wrong?

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/76):
>
> Determine if Guests are Home or Away, and detect personnel Usecase: A guesthouse should turn on the lights when there are guests present. When they have checked out (in other words, aren’t present for X hours), the lights should be turned off and stay off. Guests and personnel shouldn’t have to do something special like, entering a code, push a button, connect to wifi, install an app, and the like. Fun part: No guests: someone takes care of the plants, and leaves the front door open dur…

---

_[View the full topic](https://community.homey.app/t/converting-scene-lua-code-from-fibaro-hc2-to-homey/78181)._
