# 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:** 4

<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 22, 2023, 11:12pm UTC](https://community.homey.app/t/converting-scene-lua-code-from-fibaro-hc2-to-homey/78181/4 "2023-03-22T23:12:24Z")

</div>

HI Christian,

It was quite a puzzle, but I like to create flows for these kinds of things.  
I think everything is covered, but I didn’t test it irl.

_Maybe you know alr, but, the AND cards can have True/False outputs:  
blue line = condition is true, yellow line = condition is false._

 ![Screenshot from 2023-03-23 00-07-31](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce6cc175131ce3f90ac733bb841bdf7c6ec2b054.png)  
 ![Screenshot from 2023-03-23 00-08-39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/0/4011c3fae1a87950c272876fd2af09d056c4f884.png)

You can import this flow quite easy:  
Install Device Capabilities (can be removed afterwards)  
Open the web app [https://my.homey.app/](https://my.homey.app/)

- go to settings (cogwheel at the bottom)
- scroll down to Apps
- click on Device Capabilities
- go to app configuration in the screen on the right
- go to “Templates”
- enter “Determine” in the search bar
- click on the flowname to start the import process  
 ![Screenshot from 2023-03-23 00-40-49](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/d/8d0227afb2c268159f170d0ec249bfa675d75ced.png)

In the same screen you’ll find a link to “How to import an exchanger file?” _(=shared flow)_

### Alternative:

##### Direct link to [exchanger file](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/76)

---

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