spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

[homeassistant-core] Niko Home Control

Open SwiftChon opened this issue 4 years ago • 4 comments

Software Name

Niko Home Control

Brief Description

Niko Home Control is a domotica system widely used in Belgium. Is used to turn on/off devices, virtual devices and so on.

Website

https://www.home-assistant.io/integrations/niko_home_control/

Documentation

https://www.niko.eu/en/products/niko-home-control

Build/Installation documentation

"requirements": ["niko-home-control==0.2.1"]

Source code

https://github.com/home-assistant/core/tree/dev/homeassistant/components/niko_home_control

OpenSource License

other (please specify below)

Other License

COPYING

SwiftChon avatar Feb 08 '22 09:02 SwiftChon

@SwiftChon there is no change in the homeassistant-core package required.

Just follow the installation guide:

  • add niko home control to the configuration
  • restart homeassistant

You need to ssh into your diskstation and edit the configuration file at:

/var/packages/homeassistant/var/config/configuration.yaml

and add:

# Example configuration.yaml entry
light:
  - platform: niko_home_control
    host: IP_ADDRESS

Doing this, I got the following line in the log file at the start of homeassistant:

2022-02-09 21:53:22 INFO (SyncWorker_0) [homeassistant.loader] Loaded niko_home_control from homeassistant.components.niko_home_control

As I do not have a niko home light at the configured ip address, I got the following:

2022-02-09 21:55:32 INFO (MainThread) [homeassistant.setup] Setup of domain light took 127.7 seconds
...
2022-02-09 21:55:32 ERROR (MainThread) [homeassistant.components.light] Setup of platform niko_home_control is taking longer than 60 seconds. Startup will proceed without waiting any longer.

hgy59 avatar Feb 09 '22 21:02 hgy59

@SwiftChon If you change the "configuration.yaml" file, make sure not to change the ownership of that file. In doubt, correct it with this command.

sudo chown sc-homeassistant:sc-homeassistant /var/packages/homeassistant/var/config/configuration.yaml

BenjV avatar Feb 12 '22 11:02 BenjV

Thank you for your swift reply.

I got around it today, and added these lines to the yaml. @.*** After restart of HomeAssistant, still no Niko to be found. No error log so I assume everything went well. I can’t consult the logs, clicking on the STARTED log does nothing, not in Chrome and neither in Edge. @.***

And no Niko showing up in the add integration: @.*** Am I doing something wrong?

With kind regards, Chris

Van: hgy59 @.*** Verzonden: woensdag 9 februari 2022 22:14 Aan: SynoCommunity/spksrc @.> CC: SwiftChon @.>; Mention @.***> Onderwerp: Re: [SynoCommunity/spksrc] [homeassistant-core] Niko Home Control (Issue #5125)

@SwiftChonhttps://github.com/SwiftChon there is no change in the homeassistant-core package required.

Just follow the installation guide:

  • add niko home control to the configuration
  • restart homeassistant

You need to ssh into your diskstation and edit the configuration file at:

/var/packages/homeassistant/var/config/configuration.yml

and add:

Example configuration.yaml entry

light:

  • platform: niko_home_control

    host: IP_ADDRESS

Doing this, I got the following line in the log file at the start of homeassistant:

2022-02-09 21:53:22 INFO (SyncWorker_0) [homeassistant.loader] Loaded niko_home_control from homeassistant.components.niko_home_control

As I do not have a niko home light at the configured ip address, I got the following:

2022-02-09 21:55:32 INFO (MainThread) [homeassistant.setup] Setup of domain light took 127.7 seconds

...

2022-02-09 21:55:32 ERROR (MainThread) [homeassistant.components.light] Setup of platform niko_home_control is taking longer than 60 seconds. Startup will proceed without waiting any longer.

— Reply to this email directly, view it on GitHubhttps://github.com/SynoCommunity/spksrc/issues/5125#issuecomment-1034198351, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXVHGEK6WROWVJT3LWLRFDDU2LKKXANCNFSM5NZ5XZUA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.@.>>

SwiftChon avatar Feb 16 '22 14:02 SwiftChon

Hi, I did manage to check the log and it states : @.*** Numerous threads to be found with the “Home assistant update data” time out problem, but no solutions.

Kind regards.

Van: hgy59 @.*** Verzonden: woensdag 9 februari 2022 22:14 Aan: SynoCommunity/spksrc @.> CC: SwiftChon @.>; Mention @.***> Onderwerp: Re: [SynoCommunity/spksrc] [homeassistant-core] Niko Home Control (Issue #5125)

@SwiftChonhttps://github.com/SwiftChon there is no change in the homeassistant-core package required.

Just follow the installation guide:

  • add niko home control to the configuration
  • restart homeassistant

You need to ssh into your diskstation and edit the configuration file at:

/var/packages/homeassistant/var/config/configuration.yml

and add:

Example configuration.yaml entry

light:

  • platform: niko_home_control

    host: IP_ADDRESS

Doing this, I got the following line in the log file at the start of homeassistant:

2022-02-09 21:53:22 INFO (SyncWorker_0) [homeassistant.loader] Loaded niko_home_control from homeassistant.components.niko_home_control

As I do not have a niko home light at the configured ip address, I got the following:

2022-02-09 21:55:32 INFO (MainThread) [homeassistant.setup] Setup of domain light took 127.7 seconds

...

2022-02-09 21:55:32 ERROR (MainThread) [homeassistant.components.light] Setup of platform niko_home_control is taking longer than 60 seconds. Startup will proceed without waiting any longer.

— Reply to this email directly, view it on GitHubhttps://github.com/SynoCommunity/spksrc/issues/5125#issuecomment-1034198351, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXVHGEK6WROWVJT3LWLRFDDU2LKKXANCNFSM5NZ5XZUA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.@.>>

SwiftChon avatar Feb 17 '22 14:02 SwiftChon

fixed by #5579

When I configure niko home control, it successfully installs niko-home-control==0.2.1 on HA restart.

No further tests available without a respective device.

hgy59 avatar Apr 10 '23 07:04 hgy59

Reporting a error with the niko home control. After upgrading home assistant I get failed to call service [error 32] broken pipe. The strange thing is that after a reboot i can control the lights and switches but after a while i get the error 32 broken pipe error. Very strange. What could cause this?

WimTh avatar Dec 01 '23 16:12 WimTh