Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson authored Oct 18, 2022
1 parent 91ca68b commit 257d829
Showing 1 changed file with 2 additions and 41 deletions.
43 changes: 2 additions & 41 deletions conf/interfacer_examples/directserial-serialtx3e/readme.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,4 @@
# Direct Serial emonTx V3 / emonTH
## Deprecated

Using emoneESP format direct serial

by @owenduffy

Interfacer for serial output from emonTx V3 (firmware V2.4 and above)

emonTx firmware V2.4+ outputs serial CSV string pairs compatiable with emonESP:

`MSG:value,name:value,name:value`

e.g

`MSG:12,ct1:100,ct2:300` ....

Messages **must** start with the `MSG:number` key:value pair. The message number does not need to increment but the interfacer looks for `MSG` as the identifier that the new string is a data string.

Default baudrate is `115200`

## Config example

Add the following to `emonhub.conf` in the `[interfacers]` section:

```
[interfacers]
### This interfacer manages the EmonTx3 ESP format serial
[[SerialTx3e]]
Type = EmonHubTx3eInterfacer
[[[init_settings]]]
# Un-comment line below if using RS485 adapter
#com_port = /dev/ttyRS485-0
# default com port if using USB to UART adapter
com_port= /dev/ttyUSB0
com_baud = 115200
[[[runtimesettings]]]
#nodeoffset = 1
# nodeoffet can be used for multiple devices. it will change the nodeID as seen by emonCMS Inputs.
pubchannels = ToEmonCMS,
```

See [blog post](http://owenduffy.net/blog/?p=9942) by @owenduffy detailing serial connection an emonTx V3 (running stock V2.4+ FW) with RS485 adapter.

Replaced with OEM Interfacer

0 comments on commit 257d829

Please sign in to comment.