Intellichem

Post Reply
bsp9493
Posts: 4
Joined: Sat Dec 09, 2017 11:50 am

Intellichem

Post by bsp9493 » Wed Apr 25, 2018 8:57 am

Hi...

I see you are able to provide intellichem details in your app and it appears they ate also included in the xml files as a comma delimited list under ichem...

Question, what do these 40 some fields correspond to? I am trying to parse out that line to get the pH, ORP, and SI readings, but i see nothing that corresponds to the actual readings. Am i missing something or is there another place in the xml to get this info?

Thanx

dave
autelis
Site Admin
Posts: 1116
Joined: Tue Nov 30, 2010 1:02 pm

Re: Intellichem

Post by autelis » Thu Apr 26, 2018 8:26 pm

We will be adding fields for the individual values in the next firmware update. But you can take a look at the javascript to see how the values are extracted currently if you want to use it right away. Thanks.
Autelis.com Staff
bsp9493
Posts: 4
Joined: Sat Dec 09, 2017 11:50 am

Re: Intellichem

Post by bsp9493 » Fri Apr 27, 2018 10:03 am

Ah ha!!!

I knew there had to be some math involved.

pH: " + ((parseInt(chem[0]) * 256 + parseInt(chem[1]))/100)

ORP: " + (parseInt(chem[2]) * 256 + parseInt(chem[3]))

SI: " + ((parseInt(chem[22]) > 127)?(parseInt(chem[22])-256):(parseInt(chem[22]))/100);

Thank you!!
Post Reply