# Developers

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

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

**Page:** 13

---

## [I'm trying to call Homey Api on my backend server. Please help](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459)

<div class="topic-metadata">

**Author:** [@Park\_YongKyu](https://community.homey.app/u/Park_YongKyu)\
**Replies:** 3\
**Last updated:** [April 4, 2024, 7:22am UTC](https://community.homey.app/t/im-trying-to-call-homey-api-on-my-backend-server-please-help/107459 "2024-04-04T07:22:39Z")

</div>

Hi I’m a beginner developer. I have a question. My backend server is a Java based spring boot server. I’m trying to call home api, but the official api document only has examples of node.js or javascript. Is it possib…

---

## [Looking for developer: Port an HomeAssistant integration to Homey Pro](https://community.homey.app/t/looking-for-developer-port-an-homeassistant-integration-to-homey-pro/107556)

<div class="topic-metadata">

**Author:** [@MagnusKO](https://community.homey.app/u/MagnusKO)\
**Replies:** 2\
**Last updated:** [April 3, 2024, 11:58am UTC](https://community.homey.app/t/looking-for-developer-port-an-homeassistant-integration-to-homey-pro/107556 "2024-04-03T11:58:56Z")

</div>

Hello, I live in a home that has a very old legacy home automation system (controls lights, AC, curtains, motion sensors). This is a closed system, but after years of digging, I have been able to control this system by …

---

## [Custom Capability Slider Shows Percentage Instead of Units and Missing Descriptions in App](https://community.homey.app/t/custom-capability-slider-shows-percentage-instead-of-units-and-missing-descriptions-in-app/107541)

<div class="topic-metadata">

**Author:** [@Peter\_Pham](https://community.homey.app/u/Peter_Pham)\
**Replies:** 1\
**Last updated:** [April 2, 2024, 3:16pm UTC](https://community.homey.app/t/custom-capability-slider-shows-percentage-instead-of-units-and-missing-descriptions-in-app/107541 "2024-04-02T15:16:19Z")

</div>

Hey all, I am struggling with making my own custom capability as my slider only show percentage and not the unit that i want. I am also not able to display either the title, hint or desc in the app. this is the from app…

---

## [Homeyscript lodash removing Quotes](https://community.homey.app/t/homeyscript-lodash-removing-quotes/75201)

<div class="topic-metadata">

**Author:** [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Replies:** 5\
**Last updated:** [April 2, 2024, 2:23am UTC](https://community.homey.app/t/homeyscript-lodash-removing-quotes/75201 "2024-04-02T02:23:47Z")

</div>

const keys = global.keys(); keys.forEach( element =\> console.log( JSON.stringify('\\/'+'\\/'+'global.set('+'\\'' +element +'\\'' +'\\,' +'undefined)' ) ) ); I am trying to remove the quotes, but i haven’t have success. I use…

---

## [Can't list flows with Homey.flow.getFlows()](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461)

<div class="topic-metadata">

**Author:** [@PacAnimal](https://community.homey.app/u/PacAnimal)\
**Replies:** 7\
**Last updated:** [March 28, 2024, 12:52am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461 "2024-03-28T00:52:54Z")

</div>

Why can’t I do this? My flows work fine when I use the app or the regular user webpage, but I can’t use this to find them, apparently.

---

## [Assistance Requested: OAuth2 Authentication for Device Integration](https://community.homey.app/t/assistance-requested-oauth2-authentication-for-device-integration/107052)

<div class="topic-metadata">

**Author:** [@ab14](https://community.homey.app/u/ab14)\
**Replies:** 1\
**Last updated:** [March 25, 2024, 7:56pm UTC](https://community.homey.app/t/assistance-requested-oauth2-authentication-for-device-integration/107052 "2024-03-25T19:56:23Z")

</div>

Dear Homey Community Members, I am currently developing a Homey app intended for device integration, which requires implementing OAuth2 authentication. The process, particularly around user login and token acquisition, …

---

## [Multiple onoff capabilities](https://community.homey.app/t/multiple-onoff-capabilities/106850)

<div class="topic-metadata">

**Author:** [@Johan\_Rossouw](https://community.homey.app/u/Johan_Rossouw)\
**Replies:** 1\
**Last updated:** [March 23, 2024, 6:08am UTC](https://community.homey.app/t/multiple-onoff-capabilities/106850 "2024-03-23T06:08:40Z")

</div>

Hi, I am trying to write a driver for a device with multple onoff capabilities (on endpoints 1 and 2). I 1st tried to register the capabilities as: "capabilities": \[ "onoff.pump", "onoff.valve", ... and the…

---

## [Using HomeyPro with Python](https://community.homey.app/t/using-homeypro-with-python/105497)

<div class="topic-metadata">

**Author:** [@Fayzul\_Islam](https://community.homey.app/u/Fayzul_Islam)\
**Replies:** 5\
**Last updated:** [March 19, 2024, 8:24am UTC](https://community.homey.app/t/using-homeypro-with-python/105497 "2024-03-19T08:24:08Z")

</div>

Hello! I recently purchased a HomeyPro and I would like to use it with a custom Python script to control the devices connected to it. I noticed that there are web API options available, but I’m not sure where to start. C…

---

## [Production forecast](https://community.homey.app/t/production-forecast/106551)

<div class="topic-metadata">

**Author:** [@Estibaliz\_Ibanez](https://community.homey.app/u/Estibaliz_Ibanez)\
**Replies:** 0\
**Last updated:** [March 18, 2024, 12:43pm UTC](https://community.homey.app/t/production-forecast/106551 "2024-03-18T12:43:34Z")

</div>

Hi, We have a sonnen sonnenBatterie 10 performance. In order to improve the distribution of periods of time of use, I would like to obtain solar production data with the API v2. We can see the production forecast in t…

---

## [Logout oauth2](https://community.homey.app/t/logout-oauth2/105658)

<div class="topic-metadata">

**Author:** [@julianao](https://community.homey.app/u/julianao)\
**Replies:** 4\
**Last updated:** [March 13, 2024, 12:12pm UTC](https://community.homey.app/t/logout-oauth2/105658 "2024-03-13T12:12:07Z")

</div>

I am trying to implement a logout function using the homey-oauth2app in a Homey app. The documentation isn’t clear on this, and I can’t find relevant Homey-specific guidance. Has anyone here dealt with this before? Any …

---

## [Could not trigger Flow card with id "\*\*\*": expected device to be an instance of Homey.Device](https://community.homey.app/t/could-not-trigger-flow-card-with-id-expected-device-to-be-an-instance-of-homey-device/105660)

<div class="topic-metadata">

**Author:** [@Peter\_Pham](https://community.homey.app/u/Peter_Pham)\
**Replies:** 2\
**Last updated:** [March 13, 2024, 12:10pm UTC](https://community.homey.app/t/could-not-trigger-flow-card-with-id-expected-device-to-be-an-instance-of-homey-device/105660 "2024-03-13T12:10:22Z")

</div>

I’m developing a Homey app and encountering a peculiar issue when trying to trigger a flow card that involves a device instance. Despite ensuring that the device is correctly recognized as an instance of Homey.Device (co…

---

## [Homey App listening to a port: EADDRNOTAVAIL](https://community.homey.app/t/homey-app-listening-to-a-port-eaddrnotavail/106048)

<div class="topic-metadata">

**Author:** [@Ralf\_Peters](https://community.homey.app/u/Ralf_Peters)\
**Replies:** 9\
**Last updated:** [March 11, 2024, 2:43pm UTC](https://community.homey.app/t/homey-app-listening-to-a-port-eaddrnotavail/106048 "2024-03-11T14:43:18Z")

</div>

I get an error ‘EADDRNOTAVAIL’ when I try to listen to a port on homey. I tried all addresses of homey (ip4,ip6), but ended up always with the same result. error message:-------------------------------------------------…

---

## [Toggle capability name is missing on the web while it works fine on mobile](https://community.homey.app/t/toggle-capability-name-is-missing-on-the-web-while-it-works-fine-on-mobile/106054)

<div class="topic-metadata">

**Author:** [@Denys\_Kravtsov](https://community.homey.app/u/Denys_Kravtsov)\
**Replies:** 0\
**Last updated:** [March 11, 2024, 2:37pm UTC](https://community.homey.app/t/toggle-capability-name-is-missing-on-the-web-while-it-works-fine-on-mobile/106054 "2024-03-11T14:37:03Z")

</div>

Hi! I’ve encountered an issue related to the Homey toggle capability name. My application has only one toggle, which is displayed on a separate tab on the capabilities screen. On mobile, it works fine, and I can see the…

---

## [LG SmartThinQ app anyone?](https://community.homey.app/t/lg-smartthinq-app-anyone/55654)

<div class="topic-metadata">

**Author:** [@Hossam](https://community.homey.app/u/Hossam)\
**Replies:** 20\
**Last updated:** [March 10, 2024, 10:36am UTC](https://community.homey.app/t/lg-smartthinq-app-anyone/55654 "2024-03-10T10:36:18Z")

</div>

any apps or flow for LG SmartThinQ (not just for TV, but air purifier and other devices) can I connect LG air purifier with Homey and build flows to switch off when windows/doors are open for 1 minute ?

---

## [Discovery works only on first atempt?](https://community.homey.app/t/discovery-works-only-on-first-atempt/105695)

<div class="topic-metadata">

**Author:** [@Sharkys](https://community.homey.app/u/Sharkys)\
**Replies:** 2\
**Last updated:** [March 7, 2024, 5:15pm UTC](https://community.homey.app/t/discovery-works-only-on-first-atempt/105695 "2024-03-07T17:15:08Z")

</div>

Already asked on Slack but didn’t get much help - I’m trying to extend existing TP/LINK Kasa app with HS300 multi-socket power strip and have problems with discovery phase (it’s using discovery methods from tplink-smarth…

---

## [Troubleshooting Homey Flow Trigger Card with New Wallbox Capability Values](https://community.homey.app/t/troubleshooting-homey-flow-trigger-card-with-new-wallbox-capability-values/104959)

<div class="topic-metadata">

**Author:** [@Manar\_Alkassam](https://community.homey.app/u/Manar_Alkassam)\
**Replies:** 3\
**Last updated:** [March 7, 2024, 2:01pm UTC](https://community.homey.app/t/troubleshooting-homey-flow-trigger-card-with-new-wallbox-capability-values/104959 "2024-03-07T14:01:50Z")

</div>

I’ve expanded the capabilities of the wallbox project by introducing new features and incorporating additional flow trigger cards. Currently, when the value of the new capability changes, the associated flow trigger card…

---

## [SimpleLogApp API for Homey-Developers](https://community.homey.app/t/simplelogapp-api-for-homey-developers/105634)

<div class="topic-metadata">

**Author:** [@ChrisG](https://community.homey.app/u/ChrisG)\
**Replies:** 2\
**Last updated:** [March 5, 2024, 11:30pm UTC](https://community.homey.app/t/simplelogapp-api-for-homey-developers/105634 "2024-03-05T23:30:28Z")

</div>

Coming soon

---

## [Homey CLI CI/CD publising](https://community.homey.app/t/homey-cli-ci-cd-publising/103976)

<div class="topic-metadata">

**Author:** [@julianao](https://community.homey.app/u/julianao)\
**Replies:** 2\
**Last updated:** [March 4, 2024, 11:15am UTC](https://community.homey.app/t/homey-cli-ci-cd-publising/103976 "2024-03-04T11:15:34Z")

</div>

Hi, I am looking into automating my Homey app publishing process using a CI/CD pipeline in Azure DevOps The main challenge I’ve encountered is automating the homey login step. As you might know, the standard login proc…

---

## [Modifying nl.aldi app for new signal](https://community.homey.app/t/modifying-nl-aldi-app-for-new-signal/11946)

<div class="topic-metadata">

**Author:** [@Leo838](https://community.homey.app/u/Leo838)\
**Replies:** 8\
**Last updated:** [March 3, 2024, 9:01am UTC](https://community.homey.app/t/modifying-nl-aldi-app-for-new-signal/11946 "2024-03-03T09:01:38Z")

</div>

Hello all, I’ve come up with a signal definition for some Lidl TR-502MSV 433 remote sockets. I’m trying to modify the https://github.com/athombv/nl.aldi app with this new signal but having issues pairing the remote. I …

---

## [Delete homey.device](https://community.homey.app/t/delete-homey-device/104565)

<div class="topic-metadata">

**Author:** [@julianao](https://community.homey.app/u/julianao)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 3:38pm UTC](https://community.homey.app/t/delete-homey-device/104565 "2024-02-29T15:38:44Z")

</div>

Is there a way to delete a device programmatically in Homey app code? Need to remove devices under certain conditions without user action.

---

## [Build tests for drivers](https://community.homey.app/t/build-tests-for-drivers/104672)

<div class="topic-metadata">

**Author:** [@sorted.bits](https://community.homey.app/u/sorted.bits)\
**Replies:** 1\
**Last updated:** [February 23, 2024, 8:47am UTC](https://community.homey.app/t/build-tests-for-drivers/104672 "2024-02-23T08:47:29Z")

</div>

I have been building a couple of Homey apps at this time and the SDK is pretty fun, but I am lacking a chapter called ‘testing’ in the documentation. For the more complex apps, I am able to extract my most of my code fr…

---

## [Same device on two app's (on 2 different Homey's)](https://community.homey.app/t/same-device-on-two-apps-on-2-different-homeys/104540)

<div class="topic-metadata">

**Author:** [@Jan-Ivar\_Boyum](https://community.homey.app/u/Jan-Ivar_Boyum)\
**Replies:** 4\
**Last updated:** [February 21, 2024, 11:52am UTC](https://community.homey.app/t/same-device-on-two-apps-on-2-different-homeys/104540 "2024-02-21T11:52:24Z")

</div>

Does anyone know if it is possible to have the same Device on 2 different apps running on 2 Homey’s. It doesn’t seem to be working. The reason I do this is because I bought a new Homey and modernizes an app and testing i…

---

## [Homey.ink on a tablet/desktop](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443)

<div class="topic-metadata">

**Author:** [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Replies:** 748\
**Last updated:** [February 21, 2024, 1:36am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443 "2024-02-21T01:36:02Z")

</div>

All about Homey.ink on a tablet or desktop. To run it locally (source from github): npm i -g serve git clone https://github.com/athombv/homey.ink.git cd homey.ink serve -p 5000 app U can also download the files from g…

---

## [Any trick to get "local" variables for a flow?](https://community.homey.app/t/any-trick-to-get-local-variables-for-a-flow/104307)

<div class="topic-metadata">

**Author:** [@vletroye](https://community.homey.app/u/vletroye)\
**Replies:** 2\
**Last updated:** [February 20, 2024, 6:22pm UTC](https://community.homey.app/t/any-trick-to-get-local-variables-for-a-flow/104307 "2024-02-20T18:22:56Z")

</div>

Hello, As far as I got it properly, variables that are defined in flows are global (shared among all flows) I tried to find information on this forum to create “local variables” for my flows, I.e.: variables which wo…

---

## [Is there any way to make custom UI component type?](https://community.homey.app/t/is-there-any-way-to-make-custom-ui-component-type/104352)

<div class="topic-metadata">

**Author:** [@Youngmo\_Kim](https://community.homey.app/u/Youngmo_Kim)\
**Replies:** 1\
**Last updated:** [February 19, 2024, 8:57am UTC](https://community.homey.app/t/is-there-any-way-to-make-custom-ui-component-type/104352 "2024-02-19T08:57:28Z")

</div>

Is there any way to make custom UI component type? I’ve found the uiComponent list like toggle / slider / sensor / thermostat / media / color / battery / picker / ternary / button / null But what if I want to make ow…

---

## [Device vs homey.devices](https://community.homey.app/t/device-vs-homey-devices/104077)

<div class="topic-metadata">

**Author:** [@nusse1967](https://community.homey.app/u/nusse1967)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 7:03pm UTC](https://community.homey.app/t/device-vs-homey-devices/104077 "2024-02-15T19:03:03Z")

</div>

Hi. I find a Device object from it’s name, via Homey.devices.getDevices(). The object variable I call “device”. It is a switch which I would like to toggle. Now, if I use device.setCapabilityValue({ capabilityId: …

---

## [Zigbee 5 Gang Switch Tuya](https://community.homey.app/t/zigbee-5-gang-switch-tuya/102882)

<div class="topic-metadata">

**Author:** [@shahzadsk](https://community.homey.app/u/shahzadsk)\
**Replies:** 4\
**Last updated:** [February 10, 2024, 11:38pm UTC](https://community.homey.app/t/zigbee-5-gang-switch-tuya/102882 "2024-02-10T23:38:35Z")

</div>

Hi all, I’m attempting to modify existing drivers / write a new one to get this working as well with @johan\_bendz great Tuya pro app. I’m struggling to set sub-device capability to on or off. I’ve tried a few things, …

---

## [App errros spamming](https://community.homey.app/t/app-errros-spamming/103665)

<div class="topic-metadata">

**Author:** [@Kaoh](https://community.homey.app/u/Kaoh)\
**Replies:** 1\
**Last updated:** [February 10, 2024, 12:45pm UTC](https://community.homey.app/t/app-errros-spamming/103665 "2024-02-10T12:45:32Z")

</div>

HI all, I am greeted every morning by emails of crashing apps that I think are beyond my circle of influence. In general I have 3 types of app crashes that send emails to my mailbox as the developer: Please read each …

---

## [Driver inheritance](https://community.homey.app/t/driver-inheritance/88574)

<div class="topic-metadata">

**Author:** [@Baylife](https://community.homey.app/u/Baylife)\
**Replies:** 3\
**Last updated:** [February 6, 2024, 3:25pm UTC](https://community.homey.app/t/driver-inheritance/88574 "2024-02-06T15:25:09Z")

</div>

Hi yall, Been working on my first app. I have multiple drivers that have similar logic and therefore wanted to apply some inheritance to to reuse logic in a base driver. It can compile, but it aint working. Anybody go…

---

## [Driver for TUYA TS0202 Motion Sensor with Button, \["\_TZ3210\_cwamkvua"\],](https://community.homey.app/t/driver-for-tuya-ts0202-motion-sensor-with-button-tz3210-cwamkvua/102875)

<div class="topic-metadata">

**Author:** [@GD91](https://community.homey.app/u/GD91)\
**Replies:** 7\
**Last updated:** [February 5, 2024, 6:47pm UTC](https://community.homey.app/t/driver-for-tuya-ts0202-motion-sensor-with-button-tz3210-cwamkvua/102875 "2024-02-05T18:47:45Z")

</div>

Hello, I am trying to code a driver for this device. But I am not successful : I write : As I can saw in this post : Zigbee Single Gang Tuya Switch That seems correct, but I got this message when I press the butt…

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

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