[APP][Pro] Innova 2.0 AC - Keep it cool with Homey

I created a new app for the innova / thermocomfort 2.0 aircos.

It supports all functionality of the airco that make sense to expose in homey:

  • Power on/off
  • Set temperature
  • Set operation mode (auto, heat, cool, dehumidify etc.)
  • Toggle night mode, plan mode, flap rotation etc.

Sources can be found here:

1 Like

Hi Roy,

when I install the app, it crashes immediatly. Can you help me?
homey version is 7.1.1

2021-08-28 20:36:53 [err] [ManagerDrivers] Error: Cannot find module ā€˜node-fetchā€™
Require stack:

  • /drivers/innova_ac/driver.js
  • /opt/homey-client/node_modules/homey-apps-sdk-v2/manager/drivers.js
  • /opt/homey-client/node_modules/homey-apps-sdk-v2/lib/SDK.js
  • /opt/homey-client/node_modules/homey-apps-sdk-v2/index.js
  • /opt/homey-client/system/manager/ManagerApps/bootstrap.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
    at Function.Module._load (internal/modules/cjs/loader.js:864:27)
    at Module.require (internal/modules/cjs/loader.js:1044:19)
    at Module.require (/opt/homey-client/node_modules/homey-apps-sdk-v2/index.js:14:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object. (/drivers/innova_ac/driver.js:5:15)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensionsā€¦js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14) {
    code: ā€˜MODULE_NOT_FOUNDā€™,
    requireStack: [
    ā€˜/drivers/innova_ac/driver.jsā€™,
    ā€˜/opt/homey-client/node_modules/homey-apps-sdk-v2/manager/drivers.jsā€™,
    ā€˜/opt/homey-client/node_modules/homey-apps-sdk-v2/lib/SDK.jsā€™,
    ā€˜/opt/homey-client/node_modules/homey-apps-sdk-v2/index.jsā€™,
    ā€˜/opt/homey-client/system/manager/ManagerApps/bootstrap.jsā€™
    ]
    }
    internal/modules/cjs/loader.js:985
    throw err;
    ^

Error: Cannot find module ā€˜node-fetchā€™
Require stack:

  • /app.js
  • /opt/homey-client/node_modules/homey-apps-sdk-v2/lib/SDK.js
  • /opt/homey-client/node_modules/homey-apps-sdk-v2/index.js
  • /opt/homey-client/system/manager/ManagerApps/bootstrap.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
    at Function.Module._load (internal/modules/cjs/loader.js:864:27)
    at Module.require (internal/modules/cjs/loader.js:1044:19)
    at Module.require (/opt/homey-client/node_modules/homey-apps-sdk-v2/index.js:14:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object. (/app.js:5:15)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensionsā€¦js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14) {
    code: ā€˜MODULE_NOT_FOUNDā€™,
    requireStack: [
    ā€˜/app.jsā€™,
    ā€˜/opt/homey-client/node_modules/homey-apps-sdk-v2/lib/SDK.jsā€™,
    ā€˜/opt/homey-client/node_modules/homey-apps-sdk-v2/index.jsā€™,
    ā€˜/opt/homey-client/system/manager/ManagerApps/bootstrap.jsā€™
    ]
    }

ā€” INFO: nl.pulsive.innova has been killed ā€”

Hey Leo,

You have to install some external libraries.
You can do this by using a bash or command prompt and go to the root of the project. Then you run the command ā€œnpm installā€

Ps over time i found that the AC doesnt like it when my app reads its status every minute or so. After a few hours it makes the wifi module of the AC crash until you unplug the airco.

Its also a known issue with the IOS app so i guess its a bug of the airco firmware :disappointed:

Hi, thanks for your swift response. I tried it and it works. thanks.

I am wondering if the problem still remains, since I donā€™t have your experience with the android app.
how did you find the api-commands?

The source code of the app is publicly avqilable on the we site of innova, but simple network sniffing would also have done the job.

