Internal Memory section

Related to the Portal
Post Reply
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Internal Memory section

Post by rimai »

Hi Everyone,

I just updated the Portal code to include the Internal Memory section.
This will allow you to change some internal memory settings right in the Portal too!!
It requires dev libraries v1.0.1, which is due to be released soon.
Stay tuned!
Roberto.
fatman
Posts: 121
Joined: Wed May 30, 2012 10:44 pm

Re: Internal Memory section

Post by fatman »

Very nice, thank you.
Image
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

Awesome feature, very very explanatory and well laid out. However, I have been having trouble setting my heater on value since upgrading to dev lib 1. The value seems to be stuck at 1023. Setting it via the wizard and android app has no effect. I tried with the portal, same result. Here is the portal output when setting the memory:

Saving Internal Memory...
Controller is running dev libraries v.1.0.1
Heater On - OK
Chiller On - OK
Chiller Off - OK
Vortech Mode - ERR
Done.

Checking with the android app shows the heater on temp value is still 1023. What could be causing this value to stick like that?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

There was a memory table relocation on version 1.0.0
On android app, choose Settings->Settings and make sure that Pre v1.0 Locations is unchecked.
It will direct the android app to look at the new memory table.
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

Right, I found that after I upgraded to 1.0.0. The option is unchecked in the app, but the variable does not change. Could something have gotten screwed up when, after I initially upgraded to 1.0.0, I did not uncheck that option at first?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

What do you get when you browse http://ipaddress:2000/mi222 ?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

<M222>1023</M222>

Is that a default value from when I upgraded to 1.0.0?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

yes, that's the default value.
Now, what happens when you browse:
http://ipaddress:2000/mi222,780
That should put the 780 value in the memory. Does it do that?
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

Did you run the memory conversion code or loaded a new memory file at all?
http://forum.reefangel.com/viewtopic.php?f=7&t=1477
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

<M222>OK</M222>

And then the result of http://ipaddress:2000/mi222 is

<M222>1022</M222>

Which is especially odd, isn't it???
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

rimai wrote:Did you run the memory conversion code or loaded a new memory file at all?
http://forum.reefangel.com/viewtopic.php?f=7&t=1477

I loaded a new memory file created with the wizard
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

Is it just the heater memory location?
Can you post what you get with /mr?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

As far as I know it is the only memory section that gives this issue. Here is /mr (not sure what it means):

Code: Select all

<MEM>
0D0016FF0C001600FFFFFFFF07FFFFFF78003E030000FE031603390334033C63031C020AFFFFFFFFFFFFFF3C00FFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF100EFFFFFFFFFFFF3CFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0AFFFFFFFFFFFFFFFF
</MEM>
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

If you try to change the hearter off, chiller on and chiller off, does it take those?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

Yes, I can successfully change all of those values.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

Humm.. Let's see what happens if you change a byte long variable.
Try /mb222,100
Then read the byte value too with /mb222
What do you get?
Roberto.
btorrenga
Posts: 100
Joined: Mon Apr 16, 2012 10:22 pm

Re: Internal Memory section

Post by btorrenga »

Result of /mb222,100:

<M222>OK</M222>

Result of /mb222:

<M222>254</M222>
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Internal Memory section

Post by rimai »

It looks like your memory is somehow not saving it :(
I think the only solution is replace it. There isn't a way to replace the memory.
PM me.
Roberto.
Post Reply