[OpenTRV-dev] stats outs
Damon Hart-Davis
dhd at exnet.com
Mon Jun 1 11:09:25 BST 2015
So, here is where my scheme is up to now:
/**Simple immutable configuration for posting data into OpenEnergyMonitor emonCMS.
* The basic principle is to look for inputs in a tuple of
* (node ID, message type, value name)
* and possibly some other filter flags such as 'authenticated' and input type,
* possibly do a transformation such as scaling or force to numeric from string,
* then push out with a specified node ID and name and value.
*/
The aim is to allow you to have multiple mappings from whatever you like to whatever you like, essentially.
Rgds
Damon
> On 1 Jun 2015, at 11:05, Bo Herrmannsen <bo.herrmannsen at gmail.com> wrote:
>
> via the http method i think only numeric values for the value. but i think it can be with decimals
>
> 2015-06-01 12:03 GMT+02:00 Damon Hart-Davis <dhd at exnet.com>:
> Is happening, just not yet.
>
> > On 1 Jun 2015, at 10:42, Bo Herrmannsen <bo.herrmannsen at gmail.com> wrote:
> >
> > but ideal there should be a kind of config file where user can change ip and api key
>
> BTW, does EMONCMS only expect numeric values, or can it accept strings or arrays or other stuff?
>
> Rgds
>
> Damon
>
> _______________________________________________
> OpenTRV-dev mailing list
> OpenTRV-dev at lists.opentrv.org.uk
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
> _______________________________________________
> OpenTRV-dev mailing list
> OpenTRV-dev at lists.opentrv.org.uk
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
More information about the OpenTRV-dev
mailing list