# Developers

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

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

**Page:** 27

---

## [Homeyscript api call](https://community.homey.app/t/homeyscript-api-call/36382)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 12\
**Last updated:** [November 2, 2020, 1:13pm UTC](https://community.homey.app/t/homeyscript-api-call/36382 "2020-11-02T13:13:33Z")

</div>

Trying to retrieve weather data from the openweather api. The call succeeds, getting the data also succeeds when retrieving e.g temp. But when i try to retrieve the data from rain.1h i don’t get the data. With the next f…

---

## [433MHz protocol modulation type](https://community.homey.app/t/433mhz-protocol-modulation-type/36841)

<div class="topic-metadata">

**Author:** [@pkeuter](https://community.homey.app/u/pkeuter)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 7:55am UTC](https://community.homey.app/t/433mhz-protocol-modulation-type/36841 "2020-11-02T07:55:13Z")

</div>

Hi there, I am trying to implement a JUNG 433MHz ASK button which is currently used to control the lights of the hood in the kitchen. I decoded the signal using Universal Radio Hacker with RTL-SDR USB-stick. And I was …

---

## [Homeyscript retrieving json weatherdata with Continue and Async Function gives a perpetual loop](https://community.homey.app/t/homeyscript-retrieving-json-weatherdata-with-continue-and-async-function-gives-a-perpetual-loop/36706)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 9\
**Last updated:** [November 1, 2020, 2:57pm UTC](https://community.homey.app/t/homeyscript-retrieving-json-weatherdata-with-continue-and-async-function-gives-a-perpetual-loop/36706 "2020-11-01T14:57:47Z")

</div>

I am working on a script with the intention to retrieve JSON data with a api call for several api’s. The first intention I have is using Openweather and MeteoServer. I got it working with Openweather for the JSON file w…

---

## [Homeyscript help: delay less the 1 second](https://community.homey.app/t/homeyscript-help-delay-less-the-1-second/36613)

<div class="topic-metadata">

**Author:** [@Tom\_Starren](https://community.homey.app/u/Tom_Starren)\
**Replies:** 1\
**Last updated:** [October 28, 2020, 6:42am UTC](https://community.homey.app/t/homeyscript-help-delay-less-the-1-second/36613 "2020-10-28T06:42:44Z")

</div>

I hope someone can help me with the following. I have a flow and the default shortest delay of 1 second is to long. Is there an easy way I can wrap this in a homeyscript?

---

## [Web API 404 not found](https://community.homey.app/t/web-api-404-not-found/36384)

<div class="topic-metadata">

**Author:** [@Ludvig](https://community.homey.app/u/Ludvig)\
**Replies:** 1\
**Last updated:** [October 23, 2020, 12:17pm UTC](https://community.homey.app/t/web-api-404-not-found/36384 "2020-10-23T12:17:31Z")

</div>

Im trying to develop a new app and I need a simple api call enabled. So to start I just added a api.js file and more or less just copy pasted in the example. module.exports = \[ { method: “GET”, path: “/”, public: t…

---

## [Turning on and off floor heating with wireless temp sensor](https://community.homey.app/t/turning-on-and-off-floor-heating-with-wireless-temp-sensor/36332)

<div class="topic-metadata">

**Author:** [@Simon\_Buck](https://community.homey.app/u/Simon_Buck)\
**Replies:** 1\
**Last updated:** [October 22, 2020, 1:10pm UTC](https://community.homey.app/t/turning-on-and-off-floor-heating-with-wireless-temp-sensor/36332 "2020-10-22T13:10:34Z")

</div>

Hi all I just wondering if anyone knows what the best way to be to control my floor heating with an outside temp sensor. Ideally i would like to control it on a x,y axis curve. I dont know if this is even possible with …

---

## [Suncalc](https://community.homey.app/t/suncalc/35358)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 1\
**Last updated:** [October 20, 2020, 4:26pm UTC](https://community.homey.app/t/suncalc/35358 "2020-10-20T16:26:46Z")

</div>

I stumpled upon this page \`Here Copied the code and added to Homeyscript, but i don’t see how to get it to work. Background; I am trying to update my SolarPanels script with a better day prognosis. Idea is that a progn…

---

## [Zigbee probleem](https://community.homey.app/t/zigbee-probleem/36049)

<div class="topic-metadata">

**Author:** [@Vlietmed](https://community.homey.app/u/Vlietmed)\
**Replies:** 3\
**Last updated:** [October 16, 2020, 5:18pm UTC](https://community.homey.app/t/zigbee-probleem/36049 "2020-10-16T17:18:32Z")

</div>

Beste homey gebruikers, Ik heb een probleem met mijn ikea lampen en mij hue go na een aantal dagen kan ik de lampen niet meer schakelen. Na een restart van de Homey functioneerd alles weer normaal. Herkent iemand het …

---

## [Homey running out of connections with node-fetch?](https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379)

<div class="topic-metadata">

**Author:** [@RoyB](https://community.homey.app/u/RoyB)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 8:22am UTC](https://community.homey.app/t/homey-running-out-of-connections-with-node-fetch/35379 "2020-10-05T08:22:47Z")

</div>

I have just finished my work on the following app: However, after a while, Homey seems to be unable to communicate with the REST interface of this device. This interface is still reachable from any other device in m…

---

## [Keys for logging onto and using the athom-api](https://community.homey.app/t/keys-for-logging-onto-and-using-the-athom-api/34582)

<div class="topic-metadata">

**Author:** [@Ragnar](https://community.homey.app/u/Ragnar)\
**Replies:** 8\
**Last updated:** [September 27, 2020, 7:42am UTC](https://community.homey.app/t/keys-for-logging-onto-and-using-the-athom-api/34582 "2020-09-27T07:42:48Z")

</div>

I’m trying to acquire the keys for logging onto and using the athom-api. I’m trying to do the steps programmatically. Im meeting some resistance. I’ve been using posts on a different thread. Especially posts 30 by @Niel…

---

## [Homeyscript server problem](https://community.homey.app/t/homeyscript-server-problem/35019)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 6\
**Last updated:** [September 25, 2020, 8:50am UTC](https://community.homey.app/t/homeyscript-server-problem/35019 "2020-09-25T08:50:40Z")

</div>

I have made a script to get the performance of my solar panels. It retrieves the data of my solaredge inverter and some better logic variables. The problem which occurs quite often when i am using Homeyscrip I sometimes…

---

## [Raw zwave command](https://community.homey.app/t/raw-zwave-command/34942)

<div class="topic-metadata">

**Author:** [@mattrix](https://community.homey.app/u/mattrix)\
**Replies:** 8\
**Last updated:** [September 23, 2020, 2:52pm UTC](https://community.homey.app/t/raw-zwave-command/34942 "2020-09-23T14:52:39Z")

</div>

Hello, how do you do to find the hexadecimal of the params? I need to send a raw command to the ring led of a Fibaro walli dimmer. I found it s node number. But i dont know how to target the rig led and set it s color …

---

## [Error handling](https://community.homey.app/t/error-handling/34925)

<div class="topic-metadata">

**Author:** [@Christopher\_Edling](https://community.homey.app/u/Christopher_Edling)\
**Replies:** 5\
**Last updated:** [September 22, 2020, 1:32pm UTC](https://community.homey.app/t/error-handling/34925 "2020-09-22T13:32:10Z")

</div>

I have developed an app and experience problems after it has been published for testing. I have searched for information on how to best handle errors such as: try / catch, logging, crashes, etc. but can not find what I …

---

## [Weathercloud.net](https://community.homey.app/t/weathercloud-net/34928)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 1\
**Last updated:** [September 22, 2020, 11:19am UTC](https://community.homey.app/t/weathercloud-net/34928 "2020-09-22T11:19:41Z")

</div>

Since Weather underground is only available when you have a weatherstation yourself and darkweather is stopping, I was searching for alternatives. I have already built an app for the Dutch KNMI, but the number of weathe…

---

## [Creating a app for a zigbee device](https://community.homey.app/t/creating-a-app-for-a-zigbee-device/34811)

<div class="topic-metadata">

**Author:** [@Jeffrey\_de\_Jong](https://community.homey.app/u/Jeffrey_de_Jong)\
**Replies:** 1\
**Last updated:** [September 20, 2020, 6:36am UTC](https://community.homey.app/t/creating-a-app-for-a-zigbee-device/34811 "2020-09-20T06:36:28Z")

</div>

Dear Forum People! I’am trying to create a simple zigbee app. I have a Heiman motion sensor (https://www.zigbee2mqtt.io/devices/SMHM-I1.html ) i try to config to the app. I’am also updated to the firmware version 5.0 t…

---

## [Web.API Insights getLogEntries issue](https://community.homey.app/t/web-api-insights-getlogentries-issue/34706)

<div class="topic-metadata">

**Author:** [@Dave1](https://community.homey.app/u/Dave1)\
**Replies:** 0\
**Last updated:** [September 15, 2020, 10:55am UTC](https://community.homey.app/t/web-api-insights-getlogentries-issue/34706 "2020-09-15T10:55:25Z")

</div>

I’m trying to create a simple webpage to display the temperature of various sensors and a graph for the past 24 hours using the Web API and javascript. I got the sensors to show their current temperature. But now I’m tr…

---

## [How to start with first app](https://community.homey.app/t/how-to-start-with-first-app/32766)

<div class="topic-metadata">

**Author:** [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Replies:** 7\
**Last updated:** [September 8, 2020, 10:39am UTC](https://community.homey.app/t/how-to-start-with-first-app/32766 "2020-09-08T10:39:17Z")

</div>

I have been struggling with this for a while now. I want to create a new app for homey. Never really had the time, but now since I have a break from my work for 3 months i’m looking for something to do. Previously I got…

---

## [Storing variables](https://community.homey.app/t/storing-variables/34424)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 4\
**Last updated:** [September 7, 2020, 6:30pm UTC](https://community.homey.app/t/storing-variables/34424 "2020-09-07T18:30:18Z")

</div>

Is there a way to store variables for later use. E.g the powerproduction this month can be retrieved from the Solar Panels app. I want this to store for later use. So the production in september and october etc etc. I do…

---

## [Polling data](https://community.homey.app/t/polling-data/32916)

<div class="topic-metadata">

**Author:** [@Freddie\_Welvering](https://community.homey.app/u/Freddie_Welvering)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 8:02am UTC](https://community.homey.app/t/polling-data/32916 "2020-09-04T08:02:19Z")

</div>

Hi All, Yesterday i started to convert the HomeWizard app (originally developed by Jeroen\_Tebbens). The app uses pollers to get data from the homewizard api (as you can see at https://github.com/fwelvering/com.homewiza…

---

## [Measure\_xxx\_changed trigger not fired](https://community.homey.app/t/measure-xxx-changed-trigger-not-fired/34276)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 11\
**Last updated:** [September 3, 2020, 9:05pm UTC](https://community.homey.app/t/measure-xxx-changed-trigger-not-fired/34276 "2020-09-03T21:05:34Z")

</div>

Hi, The documentation states: Custom capabilities starting with alarm\_ , meter\_ and measure\_ will automatically try to trigger a Flow. You only need to define this Flow trigger in your /app.json . Numbers Calling set…

---

## [How to find my user ID](https://community.homey.app/t/how-to-find-my-user-id/34317)

<div class="topic-metadata">

**Author:** [@FKey](https://community.homey.app/u/FKey)\
**Replies:** 3\
**Last updated:** [September 3, 2020, 4:08pm UTC](https://community.homey.app/t/how-to-find-my-user-id/34317 "2020-09-03T16:08:36Z")

</div>

I want to transfer an app. The developer.athom.com site shows a transfer button. But now it asks for a user id. Where do I find that? Already tried the name and the email but these are not recognized…

---

## [OnPair(session) 404 for the documentation page](https://community.homey.app/t/onpair-session-404-for-the-documentation-page/34268)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 6\
**Last updated:** [September 3, 2020, 12:23pm UTC](https://community.homey.app/t/onpair-session-404-for-the-documentation-page/34268 "2020-09-03T12:23:44Z")

</div>

Hi, On: https://apps-sdk-v3.developer.athom.com/Driver.html#onPair A parameter is described PairSession that links to: https://apps-sdk-v3.developer.athom.com/PairSession.html But that page is a 404. Where can I fi…

---

## [Homeyscript Variables and numbers](https://community.homey.app/t/homeyscript-variables-and-numbers/33436)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 12\
**Last updated:** [September 3, 2020, 9:14am UTC](https://community.homey.app/t/homeyscript-variables-and-numbers/33436 "2020-09-03T09:14:51Z")

</div>

I have found a little script which randomize given numbers. Each number I want in a variable. Logic or Better Logic. So I have 14 numbers and want these in 14 variables. How can I achieve this. Yes I have searched the f…

---

## [Snake case or camel case?](https://community.homey.app/t/snake-case-or-camel-case/34275)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 11:13am UTC](https://community.homey.app/t/snake-case-or-camel-case/34275 "2020-09-02T11:13:25Z")

</div>

I am troubled, what is the preference used by Athom? When I look at the app.json I am already troubled and forced to make use of both. measure\_xxx\_changed triggers that update automatically are required to be in snake …

---

## [Adding a slash into variable better logic](https://community.homey.app/t/adding-a-slash-into-variable-better-logic/34206)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 6\
**Last updated:** [August 31, 2020, 2:33pm UTC](https://community.homey.app/t/adding-a-slash-into-variable-better-logic/34206 "2020-08-31T14:33:12Z")

</div>

I am trying to add a slash(/) into a better logic variable. This doesn’t work. When i run this script it works when i delete the slash, and it doesn’t work when i add the slash. Any ideas how i can solve this?

---

## [How to read the documentation](https://community.homey.app/t/how-to-read-the-documentation/34194)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 3\
**Last updated:** [August 31, 2020, 9:04am UTC](https://community.homey.app/t/how-to-read-the-documentation/34194 "2020-08-31T09:04:10Z")

</div>

I am trying to learn homeyscript. For a absolute NOOB and a non-programming type it is quite a steap learning process. I came across this information. How do I interpretate this? And how do i make use off it in Homey…

---

## [Promises made a bit easier](https://community.homey.app/t/promises-made-a-bit-easier/8965)

<div class="topic-metadata">

**Author:** [@robertklep](https://community.homey.app/u/robertklep)\
**Replies:** 2\
**Last updated:** [August 28, 2020, 6:34am UTC](https://community.homey.app/t/promises-made-a-bit-easier/8965 "2020-08-28T06:34:43Z")

</div>

Promises made a bit easier I’ve noticed that some developers, especially the ones without an extensive Javascript (JS) background, can struggle a bit with understanding promises. I decided to do a write-up that explains …

---

## [Publically readable log](https://community.homey.app/t/publically-readable-log/33887)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 1\
**Last updated:** [August 23, 2020, 12:54pm UTC](https://community.homey.app/t/publically-readable-log/33887 "2020-08-23T12:54:09Z")

</div>

I have tried writing some response to a custom string capability, but those are not really readable in the gui in the app. Insights is for numbers only, what other options do I have to show some kind of log to the end us…

---

## [Upgrade guides for SDK v1 to SDK v2 and from SDK v2 to SDK v3?](https://community.homey.app/t/upgrade-guides-for-sdk-v1-to-sdk-v2-and-from-sdk-v2-to-sdk-v3/33855)

<div class="topic-metadata">

**Author:** [@Some1](https://community.homey.app/u/Some1)\
**Replies:** 4\
**Last updated:** [August 22, 2020, 10:30am UTC](https://community.homey.app/t/upgrade-guides-for-sdk-v1-to-sdk-v2-and-from-sdk-v2-to-sdk-v3/33855 "2020-08-22T10:30:58Z")

</div>

Hi, It would be nice to have an upgrade guide, what to change into what for upgrading some app from one SDK version to another. Is there something like that or should you rebuild all apps from scratch?

---

## [Report Listener problem](https://community.homey.app/t/report-listener-problem/33450)

<div class="topic-metadata">

**Author:** [@Damian\_Alarcon](https://community.homey.app/u/Damian_Alarcon)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 3:39pm UTC](https://community.homey.app/t/report-listener-problem/33450 "2020-08-10T15:39:07Z")

</div>

I’m writing a plugin for a Chinese zigbee wall switch: https://www.aliexpress.com/item/4000848681577.html?spm=a2g0s.9042311.0.0.423063c0gkrMk0 But while adding a report listener to it, I get this error: error could n…

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

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