Trying to set up my emonTx V4. Need firmware update

Disclaimer:
I’ve never tried to use the serial config tool in emonCMS on an emonPi or emonBase, so I’ve no experience of using it.

@TrystanLea
Can emoncms.org drive the serial monitor on an emonbase? Richard’s link above seems to imply that it can, but I was under the impression that the browser had to be working off and looking at the local emonCMS for it to work.
Also, as Richard points out, it looks as if a few more words or a link to the Docs is needed to explain what “please upgrade the device firmware” applies to and how to do it.

@microcarpentry

Looking at the 3 possible source files for the software inside your emonTx4, it appears that either Pin 1 or Pin 3 (depending on which you have - 6 inputs with or without temperature, or 12 inputs) is already set up to count the pulses, so no recompile is needed. But if you need 2 pulse inputs, then I’m fairly certain that you will need to set up the sketch to use Pins 1 & 2, recompile and upload. I can easily tell you the changes once I know which sketch you’re using, or you can look at the documentation for emonLibDB (included in the zip download EmonLibDB - Version 1.0.2 along with the ‘max’ example sketch) This will tell you what you need, but not necessarily where it goes in Trystan’s sketch - although it should be reasonably obvious. The instructions to recompile and upload are in Docs: Firmware — OpenEnergyMonitor 0.0.1 documentation. Although the powers that be recommend platfromio, I cannot endorse that because when I tried it, it moved directories on my machine (Ubuntu Linux - not too dissimilar to MacOS) and royally screwed up my system. I used the Arduino IDE when developing emonLibDB, so although much more complicated to set up and you need to tolerate the ‘dumbing down’ of Arduino, it served the purpose. And for what you need, once set up it’ll be absolutely fine.

I think this is covered in the Docs too, here Adding an emonTx4 to an existing installation — OpenEnergyMonitor 0.0.1 documentation
It’s certain you’ll need to add to your emonhub.conf file give it knowledge of the emonTx4.

Sorry I can’t be more specific about what you need to upgrade. I think it must mean your emonBase, but it could mean either or both.