rflink gives data from weatherstation (as bought is some stores)
e.g
alecto /ws1700/ cresta/ oregon/ auriol and many others
data:
20;20;Oregon Temp;ID=9610;TEMP=00de;BAT=OK;
20;21;Cresta;ID=3401;TEMP=00dd;BAT=OK;
20;22;Alecto V4;ID=5cf8;TEMP=00e9;HUM=32;
and so on
Who gives advise
1 how to converse in numbers decimal
2 how to split in sections e.g. ID=65; TEMP=23; HUM=63; BAT= 0 OR 1
from input
Auriol V3;ID=1A01;TEMP=00d2;HUM=63;BAT=OK
Dick flow-question.txt (5.0 KB)
Once you have split out the hex part (1A01 for example) you can use parseInt to convert it. So if, for example, you have "1A01" in the variable value then you can do var decimalValue = parseInt(value, 16)
The 16 tells it that it is base16.