# Does anyone know where to find simple HomeyScripts so I can learn how they work?

**URL:** <https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [August 8, 2020, 9:25am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385 "2020-08-08T09:25:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ragnar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ragnar/32/18145_2.png) [@Ragnar](https://community.homey.app/u/Ragnar)\
**Post date:** [August 8, 2020, 9:25am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/1 "2020-08-08T09:25:37Z")

</div>

Im trying to get started using HomeyScript. But I cant find any good example scripts to help me on the way. Or a good reference guide on how the objects function.

Help on the way is much appreciated!

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [August 8, 2020, 10:58am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/2 "2020-08-08T10:58:35Z")

</div>

I am also looking for good “learning” scripts. This one I found yesterday  
[http://developer.athom.com/docs/api/tutorial-Introduction.html](http://developer.athom.com/docs/api/tutorial-Introduction.html)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 8, 2020, 12:25pm UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/3 "2020-08-08T12:25:10Z")

</div>

The introduction example isn’t very useful because all of the code that is shows isn’t necessary for Homeyscript.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 8, 2020, 12:53pm UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/4 "2020-08-08T12:53:33Z")

</div>

> **[HomeyScript - share your scripts - main discussion topic](https://forum.athom.com/discussion/3666/homeyscript-share-your-scripts-main-discussion-topic)**
>
> HomeyScript Write scripts for Homey, for when the Flow Editor might not be enough. App store link: HomeyScript App 

  

> **[zytric/homeyscripts](https://github.com/zytric/homeyscripts)**
>
> homeyscripts. Contribute to zytric/homeyscripts development by creating an account on GitHub.

When you open HomeyScript-page, there are several examples you can play with.

[https://www.w3schools.com/js/default.asp](https://www.w3schools.com/js/default.asp)

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [August 8, 2020, 1:19pm UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/5 "2020-08-08T13:19:36Z")

</div>

Great thx, will look into this. Just printed sine trees now🤓

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 6, 2022, 7:31pm UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/6 "2022-07-06T19:31:02Z")

</div>

Is the homey script syntax documented anywhere that I can use as a reference.  
I haven’t programmed since my C/C++ days so have no json / .Is experience.  
If homey script is based on one of these languages could someone advise which one I need to learn in order to be proficient in homey script.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 6, 2022, 11:29pm UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/7 "2022-07-06T23:29:27Z")

</div>

[JavaScript Tutorial](https://www.w3schools.com/js/default.asp) or any other Javascript description (google learning javascript).

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 6, 2022, 11:43pm UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/8 "2022-07-06T23:43:50Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [August 9, 2022, 5:44am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/9 "2022-08-09T05:44:04Z")

</div>

I want to have a flow ask me a question as to “Do I want to close the garage door” if when going to bed a check finds the garage door is open. It looks like I can only do this in Homeyscript so I’m going through the tutorial and looking at examples.

But: I don’t know how to run a script from a flow. Can anyone tell me how that’s done. I’ve searched the community but can’t find an answer - maybe I’m asking the wrong question.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 9, 2022, 5:57am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/10 "2022-08-09T05:57:10Z")

</div>

> [@Peter\_Bittner](#):
>
> It looks like I can only do this in Homeyscript

I don’t see how, Homeyscript isn’t interactive. There’s an AND card for flows that you can use to send an actionable push notification.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [August 9, 2022, 6:51am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/11 "2022-08-09T06:51:06Z")

</div>

Got it, thanks.

---

<div class="post-metadata">

**Author:** ![RayN](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rayn/32/60326_2.png) [@RayN](https://community.homey.app/u/RayN)\
**Post date:** [October 17, 2022, 9:33am UTC](https://community.homey.app/t/does-anyone-know-where-to-find-simple-homeyscripts-so-i-can-learn-how-they-work/33385/12 "2022-10-17T09:33:46Z")

</div>

**Where do I find the Homeyscript reference doc?**  
On Github [athombv](https://github.com/athombv)/**[com.athom.homeyscript](https://github.com/athombv/com.athom.homeyscript)** Public  
the link to Documentation: Visit the [HomeyScript Reference](https://github.com/athombv/com.athom.homeyscript/blob/master/docs/global) to learn what you can do in a HomeyScript.  
leads to a 404 page.
