I would be really great if another developer could help Filip with adding new NHC2 functions from the API to HAS
Is it possible to get the automations created in Niko Home Control into HAS? This way I could further build out the automation with things outside of the Niko ecosystem. I currently only see lights and switches.
I just installed HA on an RPi (Home Assistant OS 6.6, core-2021.11.5)
Can someone give me a step by step installation procedure about this ?
Managed to create myself a Hobby API key.
Canât find the NHC II in the list if integrations.
I donât have any experience with manual adding these.
I donât think the info from here is enough ? Niko Home Control - Home Assistant
I added this but got errors, so removed it. What is the correct procedure? Because I think I need to add some more files, aff the API key somewhere ?
And it would be great to have this, because the whole house is managed by NHC II
Erwin
You need to install HACS and first add the integration there before adding the integration in config.
Great, this works, thanks !
Hi, you got the voltage, watts, kwh and current in HA of the Niko 170-33505? So I suppose you can use them now as energy measurement? Is it working well?
I just started out with this NHC2 integration and as far as I can see I canât get individual button presses or PIR state events. I looked into the hobby API documentation and there also doesnât seem to be a direct way of exposing these. So this is what I plan on doing, but first wanted to confirm to see if this is a sane approach:
- Have each individual button control a virtual device (with a basic routine)
- Have each individual motion sensor control a virtual device
- Connect all those virtual devices to the lights etc. via conditions (if-then-else)
- Add a virtual / app-only basic routine to each light / thing to be controlled
While a bit cumbersome I think I should end up with a way to:
- Control each device individually
- Check the state of each actuator / sensor individually
Does this make sense or not?
( I realize this will only work for binary (on/off) devices. Dimmable lights will not work this way, since virtual devices are binary. )
Hi Erwin (or someone else),
If it worked out for you, maybe you could help me out?
Iâm completely new at these kind of things but I tried to follow all steps above:
- Instal HACS
- Add niko home control into HACS (I can see it in the custom_components folder â nhc2)
- Add these lines in the configurations.yaml
â# Example configuration.yaml entryâ
âlight:â
â - platform: niko_home_controlâ
â host: 192.168âŚâ - Restart
- Go to + add integration
- searched for the nhc
- But from there, it hangs at the setup
I also activated the Niko Hobby API key. Iâm working with the smart wireless Niko hub
What do I miss? Hopefully, someone can help me out because using Niko would be my main reason to work wit HA
Thanks a lot!
Bram
Bram,
Heb je de hub al eens gereset ? Uit het stopcontact halen. Dan je ha heropstarten en nog eens proberen ?
Hoi,
Bedoel je dan met reset echt een volledige reset? Met hem uit het stopcontact te halen, 30sec wachten, terug insteken, HA heropstarten is het jammer genoeg nog niet opgelost. Hij is hier nu al een uur naast mij aan het proberen laden dus ik vrees er voor.
Hier net hetzelfde, ik denk dat sinds de laatste update (van HA of Niko zelf, want daar was ook update van) de connectie kapot is. En de ontwikkelaar van de integratie heeft hier jammer genoeg geen tijd voor op dit momentâŚ
Ik heb mijn integratie weggenomen uit Ha (wel nog in config.yaml laten staan). Hub uit het stopcontact. Na 10 seconden terug erin. Integratie weer toegevoegd. Hobby en key ingevuld en het werkteâŚ
Dan heb jij meer geluk of is er bij mij toch nog ergens iets anders misâŚ
Heb ook de Niko integratie eens verwijderd in de HACS. Opnieuw gedownload, restart, hub uit het stopcontact voor 20sec, restart, integratie gestart maar zelfde verhaal.
Waar kan het dan nog aan liggen?
Hier ook geen geluk.
integratie verwijderd, ook uit HACS
- integratie verwijderd, ook uit HACS, ook uit de config
- Hub van de spanning afgehaald
- HA herstart
- Niko integratie opnieuw gedownload via HACS
- Niko integratie opnieuw toegevoegd
Verder kom ik niet, ik kan dus nog nergens iets invullen.
Wat staat er dan in je config.yaml ?
Dit!
Hi Bram
Everything works for me without a file config. yaml
You can remove it and see what happens.
Hmm sadly enough, same situationâŚ
Ik had had ook steeds de config flow fout maar na het uitvoeren van een kleine aanpassing in mijn niko home installatie via de niko software en een upload te doen (hierdoor herstart de niko home controller) kon ik plots wel de integratie toevoegenâŚBlijkbaar hield de Niko controller zelf iets tegen?
Wat had je juist aangepast dan? Ik heb ook net even een schakelaar aan iets anders gekoppeld en een scene toegevoegd om dit te testen maar bij mij geeft dit geen verschil