[APP][Pro] Niko Home Control 2

:factory_worker: Under development. Current status:

Device Model Supported Planned
NHC Relay Action (lights & other switches) :white_check_mark:
NHC Dimmer Action :white_check_mark:
NHC Motor Action (blinds) :white_check_mark: Planned support for setting specific percentage
NHC Fan Action (ventilation) :white_check_mark:
NHC Thermo switch (Push button w/ sensors) :white_check_mark:
NHC All Off Action :white_check_mark:
NHC Touch Switch Thermostat (& other thermostats) :warning: I’d like to make this but I don’t have these devices. Will be attempted somewhere in the future.
NHC Mood Action Planned

See Niko official documentation of all available actions here: https://mynikohomecontrol.niko.eu/content/hobbyapi/documentation.pdf

Hi,

Thank you for your contribution.

I’m looking forward to testing it. I’ll install it over the weekend.

I have the Niko Home push interface behind all the switches in the house, and I would really love to be able to start a flow from these. Same with the virtual flag on Digital Black.

If that’s something you’d like to make, I’d be happy to test it.

I don’t have the motor module, but otherwise I’ll go through the rest over the weekend. :slightly_smiling_face:

Hey @Andreas_Soll
I don’t have those push buttons myself but they should work if there is an action tied to them (like turning on a light)
I checked the niko API documentation and virtual flags seem quite simple to implement (page 76) so I’ll add it to my list.

If you find any bugs please let me know!

Hi @georgechoustoulakis

I’m not the best at development, but I’m doing my best. Here’s what I’ve found so far — hopefully it’s useful.

I can confirm that the push-button interface doesn’t work “directly” in the sense that I can’t listen for an actual button press via MQTT. I don’t get a dedicated “button pressed” event from the push-button interface itself. Instead, I only see the effect of the press — for example a dimmer changing state — as a devices.status message (On/Off) on the UUID of the device/action that the button is linked to. So the input can only be detected indirectly through whatever the button controls.

To get a cleaner input signal, I also tested binding the push-button interface directly to a virtual flag in Niko Home Control. That works really well: the button toggles the flag, and then in MQTT you can simply listen to the flag’s Status (True/False). So it is possible to use push-buttons as an input, but only if you build it using virtual flags. It’s a bit of a “workaround” and adds extra (and slightly confusing) configuration, but we can only work with what we have.

I was hoping to get clear short/long-press events, but I don’t see those as separate events in MQTT in my setup.

I have a really good contact at Niko Home in Denmark, if at some point you find something where it would make sense to get their help.

Hi,

i’m very impressed/happy with this App. Ever since Niko stopped the support of IFTTT i was looking for an alternative!

is it in your roadmap to also support ‘NHC routines’ (like ‘everything OFF’). this could be useful to e.g. enable your alarm when the ‘everything OFF’ routine is enabled.

kind regards,
Floris

Hey Floris, thanks for trying out the app!

Niko’s documentation for the “NHC All Off Action” is very simple so I will add it to my list. :+1:

@FlorisVandeVijver The all-off routine has been added to the latest test version. Should be approved in a couple of days, but you can already download/test it here:

it works perfectly!

Thanks a lot (this allows me to skip the NHC to GoogleHome integration completely as the response/trigger time was really bad)

Hy does it also work with Niko home control For traditional wiring ?

yes, as long as you have Niko Home Controller (with Hobby API)

Okay I have the bhv controller are there any tutorials or howto’s avialiable ? Thx

on what do you need a tutorial?

  • how to add a NHC device to Homey?
  • how to get access to NHC hobby API?
  • …

Both please :sweat_smile: just getting started with homey :smiling_face_with_sunglasses:

how to add a (NHC) device to Homey:

https://support.homey.app/hc/en-us/articles/4409624214034-Connecting-your-first-device-to-Homey

how to get access to NHC hoby API

Hey all, I’ll work on a step-by-step guide on how to setup Homey + NHC2 since I the app is installed many times by people but not all have successfully added a connected-controller.

Here are some stats for those interested:

55 total installs:

Only 48 connected-controller:

Devices over time:

@FlorisVandeVijver already 15 “all-off” routines added, so I guess there was demand for this :smiley:

Great app, it works very well.

Is there a roadmap for integrating moods/scenes? I use these extensively in NHC to activate different shading configurations on hot days by setting multiple blinds to predefined positions.

Alternatively, would it be possible to extend the motor integration so that blinds can be set to a specific position (percentage) instead of only supporting open and close commands?

Hey @Jeroen_De_Roeck
I dont use moods/scenes in my installation because I didn’t think it was that useful. The API (on the niko side) is quite simple so I’ll add it to my list :+1:

Setting blinds to certain percentage also seems like a nice feature, I’ll add it too :+1:

I work on the app it in my spare time so I can’t promise a concrete timeline.. soon :stuck_out_tongue:

Groetjes
George

I just installed the Niko Home Control 2 app, and successfully added the Connected Controller (with JWT). However, I don’t see any lights appearing in the Homey app. I uploaded the NHC II configuration again, and I did reset the Connected Controller. Does anyone have an idea?

New test version available here: Niko Home Control 2 | Homey
You can already test it by installing through the test page.
It will be available somewhere next week officially after approval from Athom/Homey.

@Jeroen_De_Roeck Added option to set percentages for blinds/motors. The Niko hobby API only reports the percentage once it has stopped moving (there are no gradual updates during movement). Let me know if you see any issues :folded_hands:
=> I will also add mood/scenes support later, but I postponed it because I have to design images & SVGs to get it approved to the homey store, and I didn’t have a lot of time :sweat_smile:

@KJE I added a diagnostic report to the connected controller so it will be easier to me to help you. Once you add a connected controller, go to settings → advanced settings and please share the diagnosic report with me after installing the test app from the link above.
See screenshot example of how it should look on mobile: (also available through the web UI ofc)

It works now! I can add all the lights. Thank you very much! Btw, the diagnostics report works too.