# Developers

**URL:** https://community.homey.app/c/developers/10.md?page=30

[Latest](https://community.homey.app/latest.md) · [Categories](https://community.homey.app/categories.md) · [Tags](https://community.homey.app/tags.md)

**Page:** 31

---

## [Homeyscript sleep / wait / countdown app](https://community.homey.app/t/homeyscript-sleep-wait-countdown-app/13337)

<div class="topic-metadata">

**Author:** [@adem\_p](https://community.homey.app/u/adem_p)\
**Replies:** 6\
**Last updated:** [May 19, 2019, 12:08pm UTC](https://community.homey.app/t/homeyscript-sleep-wait-countdown-app/13337 "2019-05-19T12:08:08Z")

</div>

Hi there, I hope you can help me :slight\_smile: I need a sleep function in HomeScript, found this: https://lodash.com/docs/4.17.11#delay And in the old forum: async function wait (timeout) { return new Promise((re…

---

## [Webhook GET](https://community.homey.app/t/webhook-get/5691)

<div class="topic-metadata">

**Author:** [@Mikael\_Guss](https://community.homey.app/u/Mikael_Guss)\
**Replies:** 7\
**Last updated:** [January 31, 2019, 8:35am UTC](https://community.homey.app/t/webhook-get/5691 "2019-01-31T08:35:15Z")

</div>

Hi. Is it possible to trigger a flow from webhook external? If so. can someone please give me some “hello world” code for that and allso some instruction how i install webook app on homey. I want to use GET to send fro…

---

## [Bearer token expires in 24h - Solution?](https://community.homey.app/t/bearer-token-expires-in-24h-solution/12971)

<div class="topic-metadata">

**Author:** [@aste](https://community.homey.app/u/aste)\
**Replies:** 3\
**Last updated:** [May 10, 2019, 6:45pm UTC](https://community.homey.app/t/bearer-token-expires-in-24h-solution/12971 "2019-05-10T18:45:06Z")

</div>

Hi, Since a couple of weeks the Bearer token is expiring once a day. Pretty annoying if you have stuff depending on remote access. Webhooks has been an alternative, but a less secure one, maybe not good enough for all a…

---

## [BLE bonding with PIN](https://community.homey.app/t/ble-bonding-with-pin/12602)

<div class="topic-metadata">

**Author:** [@0x4C4A](https://community.homey.app/u/0x4C4A)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 10:00am UTC](https://community.homey.app/t/ble-bonding-with-pin/12602 "2019-05-03T10:00:18Z")

</div>

Hello! I’d like to add Homey support for the Aranet4 device. However the sensor needs to perform BLE bonding with PIN (it shows a PIN and you need to type it in a textbox on phones etc.) to access some data characteris…

---

## [My first homeyscript. All feedback appreciated](https://community.homey.app/t/my-first-homeyscript-all-feedback-appreciated/2595)

<div class="topic-metadata">

**Author:** [@arnizzle](https://community.homey.app/u/arnizzle)\
**Replies:** 7\
**Last updated:** [April 28, 2019, 5:56pm UTC](https://community.homey.app/t/my-first-homeyscript-all-feedback-appreciated/2595 "2019-04-28T17:56:17Z")

</div>

Hi all, This is my first Homeyscript. I’m trying to code as much as possible since I don’t want to end up with massive amounts of flows. Very new to Javascript so if you have any feedback on bettering the code it will …

---

## [Rebooting Homey from a flow](https://community.homey.app/t/rebooting-homey-from-a-flow/9832)

<div class="topic-metadata">

**Author:** [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Replies:** 18\
**Last updated:** [April 27, 2019, 1:35pm UTC](https://community.homey.app/t/rebooting-homey-from-a-flow/9832 "2019-04-27T13:35:34Z")

</div>

Update March 4 Homey v2.0.5-rc.2 has been release to the experimental channel, amongst other improvements it adds a new experimental functionality: Power user. This new function enables advanced Flow cards & system pro…

---

## [Help encoding a 433Mhz signal](https://community.homey.app/t/help-encoding-a-433mhz-signal/11707)

<div class="topic-metadata">

**Author:** [@Leo838](https://community.homey.app/u/Leo838)\
**Replies:** 3\
**Last updated:** [April 25, 2019, 6:55pm UTC](https://community.homey.app/t/help-encoding-a-433mhz-signal/11707 "2019-04-25T18:55:27Z")

</div>

Hello all, I’m trying to modify the following https://github.com/athombv/nl.aldi to support the Lidl similar type set (TR-502MSV). From the internet I’ve managed to grab the protocol as follows: # this config file was…

---

## [Listen to all change events](https://community.homey.app/t/listen-to-all-change-events/11655)

<div class="topic-metadata">

**Author:** [@Markus\_Backman](https://community.homey.app/u/Markus_Backman)\
**Replies:** 1\
**Last updated:** [April 9, 2019, 5:45pm UTC](https://community.homey.app/t/listen-to-all-change-events/11655 "2019-04-09T17:45:23Z")

</div>

Hi I have a lot of my custom automation things on AWS so I would like to simple stream (simple POST to a endpoint on AWS) all events changes. That is everytime a sensor gets a new value, everytime a button is pressed, …

---

## [Homey v2.0 Insights web API](https://community.homey.app/t/homey-v2-0-insights-web-api/6948)

<div class="topic-metadata">

**Author:** [@TTXy](https://community.homey.app/u/TTXy)\
**Replies:** 4\
**Last updated:** [April 4, 2019, 7:28pm UTC](https://community.homey.app/t/homey-v2-0-insights-web-api/6948 "2019-04-04T19:28:08Z")

</div>

I would like to extract some of my Insights data and use locally, is there are web API for the new Homey v2.0 Insights? Thanks

---

## [Homey v2.1.0 \<\> Zigbee](https://community.homey.app/t/homey-v2-1-0-zigbee/11272)

<div class="topic-metadata">

**Author:** [@Slof](https://community.homey.app/u/Slof)\
**Replies:** 5\
**Last updated:** [April 2, 2019, 6:10am UTC](https://community.homey.app/t/homey-v2-1-0-zigbee/11272 "2019-04-02T06:10:30Z")

</div>

I can remember that some guy’s said that the Zigbee would be updated at v2.1 But as I see that’s not the case, does somebody know’s more?

---

## [JSON.parse promise error](https://community.homey.app/t/json-parse-promise-error/11257)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 3\
**Last updated:** [April 1, 2019, 8:44am UTC](https://community.homey.app/t/json-parse-promise-error/11257 "2019-04-01T08:44:21Z")

</div>

Not sure what I do wrong here, the code I execute: this.ws.on(‘message’, (json) =\> { let messageData = {}; if(json) { try { messageData = JSON.parse(json); } catch (err) { …

---

## [Remote API](https://community.homey.app/t/remote-api/10805)

<div class="topic-metadata">

**Author:** [@Rutger](https://community.homey.app/u/Rutger)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 7:33pm UTC](https://community.homey.app/t/remote-api/10805 "2019-03-19T19:33:33Z")

</div>

Hello, I want to make a front end application to control my smart devices. At this moment I can connect to my homey but I can’t use the homeyAPI after the authentication. The following results where not successful and …

---

## [Downgrade App](https://community.homey.app/t/downgrade-app/10622)

<div class="topic-metadata">

**Author:** [@Paul\_Kessels](https://community.homey.app/u/Paul_Kessels)\
**Replies:** 6\
**Last updated:** [March 18, 2019, 12:29pm UTC](https://community.homey.app/t/downgrade-app/10622 "2019-03-18T12:29:27Z")

</div>

Is there a way to downgrade an App to the previous version? They added the ‘non automatic update’ feature now for the apps, which is great. But it is too late for the KAKU app, which doesn’t work anymore for me since th…

---

## [\[HELP REQUEST\] Create App with COMMAND\_CLASS\_SCHEDULE SIR321 Secure/Horstman Relay](https://community.homey.app/t/help-request-create-app-with-command-class-schedule-sir321-secure-horstman-relay/10508)

<div class="topic-metadata">

**Author:** [@KonradWalsh](https://community.homey.app/u/KonradWalsh)\
**Replies:** 4\
**Last updated:** [March 15, 2019, 7:52am UTC](https://community.homey.app/t/help-request-create-app-with-command-class-schedule-sir321-secure-horstman-relay/10508 "2019-03-15T07:52:24Z")

</div>

Hi I just bought a Secure SIR321 Intelligent Relay - Its 3kw switch controller with scheduler. The existing Horstman/Secure App in the store by @Priknr1 doesnt support this device and I haven’t been able to reach the de…

---

## [How do I use custom view and system view together?](https://community.homey.app/t/how-do-i-use-custom-view-and-system-view-together/10529)

<div class="topic-metadata">

**Author:** [@limkopi78](https://community.homey.app/u/limkopi78)\
**Replies:** 2\
**Last updated:** [March 13, 2019, 11:07am UTC](https://community.homey.app/t/how-do-i-use-custom-view-and-system-view-together/10529 "2019-03-13T11:07:08Z")

</div>

I’d like to create a view for users to key in ID, password and 2 more information. Once the driver has these informations, I’d like to call the system Device List view to display the list of devices retrieved from API. I…

---

## [Visual basic API](https://community.homey.app/t/visual-basic-api/10282)

<div class="topic-metadata">

**Author:** [@Slof](https://community.homey.app/u/Slof)\
**Replies:** 2\
**Last updated:** [March 8, 2019, 6:59pm UTC](https://community.homey.app/t/visual-basic-api/10282 "2019-03-08T18:59:25Z")

</div>

As I very busy and lazy, is there somebody how has allready go a simple program in VB with the API?

---

## [No icon shown for custom capabilities](https://community.homey.app/t/no-icon-shown-for-custom-capabilities/9820)

<div class="topic-metadata">

**Author:** [@Will\_o\_Wisp](https://community.homey.app/u/Will_o_Wisp)\
**Replies:** 3\
**Last updated:** [February 28, 2019, 7:22pm UTC](https://community.homey.app/t/no-icon-shown-for-custom-capabilities/9820 "2019-02-28T19:22:17Z")

</div>

I have a couple of custom capabilities for my device, but even if the icon is included and validation against publish reports OK, I always get a spinner instead of the icon when looking at the sensor values for the devic…

---

## [App.json overwritten](https://community.homey.app/t/app-json-overwritten/9815)

<div class="topic-metadata">

**Author:** [@Siobhan\_B](https://community.homey.app/u/Siobhan_B)\
**Replies:** 9\
**Last updated:** [February 28, 2019, 6:13pm UTC](https://community.homey.app/t/app-json-overwritten/9815 "2019-02-28T18:13:54Z")

</div>

Hi all, Complete noob here, only received my Homey yesterday. Trying to write my first app and register a 433 mhz signal, but every time I run it my app.json gets overwritten and the signals section gets removed. I kn…

---

## [Homey with fibaro switch "permanent on"](https://community.homey.app/t/homey-with-fibaro-switch-permanent-on/9828)

<div class="topic-metadata">

**Author:** [@Wim\_de\_Kreek](https://community.homey.app/u/Wim_de_Kreek)\
**Replies:** 7\
**Last updated:** [February 28, 2019, 10:44am UTC](https://community.homey.app/t/homey-with-fibaro-switch-permanent-on/9828 "2019-02-28T10:44:15Z")

</div>

I am a user of fibaro switches in my homey system and I am very pleased with the possibilitys. However I have a question: is it possible to create a rule :“permanently on”. I use motion detection in combination with tim…

---

## [2 device crontasks and latest added one is run twice, 1st is ignored](https://community.homey.app/t/2-device-crontasks-and-latest-added-one-is-run-twice-1st-is-ignored/9350)

<div class="topic-metadata">

**Author:** [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Replies:** 10\
**Last updated:** [February 18, 2019, 3:15pm UTC](https://community.homey.app/t/2-device-crontasks-and-latest-added-one-is-run-twice-1st-is-ignored/9350 "2019-02-18T15:15:59Z")

</div>

Hi devs, I hope you can help me with this. It is probably something stupid. I added 2 devices of the same type with a different api key and both need to have a crontask which runs every 5 min. With 1 device there is no…

---

## [Flows scripting](https://community.homey.app/t/flows-scripting/9212)

<div class="topic-metadata">

**Author:** [@unknown\_error](https://community.homey.app/u/unknown_error)\
**Replies:** 26\
**Last updated:** [February 16, 2019, 2:13am UTC](https://community.homey.app/t/flows-scripting/9212 "2019-02-16T02:13:34Z")

</div>

Does anybody have an example how to create flows programmatically? It would be nice to have something like: Create flow with a trigger from an App (so I can specify the trigger and an App to use trigger from) Add cond…

---

## [Device as argument in flows broken on Homey 2.0?](https://community.homey.app/t/device-as-argument-in-flows-broken-on-homey-2-0/7009)

<div class="topic-metadata">

**Author:** [@SlicingHaunt](https://community.homey.app/u/SlicingHaunt)\
**Replies:** 2\
**Last updated:** [February 10, 2019, 10:41am UTC](https://community.homey.app/t/device-as-argument-in-flows-broken-on-homey-2-0/7009 "2019-02-10T10:41:54Z")

</div>

My app uses some actions that require the input of another device of the same driver (to pair speakers) and this has been working fine \<2.0. Since the technical preview of version 2 this action has been broken. First t…

---

## [HomeyScript - trying to set presence of user](https://community.homey.app/t/homeyscript-trying-to-set-presence-of-user/8912)

<div class="topic-metadata">

**Author:** [@Stig](https://community.homey.app/u/Stig)\
**Replies:** 2\
**Last updated:** [February 8, 2019, 1:52pm UTC](https://community.homey.app/t/homeyscript-trying-to-set-presence-of-user/8912 "2019-02-08T13:52:35Z")

</div>

Hi, im currently trying to update a users presence status using HomeyScript and keep getting; “You have no access to do this.” My Homey is updated to version 2. What Im trying to run is: await Presence.setPresent…

---

## [Learning to create apps, recommendations?](https://community.homey.app/t/learning-to-create-apps-recommendations/8854)

<div class="topic-metadata">

**Author:** [@Nigel\_Scott](https://community.homey.app/u/Nigel_Scott)\
**Replies:** 3\
**Last updated:** [February 8, 2019, 12:27am UTC](https://community.homey.app/t/learning-to-create-apps-recommendations/8854 "2019-02-08T00:27:33Z")

</div>

Does anyone have any recommendations of books for a newbie wanting to start out creating an app, sort of like a dummy’s guide, or any websites/YouTube videos to which ever programming language Homey needs to use. Ones w…

---

## [HomeyScript XML SOAP](https://community.homey.app/t/homeyscript-xml-soap/2234)

<div class="topic-metadata">

**Author:** [@Patrik](https://community.homey.app/u/Patrik)\
**Replies:** 6\
**Last updated:** [January 29, 2019, 8:46pm UTC](https://community.homey.app/t/homeyscript-xml-soap/2234 "2019-01-29T20:46:40Z")

</div>

Hi, Is it possible to post XML SOAP from the HomeyScript app with JavaScript? Just need it for a sending a “wake up” to my sat receiver. Regards Patrik

---

## [IOS Swift "Hello World"](https://community.homey.app/t/ios-swift-hello-world/5852)

<div class="topic-metadata">

**Author:** [@Mikael\_Guss](https://community.homey.app/u/Mikael_Guss)\
**Replies:** 9\
**Last updated:** [January 29, 2019, 10:12am UTC](https://community.homey.app/t/ios-swift-hello-world/5852 "2019-01-29T10:12:02Z")

</div>

Hi. Is there anyone out there who has made an IOS app in swift that can connect to Homey. I’m looking for a “Hello world” code where I see how to connect to homey and preferably code where I see how to trigger a flow. Ha…

---

## [APi Homey no longer working](https://community.homey.app/t/api-homey-no-longer-working/8153)

<div class="topic-metadata">

**Author:** [@Ypolit](https://community.homey.app/u/Ypolit)\
**Replies:** 3\
**Last updated:** [January 28, 2019, 4:27pm UTC](https://community.homey.app/t/api-homey-no-longer-working/8153 "2019-01-28T16:27:48Z")

</div>

Hi. I am using a Fibaro HomeCenter to send commands to Homey using the Homey API. After upgrading Homey to version 2 (what I shouldn’t have done) the API is not longer working. Anyone who know how to solve it ? I usin…

---

## [From a number to hexidecimals](https://community.homey.app/t/from-a-number-to-hexidecimals/7908)

<div class="topic-metadata">

**Author:** [@Patrick1](https://community.homey.app/u/Patrick1)\
**Replies:** 6\
**Last updated:** [January 26, 2019, 7:46pm UTC](https://community.homey.app/t/from-a-number-to-hexidecimals/7908 "2019-01-26T19:46:13Z")

</div>

Hello everyone, Does anyone know a solution? I have a number from a calculation and would like to make a hexadecimal of it, which I can send to my phone for my work. Here we use these codes to log in. Now I have to c…

---

## [System logs](https://community.homey.app/t/system-logs/7510)

<div class="topic-metadata">

**Author:** [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Replies:** 12\
**Last updated:** [January 22, 2019, 7:51am UTC](https://community.homey.app/t/system-logs/7510 "2019-01-22T07:51:46Z")

</div>

How can I view the entire system log for the Homey? I am debugging an error reported by a GitHub user where the app just dies without any exception etc. I need to have a look at the entire system log, but I cannot find a…

---

## [Debug version of athom-api package?](https://community.homey.app/t/debug-version-of-athom-api-package/7509)

<div class="topic-metadata">

**Author:** [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Replies:** 0\
**Last updated:** [January 20, 2019, 6:23pm UTC](https://community.homey.app/t/debug-version-of-athom-api-package/7509 "2019-01-20T18:23:25Z")

</div>

When debugging, it is quite difficult to follow stacktraces etc using the minified versions of the Athom NPM packages. I tried to get hold of the non-minified versions but I can’t find them. The GitHub links to the repos…

[Previous page](https://community.homey.app/c/developers/10.md?page=29)

[Next page](https://community.homey.app/c/developers/10.md?page=31)
