I ran out of time to work on it yesterday, but am hoping to work with it a bit today to get something going.
I use HSM with Konnected, but there is not direct link between the modes listed in "Location and Modes"and the monitoring of the Konnected sensors. HSM support would be great...that would allow me to set it direct from the MQTT alarm panel without the virtual switch relays. Konnected
Ok, got the same error after reinstalling the app....these are the full logs from new install to right as I got the error. The actions I took in the app were to setup the MQTT broker config....hit done to make sure that was fully set. It was fine after setting the broker info, so then I created a virtual switch....app started to throw an unexpected error at this point:
Strange - this isn't the error you posted before and there is really nothing in that log that is problematic - ignore that 'error' message it's was there as a attention grab debug. So there is nothing there that helps me track down the reason you get this 'Unexpected' . Your debug levels is still at 'trace'+ which is too verbose as trace and debug log messages are normally suppressed.
I was able to reproduce an error that was similar to the previous one you reported but again that would not have stopped the app running.
You used this to remove the app - did the child devices get automatically removed too ?
So maybe I need to force 'uninstalled' to run , and that method of removal doesn't do that. I suspect then the atomicState variables might have survived too.
I think the best way is to send you a small app that will delete all the data created by my app - and any child devices - we'll run that and then it will have an uninstall button. Then you can install the app again afresh.
You could also try downloading the beta3a app code again - and replacing the existing app code and then running the app again.. just in case something got changed. Maybe you already did that.
I've never had this issue reported before.. but I can create 'unexpected errors' but there is usually an accompanying error message in log or on the web page.
Let me know if that works... if not I now have a small app here that will remove everything I
I'm likely to issue beta3b fairly shortly addressing the child device creation issue and also adding HSM support.
It also fixes your previously reported error message [error] groovy.lang.MissingMethodException: No signature of method: user_app_ukusa_MQTT_122.none
but that wasn't causing the issue you have.