jlvaillant / intellicenter

Home Assistant Integration for Pentair Intellicenter
GNU General Public License v3.0
32 stars 13 forks source link

Controller Error: 400 #65

Open thewolfman56 opened 1 year ago

thewolfman56 commented 1 year ago

I have upgraded Home Assistant to 2022.11.5 and upgraded this integration to v1.4. I am now getting the following error in my logs

CONTROLLER: error 400 : {'command': 'Error', 'messageID': 'ac548a41-5d28-463b-a907-a5259c59c60b', 'response': '400', 'description': 'ParseError: unexpected end of input'}

Please let me know if you need additional information.

yestrdave commented 1 year ago

Same

CONTROLLER: error 400 : {'command': 'Error', 'messageID': '4644e414-1422-427c-a52a-eacc63dc8d1a', 'response': '400', 'description': 'ParseError: unexpected end of input'} CONTROLLER: error 400 : {'command': 'Error', 'messageID': 'c97997d1-4c56-4f0a-9c11-02403dbf90d0', 'response': '400', 'description': 'ParseError: unexpected end of input'} CONTROLLER: error 400 : {'command': 'Error', 'messageID': '28750028-113f-4994-ad3b-62505501e685', 'response': '400', 'description': 'ParseError: unexpected end of input'}

Jizzay1 commented 1 year ago

I'm getting the same issue all of a sudden:

Latest HA

CONTROLLER: error 400 : {'command': 'Error', 'messageID': 'd50fc862-6262-4a47-a46e-6f6fe2e9ac2c', 'response': '400', 'description': 'ParseError: unexpected end of input'} CONTROLLER: error 400 : {'command': 'Error', 'messageID': '00f4635b-62fd-477f-be00-d06da08572f0', 'response': '400', 'description': 'ParseError: unexpected end of input'} CONTROLLER: error 400 : {'command': 'Error', 'messageID': 'cd7d8116-94ed-4f4d-b6e9-cfa6e3014ac6', 'response': '400', 'description': 'ParseError: unexpected end of input in string'} CONTROLLER: error 400 : {'command': 'Error', 'messageID': 'bc8a8d20-31ca-44c4-b933-802e5cef0956', 'response': '400', 'description': "ParseError: expected value, got 'U' (85)"} CONTROLLER: error 400 : {'command': 'Error', 'messageID': '0d2b5d9a-4489-4e67-a06b-5b3ea1e95c53', 'response': '400', 'description': 'ParseError: unexpected end of input'}

thewolfman56 commented 1 year ago

I wish I could remember what fixed it, but it is working in my Home Assistant. I thought I had started using one of the forks, but according to HACS, I did not.

Jizzay1 commented 1 year ago

I wish I could remember what fixed it, but it is working in my Home Assistant. I thought I had started using one of the forks, but according to HACS, I did not.

Have you upgraded to Firmware IC: 2.006 ICWEB:2022-10-07 2.006 and still able to use the integration successfully? Could you share you integration code somehow?

Jizzay1 commented 1 year ago

Fixed it by adjusting Line 331 of controller.py for "if numAttributes >=XX" and changing XX from, 250, 200, 150, 100, 80, 70, 60 until i got it to work at 60. restarted HA each time.

thewolfman56 commented 1 year ago

Fixed it by adjusting Line 331 of controller.py for "if numAttributes >=XX" and changing XX from, 250, 200, 150, 100, 80, 70, 60 until i got it to work at 60. restarted HA each time.

Interesting. I checked my controller.py and I had changed mine to 50, so that may have been the fix I used.

thewolfman56 commented 1 year ago

I wish I could remember what fixed it, but it is working in my Home Assistant. I thought I had started using one of the forks, but according to HACS, I did not.

Have you upgraded to Firmware IC: 2.006 ICWEB:2022-10-07 2.006 and still able to use the integration successfully? Could you share you integration code somehow?

I did upgrade to 2.006back in March and it would connect to the intellicenter, but I had issues with that firmware. I rolled it back to the previous version. There's a few issues that are affecting people differently and I believe Pentair pulled it as a download from the website as a download.