UApp Error - Nothing to update
UApp Error - Nothing to update
Whenever I try to update the "Turn Daylights on at:" or "Turn Daylights off at:" internal memory fields in the UApp, I get the error "Alert: Nothing to update."
The fields are showing blank on in the UApp, i.e., there is no time showing in those fields.
The fields are showing blank on in the UApp, i.e., there is no time showing in those fields.
Re: UApp Error - Nothing to update
Try to set them manually to something through the web interface
http://your.ip.address:2000/mb244,8 // Set StdLightsOnHour to 8am
http://your.ip.address:2000/mb245,30 // Set StdLightsOnMinute to 30 minutes
http://your.ip.address:2000/mb246,20 // Set StdLightsOnHour to 8pm
http://your.ip.address:2000/mb247,30 // Set StdLightsOnHour to 30 minutes
Then it should have some values. Might not be dealing well with NULL in the original field.
http://your.ip.address:2000/mb244,8 // Set StdLightsOnHour to 8am
http://your.ip.address:2000/mb245,30 // Set StdLightsOnMinute to 30 minutes
http://your.ip.address:2000/mb246,20 // Set StdLightsOnHour to 8pm
http://your.ip.address:2000/mb247,30 // Set StdLightsOnHour to 30 minutes
Then it should have some values. Might not be dealing well with NULL in the original field.
Re: UApp Error - Nothing to update
That was a good thought, but unfortunately, I still seem to be seeing blank fields in the UApp. The controller did return "OK" for each of the above calls. I tried rebooting the controller, and it still seems to show blanks.
Re: UApp Error - Nothing to update
Are you sure your Uapp is working properly? You have no portal key setup? or it's configured if you have one?
Re: UApp Error - Nothing to update
Have you tried in the portal? https://forum.reefangel.com/portal.php ?
Re: UApp Error - Nothing to update
I do have a portal key, which I set in my ReefAngel.Portal("sbidny", "<portal key>") call.
I am using the cloud server, and I can successfully set other internal memory fields. My Uapp is working for nearly every other function.
As for the portal, I'm not having much luck. It seems to log me out every few minutes. When I do log in, I am often greeted with a "Connection Status: Error - 500." And when it does say "Connection Status: Ready," I can't seem to update any of the internal memory fields anyway. It just says "Saving Internal Memory..." and never changes.
I am using the cloud server, and I can successfully set other internal memory fields. My Uapp is working for nearly every other function.
As for the portal, I'm not having much luck. It seems to log me out every few minutes. When I do log in, I am often greeted with a "Connection Status: Error - 500." And when it does say "Connection Status: Ready," I can't seem to update any of the internal memory fields anyway. It just says "Saving Internal Memory..." and never changes.
Re: UApp Error - Nothing to update
I see the problem. The memory locations you had me set were incorrect
Should be 204, 205, 206, and 207, not 244, 245, 246, and 247. Now I see the values again. Will try to update...
Should be 204, 205, 206, and 207, not 244, 245, 246, and 247. Now I see the values again. Will try to update...
Re: UApp Error - Nothing to update
Now when I try to update them all, I get a "Timeout. Please try again." And the values get set to some random numbers.
Tried to update just the "Daylights on," and now it turned null again.
Tried to update just the "Daylights on," and now it turned null again.
Re: UApp Error - Nothing to update
Odd. let's see what Roberto has to say. Sorry about the wrong numbers.
Re: UApp Error - Nothing to update
I can't replicate.
Using Chrome, enable developer tools by pressing F12.
Then select the tab console.
You should see the MQTT messages that get exchanged.
Now, go to the internal memory tab of uapp.
You should see a very long string.
Copy and paste here.
Using Chrome, enable developer tools by pressing F12.
Then select the tab console.
You should see the MQTT messages that get exchanged.
Now, go to the internal memory tab of uapp.
You should see a very long string.
Copy and paste here.
Roberto.
Re: UApp Error - Nothing to update
Will do...
Re: UApp Error - Nothing to update
BTW, do you want me to do this while I'm seeing the null value? I have updated them again from the URL, so I will need to reproduce the issue. Should be easy, but I want to check before proceeding.
Re: UApp Error - Nothing to update
Well, it was easy to get the null value back. Here is the string with the null value I'm seeing:
0f1e1500c2000f1e0a000f00525584035802340314140b030d03340333033ce402bf01001400161e00003c3c081e141e0a14323c14323c00800a0f643c0f643c0f643c0f643c0f643c0f643c780078000208c201000203f80220032a0300643c00643c00643c00643c00643c00643c00643c00643c00643c07f401c409000000000b0362645a3c00000032325702eb054e026c074e026c074e026c07ffffffffffffffff00ffffffffffffffffffffff
0f1e1500c2000f1e0a000f00525584035802340314140b030d03340333033ce402bf01001400161e00003c3c081e141e0a14323c14323c00800a0f643c0f643c0f643c0f643c0f643c0f643c780078000208c201000203f80220032a0300643c00643c00643c00643c00643c00643c00643c00643c00643c07f401c409000000000b0362645a3c00000032325702eb054e026c074e026c074e026c07ffffffffffffffff00ffffffffffffffffffffff
Re: UApp Error - Nothing to update
That's very odd.
C2 is not a valid hour.
The string represents the internal memory values starting at 200.
What happens when you change to a correct number and click save?
Can you post the log?
C2 is not a valid hour.
The string represents the internal memory values starting at 200.
What happens when you change to a correct number and click save?
Can you post the log?
Roberto.
Re: UApp Error - Nothing to update
FYI, updating the value is now causing my controller to reboot.
Re: UApp Error - Nothing to update
It seems to be rebooting every time the Uapp needs to update more than one value at a time, which the time fields do automatically. If I update a single field, it works fine. If I update two independent fields or a single time field, it reboots the controller.
Re: UApp Error - Nothing to update
Were you able to see what the console log shows when you update the value?
Roberto.
Re: UApp Error - Nothing to update
See attachment.
- Attachments
-
- forum.reefangel.com-1546987244699.log
- Chrome Console Log
- (1.51 KiB) Downloaded 563 times
Re: UApp Error - Nothing to update
According to the log, the controller did receive the memory location 204 change to 14 and it even responded with OK.
The 205 was not acknowledged though.
That's when you mentioned it rebooted and I can see that in the log too.
But I can't replicate.
This is what I get on my RA+ test controller using the cloud wifi attachment:
The 205 was not acknowledged though.
That's when you mentioned it rebooted and I can see that in the log too.
But I can't replicate.
This is what I get on my RA+ test controller using the cloud wifi attachment:
Code: Select all
0f1e15000e3b151e0a000f00040484035802ee021414fd02030307030303ff3e031c02071400161e00ffff3c003c00f6090f643c0f643c05380b0f643c0f643c0f643c0f643c0f643c0f643c7800ffff0208c2011e0203f80220032a0300643c00643c00643c00643c00643c00643c00643c00643c00643c07f401c40984031405ee023c41043c0001022e0a4e026c074e026c074e026c074e026c07ffffffffffffffff1effffffffffffffffffffff
uapp.js:661 PopoverControllermemoryrawok
uapp.js:2111 PH:340
uapp.js:2111 PH:342
uapp.js:2111 PH:340
uapp.js:2111 PH:342
uapp.js:931 mb204,13
uapp.js:2111 MBOK:204
uapp.js:2373 mb205,58
uapp.js:2111 MBOK:205
uapp.js:2111 PH:340
uapp.js:2111 PH:342
Roberto.
Re: UApp Error - Nothing to update
Strangely, the same change from my phone causes the same timeout, but it does not cause the reboot.
-
- Posts: 3
- Joined: Sat Sep 07, 2013 6:47 am
Re: UApp Error - Nothing to update
Did this ever get resolved? I have the same issue.