ModWRT: Difference between revisions

From lechacal
Jump to navigation Jump to search
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:


[[Image: Main_modwrt.png | right | 600px]]
[[Image: Main_modwrt.png | right | 600px]]
Please note this product is coming soon.


The ModWRT is a Modbus RTU unit to interface with one or several RS485 RTU devices. The ModWRT will send a predefined set of registers to a server for data logging and display.  
A new version of the MODWRT is under development. See more here [[MODWRT2]].
The end server can be either Emoncms, Thingspeak, InitialState or a custom server.


All communication and dataflow can be configure using a web interface.
=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>
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=
=Technical Specifications=
Line 14: Line 17:
* Integrated Wifi<br>
* Integrated Wifi<br>
* Micro-usb Power supply<br>
* Micro-usb Power supply<br>
* Operating system: OpenWRT 14.04<br>
* Operating system: OpenWRT 14.07<br>
* Flash Memory: 64MB<br>
* Flash Memory: 64MB<br>
* Dimensions: 90x60x30mm<br>
* Dimensions: 90x60x30mm<br>
Line 29: 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 34: 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 53: 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 field datatype.<br>
<br>
<br>
As an example the above example will display the following data on Emoncms.<br>
<br>
[[File:Web_004.png]]
=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]]

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