# Developers

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

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

**Page:** 19

---

## [Filter flows by platform hardware version](https://community.homey.app/t/filter-flows-by-platform-hardware-version/76113)

<div class="topic-metadata">

**Author:** [@OH2TH](https://community.homey.app/u/OH2TH)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 4:11am UTC](https://community.homey.app/t/filter-flows-by-platform-hardware-version/76113 "2023-02-07T04:11:11Z")

</div>

I’m almost sure I read somewhere that there is a way to filter flow cards to show them only on specific hardware versions. Similar to that I can filter flows per device driver, I would like to filter flows to those of H…

---

## [How to get and execute TriggerCard with Argument?](https://community.homey.app/t/how-to-get-and-execute-triggercard-with-argument/75949)

<div class="topic-metadata">

**Author:** [@bwa](https://community.homey.app/u/bwa)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 6:30am UTC](https://community.homey.app/t/how-to-get-and-execute-triggercard-with-argument/75949 "2023-02-03T06:30:27Z")

</div>

Hi. Have an Homey App in development and want to add a trigger card with argument, but struggle to understand how to get and execute only the triggers that shall trigger based on the argument from my code, so I can disp…

---

## [Publish App for personal use in the Cloud without beeing a Verified Developer](https://community.homey.app/t/publish-app-for-personal-use-in-the-cloud-without-beeing-a-verified-developer/75854)

<div class="topic-metadata">

**Author:** [@christerjt](https://community.homey.app/u/christerjt)\
**Replies:** 1\
**Last updated:** [January 31, 2023, 7:24pm UTC](https://community.homey.app/t/publish-app-for-personal-use-in-the-cloud-without-beeing-a-verified-developer/75854 "2023-01-31T19:24:14Z")

</div>

Is it possible to develop and use an app in the cloud for personal use without beeing a verified developer? I have developed an app for Homey Bridge/Cloud. I can run it om my PC, but to use it without having the PC runn…

---

## [Adding back change flow triggers on internal capabilities](https://community.homey.app/t/adding-back-change-flow-triggers-on-internal-capabilities/75688)

<div class="topic-metadata">

**Author:** [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Replies:** 3\
**Last updated:** [January 28, 2023, 7:26pm UTC](https://community.homey.app/t/adding-back-change-flow-triggers-on-internal-capabilities/75688 "2023-01-28T19:26:11Z")

</div>

I like to use the internal default capabilities like measure\_power and it sub ones like measure\_power.export etc on my smpl display, that is not so hard if I only add measure\_power to capabilities on my sdk 3 app. then p…

---

## [Add multiple devices with oAuth2 authorization](https://community.homey.app/t/add-multiple-devices-with-oauth2-authorization/75637)

<div class="topic-metadata">

**Author:** [@ThaYoung1](https://community.homey.app/u/ThaYoung1)\
**Replies:** 2\
**Last updated:** [January 27, 2023, 8:50pm UTC](https://community.homey.app/t/add-multiple-devices-with-oauth2-authorization/75637 "2023-01-27T20:50:47Z")

</div>

I am developing a Homey App for Strava (https://www.strava.com/) which I want to publish in the App store after finishing it. I have created code that automatically adds a webhook and subscription so I can receive event…

---

## [Homeyscript reduce gives strange result](https://community.homey.app/t/homeyscript-reduce-gives-strange-result/75657)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 2\
**Last updated:** [January 27, 2023, 3:00pm UTC](https://community.homey.app/t/homeyscript-reduce-gives-strange-result/75657 "2023-01-27T15:00:08Z")

</div>

When i try this simple script var array1 = global.get('waterContractPeriodMonth') console.log('contractPeriodMonth is: ' +array1) tmp = array1.reduce((partialSum, a) =\> partialSum + a, 0); console.log(' counting contrac…

---

## [Hot reload/Watch mode](https://community.homey.app/t/hot-reload-watch-mode/75652)

<div class="topic-metadata">

**Author:** [@Mackelito](https://community.homey.app/u/Mackelito)\
**Replies:** 5\
**Last updated:** [January 27, 2023, 12:28pm UTC](https://community.homey.app/t/hot-reload-watch-mode/75652 "2023-01-27T12:28:25Z")

</div>

When developing a app, is there support for hot reload? Stopping and starting is just to time consuming :grimacing::smile:

---

## [Updating data property of devices](https://community.homey.app/t/updating-data-property-of-devices/75497)

<div class="topic-metadata">

**Author:** [@SlicingHaunt](https://community.homey.app/u/SlicingHaunt)\
**Replies:** 2\
**Last updated:** [January 26, 2023, 8:13am UTC](https://community.homey.app/t/updating-data-property-of-devices/75497 "2023-01-26T08:13:20Z")

</div>

I am currently working on a update for the Asus WRT app I have in the store, and I made a mistake a couple of months ago regarding the data object. I am unable to find anything regarding ‘setData’ to migrate current dev…

---

## [Can I use ES Modules?](https://community.homey.app/t/can-i-use-es-modules/75540)

<div class="topic-metadata">

**Author:** [@Kraineff](https://community.homey.app/u/Kraineff)\
**Replies:** 6\
**Last updated:** [January 26, 2023, 6:45am UTC](https://community.homey.app/t/can-i-use-es-modules/75540 "2023-01-26T06:45:35Z")

</div>

Is it possible to use ES Modules and how?

---

## [HTTP 500 on set capability via rest API](https://community.homey.app/t/http-500-on-set-capability-via-rest-api/75579)

<div class="topic-metadata">

**Author:** [@fvrdam](https://community.homey.app/u/fvrdam)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 6:47pm UTC](https://community.homey.app/t/http-500-on-set-capability-via-rest-api/75579 "2023-01-25T18:47:43Z")

</div>

I’m writing python code to interact with Homey through the oauth web API. All works up to the point where I want tot set a value for a device. def set\_target\_temp(self, ts, temp): if self.use\_bearer(): …

---

## [Homeyscript and lodash](https://community.homey.app/t/homeyscript-and-lodash/75323)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 2\
**Last updated:** [January 19, 2023, 9:54pm UTC](https://community.homey.app/t/homeyscript-and-lodash/75323 "2023-01-19T21:54:14Z")

</div>

I am trying to use lodash. But i am stuck how to rewrite a bit of my script. is someone willing to show me how to rewrite this peace of code.? That way hopefully i can sorten out the rest. var count = 0; var number = 0…

---

## [Writing bluetooth LE app](https://community.homey.app/t/writing-bluetooth-le-app/75280)

<div class="topic-metadata">

**Author:** [@Mark\_Buikema](https://community.homey.app/u/Mark_Buikema)\
**Replies:** 1\
**Last updated:** [January 19, 2023, 6:51am UTC](https://community.homey.app/t/writing-bluetooth-le-app/75280 "2023-01-19T06:51:23Z")

</div>

I want to write an app for my extraction hood (Airodesign Estrella). It has a remote that communicates with the extraction hood using Bluetooth LE. I have opened the remote and it has a “u-blox nina B112” bluetooth modu…

---

## [How to: Integrate a "Homey-App Logger" to your App, for a simple global logger in homey](https://community.homey.app/t/how-to-integrate-a-homey-app-logger-to-your-app-for-a-simple-global-logger-in-homey/10257)

<div class="topic-metadata">

**Author:** [@ChrisG](https://community.homey.app/u/ChrisG)\
**Replies:** 5\
**Last updated:** [January 17, 2023, 9:43am UTC](https://community.homey.app/t/how-to-integrate-a-homey-app-logger-to-your-app-for-a-simple-global-logger-in-homey/10257 "2023-01-17T09:43:46Z")

</div>

During the development of my new Homey-App S.A.R.A.H, I came across a simple solution for the topic “Global-Log”. The respective app-developer only has to integrate a few lines of code into his app and the app-user has t…

---

## [How to perform mDNS discovery](https://community.homey.app/t/how-to-perform-mdns-discovery/72784)

<div class="topic-metadata">

**Author:** [@OH2TH](https://community.homey.app/u/OH2TH)\
**Replies:** 9\
**Last updated:** [January 16, 2023, 6:35pm UTC](https://community.homey.app/t/how-to-perform-mdns-discovery/72784 "2023-01-16T18:35:02Z")

</div>

I’ve been reading through the documentation Discovery - Homey Apps SDK to set up discovery of devices, I can see the device advertise itself with avahi-browse: oh2th@pi ~: avahi-browse -r \_go-e\_go-eCharger\_V4.\_tcp ho…

---

## [Homeyscript variable gets filled with text instead of value](https://community.homey.app/t/homeyscript-variable-gets-filled-with-text-instead-of-value/75156)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 2\
**Last updated:** [January 16, 2023, 1:05pm UTC](https://community.homey.app/t/homeyscript-variable-gets-filled-with-text-instead-of-value/75156 "2023-01-16T13:05:46Z")

</div>

var waterContractPeriodIndex = global.get('waterContractPeriodIndex'); console.log('waterContractPeriodIndex is: '+waterContractPeriodIndex) var powerContractPeriodIndex = global.get('powerContractPeriodIndex') console.l…

---

## [Beginner wanting to learn](https://community.homey.app/t/beginner-wanting-to-learn/25864)

<div class="topic-metadata">

**Author:** [@BjornNilsson](https://community.homey.app/u/BjornNilsson)\
**Replies:** 5\
**Last updated:** [January 15, 2023, 10:56pm UTC](https://community.homey.app/t/beginner-wanting-to-learn/25864 "2023-01-15T22:56:47Z")

</div>

Hi, I started using Homey recently so Im a new user, Ive added some things to my Homey and started some automations. Ive recently ordered some items that I would like to integrate with Homey, altough it doesnt have its…

---

## [@Developers: can I filter / search on specific card types?](https://community.homey.app/t/developers-can-i-filter-search-on-specific-card-types/75131)

<div class="topic-metadata">

**Author:** [@FKey](https://community.homey.app/u/FKey)\
**Replies:** 0\
**Last updated:** [January 15, 2023, 5:52pm UTC](https://community.homey.app/t/developers-can-i-filter-search-on-specific-card-types/75131 "2023-01-15T17:52:06Z")

</div>

@developers Is it possible to filter / search on specific card types? My app has 2 types of cards I would like to be able to search / filter for all flows that have one of the types? In the apps section of the app …

---

## [Homeyscrip findLast() doesn't work](https://community.homey.app/t/homeyscrip-findlast-doesnt-work/75090)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 4\
**Last updated:** [January 15, 2023, 3:43am UTC](https://community.homey.app/t/homeyscrip-findlast-doesnt-work/75090 "2023-01-15T03:43:42Z")

</div>

const array1 = \[5, 12, 50, 130, 44\]; const found = array1.findLast((element) =\> element \> 45); console.log(found); i want to find a number, from the last index on to the first index. Copied this from the internet but …

---

## [How to use a wildcard for a device capability](https://community.homey.app/t/how-to-use-a-wildcard-for-a-device-capability/74925)

<div class="topic-metadata">

**Author:** [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Replies:** 0\
**Last updated:** [January 11, 2023, 2:11pm UTC](https://community.homey.app/t/how-to-use-a-wildcard-for-a-device-capability/74925 "2023-01-11T14:11:50Z")

</div>

Hi guys, I can’t get my head around this. I have this piece of HS code and, next to other data, I want to return the lastUpdated timestamp. That works, but only for one capability (and I have three): invalidatedDevices…

---

## [How to find some text in a string using Homey script?](https://community.homey.app/t/how-to-find-some-text-in-a-string-using-homey-script/75096)

<div class="topic-metadata">

**Author:** [@B3rt](https://community.homey.app/u/B3rt)\
**Replies:** 0\
**Last updated:** [January 14, 2023, 8:26pm UTC](https://community.homey.app/t/how-to-find-some-text-in-a-string-using-homey-script/75096 "2023-01-14T20:26:25Z")

</div>

I am looking for a solution to find a specific value which is stored in a logic value text string. My logic value text string is name: film\_zenders and it contains a list of film channels: ‘Film sky\_cinema play\_more am…

---

## [Tp link router](https://community.homey.app/t/tp-link-router/74857)

<div class="topic-metadata">

**Author:** [@Matthieu\_Moreau](https://community.homey.app/u/Matthieu_Moreau)\
**Replies:** 0\
**Last updated:** [January 10, 2023, 8:12am UTC](https://community.homey.app/t/tp-link-router/74857 "2023-01-10T08:12:05Z")

</div>

Hello, Is there an app to send sms via a TP Link router, I can do it from Jeedom? Thanks

---

## [Who has Homey version 10.0.0.rc.8?](https://community.homey.app/t/who-has-homey-version-10-0-0-rc-8/74810)

<div class="topic-metadata">

**Author:** [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Replies:** 2\
**Last updated:** [January 9, 2023, 12:10pm UTC](https://community.homey.app/t/who-has-homey-version-10-0-0-rc-8/74810 "2023-01-09T12:10:19Z")

</div>

Does Athom, @Emile or any dev has the new Homey? I am getting a lott of errors from some devices running Homey v 10.0.0.rc.8. Wondering what is could be? :thinking: :slight\_smile: Testing the new fireware before relea…

---

## [Unregister a FlowCardTriggerDevice.trigger](https://community.homey.app/t/unregister-a-flowcardtriggerdevice-trigger/74721)

<div class="topic-metadata">

**Author:** [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Replies:** 6\
**Last updated:** [January 8, 2023, 10:01am UTC](https://community.homey.app/t/unregister-a-flowcardtriggerdevice-trigger/74721 "2023-01-08T10:01:09Z")

</div>

Hi, In my Device.js I use the following code: const someTrigger = this.homey.flow.getDeviceTriggerCard('some\_capability'); But as soon as my device is deleted I begin getting errors like \[err\] 2023-01-07 16:51:28 Unh…

---

## [Homeyscript start a "Then" flow](https://community.homey.app/t/homeyscript-start-a-then-flow/74679)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 13\
**Last updated:** [January 7, 2023, 12:15pm UTC](https://community.homey.app/t/homeyscript-start-a-then-flow/74679 "2023-01-07T12:15:38Z")

</div>

For Homeyscript I want to activate two flows at the THEN part. The app MQTT Hub has the possibility at the THEN part for “Trigger Broadcast”, and Homey System has the possibility at the THEN part for “Restart an App” MQT…

---

## [setCameraImage](https://community.homey.app/t/setcameraimage/74369)

<div class="topic-metadata">

**Author:** [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Replies:** 4\
**Last updated:** [December 31, 2022, 3:25pm UTC](https://community.homey.app/t/setcameraimage/74369 "2022-12-31T15:25:14Z")

</div>

I am doing something wrong, but I can’t seem to find enough information in the SDK documentation to get it right. I have a device and I need it to display an image. I found the setCameraImage function to be the only pos…

---

## [Homeyscript and storage of variables](https://community.homey.app/t/homeyscript-and-storage-of-variables/50772)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 27\
**Last updated:** [December 29, 2022, 10:36am UTC](https://community.homey.app/t/homeyscript-and-storage-of-variables/50772 "2022-12-29T10:36:31Z")

</div>

Is there a way to store your variables on your own server. I know you can store them with better logic. That is a solution. For my purposes i want to store them on my Synology server, and also retrieve them from my serve…

---

## [Is it possible to set the custom capability max value dynamically from the driver?](https://community.homey.app/t/is-it-possible-to-set-the-custom-capability-max-value-dynamically-from-the-driver/74102)

<div class="topic-metadata">

**Author:** [@OH2TH](https://community.homey.app/u/OH2TH)\
**Replies:** 1\
**Last updated:** [December 25, 2022, 3:17pm UTC](https://community.homey.app/t/is-it-possible-to-set-the-custom-capability-max-value-dynamically-from-the-driver/74102 "2022-12-25T15:17:56Z")

</div>

For a capability for current\_limit the target device can be configured in hardware for 16A or 32A in addition depending on connected cable type, it may change to for example 20A. { "type": "number", "title": { …

---

## [Custom pairing to configure device IP address](https://community.homey.app/t/custom-pairing-to-configure-device-ip-address/73920)

<div class="topic-metadata">

**Author:** [@OH2TH](https://community.homey.app/u/OH2TH)\
**Replies:** 3\
**Last updated:** [December 21, 2022, 5:04pm UTC](https://community.homey.app/t/custom-pairing-to-configure-device-ip-address/73920 "2022-12-21T17:04:32Z")

</div>

Some how I am not getting Custom Pairing to work following the instructions by Homey: driver.compose.json has: "pair": \[ { "id": "manual\_pairing" } \] and that triggers correctly pair/manual\_pairing…

---

## [Js partly reduce two arrays](https://community.homey.app/t/js-partly-reduce-two-arrays/73674)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 7\
**Last updated:** [December 20, 2022, 3:32pm UTC](https://community.homey.app/t/js-partly-reduce-two-arrays/73674 "2022-12-20T15:32:00Z")

</div>

I have two arrays: arr1 = \[60,70,80,80,100,110,120,130,140,150,100,120\] arr2 = \[60,70,80,80,100,110,120,130,140,150,100,120\] I want to count those arrays, but… in case the initial mont in my script is 8, array1 has to…

---

## [getToken for Flows not working](https://community.homey.app/t/gettoken-for-flows-not-working/73834)

<div class="topic-metadata">

**Author:** [@Neil\_Alford](https://community.homey.app/u/Neil_Alford)\
**Replies:** 4\
**Last updated:** [December 19, 2022, 1:47pm UTC](https://community.homey.app/t/gettoken-for-flows-not-working/73834 "2022-12-19T13:47:30Z")

</div>

I have been trying to use the getToken function but it fails with the error: “Unable to initialize app TypeError: this.homey.flow.getToken is not a function” I have created a very simple test case: async onInit() { …

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

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