Hi,
I know this is an old post but I just converted to Hubitat from Wink and was trying your iHome json app for Hubitat to try and pull in my two (yes just two) iHome all plugs. I imported your app and driver and I am able to login fine but when you pull on the dropdown menu for devices it crashes with:
Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.
Error: Cannot get property 'data' on null object
I had the live Hubitat log running at the time and even thought the UI errrored, it looks like the app and drivers partially worked because I see clearly in the logs that it pulled over the inventory, but apparently could not parse/display it:
customFields:[current_app_version:2.4.2 (249), current_os:iOS, current_os_version:14.5.0, initial_setup_app_version:2.0 (113), initial_setup_os:iOS, initial_setup_os_version:9.3.3, room_name:Office, service_type:heater], tags:[fw_updated, Active, SRA], updatedAt:1612960310446, name:Office Heater, product:UCfXBRHnse5Rpw7PySPYNq7b, properties:[actual_fw_version:0.9.17, appfwversion:0.9.17, auth_fail:0, currentpowerstate1:1, dhcp_fail:0, epoch:158, factoryreset:0, numoutlets:1, nw_not_found:31, outletinuse1:1, schedule:[], schedule_status:active, schedule_version:100, targetpowerstate1:1, timezone:America/New_York, ~connected:true], identifiers:[firmware_version:0.9.17, owner:Ug89yEUArSwwUcx5BQRUCg5n, serial_num:7130495641]], [id:UDtRdwU5P7mayeXegEXEannb, createdAt:1458581563254, customFields:[current_app_version:2.4.2 (249), current_os:iOS, current_os_version:14.5.0, initial_setup_app_version:2.0 (113), initial_setup_os:iOS, initial_setup_os_version:9.3.3, room_name:Office, service_type:other], tags:[fw_updated, Active, SRA], updatedAt:1612960310663, name:Office Light, product:UCfXBRHnse5Rpw7PySPYNq7b, properties:[actual_fw_version:0.9.17, appfwversion:0.9.17, auth_fail:0, currentpowerstate1:0, dhcp_fail:0, epoch:96, factoryreset:0, numoutlets:1, nw_not_found:32, outletinuse1:1, schedule:[], schedule_status:active, schedule_version:100, targetpowerstate1:0, timezone:America/New_York, ~connected:true]
Just wanted to know your take on that and if you have any suggestions for a fix I might be able to try.
Thanks for all your support to the commmunity!