Here it is: e503f3a2-ba20-48e4-b9cc-85ec5e4d7bcd 2:24:19 PM: error grails.validation.ValidationException: Validation Error(s) occurred during save():
Field error in object ‘physicalgraph.device.Device’ on field ‘name’: rejected value [null]; codes [physicalgraph.device.Device.name.nullable.error.physicalgraph.device.Device.name,physicalgraph.device.Device.name.nullable.error.name,physicalgraph.device.Device.name.nullable.error.java.lang.String,physicalgraph.device.Device.name.nullable.error,device.name.nullable.error.physicalgraph.device.Device.name,device.name.nullable.error.name,device.name.nullable.error.java.lang.String,device.name.nullable.error,physicalgraph.device.Device.name.nullable.physicalgraph.device.Device.name,physicalgraph.device.Device.name.nullable.name,physicalgraph.device.Device.name.nullable.java.lang.String,physicalgraph.device.Device.name.nullable,device.name.nullable.physicalgraph.device.Device.name,device.name.nullable.name,device.name.nullable.java.lang.String,device.name.nullable,nullable.physicalgraph.device.Device.name,nullable.name,nullable.java.lang.String,nullable]; arguments [name,class physicalgraph.device.Device]; default message [{0} cannot be null] @line 477 (doCall)
I should state that the first and second pages are fine. It establishes connectivity and authenticates with my rainmachine over port 8081 and reads the zones and programs correctly on the second page but proceeding to the third page yields the error and blank page. This has not been an issue in the past. Any assistance would be very helpful. Thanks
Update - I did a complete uninstall and reinstall of the app and it seems to be working fine now. Now to redoing my integrations as the device and program IDs changed. Thanks.
Hello, hope it’s ok to ask a dumb noobie question, I just ordered the RainMachine HD and will be installing it this weekend; not really sure I need ST integration but like to check it out at least … how do I get and install this DH?
For those of you who may be getting “unexpected error” in the Smartthings App during setup:
At the bottom of the screen where you choose the IP and port number, open advanced settings and change the limit to be lower, something closer to the number of programs you’re running. Once I lowered the number to 7, I no longer got the “unexpected error” in the app.
After several years with no issues, today I noticed that SmartThings would turn on/off a zone, but the RainMachine HD-16 never received the command (or did and didn’t turn the zone on).
Two things recently changed, and am not sure which one caused the problem. First, I migrated from the Classic, and second, RainMachine had a firmware update. Based on the behavior, my guess is it is a SmartThings issue.
In the process of troubleshooting, in the new iPhone ST App I deleted the SmartApp and tried reinstalling it. After keying in the IP, Port, and Password, I click Next the screen goes blank momentarily like it’s saving, but then it drops me back to the same screen. Clicking Next again does nothing and Cancel is my only option. If I close the app and go back in, it shows RainMachine under Setup not complete. It can go in and see my settings, but I still cannot get it to save and complete the setup. I tried on both iPhone and iPad. I know my IP address and password are correct because I can log into RainMachine locally.
Good catch. I noticed the other day that I didn’t get my usual ST notification but have been too busy to dig into it. Turns out it was the firmware update that caused it - the response from the RainMachine device has slightly different headers than before.
I pushed out a new version to github that should fix it. Seems to be working normally again for me.
Thanks Brian! I pasted the device handler code with no errors (which didn’t appear to have any changes), but the SmartApp code gave me an error when saving. The closing bracket is there, so I’m not sure why it’s complaining. Any suggestions?
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script_app_metadata_10c9dcb0_9899_4f1c_97e7_d17e1ffbb0e4: 982: expecting ‘}’, found ‘’ @ line 982, column 2.
}
That did it, thank you. Actually, I found the line of code (technically two) you changed and cut and pasted those over the old ones, but I just tested this and it saved with no errors as well. Thanks again!
@brbeaird
Hi Brian! Thank you for developing this integration! I’ve been trying to set it up this week with my Mini 8 purchased in 2016 on FW 4.0.1003, and I can’t seem to get the setup to take. I’ve tried several ports (80, 8080, 8081, 18080) with my password with the local IP address, but the SmartThings SmartApp won’t complete setup. Instead, when I click “next” from the IP/PW/Port page, it goes blank for about 10 seconds and then pops back to the IP/PW/Port page with no error mentioned. From there, I have to cancel out of the app entirely and try again because it won’t even accept a “next” command.
I double checked that the Device Handler and SmartApp were published in the right sections of the IDE, and I did a simple cut-and-paste of the code from the Wiki. I even went back and took the raw code from the repository, and no luck.
I have figured out it must be port 8081, because typing the wrong password gives me a password error. However, typing the correct password acts the same as using an incorrect port. It just holds on a blank screen and goes back to the “Connect to RainMachine” page again.
Also, FWIW, there’s no blank to enter anything for Server Polling (I’m not sure if that’s pertinent).
Hey! Sorry, I’m still slowly waking up from winter. My system isn’t running yet, so I’m normally slower to get into these. I will see how things look with the integration on my side to see if anything has changed.