Is this maintained and still working? (If this works this would be a reason for me to buy a homey pro) @RoyB

Yes, its still working. Sadly i still get that the AC turns inresponsive after a while tho. (I tried adding some fixes today to make it a bit more stable). Seems like its an issue with the machine itselfā€¦

I added some features (flow cards, actions & conditions) and stability fixes to the app. Enjoy!

I will consider submitting it to the official store.

@RoyB Wow. This is so great. I didnā€™t know this app exist until i searched on google for ā€œInnova apiā€. And then i saw a app existed for homey. Love it. Only four questions.

  • Do you still support this app?
  • If yes, are you planning to make it homey pro 2023 compatible? (I ordered one.)
  • Will you bring it out to the homey app store?
  • Can i place a donation?

And thanks for this app.

Hey Pieter,

  • Yes I do. I still use it myself on a daily basis (in the summer, at least).
  • I think it should work with the new homey out of the box. If not let me know, and Iā€™ll see what I can do. I donā€™t plan on buying a new homey just yet so I canā€™t test.
  • Iā€™m a bit lazy. Perhaps I should :blush: seems like more people are using this.
  • Thatā€™d be awesome. this is my paypal link Iā€™ll add this link to my repo.

This app is now available in the official homey app store.

1 Like

Hello Roy. Great to see that this app arrived at the homey app store. But like i messaged on github i have a issue. Strange when i install it from the app store i get a red exclamation mark.
There was no problem when i sideloaded the source code on the main branche.

If i try to sideloed the app-store-prep from the github branches i get these errors:

āœ“ Validating appā€¦
Warning: flow.triggers[ā€˜fan_speed_changedā€™].titleFormatted is missing. Specifying a Flow cardā€™s formatted title will be required in the future.
Warning: flow.triggers[ā€˜thermostat_mode_changedā€™].titleFormatted is missing. Specifying a Flow cardā€™s formatted title will be required in the future.
Warning: flow.conditions[ā€˜fan_speed_isā€™].titleFormatted is missing. Specifying a Flow cardā€™s formatted title will be required in the future.
Warning: flow.conditions[ā€˜thermostat_mode_isā€™].titleFormatted is missing. Specifying a Flow cardā€™s formatted title will be required in the future.
Warning: flow.actions[ā€˜fan_speed_setā€™].titleFormatted is missing. Specifying a Flow cardā€™s formatted title will be required in the future.
Warning: flow.actions[ā€˜thermostat_mode_setā€™].titleFormatted is missing. Specifying a Flow cardā€™s formatted title will be required in the future.
āœ“ App validated successfully against level debug
āœ“ Packing Homey Appā€¦
ā€” App archive size: 1.1 MB, 31 files
āœ“ Installing Homey App on Homey van ****** (http://192.168.1.:)ā€¦
āœ“ Homey App nl.pulsive.innova successfully installed

Maybe the same thing happens when i install it from the app store. Maybe it helps you to find the path to fix it?

P.S. The main branche still works and so i sideloaded that on my homey.

Strange how it only affects your Homey, and not mine. I did find what I did wrong nonetheless, so I updated my app and submitted it to the store for approval. Should be available soon.

Its v2.0.2

Thank you, Roy. This fixed the problem. Great work.

1 Like

Thank you @RoyB , I ordered the new homey pro because my RPI3 with domoticz is down.

I wonā€™t have to re dev something as you already did it !

Thanks a lot

Hi is there a possibility to include fancoils into the app ?
I found another ā€œinnova fancoil appā€ in the appstore but itā€™s not working and the developer is non responsiveā€¦

Hey Tim,

There is, I am willing to accept a pull request for anyone that would build it. The code is open spurce and lives on github. I do not own such a device and I am not affiliated with Innova, so I do not have any personal motivation to implement it.

Best,

Roy

Thx ; in the meanwhile i was able to get in contact with the developer who was eager to implement the ip functionality as well