Help with setup error #4
-
Hi, thank you for adding this for the community. I am trying to set this up and are receiving the following errors in the log. I believe all credentials etc are correct. Any advice you could provide? 2023-01-23 16:56:40.540 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration pixie_plus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Hi, I am not quite sure why you are getting this error. How did you retrieve your credentials? applicationID, installationID and javascriptkey should be quite long random set of letters and number. Can you uncomment line 257 in pixiepluslogin.py and log Pixie_Plus in debug level? For this you will need to edit pixiepluslogin.py which is located under \config\custom_components\pixie_plus\ in HA and remove the # before line 257 so the code looks like that:
You also need to add the following to configuration.yaml
If logger is already defined in configuration.yaml you will need to add the last line. Then, remove the Pixie Plus integration by using the UI and re-install it. You should now have more in your logs now which may be useful. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fast reply and suggestion. I am getting the devices returned so believe all the credentials are correct. Here is log below, I have redacted UserIDs etc.
|
Beta Was this translation helpful? Give feedback.
-
You are right, the credentials must be fine. The first two devices in your list are the pixie plus hubs and I am wonder if there is a bug in the code that doesn't allow correct processing when this is the case (I don't add the hubs into HA). Can you also uncomment the line:
The code should read:
and send me the log output. There will be more to redact this time because the parsing adds all your credentials to each device. Another potential issue is that you have a blind controller. Did you add the needed configuration to configuration.yaml as I discuss in the readme? I'll be at work all day but will try to look at it in the evening. |
Beta Was this translation helpful? Give feedback.
-
Ok, I have removed code that uses devices["results"][0]["deviceList"][i]["state"]["br"]. It works fine with my system but I don't have a blind controller in use. Would be great if you could use the new code to see if it works with your system. Cheers. |
Beta Was this translation helpful? Give feedback.
Ok, I have removed code that uses devices["results"][0]["deviceList"][i]["state"]["br"]. It works fine with my system but I don't have a blind controller in use. Would be great if you could use the new code to see if it works with your system. Cheers.