Hi Gary,
I do agree with your approach, but this mean I have to correct my database 
by dividing by 1000 all existing records of my "Isolar" value.
I'm not sqlite expert, but I have already played a bit in there (mostly to 
eliminate wrong values).

I'm not 100% sure on how to proceed, can this sqlite command do the job? I 
am mostly concerned by how to write the "Isolar = Isolar/1000"

select Isolar from archive where Isolar != NULL;
update archive set Isolar=(Isolar/1000) where Isolar != NULL;

Regarding the sensor, it's my own sensor/code, It should be no problem to 
divide by 1000 before sending to weewx.
I already updated my sensor with a debug code to confirm it can outputs correct 
values in amp...just need to wait next morning to see it...no "Isolar" at night 
;-) 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to