Using emonhub "scales" as a quick and dirty calibration?

As I am lazy (TM) and my emonTX is screwed to the wall in the cupboard under the stairs I have been avoiding calibration via firmware hacks.

It occurred to me that the emonhub config includes scales which are normally shown a 1, 0.1, 0.01 etc. but a quick look at the code seems to indicate that any value is permitted:

https://github.com/openenergymonitor/emonhub/blob/emon-pi/src/interfacer...

line 256:

    if x != "1":
        val = decoded[i] * float(x)

Ignoring offsets and just thinking about scaling, is this a reasonable place to do any form of calibration?

Robert Wall's picture

Re: Using emonhub "scales" as a quick and dirty calibration?

You can do calibration there, but bear in mind two things: If another device picks up the radio feed (e.g. an emonGLCD), that too will need calibration, so all you've done is move the problem to two places instead of one; and secondly, you cannot calibrate phase error there.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.