October 31Oct 31 How do I get a UDM favorite to update its state variable in real time. Currently it seems to update primarily when I open the favorite dashboard.It appears that the first time I open UDM the state variables are correct, Later when I close and then open UDM the variables are still at the original settings when I first opened UDM Edited November 1Nov 1 by Techman
November 1Nov 1 4 hours ago, Techman said:How do I get a UDM favorite to update its state variable in real time. Currently it seems to update primarily when I open the favorite dashboard.This is from memory so you may need to do some looking around. I believe if you go to Settings-Controllers and scroll down after selecting your controller (if you have more than one), you should see Programs and Variables. I believe I recall there being a setting there.
November 1Nov 1 Author I had looked at that setting a few days ago and it was enabled. I'm thinking it may be a bug in UDM
November 1Nov 1 13 hours ago, DennisC said:This is from memory so you may need to do some looking around. I believe if you go to Settings-Controllers and scroll down after selecting your controller (if you have more than one), you should see Programs and Variables. I believe I recall there being a setting there.Yes, this.Nothing has changed in years so please check again. If issue persists is this Android or iOS?
November 1Nov 1 Author @JaviI checked again and UDM variables option is checked in UDM. It's on an AndroidCould it be something in an Android recent system update that's interfering with the UDM updates. Other than the state variables not updating UDM is working fine.The state variables show correctly when I first open UDM. When I close and then open UDM later in the day the variables have not updated. If I open the device dashboard in UDM the variables will update. Edited November 1Nov 1 by Techman
November 2Nov 2 Maybe try restarting both phone and your UD device. Not sure if it would help, but I would also synchronize UD Mobile.
November 2Nov 2 18 hours ago, Techman said:@JaviI checked again and UDM variables option is checked in UDM. It's on an AndroidCould it be something in an Android recent system update that's interfering with the UDM updates. Other than the state variables not updating UDM is working fine.The state variables show correctly when I first open UDM. When I close and then open UDM later in the day the variables have not updated. If I open the device dashboard in UDM the variables will update.I tested and cannot replicate. With setting off, no status at startup, with setting on status is shown at startup.Before any other debugging options, I recommend restarting both the phone and eisy. We have no other reports of this being an issue, so not sure of any possible causes.
November 2Nov 2 Author I had previously rebooted both. I'll keep an eye on it for the next few days. Thanks
November 2Nov 2 Author @Javi It appears that the the State variable value in the UDM node tree is always correct. The State variable value in the device dashboard seems to only update when I click on it which in turn updates the Favorite.I've tried uninstalling / reinstalling UDM, it didn't resolve the problem
November 2Nov 2 Author @Javi Here's the program and the variable setup. I enclosed admin console as it's eaiser to read
November 2Nov 2 Author @Javi This is the favorite for Office temperature. I'm displaying the variable not the node, could that be the issue? Edited November 2Nov 2 by Techman
November 3Nov 3 Everything looks good, Do both of these return without errors? /rest/vars/get/1/rest/vars/get/2
November 3Nov 3 Thinking about this again, do you have customizations for this variable. It could be overwriting value
November 3Nov 3 Author 4 hours ago, Javi said:Thinking about this again, do you have customizations for this variable. It could be overwriting valueThe state value is the value of the temperature sensor. I set the initialize value to the current value so that upon a reboot I have data rather than a null
November 3Nov 3 Author 5 hours ago, Javi said:Everything looks good, Do both of these return without errors? /rest/vars/get/1/rest/vars/get/2No errors with the rest commands
November 3Nov 3 22 minutes ago, Techman said:The state value is the value of the temperature sensor.I set the initialize value to the current value so that upon a reboot I have data rather than a nullUD Mobile customizations. If the value is shown without opening the variables dashboard in the variable list in UD Mobile. Then something is blocking showing the value.
November 3Nov 3 Author 11 minutes ago, Javi said:UD Mobile customizations. If the value is shown without opening the variables dashboard in the variable list in UD Mobile. Then something is blocking showing the value.Not sure where to go from here as far as troubleshooting
November 3Nov 3 Author @Javi I just got an Android message that UDM was problematic and that it was putting the app into deep sleep mode. I took it out of deep sleep and now the Favorite state values appear to be updating in real time.I'm thinking that maybe one of the favorites got corrupted and that it's affecting the favorite page from updating. Rather than taking anymore of your time I'll watch it for a few days to see it's updating correctly.
November 3Nov 3 Author @Javi Here's the message from Android, not sure what caused it. UDM never crashed or showed signs of a problem.
November 4Nov 4 Usually related to Android Killing the UDM service before UDM had time to close itself.
Create an account or sign in to comment