# Developers

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

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

**Page:** 28

---

## [Swedish holiday app crashing on homey 5.0 exper](https://community.homey.app/t/swedish-holiday-app-crashing-on-homey-5-0-exper/32929)

<div class="topic-metadata">

**Author:** [@Sammyj](https://community.homey.app/u/Sammyj)\
**Replies:** 12\
**Last updated:** [August 6, 2020, 8:21am UTC](https://community.homey.app/t/swedish-holiday-app-crashing-on-homey-5-0-exper/32929 "2020-08-06T08:21:10Z")

</div>

Several of my users using the swedish holiday app is getting crashes together with Homey 5.0 experimental version. Never had any crashes on the old versions and me code seems to be aligned with the SKD. Anybody that can …

---

## [E11000 duplicate key error collection](https://community.homey.app/t/e11000-duplicate-key-error-collection/33047)

<div class="topic-metadata">

**Author:** [@WT\_hh](https://community.homey.app/u/WT_hh)\
**Replies:** 1\
**Last updated:** [July 31, 2020, 8:01am UTC](https://community.homey.app/t/e11000-duplicate-key-error-collection/33047 "2020-07-31T08:01:31Z")

</div>

when i publish my app, get error: E11000 duplicate key error collection: appsapi.apps index: id\_1 dup key: { id: “xxxxxxx” }

---

## [ZigBee product and manufacturer names](https://community.homey.app/t/zigbee-product-and-manufacturer-names/32723)

<div class="topic-metadata">

**Author:** [@Reneco](https://community.homey.app/u/Reneco)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 2:50pm UTC](https://community.homey.app/t/zigbee-product-and-manufacturer-names/32723 "2020-07-23T14:50:50Z")

</div>

Hello! I’ve ordered a couple of Chinese Tuya-based switches. For the time being, the Tuya ZigBee app isn’t getting updates due to the ZigBee rework but until that time I did want to have an app for it. I managed to get…

---

## [Trying to install SDK V3](https://community.homey.app/t/trying-to-install-sdk-v3/32610)

<div class="topic-metadata">

**Author:** [@Carlo\_Hermus](https://community.homey.app/u/Carlo_Hermus)\
**Replies:** 2\
**Last updated:** [July 20, 2020, 9:53pm UTC](https://community.homey.app/t/trying-to-install-sdk-v3/32610 "2020-07-20T21:53:19Z")

</div>

Hi, I tried to install SDK v3, but it seems I am only to be able to install the latest v2.5.1. Am I missing something? Regards Carlo

---

## [Using a function to read sensor values](https://community.homey.app/t/using-a-function-to-read-sensor-values/32589)

<div class="topic-metadata">

**Author:** [@Oscar\_Andersson](https://community.homey.app/u/Oscar_Andersson)\
**Replies:** 1\
**Last updated:** [July 20, 2020, 1:42pm UTC](https://community.homey.app/t/using-a-function-to-read-sensor-values/32589 "2020-07-20T13:42:53Z")

</div>

I am writing a function which returns two values from different Aqara sensors. But I only get values from the same sensor, how should I rewrite this code: let devices = await Homey.devices.getDevices(); let sensor; fu…

---

## [Flow card for calculations -\> where to put the result?](https://community.homey.app/t/flow-card-for-calculations-where-to-put-the-result/32334)

<div class="topic-metadata">

**Author:** [@MadMonkey](https://community.homey.app/u/MadMonkey)\
**Replies:** 5\
**Last updated:** [July 14, 2020, 3:48pm UTC](https://community.homey.app/t/flow-card-for-calculations-where-to-put-the-result/32334 "2020-07-14T15:48:50Z")

</div>

I plan to create a action card that performs a complex calculation. Where do I put the result? The only thing I see currently is to trigger a new flow…is there any better option i.e set a tag that can be used by followin…

---

## [Who can help me to support a new Z-wave device?](https://community.homey.app/t/who-can-help-me-to-support-a-new-z-wave-device/32200)

<div class="topic-metadata">

**Author:** [@Thijs\_van\_Gelder](https://community.homey.app/u/Thijs_van_Gelder)\
**Replies:** 1\
**Last updated:** [July 9, 2020, 1:03pm UTC](https://community.homey.app/t/who-can-help-me-to-support-a-new-z-wave-device/32200 "2020-07-09T13:03:13Z")

</div>

I have a Z-wave device that is not (yet) supported by Homey and I would really like Homey to support it. It is a Vero Duco ventilation box that can be opened, closed and it should basically work as a dimmer (box to be o…

---

## [Homeyduino: setCapabilityValue does not change Homey state?](https://community.homey.app/t/homeyduino-setcapabilityvalue-does-not-change-homey-state/32191)

<div class="topic-metadata">

**Author:** [@Satoer](https://community.homey.app/u/Satoer)\
**Replies:** 6\
**Last updated:** [July 9, 2020, 8:45am UTC](https://community.homey.app/t/homeyduino-setcapabilityvalue-does-not-change-homey-state/32191 "2020-07-09T08:45:07Z")

</div>

Hi, I have a simple homeyduino project. And I want to change a capability state in Homey. But Homey does not change the state. In the setup I have: Homey.addCapability("onoff", AlarmOnOff); And this works fine to trig…

---

## [registerCapability not working](https://community.homey.app/t/registercapability-not-working/32135)

<div class="topic-metadata">

**Author:** [@Andreas\_Kvisgaard](https://community.homey.app/u/Andreas_Kvisgaard)\
**Replies:** 2\
**Last updated:** [July 7, 2020, 2:16pm UTC](https://community.homey.app/t/registercapability-not-working/32135 "2020-07-07T14:16:14Z")

</div>

Hi, I’m trying to write a driver app for a Zigbee CO2, Humidity & Temperature sensor from Titan Products. To do so, I have used the homey meshdriver library. I have been able to connect to the sensor and get a Print of …

---

## [Detect changing zone](https://community.homey.app/t/detect-changing-zone/31996)

<div class="topic-metadata">

**Author:** [@henit](https://community.homey.app/u/henit)\
**Replies:** 4\
**Last updated:** [July 3, 2020, 2:17pm UTC](https://community.homey.app/t/detect-changing-zone/31996 "2020-07-03T14:17:01Z")

</div>

In the Device SDK, there is methods for detecting things like onAdded and onRemoved. But is there any way to detect that the device has been moved to another zone? I tried the onSettings method, but it is not called when…

---

## [Development environment](https://community.homey.app/t/development-environment/31953)

<div class="topic-metadata">

**Author:** [@henit](https://community.homey.app/u/henit)\
**Replies:** 2\
**Last updated:** [July 2, 2020, 4:31pm UTC](https://community.homey.app/t/development-environment/31953 "2020-07-02T16:31:35Z")

</div>

Hi all. I am trying out Homey app development, and I am trying to use some of the principles and practices I am used to from web applications. So I installed eslint, typescript and other tools to be able to write in sim…

---

## [Help wanted: new device integration](https://community.homey.app/t/help-wanted-new-device-integration/14488)

<div class="topic-metadata">

**Author:** [@garadget](https://community.homey.app/u/garadget)\
**Replies:** 9\
**Last updated:** [June 29, 2020, 10:04pm UTC](https://community.homey.app/t/help-wanted-new-device-integration/14488 "2020-06-29T22:04:02Z")

</div>

Hello all, I’m creator of Garadget - open source WiFi garage door controller. I’ve got several requests from our customers who consider switching their home automation to Homey system and asked about adding its suppor…

---

## [Devices search](https://community.homey.app/t/devices-search/31756)

<div class="topic-metadata">

**Author:** [@Marwan\_Magdy](https://community.homey.app/u/Marwan_Magdy)\
**Replies:** 7\
**Last updated:** [June 29, 2020, 6:22pm UTC](https://community.homey.app/t/devices-search/31756 "2020-06-29T18:22:10Z")

</div>

hello everyone, I am new here actually and i was working of an app to communicate with eWelink supported devices but locally. I tested the concept and it works, my problem is with Homey app development i cant get it to…

---

## [Any interest in a generator for app.json from typescript code?](https://community.homey.app/t/any-interest-in-a-generator-for-app-json-from-typescript-code/22418)

<div class="topic-metadata">

**Author:** [@Michael\_Medin](https://community.homey.app/u/Michael_Medin)\
**Replies:** 3\
**Last updated:** [June 20, 2020, 8:54am UTC](https://community.homey.app/t/any-interest-in-a-generator-for-app-json-from-typescript-code/22418 "2020-06-20T08:54:23Z")

</div>

As I am using typescript to write my homey app got fed up with updating app.json so I wrote a quick typescript -\> app.json generator. Now I am curious if there is anyone else using typescript and feels a need for someth…

---

## [\[BOUNTY - €120\] Visonic SDK v2 Compatibility Work](https://community.homey.app/t/bounty-120-visonic-sdk-v2-compatibility-work/5242)

<div class="topic-metadata">

**Author:** [@KonradWalsh](https://community.homey.app/u/KonradWalsh)\
**Replies:** 16\
**Last updated:** [June 5, 2020, 8:29am UTC](https://community.homey.app/t/bounty-120-visonic-sdk-v2-compatibility-work/5242 "2020-06-05T08:29:07Z")

</div>

I am hoping with this thread to provide the motivation for @nlrb to upgrade the Visonic app. He did a great job creating it. Now, it would be great for it to work with SDK v2. I have no idea how much work is involved, b…

---

## [Easy to write basic APP: Fireplace: Has WIFI remote](https://community.homey.app/t/easy-to-write-basic-app-fireplace-has-wifi-remote/30128)

<div class="topic-metadata">

**Author:** [@Wayne\_Holly](https://community.homey.app/u/Wayne_Holly)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 4:53am UTC](https://community.homey.app/t/easy-to-write-basic-app-fireplace-has-wifi-remote/30128 "2020-05-22T04:53:31Z")

</div>

Wanting to try and write a basic app for the Modern Flames Wifi remote - for my Fireplace. Most important is turning it on and off via Homey Can this be done quickly and easily??

---

## [Calling an external service and receiving the Response in a variable?](https://community.homey.app/t/calling-an-external-service-and-receiving-the-response-in-a-variable/12445)

<div class="topic-metadata">

**Author:** [@Jef\_van\_Leeuwen](https://community.homey.app/u/Jef_van_Leeuwen)\
**Replies:** 48\
**Last updated:** [May 18, 2020, 10:57am UTC](https://community.homey.app/t/calling-an-external-service-and-receiving-the-response-in-a-variable/12445 "2020-05-18T10:57:50Z")

</div>

a HTTP (POST) call in any browser to a external service returns the data (unixdate, Kelvin-temperatures and the moisture for a specific area i am interested in. I want to make the call once or twice a day and put the re…

---

## [Flows gets deleted from app.json](https://community.homey.app/t/flows-gets-deleted-from-app-json/29176)

<div class="topic-metadata">

**Author:** [@Carlo\_Hermus](https://community.homey.app/u/Carlo_Hermus)\
**Replies:** 3\
**Last updated:** [May 1, 2020, 1:24pm UTC](https://community.homey.app/t/flows-gets-deleted-from-app-json/29176 "2020-05-01T13:24:43Z")

</div>

Hi, I am justing starting a little development trials on my homey, but get some weird things (at least to me). Could not find a solutions on the forum and the documentation is poor (sorry). I just started a new app to t…

---

## [Get all devices of own app](https://community.homey.app/t/get-all-devices-of-own-app/29056)

<div class="topic-metadata">

**Author:** [@MadMonkey](https://community.homey.app/u/MadMonkey)\
**Replies:** 1\
**Last updated:** [April 28, 2020, 2:14pm UTC](https://community.homey.app/t/get-all-devices-of-own-app/29056 "2020-04-28T14:14:09Z")

</div>

I need to get all devices of my own app, is there any way to retrieve and even update them?

---

## [Door Sensor Problem](https://community.homey.app/t/door-sensor-problem/29022)

<div class="topic-metadata">

**Author:** [@FreekV](https://community.homey.app/u/FreekV)\
**Replies:** 1\
**Last updated:** [April 27, 2020, 6:05pm UTC](https://community.homey.app/t/door-sensor-problem/29022 "2020-04-27T18:05:24Z")

</div>

Hallo, I have made a update for the vision app. I have 2 doorsensor ZD2102-5. Sometimes the sensor is slow or doesnt send a message to homey. Can anyone help me to solve this. Maybe change the code that i have. I have …

---

## [How the hell do I login to the API?](https://community.homey.app/t/how-the-hell-do-i-login-to-the-api/28980)

<div class="topic-metadata">

**Author:** [@Bento1](https://community.homey.app/u/Bento1)\
**Replies:** 5\
**Last updated:** [April 26, 2020, 2:03pm UTC](https://community.homey.app/t/how-the-hell-do-i-login-to-the-api/28980 "2020-04-26T14:03:05Z")

</div>

I am trying to create a Siri Shortcut which calls an URL to open my curtains powered by a Brel motor. Homewizard massively failed at this so I bought the Homey a few weeks ago. Now, by pulling the token from the Homey D…

---

## [Homeyduino to control a Flatlift TV lift (dual relay and a switch sensor)](https://community.homey.app/t/homeyduino-to-control-a-flatlift-tv-lift-dual-relay-and-a-switch-sensor/28342)

<div class="topic-metadata">

**Author:** [@OH2TH](https://community.homey.app/u/OH2TH)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 6:59am UTC](https://community.homey.app/t/homeyduino-to-control-a-flatlift-tv-lift-dual-relay-and-a-switch-sensor/28342 "2020-04-14T06:59:30Z")

</div>

Here is an ESP8266 Wifi enabled Homey device to control two relays and has an input for a switch. In my usecase I use this for a TV lift that has two trigger inputs for UP/DOWN control. I also added an external micro sw…

---

## [HDL Lighting](https://community.homey.app/t/hdl-lighting/825)

<div class="topic-metadata">

**Author:** [@Robert\_Kurti](https://community.homey.app/u/Robert_Kurti)\
**Replies:** 28\
**Last updated:** [April 13, 2020, 7:54am UTC](https://community.homey.app/t/hdl-lighting/825 "2020-04-13T07:54:43Z")

</div>

Hi, I was wondering if anyone is working on a integration for HDL System https://www.hdlautomation.com? Or if there is any developer that would like to create this integration for us? We’re few colleges that have recen…

---

## [Cli - oauth install failure](https://community.homey.app/t/cli-oauth-install-failure/27796)

<div class="topic-metadata">

**Author:** [@Marc\_A](https://community.homey.app/u/Marc_A)\
**Replies:** 1\
**Last updated:** [April 1, 2020, 6:25am UTC](https://community.homey.app/t/cli-oauth-install-failure/27796 "2020-04-01T06:25:21Z")

</div>

can somebody tell me what the failure is ?? ! image|690x387

---

## [Z-Wave to Systemair HVAC Adapter](https://community.homey.app/t/z-wave-to-systemair-hvac-adapter/26518)

<div class="topic-metadata">

**Author:** [@Jan\_Erik\_Strandenes](https://community.homey.app/u/Jan_Erik_Strandenes)\
**Replies:** 5\
**Last updated:** [March 29, 2020, 1:09pm UTC](https://community.homey.app/t/z-wave-to-systemair-hvac-adapter/26518 "2020-03-29T13:09:49Z")

</div>

Hi. Is there a way that i can connect this to Homey? Or do i have to request for making an app? Best regards Jan erik

---

## [Custom capability button with custom icon](https://community.homey.app/t/custom-capability-button-with-custom-icon/26988)

<div class="topic-metadata">

**Author:** [@Kaoh](https://community.homey.app/u/Kaoh)\
**Replies:** 5\
**Last updated:** [March 11, 2020, 9:28am UTC](https://community.homey.app/t/custom-capability-button-with-custom-icon/26988 "2020-03-11T09:28:40Z")

</div>

Hey all, I am working on a xbox companion app right now. I implemented a list of custom buttons to enable controller buttons (nexus, dpad and xyab). They are working on the device but I really want to give them the prop…

---

## [Mismatched\_build\_version error when publishing app to the store](https://community.homey.app/t/mismatched-build-version-error-when-publishing-app-to-the-store/26215)

<div class="topic-metadata">

**Author:** [@MrDutchfighter](https://community.homey.app/u/MrDutchfighter)\
**Replies:** 1\
**Last updated:** [March 10, 2020, 11:32pm UTC](https://community.homey.app/t/mismatched-build-version-error-when-publishing-app-to-the-store/26215 "2020-03-10T23:32:03Z")

</div>

Hi all, I have a question and already mailed support@athom.com but haven’t got any reply yet. Does anyone know how I can resolve the error " mismatched\_build\_version " after publishing the app to the store? I used the h…

---

## [api.notifications.getNotifications()](https://community.homey.app/t/api-notifications-getnotifications/26901)

<div class="topic-metadata">

**Author:** [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Replies:** 0\
**Last updated:** [March 8, 2020, 11:54pm UTC](https://community.homey.app/t/api-notifications-getnotifications/26901 "2020-03-08T23:54:10Z")

</div>

Hi, I’m trying to read all notifications in my app, but get a permission denied. Anyone know what I’m doing wrong? I’m simply using the api to access the notifications: async getNotifications() { const api = await …

---

## [Can't get "setTimeout()" to work (SOLVED!)](https://community.homey.app/t/cant-get-settimeout-to-work-solved/26871)

<div class="topic-metadata">

**Author:** [@Hans-Kristian\_Berg](https://community.homey.app/u/Hans-Kristian_Berg)\
**Replies:** 4\
**Last updated:** [March 8, 2020, 12:07pm UTC](https://community.homey.app/t/cant-get-settimeout-to-work-solved/26871 "2020-03-08T12:07:07Z")

</div>

Using script example “Say.js” as template… // Say Something function talk() { say(“I am Homey, and this is written in HomeyScript!”); } //END Talk setTimeout(talk, 5000); Console output: " Script Error: setTimeou…

---

## [Xiaomi cannot add wireless switch etc etc from homey pro](https://community.homey.app/t/xiaomi-cannot-add-wireless-switch-etc-etc-from-homey-pro/26862)

<div class="topic-metadata">

**Author:** [@Calfred\_Lor](https://community.homey.app/u/Calfred_Lor)\
**Replies:** 1\
**Last updated:** [March 8, 2020, 8:28am UTC](https://community.homey.app/t/xiaomi-cannot-add-wireless-switch-etc-etc-from-homey-pro/26862 "2020-03-08T08:28:14Z")

</div>

i have 2 homey , 1 is homey and 1 is homey pro. both at 2 different house . for homey i able to add mi gateway and able to connect to stuff like wireless switches etc by using xiaomi mi home. i just have to click add de…

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

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