-
-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Niko Home Control : TypeError: string indices must be integers #19283
Comments
What does your config look like? What version of Home Assistant? |
tried it with 82.x 83.x and 84.x light:
- platform: niko_home_control
host: 192.168.0.10 |
also tried manually specifiying port, but didnt help either also in debug log, i see this : 2018-12-13 14:54:41 INFO (MainThread) [homeassistant.components.light] Setting up light.niko_home_control |
anyone that can help me with this? what info do you guys need? |
Hi, i have the same issue. Did you find a way to setup NHC with HA ? |
Nope, not working, also opened a thread on forum, but no reply either |
I have this error in the logs:
I looked for the decoder.py but i cannot find the folder python3.6 Do you know how to find them ? Via putty, i dont see them. |
i didnt troubleshoot any further |
@pergolafabio Unfortunately no. |
hmm, how can we proceed with this? |
All, I know there are some issues with the NHC platform. Next week I will be able to spend 3 full days on improving the functionalities. I will provide additional documentation on setting up NHC with Hass. In the integration that has been released, theres no active connection to NHC, which makes it kind of useless. Based upon the feedback I received over the weeks, I will be able to fix the majority of the issues by the end of next week. |
Ah, thnx for the info, appreciate it |
Great news. Tell me if I can help by testing. |
No, I just found out that this component exists. I was waiting for this since I got home assistant so I was really surprised when I found it. But never actually got it to work. Since day one I get the error described above. |
It's under investigation ;) |
Yes I see :) Hopefully it will work one day. This component is the one piece missing to make my HA installation perfect. If there is any need for testing I can also help. BtW: This error here is different than the one I get (see Issue #20005) |
hi @legovaer , any updates on this? :) |
hi, when will this component be ready for use? |
Hello, I don't know if the component have been updated. But i tried it last WE but still the same issue. |
Don't think there was an update since release... It's strange they even did release it |
I guess there hasn't been any progress regarding this issue. Just updatet to version 0.89.1 but still get the same error as described in issue #20005 |
Nope, never worked, seems it was not tested before it get released |
Ah ok ;) |
I have it up and running in OpenHAB. Working very well. But since I have my whole configuration in Home Assistant, I would like to use it in Home Assistent directly. When you got the MQTT working, please let me know. That would be an option as well but the problem is that I'm totally not into MQTT. I don't have any clue on how to use it :-) Regards Vincent |
Hi Vincent. Setup in OpenHAB works perfectly fine, indeed. Almost everything was autodetected after installing the OpenHAB binding. The only thing missing were my switched power sockets. I've quickly tried playing around with MQTT as well and was able to set up a connection to the MQTT broker I've got running in HomeAssistant (Mosquitto): all the MQTT devices I've got set up in there were automatically discovered by OpenHAB, but none of my "things" in OpenHAB get published to the MQTT broker, meaning I can't see/manipulate them in HomeAssistant. Maybe I need to map my "things" to MQTT objects in some way?! |
closed => #23093 |
this was merged in 92.0 ? well we did update, but the same error in log file as in post 1 ? |
error from log 👍
|
if we remove the IP address from config, the error is gone |
Anybody got this to work with the new version 0.92.0? I still get an error: When I remove the IP address I get an invalid configuration notification even though the host parameter is said to be optional on the component page of the Niko component. |
Hi Raphael I have the same issue... Regards Vincent |
Hi Vincent, Raph, Fabio, I just upgraded to 0.92.0 as well and my lights are coming up as entities. I'm currently playing around a bit and a "bug" I've immediately noticed, is that there is a significant delay in the reading of the state (on/off) of my lights. This means that - if you want to change the state in Home Assistant, while the current state hasn't been updated yet - the action will fail. The lights also seem to only support simple on/off state changes. No dimming. |
Yes, state is not implemented yet, will be better in newer release, this version was just a bugfix... |
Are you not even seeing the entities coming up, after changing configuration? |
Yes , well Vincent did, I don't have Niko, just helping... Tried with and without ip address and offcourse restarted Hassio, still the same error as in first post |
I just found out some of my lights are NOT detected after all. |
@pergolafabio It was indeed merged into 0.92.0 @Microfi I am aware of the delays of the states. Can you verify the missing lights are dimmable? These are expected not to work as NHC1 does not support these. They also don't show up in the Official NHC app. |
@raphk82 Can you verify your installation is v1, I'm unable to reproduce your error? |
You're absolutely correct. They don't show up in the app either. Do you know whether there is some kind of workaround to get them integrated anyway? |
But what about the error as in 1st post? What could it be? |
@NoUseFreak : Yes according to my iOs app I'm running version 1.10.0.34209 of Niko Home Control and API 1.19. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
@legovaer Did you have any luck reproducing this issue. From the error, it seems the action is decoded as a string instead of a list. I'm unable to get this in my current setup. For reference, I only use lights and switches. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Hi, i wanted to try and setup the new platform "Niko Home Control" but i receive the error below whan i start HA
any idea whats wrong?
The text was updated successfully, but these errors were encountered: