I’m probably doing something wrong, but just tried the device module for adding a emonTH following this post and it seems to create an additional 2 inputs at the bottom of the input list, instead of using input #1 & #3
You haven’t done anything wrong, it’s because of the age old conflict between input indexes and input names both occupying the “key” field…
The templates have been written to suit named inputs and therefore posting to emoncms from emonhub via the bulk input api will not work without changes, either you need to post using key:value pairs (not CSV) or edit the template “inputs” from
to use numeric names (index) for the “name” (“key” on inputs page) eg
Yes, but not if you are using the “emonpi” variant of emonhub that does the scaling before sending.
There are many potential variations of any given template, many uses will want to track battery voltage, others will be interested in rssi, or have more than one temp sensor. Many of us also like to use the min and max daily processes too, I think the chargeable aspect of emoncms.org may have impacted the number of feeds included by default. IMO it’s easier to delete what you don’t want rather than having to add all the additional inputs, processes and feeds manually.
@trystanlea has said (back in Feb) he will look into allowing both indexed and named inputs to be used in emoncms simultaneously as the current code seriously divides users into one camp or the other, mixing is really quite difficult.