-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unexpected error when adding a device #112
Comments
The verticool might not implement the API the same way, I had to adapt the integration for the airleaf fancoil. The API was similar, but different enough that it was not a drop in in the integration. Do you get a JSON string if you try this url in a browser (replacing with the IP of your verticool)? If it returns a result similar to this one, then maybe we can work with it, otherwise, I'm afraid it might not work with this integration. |
Looking at the user manual, it does look very similar though, so maybe it is just a small difference, maybe it has a different It even uses the exact same application than my Innova 2.0 unit, so I think it should be compatible. |
Hey Daniel, so, yes, I get a response from the API as follows; {"success":true,"sw":{"V":"1.0.36"},"UID":"bc:dd:c2:e0:XX:XX","time":{"d":28,"m":3,"y":2023,"h":12,"i":28},"net":{"ip":"192.168.10.XXX","sub":"255.255.255.0","gw":"192.168.10.XXX","dhcp":"1"},"setup":{"serial":"IN182XXXX","name":"Kitchen"},"RESULT":{"sp":18,"wm":1,"cfg_lastWorkingMode":1,"ps":0,"fs":0,"fr":7,"cm":0,"a":[],"t":15,"cp":0,"nm":0,"ns":0,"cloudStatus":4,"connectionStatus":2,"cloudConfig":1, "timerStatus":0, "heatingDisabled":0, "inputFlags":0,"ncc":0, "debugmsg":"", "pwd":"", "heap":12272, "ccv":0, "cci":0, "daynumber":0, "uptime":83320, "uscm":0, "lastRefresh":4417}} (I've 'X' out some of the IP address,MAC address and Serial number data) When I clear the error log in HA and try and add the unit, I get two entries; Unexpected exception If I select the Unexpected exception error I get; Logger: custom_components.innova.config_flow Unexpected exception In the other Script error I get; Logger: frontend.js.latest.202303091 This unit doesn't have motorised vents so no 'swing mode' is available. Other than that, they have the same functionality from a users perspective. |
This is the output from one of my other devices that does work, looks like the Vertical response above is missing the "deviceType" tag {"success":true,"sw":{"V":"1.0.42"},"UID":"84:0d:8e:96:XX:XX","deviceType": "001","time":{"d":28,"m":3,"y":2023,"h":12,"i":56},"net":{"ip":"192.168.10.XXX","sub":"255.255.255.0","gw":"192.168.10.XXX","dhcp":"1"},"setup":{"serial":"IN190XXXX","name":"Living Room"},"RESULT":{"sp":22,"wm":5,"cfg_lastWorkingMode":5,"ps":0,"fs":0,"fr":7,"cm":0,"a":[],"t":16,"cp":0,"nm":0,"ns":0,"cloudStatus":4,"connectionStatus":2,"cloudConfig":1, "timerStatus":0, "heatingDisabled":0, "coolingDisabled":0, "hotelMode":0, "kl":0, "heatingResistance":0, "inputFlags":0,"ncc":0, "pwd":"", "heap":11672, "ccv":0, "cci":0, "daynumber":0, "uptime":146740, "uscm":0, "lastRefresh":2}} |
Thank you for providing the details. I think I know how I can fix it quickly. I'll see if I can find some time to do it and push an updated version in the next few days. |
That would be great! Thank you so much :-) |
…dding-a-device #112 Update to latest library
I just published a new version that should fix your issue. Let me know how it goes. |
Worked perfectly! Thank you for taking the time out to do this :-)On 29 Mar 2023, at 02:44, Daniel Rivard ***@***.***> wrote:
I just published a new version that should fix your issue. Let me know how it goes.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Describe the bug
Adding a new device I get an error 'Unexpected error'
To Reproduce
Follow the steps to add a new device and after entering the IP address for the host, 'Unexpected error' is displayed
Expected behavior
Host should be added and the next modal should show the room selection step to add device
Screenshots
Added
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
I have 5 Powrmatic/Innova HVAC units, 4 have added successfully and one refuses to be added, giving the 'Unexpected Error' above. The only difference with them is that the one that fails to add is a different model to the others. The ones that have added successfully were all Vision 2.0 models, whereas the one that fails to add is a 'verticool' model. Essentially the same unit, just a different form factor. They all use the same Innvo iOS App and all have the same controller in the unit;
https://www.powrmatic.co.uk/products/air-conditioning/powrmatic-vision-verticool/
Home Assistant 2023.3.6
Supervisor 2023.03.2
Operating System 9.5
Frontend 20230309.1 - latest
The text was updated successfully, but these errors were encountered: