-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91ca68b
commit 257d829
Showing
1 changed file
with
2 additions
and
41 deletions.
There are no files selected for viewing
43 changes: 2 additions & 41 deletions
43
conf/interfacer_examples/directserial-serialtx3e/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |