# Homeyduino + miflora

**URL:** <https://community.homey.app/t/homeyduino-miflora/15084>\
**Category:** Apps\
**Tags:** app\
**Created:** [July 3, 2019, 4:19am UTC](https://community.homey.app/t/homeyduino-miflora/15084 "2019-07-03T04:19:40Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![HS64](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hs64/32/12501_2.png) [@HS64](https://community.homey.app/u/HS64)\
**Post date:** [July 3, 2019, 4:19am UTC](https://community.homey.app/t/homeyduino-miflora/15084/1 "2019-07-03T04:19:40Z")

</div>

Is it possible to add the capability „measure\_moisture“ to Homeyduino? It would be fine for getting all values of miflora via esp32.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 3, 2019, 1:46pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/2 "2019-07-03T13:46:42Z")

</div>

I don’t think it’s possible to add custom capabilities with Homeyduino. But the best way to verify this is to just try it and see if it works.

---

<div class="post-metadata">

**Author:** ![HS64](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hs64/32/12501_2.png) [@HS64](https://community.homey.app/u/HS64)\
**Post date:** [July 3, 2019, 3:03pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/3 "2019-07-03T15:03:41Z")

</div>

But is it possible to add new capabilities like „measure\_moisture“ in the node-homey-lib?

I refer to " A list of capabilities supported by Homey can be found in the developer documentation, in the reference" -\> it is specified in " Usage & getting started" with Homeyduino.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 3, 2019, 5:30pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/4 "2019-07-03T17:30:46Z")

</div>

You can only add custom (new) capabilities in the `app.json` file of an app, so only for new apps. Homeyduino is an existing app, so you can’t add custom capabilities to it.

---

<div class="post-metadata">

**Author:** ![HS64](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hs64/32/12501_2.png) [@HS64](https://community.homey.app/u/HS64)\
**Post date:** [July 3, 2019, 7:36pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/5 "2019-07-03T19:36:32Z")

</div>

Is it possible to change in an existing app a capability?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 4, 2019, 6:04am UTC](https://community.homey.app/t/homeyduino-miflora/15084/6 "2019-07-04T06:04:48Z")

</div>

If you have the code of that app, then you can add custom capabilities to it and run it using the CLI tool.

---

<div class="post-metadata">

**Author:** ![HS64](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hs64/32/12501_2.png) [@HS64](https://community.homey.app/u/HS64)\
**Post date:** [July 4, 2019, 7:56am UTC](https://community.homey.app/t/homeyduino-miflora/15084/7 "2019-07-04T07:56:16Z")

</div>

I know I’m a little exhausting, but where can I get the code for the app…or would it be possible to add a new capability to…see below?

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/ef4cd7070e440797b2b8ed363e4f6d4b9811b655.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 4, 2019, 8:01am UTC](https://community.homey.app/t/homeyduino-miflora/15084/8 "2019-07-04T08:01:30Z")

</div>

The code for the Homeyduino app is here: [https://github.com/athombv/com.athom.homeyduino](https://github.com/athombv/com.athom.homeyduino)

And that list is just a fixed list of all standard capabilities.

---

<div class="post-metadata">

**Author:** ![Chris\_Peters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_peters/32/1851_2.png) [@Chris\_Peters](https://community.homey.app/u/Chris_Peters)\
**Post date:** [January 13, 2021, 2:25pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/9 "2021-01-13T14:25:25Z")

</div>

Hi Robert, just to be sure; you could download the source code from github, add some new capability definitions to the app.json and recompile the whole thing using the CLI. That should give you custom capabilities, right?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 13, 2021, 2:56pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/10 "2021-01-13T14:56:17Z")

</div>

I _think_ that will be enough, but I never tried. You may possibly need to modify the [Arduino library](https://github.com/athombv/homey-arduino-library) so it supports the custom capabilities, but a quick look at its code doesn’t suggest that’s necessary.

---

<div class="post-metadata">

**Author:** ![Chris\_Peters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_peters/32/1851_2.png) [@Chris\_Peters](https://community.homey.app/u/Chris_Peters)\
**Post date:** [January 13, 2021, 2:58pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/11 "2021-01-13T14:58:09Z")

</div>

That’s what I am hoping for, I’ll give it a try in the next week or so an let everyone know.

---

<div class="post-metadata">

**Author:** ![Chris\_Peters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_peters/32/1851_2.png) [@Chris\_Peters](https://community.homey.app/u/Chris_Peters)\
**Post date:** [January 17, 2021, 1:31pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/12 "2021-01-17T13:31:21Z")

</div>

Custom capabilities do not require changes to the Arduino library. You just define them in app.json and recompile the library. The only problem I have now, is that tehy do not show up as values that you can use in flows (even though I have defined triggers and actions in app.json). But that is a different matter I assume.

---

<div class="post-metadata">

**Author:** ![Ruben\_L](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruben_l/32/56492_2.png) [@Ruben\_L](https://community.homey.app/u/Ruben_L)\
**Post date:** [May 17, 2023, 11:57pm UTC](https://community.homey.app/t/homeyduino-miflora/15084/13 "2023-05-17T23:57:11Z")

</div>

What is status? Have you managed to add new Capabilities
