[Image added to Emon Tx V4 and 433MHz Radio Formats - #36 by Robert.Wall]
@Robert.Wall
Thank you for the emonTH photograph
The emonTH is running with rfm69TxLib using the ānativeā message format.
If anyone requires it, it should be easy enough to make the RFM12B transmit using the LPL message format, with a moderately simple change to rfmTxLib, but transmit power will be fixed and it wonāt participate in the automatic power reduction nor will it re-transmit a failed message (because it doesnāt receive at all and so will ignore the request).
Iāve added a firmware and configuration page to the emonPi documentation, mirroring the same layout/format as seen in the emonTx3 documentation:
- https://docs.openenergymonitor.org/emonpi/firmware.html
- https://docs.openenergymonitor.org/emonpi/configuration.html
Once Im happy that the documentation and releases are all in place I will do a proper forum announcement.
Credit to @Robert.Wall for most of the work behind this. Robert built the JeeLib Native firmwares and produced the associated configuration documentation. Iāve just made a set of relatively small modifications to enable the use of the LowPowerLabs format and adjusted the configuration documentation a little to reflect this.
There are a couple of things that I need to look at again for serial configuration consistency.
I disabled the ability to change a temperature sensorās address or position in both the emonTx4 and emonTx3 firmwares (itās still available in the emonPi_CM firmware). I also changed the api for turning temperature sensing on or off. This resulted from changing the way the serial configuration in parsed, I added more strict checking of command and parameter lengths - but I would like to look at this again as Im sure thereās a way to achieve both and keep a consistent api throughout.
Iāve combined the LowPowerLabs emonTh2 firmware with the jeelib native and classic variants so that there is only a single firmware to maintain. The latest version is 4.1.0 and is available in the main emonth2 repository here: https://github.com/openenergymonitor/emonth2/tree/master/firmware. Again mostly Roberts work on the rfm69n version, Iāve just added #defines to switch between the radio formats, and a #define for ATTINY support.
Latest release: Release 4.1.0 Ā· openenergymonitor/emonth2 Ā· GitHub
Documentation firmware page: Firmware ā OpenEnergyMonitor 0.0.1 documentation
Documentation configuration page: Configuration ā OpenEnergyMonitor 0.0.1 documentation
Again I will do a proper announcement again, after completing the remaining firmwares.
In the interfacer?
[edit]
Lets not forget those poor folk on a emonTH1 (it still works
)
How about a top level section for Connecting it Together - canāt think of a better title - there must be one
In this include
- RFM (the current Networking)
- Direct Serial (UART)
- Direct Serial (USB)
- Wi-Fi Modules
There is probably quite a bit of duplication, so this could bring that all together.
Just a thought
not forgotten!
no in the sketch itself.
Yes great, will have a think about this.
How about Interoperability?
Iāve been looking at firmware for my emonTH and have just installed Platformio.
Iāve been looking at the Using Platformio page, a couple of observations:
- The page says it is built on the Atom editor but Platformioās own pages clearly aim at VS Code first.
- The link to silabs drivers gives a 404 error, I think it needs this one but can someone check please?
Thanks!
Hello @christian I only use platformio as a command line tool on linux, which it works very well at. There is an old platformio guide with windows instructions here - it probably needs updating? Using PlatformIO ā OpenEnergyMonitor 0.0.1 documentation
Thanks; my points relate to 2 inaccuracies on that page, it needs updating but I donāt believe I have permission.
This link takes you straight to the driver download:
I strongly advise using the Arduino IDE (search here for my posts about Platformio if you need details of my reasons for not using platformio). In āLearnā, you will find all the details of the libraries and driver installation that you need (for Windoze, Linux & Mac).
https://docs.openenergymonitor.org/electricity-monitoring/arduino-ide/index.html
Ah good find. Someone needed these recently for connecting a TX4 by USB and I couldnāt find the right page with the link (which is Obs broken.
@TrystanLea something for the TX4 page as well.
@Gwil or @TrystanLea
Some unclickable links on Installing the Arduino IDE ā Windows 10 ā OpenEnergyMonitor 0.0.1 documentation
Iāve updated the emonTh1 firmware with the option to switch between jeelib classic and lowpowerlabs. Hereās the release with hex files: Release 2.8.0 Ā· openenergymonitor/emonTH Ā· GitHub. These are also available via the emoncms update mechanism.
@Robert.Wall thanks will take a look at those
A post was split to a new topic: Change EmonLibCM to make it easier to switch between emonTx and emonPi
Hi everyone, thanks you for your great job on new device firmware and the material that you build. I have created a PR to fix an error in the emonTH2 firmware (when another frequency is used). I have also opened an issue (with a link to a commit) about the implementation of a new feature that it allows the possibility to use another encryption key (without modifying the source code). Donāt hesitate to comment it