shanelord01 / hubitat

Drivers I'me made or modified for my Hubitat Elevation
Apache License 2.0
0 stars 3 forks source link

String index out of range: -1 on line 134 #3

Open jgeier opened 4 years ago

jgeier commented 4 years ago

I'm trying to setup my iSmartgate for the first time with Hubitat. I copied your code as a new driver and then created a viritual device using the driver. I put in the IP, username, pwd, and door number (1) but I am not able to connect to the gate (it wont' show the status in the device page).

Hubitat Elevation® Platform Version 2.2.3.145 Hardware Version Rev C-5

Receiving error:

2020-09-09 21:13:10.985 errorjava.lang.StringIndexOutOfBoundsException: String index out of range: -1 on line 134 (doorPollStatus)

shanelord01 commented 4 years ago

I’ve just noticed this in the last few days also - not sure if Hubitat update changed something or if iSmartgate made some changes.

I haven’t had a chance to troubleshoot but will look into it when I can.

On Thu, 10 Sep 2020 at 12:17 pm, jgeier notifications@github.com wrote:

I'm trying to setup my iSmartgate for the first time with Hubitat. I copied your code as a new driver and then created a viritual device using the driver. I put in the IP, username, pwd, and door number (1) but I am not able to connect to the gate (it wont' show the status in the device page).

Hubitat Elevation® Platform Version

2.2.3.145

Hardware Version

Rev C-5

Receiving error:

2020-09-09 21:13:10.985 errorjava.lang.StringIndexOutOfBoundsException: String index out of range: -1 on line 134 (doorPollStatus)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scrytch/hubitat/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZFAH22VXOW72W4ETX3SC3SFAZLXANCNFSM4RD4EIOA .