KenUD2 Posted January 15, 2021 Posted January 15, 2021 I downloaded the App. I connected it to my ISY Portal. It recognizes my login but then I get the error "Error:org.json.JSONException:No value for isyKey" 1
Javi Posted January 15, 2021 Posted January 15, 2021 Hi @KenUD2, I have sent you a private message. Please email me directly. Regards, Javier
floodland Posted January 23, 2021 Posted January 23, 2021 I am seeing "ERROR:java.security.cert.CertPathValidatorException.." I can't read anything past that.
Javi Posted January 23, 2021 Posted January 23, 2021 Hi @floodland, Are you using ISY Portal or another method for remote connection?
floodland Posted January 23, 2021 Posted January 23, 2021 7 minutes ago, Javi said: Hi @floodland, Are you using ISY Portal or another method for remote connection? ISY portal.
Javi Posted January 23, 2021 Posted January 23, 2021 Hi @floodland, I have sent you a PM so we can diagnose Portal issues. This is the first time I have seen Cert Path Validation Exception. 1
floodland Posted January 25, 2021 Posted January 25, 2021 Thank you for all your help! Everything is working great now. 1
MarkZ Posted February 5, 2021 Posted February 5, 2021 I'm also getting "ERROR:java.security.cert.CertPathValidatorException.." I can't read anything past that. I'm trying to use the local network and from reading the doc I need a VPN? I honestly don't get why you would build this app at all. I've struggled for years to control my ISY device because Java is dead and awful to use. Why in the world would you not just build a robust web application that would work on all oses? Mark
Javi Posted February 5, 2021 Posted February 5, 2021 Hi Mark, CertPathValidatorException from the OP was a temporary internet connection issue to the ISY Portal. Java or a Java/Kotlin mix is the base for most Android applications, so If you have an Android device you are using apps written in java most of the time. ISY Portal, a valid CERT, or VPN is required to access the ISY from a remote network. Apple and Google have both warned developers that bypassing https may result in removal from their respective app stores, and may not work at all in the future. To avoid both of these issue the app will only use https for remote connections, this is not true if using a VPN installed on your router as this would be considered a local connection. If using VPN select Systems>Your_System_Name>Advanced>"Only use local connection". This requires valid credentials an you should have a static local IP Address entered into Advanced>Local_Connection_Settings. If you would only like to use the app on a local network the process is the same Systems>Your_System_Name>Advanced>"Only use local connection". This requires valid credentials an you should have a static local IP Address entered into Advanced>Local_Connection_Settings. Remote connection settings will use HTTPS, so it will not work on your local network. Unless your ISY uses https with a valid CERT on the local network. 1
noobmuch Posted July 24, 2021 Posted July 24, 2021 Hi, My app sees the Isy portal, everything appears to load. then when I go to use the home button to sync I get error could not get system id
Javi Posted July 24, 2021 Posted July 24, 2021 Hi @noobmuch, Is this for iOS or Android? Is this the first synchronization or have you been able to view your devices previous to this error?
noobmuch Posted July 24, 2021 Posted July 24, 2021 Hi, Thanks for getting back so quick. I stepped out and now it seems to work. I did an an access point that I think may be not quite as integrated as it should for full functionality but I haven't got to it yet as I am adding another AP today and will address both at once. cheers, Rick
MrBill Posted July 26, 2021 Posted July 26, 2021 iOS edition, minor, but the keyboard opened for changing a variable value doesn't have a - (negative) symbol. .numbersAndPunctuation is a better choice, unfortunately I don't see a number pad type keyboard that has a minus.
Javi Posted July 26, 2021 Posted July 26, 2021 2 hours ago, MrBill said: iOS edition, minor, but the keyboard opened for changing a variable value doesn't have a - (negative) symbol. .numbersAndPunctuation is a better choice, unfortunately I don't see a number pad type keyboard that has a minus. Thanks @MrBill, Fixed for both iOS and Android. The iOS app uses IQKeyboardManager to handle keyboard operations as the native iOS keyboard has too many issues and is a project in itself to fix. So, it looks like we will have to live with the .numbersAndPuctuation as adding +/- as an accessory view may cause issues with IQKeyboard. This may be a good addition to IQKeyboard if it doesn't already exist in some capacity, I'll investigate when I get some free time. 2
JimTurner Posted August 6, 2021 Posted August 6, 2021 My issue is the same only different. I have enabled Certs through the my.isy page, and added the module through the Java front end on my PC. Trying to set this up for remote access, I see my portal with the MAC address and it shows green on the IOS app when testing the connection. However, I get a timeout and it never connects. What am I missing?
Javi Posted August 6, 2021 Posted August 6, 2021 Hi @JimTurner, Are there any errors when pressing "Test System on Remote URL" at the bottom of the "Remote Connection Settings"? If there are no errors above, what is the error message presented during synchronization?
JimTurner Posted August 6, 2021 Posted August 6, 2021 1 hour ago, Javi said: Hi @JimTurner, Are there any errors when pressing "Test System on Remote URL" at the bottom of the "Remote Connection Settings"? If there are no errors above, what is the error message presented during synchronization? I get no errors other than a timeout on the "Test System on Remote URL". However I get the errors in the attached screen shot when doing a refresh/sync:
Javi Posted August 6, 2021 Posted August 6, 2021 7 minutes ago, JimTurner said: I get no errors other than a timeout on the "Test System on Remote URL". However I get the errors in the attached screen shot when doing a refresh/sync: Let's start with the test timeout issue as this is a self diagnostic check, if there are errors running the test it may cause issues during synchronization. First reboot the ISY just to eliminate the possibility of a module needing to be installed. Try the test again, if you have the same issue continue reading. I see you have both remote and local connections, so let's start with the local connection If your iOS device and ISY on the same network. Please remove the local port as 80 is default, make sure the local IP Address does not end with "/", and check "Only Use Local Connection" (just for this test). Do you get errors when pressing "Test System on local connection"? Does synchronization finish without errors? Disregard the Network Resources error if you have none. Uncheck "Only Use Local Connection" and run the "Local connection test" again just to verify the app is linked to your wifi network. If local connection works we can then diagnose the remote connection issue by running the same tests on the Remote connection with Wi-Fi turned off on the iOS device.
JimTurner Posted August 6, 2021 Posted August 6, 2021 11 minutes ago, Javi said: Let's start with the test timeout issue as this is a self diagnostic check, if there are errors running the test it may cause issues during synchronization. First reboot the ISY just to eliminate the possibility of a module needing to be installed. Try the test again, if you have the same issue continue reading. I see you have both remote and local connections, so let's start with the local connection If your iOS device and ISY on the same network. Please remove the local port as 80 is default, make sure the local IP Address does not end with "/", and check "Only Use Local Connection" (just for this test). Do you get errors when pressing "Test System on local connection"? Does synchronization finish without errors? Disregard the Network Resources error if you have none. Uncheck "Only Use Local Connection" and run the "Local connection test" again just to verify the app is linked to your wifi network. If local connection works we can then diagnose the remote connection issue by running the same tests on the Remote connection with Wi-Fi turned off on the iOS device. So I had a port on the remote connection config that was interfering - cleared that. Looks like this works. I still get the first error on the screen shot no matter what I do.
Javi Posted August 6, 2021 Posted August 6, 2021 4 minutes ago, JimTurner said: So I had a port on the remote connection config that was interfering - cleared that. Looks like this works. I still get the first error on the screen shot no matter what I do. The same "Could not parse data..." error on the local connection after a reboot suggests there is a corrupted Z-Wave Editor File. If you are open to remote diagnostic please open a ticket. For self diagnostic make a web request in chrome to the following , does this request fail? If the ISY has been rebooted and this request fails firmware may need to be reinstalled. Note this will only work for ISY not Polisy. <IpAddressOfISY>/rest/profiles/family/4/profile/1/download/EDITOR/EDITORS.XML
JimTurner Posted August 6, 2021 Posted August 6, 2021 Just now, Javi said: The same "Could not parse data..." error on the local connection after a reboot suggests there is a corrupted Z-Wave Editor File. If you are open to remote diagnostic please open a ticket. For self diagnostic make a web request in chrome to the following , does this request fail? If the ISY has been rebooted and this request fails firmware may need to be reinstalled. Note this will only work for ISY not Polisy. <IpAddressOfISY>/rest/profiles/family/4/profile/1/download/EDITOR/EDITORS.XML Yes. I tried that already, and it gets the same error as the APP. This page contains the following errors: error on line 19 at column 27: AttValue: " or ' expected Below is a rendering of the page up to the first error.
Javi Posted August 6, 2021 Posted August 6, 2021 47 minutes ago, JimTurner said: Yes. I tried that already, and it gets the same error as the APP. This page contains the following errors: error on line 19 at column 27: AttValue: " or ' expected Below is a rendering of the page up to the first error. Thanks. One more check before we can be sure firmware will need reinstallation. I will need to see the exact response for this request to verify this is not a timeout and is corrupted. To get the exact response please do the following. With the same request in the browser left click an empty space then select "inspect" . Click the Networks Tab, then click Clear (crossed circle net to red dot). Refresh the page. Click the Response Tab. Click EDITORS.XML under name. Copy the entire response (all lines next to the line numbers), then past as code in the forum (<> icon when posting).
JimTurner Posted August 6, 2021 Posted August 6, 2021 <!-- Complex static Z-Wave editors --> <editors> <editor id="ZW_CONFIG"> <range uom="111" min="-128" max="127" /> <range uom="112" min="-32768" max="32767" /> <range uom="113" min="-8388608" max="8388607" /> <range uom="114" min="-2147483648" max="214748647" /> <range uom="107" min="0" max="255" /> <range uom="108" min="0" max="65535" /> <range uom="109" min="0" max="16777215" /> <range uom="110" min="0" max="4294967295" /> </editor> <editor id="ZW_WAKE_INTERVAL"> <range uom="58" min="0" max="16777215" /> <range uom="45" min="0" max="279620" /> <range uom="20" min="0" max="4660" /> </editor> <editor id="ZW_UNLOCK"> <range uom="25" min=0 max=6 nls="IX_UNLOCK" /> </editor> <editor id="ZW_OFF_0_ON_100"> <range uom="78" subset="0,100" /> </editor> <editor id="ZW_OFF_ON_UNKNOWN"> <range uom="78" subset="0,100,101" /> </editor> <editor id="ZW_OPEN_CLOSE_UNK"> <range uom="79" subset="0,100,101" /> </editor> <editor id="ZW_DIM_PERCENT"> <range uom="51" min="0" max="100" /> <range uom="25" subset="1" nls="IX_PCT_OPT" /> </editor> <editor id="ZW_OL"> <range uom="51" min="0" max="100" /> </editor> <editor id="ZW_RR"> <range uom="58" min="0" max="127" /> <range uom="45" min="0" max="127" /> </editor> <editor id="ZW_MLS_DIR"> <range uom="25" subset="0,1,3" nls="IX_MLS_DIR" /> </editor> <editor id="ZW_LOCK_STS_2"> <range uom="11" subset="0,100-102" /> </editor> <editor id="ZW_LOCK_STS"> <range uom="11" subset="0,100,101" /> </editor> <editor id="ZW_ERR"> <range uom="25" subset="0,1" nls="IX_ERR" /> </editor> </editors> Here is the response XML...
Javi Posted August 6, 2021 Posted August 6, 2021 10 minutes ago, JimTurner said: Here is the response XML... Thanks, looks like missing quotations around the ZW_UNLOCK Editor min and max values. What is your firmware? I may need to check this issue with firmware devs if you are on the latest version.
Recommended Posts