ModWRT: Difference between revisions

From lechacal
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
[[Image: Main_modwrt.png | right | 600px]]
[[Image: Main_modwrt.png | right | 600px]]


=Modbus RTU to Emoncms Thingspeak=
A new version of the MODWRT is under development. See more here [[MODWRT2]].
 
=Modbus RTU to Emoncms Influxdb Thingspeak=


Modbus to Emoncms. The ModWRT is a Modbus RTU unit to interface with one or several RS485 RTU devices. The ModWRT sends a predefined set of registers value to a server for data logging and display. <br>
Modbus to Emoncms. The ModWRT is a Modbus RTU unit to interface with one or several RS485 RTU devices. The ModWRT sends a predefined set of registers value to a server for data logging and display. <br>
The end server can be either of type Emoncms, Thingspeak or another custom server.
The end server can be either of type Emoncms, Influxdb or Thingspeak.


All communication and dataflow parameters are configured using a web interface.
All communication and dataflow parameters are configured using a web interface.
Line 30: Line 32:
3/ Dataflow configuration (ie which data goes where).<br>
3/ Dataflow configuration (ie which data goes where).<br>
<br>
<br>
The web interface is briefly described below. See more details in the [[Modwrt_Web_Interface | user manual]].
==1. RTU definition==
==1. RTU definition==


Line 35: Line 40:




[[File:Web_001.png]]
[[File:Web_001.png | 600px]]


==2. Servers definition==
==2. Stream to Emoncms, Influxdb, Thingspeak definition==


Internet of Thing (iot) servers can be configured on this page.
Internet of Thing (iot) servers can be configured on this page.


[[File:Web_002.png]]
[[File:Modwrt_streams_01.png | 600px]]
<br>
<br>
'''Name:''' Server identification name.<br>
'''Type:''' Type of target server. Can be one of Emoncms, Thingspeak or InitialState.<br>
'''Hostname:''' Hostname or IP address of the server. Can be local or on www.<br>
'''Apikey:''' APikey for identification with target server.<br>


==3. Dataflow Configuration==
==3. Dataflow Configuration==
Line 54: Line 55:
A single dataflow can query different RTU unit to send combined data onto a single export. <br>
A single dataflow can query different RTU unit to send combined data onto a single export. <br>
<br>
<br>
[[File:Web_003.png]]
[[File:Modwrt_dtfl_01.png | 600px]]
<br>
<br>
'''Description:''' Optional. A description relevant to the user.<br>
 
'''Enabled:''' Enable/Disable the dataflow.<br>
'''ID:''' ID for the receiving server.<br>
'''Server:''' Previously defined target server. <br>
'''Channel Name:''' Optional. A name relevant to the user.<br>
'''Rtu:''' The RTU ID defined previously.<br>
'''Datatype:''' The datatype to interpret the receiving data. Must be one of ''int, float, floatABCD, floatDCBA, floatCDAB, floatBADC''.<br>
'''Register:''' Starting register on the RTU unit for the requested data. Note the length is managed by previous field datatype. Decimal format required.<br>
<br>
<br>
As an example the above example will display the following data on Emoncms.<br>
As an example the above example will display the following data on Emoncms.<br>
Line 74: Line 68:


[[Modwrt Web Interface]]
[[Modwrt Web Interface]]
[[Modwrt on Command Line]]


[[Emonwrt3 Network Configuration]] (same applies for EMonwrt3 and Modwrt).
[[Emonwrt3 Network Configuration]] (same applies for EMonwrt3 and Modwrt).
[[Modwrt Update New Software]]
=Related Articles=
[[Use PZEM-016 with MODWRT]]

Latest revision as of 12:06, 13 August 2019

A new version of the MODWRT is under development. See more here MODWRT2.

Modbus RTU to Emoncms Influxdb Thingspeak

Modbus to Emoncms. The ModWRT is a Modbus RTU unit to interface with one or several RS485 RTU devices. The ModWRT sends a predefined set of registers value to a server for data logging and display.
The end server can be either of type Emoncms, Influxdb or Thingspeak.

All communication and dataflow parameters are configured using a web interface.

Technical Specifications

  • RS485 port
  • Ethernet port
  • Integrated Wifi
  • Micro-usb Power supply
  • Operating system: OpenWRT 14.07
  • Flash Memory: 64MB
  • Dimensions: 90x60x30mm
  • Enclosure: Aluminium case
  • Optional Wifi antenna

Software

The ModWRT web interface is build within the OpenWRT web interface.

There are three main functional area which are:
1/ RTU's definitions
2/ Servers definitions
3/ Dataflow configuration (ie which data goes where).

The web interface is briefly described below. See more details in the user manual.

1. RTU definition

All Modbus RTU devices can be configured on one single page using Slave ID and communication parameters (baud rate etc).


2. Stream to Emoncms, Influxdb, Thingspeak definition

Internet of Thing (iot) servers can be configured on this page.


3. Dataflow Configuration

This page will configure all dataflow combination.

A single dataflow can query different RTU unit to send combined data onto a single export.



As an example the above example will display the following data on Emoncms.

User Manual

Modwrt First use

Modwrt Web Interface

Modwrt on Command Line

Emonwrt3 Network Configuration (same applies for EMonwrt3 and Modwrt).

Modwrt Update New Software

Related Articles

Use PZEM-016 with MODWRT