Anyone has NIKO home control working?

I installed HA for a friend and since he has a NIKO home control system and I noticed that there should be a possibility to integrate it in HA.
I used the info from Niko Home Control - Home Assistant it doesn’t come up in the config/integrations section.

Anyone with this combo that has it working?

1 Like

I use NHC with my home assistant installation.

Try this

1 Like

Dear @Nick4 ,

2weeks ago i installed HA for fun, because i am using a competitor.
But would love to move to HA is possible.

So i have no idea what i am talking about or dont know anything of coding.

But… I have my home on NHC1 and was able to show my “entities” in HA by adding this in the configuration.yaml:

image

NOTICE there is no “Dash” / “-” in front of “platform”, when i changed this it suddenly all worked.
Maybe this could be your issue?

@Jorggs
small question for you then if i may.
Does NHC2 also have the issue that a switch on the HA dashboard always goes back to off when turning a ligth on?
And same for when turning a light off, it jumps immediatly back to on.
Then… after a few sec it jumps to the correct state. (like its delayed updated)

thats what i was looking for when finding this post. :slight_smile:
I will create a seperate topic if you would not have a answer :slight_smile:

Thank you.

I’ve certainly not seen that behaviour using NHC2

1 Like

Hi, that is what I did and it doesn’t work.
According to the instructions on Niko Home Control - Home Assistant the dash is needed, removing it doesn’t make any difference.

If I browse to the IP of the NHC system I get a screen to provide the serial number to login so I wonder if somehow these steps have to be made with HA as well…

Hi @Nick4

Do you use a particular port for this webpage, or just default?
So if i understand you correctly, using my example…
You just put 192.168.1.36 in your browser window and you receive page to provide a s/n.
Or is this a step in HA?
At work at th moment, but i could test this tonight if you like.

This 192.168.1.36 is my “IP module’s” ip.

@Peace, @Jorggs: did you have to do anything in particular in the NHC system to make it accessible to HA?
If I open the webUI from the NHC system, I have to enter a serial number (guess the IP interface).

Do you know if there are any security settings in the system to allow them to control them from anything else then their ‘eco-system’.

So, for the record I have the below in my config file, but to be honest, I think this is now taken care of by joleys integration itself through HACS. You do need to have the Niko Hobby API set up with Niko (https://mynikohomecontrol.niko.eu)

nhc2:
  host: 192.168.107.3
  username: hobby
  password: !secret nhc2_password
  port: 8884

The WebUI of the NHC is just that, it’s nothing to do with HA.
NHC installations used to allow you to connect to them directly via http, and see various notifications but they’ve since stopped that. If you enter the serial number (of the connected controller), you just see a page that says access is denied, so no real value in doing it!

Hi Jorggs, thanks for your reply!
I have looked at joleys’ integration but have to do some research on how to get it installed/running.
Going to that URL for the hobby API, I get a login/registration screen.
So if he uses a mobile app, he has done this already, right? (he has no idea what has been done)

I’m aware that the webUI has nothing to do with HA but thought that maybe I had to grant HA access through that webUI.
Thanks for that info about the changed approach.

Yes, he must have registered the installation if it’s being used on a mobile or tablet. Once logged into the Niko site you have the option to add connected services, there you can add the Niko hobby api. It asks you to prove if you’re a programmer or such like by giving you a test. If I recall, the answer is : {“answer” : 42}

You’ll then get an API password which is valid for a year. This is required for the integration or if you want to connect to the installation via mqtt directly.

1 Like

@Nick4 seems you are using NHC2.
As i still have NHC1, it seems its working a bit different.
The only thing i had to add was:
image

so i am afraid i can not help you.

I did find this doc for an issue i have:

maybe it can help you in some way :smiley:

1 Like

Where you able to get it working?
I must say the “follow the wizard” isn’t clear.

The wizard identifies the controller.
It says I can choose the two ways (API / Profile) but it’s unclear how do you select the API.
If I do anything - it shows as if everything is fine. But no devices show up as is in other integrations.
I’m a bit of noob how to setup logging. Tried via configuration YAML, but not sure if I’m looking afterwards on the right place for the logs.
Happy to jump to DM / Whatsapp if anyone willing to help directly.

I’ll be happy to do testing to help the community once I can get it sorted :slight_smile:

Hi @itayp, welcome to the forum.

I did not proceed with this yet since this is not my system/at my place so at this point I don’t know anything about that procedure to add the API.

Maybe the others here can tell you more about it.

Ahh, that’s fine. Thanks

Did you ever find a resolution for this delay? I’m also on a NHC1 controller and I would like to switch from OpenHab to HA, but this issue is holding me back. It seems upgrading to NHC2 controller would be a solution, but that is not an option at the moment. Thx!

@robbieD
I have NHC1 working in HA by opening the configuration.yaml file and adding this:
image
You do need to know your IP address of you Niko.

I restarted the HA system and all my entities were available.
I do assume that you have an IP controller from Niko making Niko available on your network?

its not a lot of info, but here is the integration page:

In may they also added brightness support, this was rly great :smiley:

But generally… I have to say that the integration does not work optimal tbh :frowning: !

It is finding the NHC installation and showing the lights, but it is the delay and incorrect button states that are holding me back. Guess I’ll stick with OH for now

Hey @robbieD

That is exactly what i mean with “not optimal”.

I actually used OH the last 7 years or so untill a few months ago when i tried HA
HA is much better imho, much more user friendly and easier to configure and better looking.
But… with an issue for NHC 1 :frowning: , the rest works great.
It can be solved, OpenHAB already showed its possible 7 years ago.
So if there is someone with any dev/coding knowledge, the issue would be easely fixed, i tried myself with chatgpt and such… but no luck unfortunatly, i dont know anything of coding :smiley:
But i can show all the correct files and can test… i just need someone to fix the code, so it can be release to the 7 other people :smiley:

And… with only 7 installations… (actually 8 but i am running this myself), it’s just not so high on the Priority list for Home assistant themselves… to fix the issue.
Which is completely understandable.

FYI… de button will update to the correct state after about 30s to a minute, so in most used cases its not rly an issue as you would turn on a light and come back to it much later.
I have connected the google home to control my lights in HA via my voice, this reponds always instant, and single items (even NHC) ALWAYS work instant.
Automations or scripts do work in HA… but sometimes it skips a NHC light, i believe this is because some state has not been updated yet or because of the delay.
Also there is no rollershutter support for Niko Home control.

You dont know any python by any chance? :smiley: