Configuring your Octopus Gateway with the Wattics Octopus Software Tool

This post outlines the configuring steps for the Wattics Octopus Software Tool, for configuration of data collection for your Wattics Octopus. This document should be used to:

  • Familiarise yourself with the Octopus Software Tool.
  • Quickly start using the Octopus Software Tool to commission and operate your Octopus Gateway and I/O Extension units

 

NOTE: Read and understand this document and all related documents before installing, operating, or maintaining your Octopus. Installation and program procedures must be carried out and inspected by qualified personnel. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with this product.

 

1 – Requirements

Before you start please make sure you have all material available.

  • Octopus Gateway(s) and I/O Extension unit(s)
  • Measurement devices/lines
  • Power Supply
  • Cables and wires needed for connections
  • Wattics Octopus Software Tool

 

2 – Your Installation setup

In its standard configuration, the Wattics Octopus is a Gateway unit with network and RS485 connections, together with a standard set of inputs/outputs.

 

I/O Extension units can be added when more inputs/outputs are required, see the Octopus Installation Guide for more details.

 

A variety of meters, sensors and other devices must by now be connected to the Octopus, and the following outlines the information you will need for the Octopus software configuration:

  • Modbus devices (see RS485 Modbus devices wiring guidelines)
  •  
    For each Modbus RTU device (RS485 wiring), you need to know:

        – Device name
        – Modbus address
        – Baud rate
        – Data parity
        – Number of bits
        – Number of stop bits

     

    For each Modbus TCP device (LAN connection), you need to know:

        – Device name
        – IP address
        – Modbus address

     
    Make sure that the Octopus and Modbus slave devices are connected within the same IP range.

     

  • Pulse outputs (see See Pulse Output wiring guidelines)
  •  
    For each pulse output, you need to know:

        – Device name (the device issuing pulses e.g. Utility water meter)
        – Input number (where the pulse unit is connected e.g. Gateway Input 1 or I/O Extension Unit Input 3)
        – Pulse conversion (what one pulse represents e.g. one pulse = 1kWh)

     

  • PT100 probes (see See PT100 wiring guidelines)
  •  
    For each PT100 probe, you need to know:

        – Area name (the area monitored by the sensor e.g. Plantroom temperature)
        – Input number (where the PT100 sensor is connected e.g. Gateway Input 1 or I/O Extension Unit Input 3)

     

  • Others (see list of devices supported by Octopus)

 

3 – Configure your Octopus

 

3.1 Download the Octopus Software Tool


Request the Octopus Software Tool

 

3.2 Connect to your Octopus to your computer

To set up your metering installation with the Octopus Tool you will need to connect your computer running the Octopus Software Tool to the same network as the Octopus, or directly to your computer.

 

 

3.3 Configure your deployment setup

 
Launch your Octopus Software Tool and create a new Branch, using the “+” button.

 

Fill the “Branch Name” field with a short name for your project, and insert the serial numbers of all the Octopus Gateway and I/O Extension units deployed.

 

Select the correct timezone in the Timezone dropdown menu. If you cannot find your city select the closest city to your site location which is in the same timezone.

 

Click on Network Configuration to enable Internet access for your Octopus. You will need to get network parameters from your IT department if the Octopus’ IP Address must be registered with your IT department for Internet access. Otherwise you can enable DHCP to get the Octopus to connect to the Internet automatically. Once you have the network settings chosen click Discover and then Set to register them.

 

If you use a GPRS sim card for Internet access, you must enter your APN name and APN credentials here.

 

You must click OK to create the Branch.

 

You must now set up the Wattics URL where data collected will be sent to. Navigate to Output>Services from the top menu, and do the following:

  • Enable Service 1
  • Set Wattics as Service Name
  • Enter octopus.wattics.com as Service Host Address (IMPORTANT: When using GPRS Sim cards or when your firewall does not support the use of URLs, you must enter 52.50.202.103 as Service Host Address.)
  • Set 4401 as Port
  • Click OK.

 

Once back to the Octopus Software Tool landing page, you can select your Branch and click the “Add” button on the right side to register your first device connected to Octopus.

 

Find your device from the drop-down menu. For example, if you have deployed an AccuEnergy AcuVIM II meter, find the meter under the Modbus menu tree and click Add.

 

At the next screen, you must enter the device name, its Modbus address, and whether it is connected to the Octopus Gateway via RS485 or via the LAN (RTU485 or LAN).

 

The device name must be a unique name identifier. We ask you to use the following naming convention for choosing your unique name identifier, and to write this unique identifier in your Installation Report:


OctopusID-counter nameofdevice


(for example use 230007E7-1 Plantroom meter for the Plantroom meter if this is the first device configured via the Octopus Gateway ID 230007E7. The next device will use the -2 counter extension etc)

Make sure to insert a space between OctopusID-counter and nameofdevice

 
For RS485 connections, you must set the same serial line settings registered within your meter and click OK.

IMPORTANT: Set the response time to 500 if using multi-channel meters or daisy chain configuration, to allow all the Modbus devices to return measurement in time.

 

For LAN connections, you must enter your Modbus device’s IP address and click OK.

The next screen shows you all the parameters available for that Modbus device. You may unselect some parameters if you are not interested in all measurements. Click OK to save your configuration.

 

The Modbus device now appears in the list of devices registered within your branch.

 

You can now add more devices. You may for instance wish to add a temperature sensor connected to one of the Octopus inputs.

 

Enter a unique name for your device, select the input to which the temperature sensor is connected to, and click OK.

 

Repeat the same for more devices, for example you may add a pulse meter.

 

Again, enter a unique name for your device, select the input to which the pulse output was wired, and enter a pulse factor that will translate your pulse count into the unit you want (e.g. if 1 pulse is received for every 1kWh consumed and you want to count the number of watts per hour consumed, you may apply a conversion factor of 1000 that will deliver a 1000Wh reading instead of 1 pulse). Click OK to save.

 

Once you have all your devices created, you must deploy your configuration onto the Octopus Gateway. Select your branch and click on the Deploy button.

 

On the next screen, leave the default settings and click on Deploy.

 

Your Octopus Gateway is now configured for data collection from all the devices connected. We recommend that you save your project should you need to modify the configuration as a later stage. You will then be able to open an existing project and make further modifications.

 

4 – Submit your installation report

 
Submit your Installation Report to Wattics via:

Wattics Installation Report Submission Form

 

Example of Octopus Installation Report – Download your Installation Report template here
 

 

Wattics will use your Installation Report to double check that data is being received from your Octopus Gateway unit and correctly showing in your dashboard. You will then receive access to your Wattics dashboard, and from then on you will be able to log in to your Wattics Dashboard at http://dash.wattics.com and get started!

 

Please contact us at support@wattics.com if you have any question regarding the set up of your Octopus units.
 
What else?

1 – Connecting RS485 Modbus devices to the Wattics Octopus
2 – Connecting pulse outputs to the Wattics Octopus
3 - Connecting PT100 probes to the Wattics Octopus
4 – Configuring your Octopus Gateway with the Wattics Octopus Software Tool

 

Octopus Troubleshooting

If you have a question that is not asked and answered on these pages, please contact us at support@wattics.com

Does the GND lines of the Octopus server and IO extension units need to be connected if both units are used for pulse counts?

If the Octopus Gateway and the I/O Extension unit are on the same CANBus then they already share the GND, so you just need to connect it on one of the units.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.
Does the Octopus accept all types of sim cards (normal, mini, nano)?

The Octopus Gateway only accepts the Standard SIM Card type.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.
How many parameters can be stored in the Octopus?

The Octopus Gateway has a 150000 circular log and each parameter measurement corresponds to 1 log.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.
How to check if my Octopus Gateway successfully transmits data to Wattics

You can use the CDT.exe tool to verify the status of the Octopus’ data push to Wattics. The CDT.exe tool is located in the same directory as the WatticsTool.exe:

 
Launch the CDT.exe Software Tool, tick ‘Serial Number’, enter your Octopus serial number (e.g. 230001AB) and click Connect.
 


 
Once connected, click on the System Messages tab, and checks the logs:

  • LAN connection: if you see a message starting with [ETH] showing up every 30 seconds, then it means that the connection to the Wattics platform fails and the Octopus tries to reconnect. If no message pops up within a minute then the connection is established.
  •  

  • GPRS connection: if you see messages with ATModem::Connect (ConnectionID: 0) and DISCONNECT: 0 | RX: 0 | TX 0 | LN: 227 showing up alternatively every 30 seconds, then it means that the connection fails due to the PIN code of the sim being active or to the use of wrong APN credentials. Logs showing new connections may also appear should the network signal strength be low. A successful connection will only show updates on network signal strength with no disconnection or reset logs.

 

Troubleshooting

1. If using a LAN connection, make sure that the IT team has configured their firewall to allow TCP communication from the Octopus to octopus.wattics.com (52.50.202.103) on port 4401. You can also double check that you have correctly set up the Wattics URL where data collected will be sent to. Navigate to Output>Services from the top menu, and do the following:

  • Enable Service 1
  • Set Wattics as Service Name
  • Enter octopus.wattics.com as Service Host Address (IMPORTANT: When using GPRS Sim cards or when your firewall does not support the use of URLs, you must enter 52.50.202.103 as Service Host Address.)
  • Set 4401 as Port
  • Click OK.

 

 
2. When using GPRS Sim cards or when your firewall does not support the use of URLs, you must enter 52.50.202.103 as Service Host Address in your Octopus project file. To check this, run the Wattics Tool and open your project, then go to Output>Services. Change octopus.wattics.com with 52.50.202.103, save and redeploy your project. Double check your APN credentials, and disable your sim card’s 4-digit PIN code using any unlocked mobile phone.

 

​​3. To check if data is being received on Wattics’ end, you must go to the Breakdown tab in your Dashboard, click on your data point and check the control panel on the right hand side. If Jan 1970 is shown then it means that no data has been received yet (please wait for at least 10-15mn). The panel will otherwise update to today’s date when data starts being collected, and you will be able to select that day and check the first data points coming in.


 

You can also check the last data packet received in the meter status available in the Attributes tab, that you can access by hovering over your name in the top right corner. Invalid Date means that no data has been received yet.

 

Please contact us at support@wattics.com if you have any question regarding this verification process.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.
How to insert my sim card into the Octopus GPRS Gateway

First of all, you must ensure that you use a standard sim card, with the 4-digit PIN code disabled (that can be done with any unlocked mobile phone). Other sim card types are not supported.


 

The sim card must be inserted as follows.

 

When you push the sim in, it should stop itself with 5mm of the sim card remaining outside of the Octopus, allowing you to remove it easily. There is no release mechanism, just push and remove.

 

You may contact us at support@wattics.com for any clarification.
 

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.
How to wire different types of pulses?

The Octopus and I/O Extension units can accept 4 types of pulses, please refer to the correct wiring diagram depending on your metering setup.

 

Dry Contact Pulses

 


 

Dry Contacts (with no power source):

1. Power the Octopus off
2. Connect the Octopus V+ line to the meter’s input line
3. Connect the meter’s pulse output line to the Octopus digital input line
3. Power up the Octopus

Dry Contacts (already with power supply on common):
The first check is to ensure that the 3rd party controller’s power supply is DC and does not exceed the maximum voltage of 24VDC. Once this is confirmed, follow the steps below:

1. Power Octopus and controller off
2. Connect the GND from Octopus Power Supply to the GND of the 3rd party controller’s power supply
3. Connect pulse output(s) from the 3rd party’s controller to Octopus digital inputs
4. Power up both units

The problem with not having a common GND is that the voltage at the 3rd party controller’s input can be higher than 24VDC.

 

Diode Pulses

Same connection as the dry contact pulses but with polarity. That means the 24VDC and the pulse unit need to be connected to the right terminal input/output of the pulse meter.

 

Transistor (PNP/NPN) Pulses

 


 

Pulses types need to be verified before the installation to avoid any problems.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.
Pulses are not counted by the Octopus, what should I do?

Should pulses not be counted by the Octopus devices, you can follow the following steps to troubleshoot the issue:

1 – Use a multimeter to verify that:

  • Pulses are generated by the pulse-emitting device and visible at the multimeter. No pulses means an issue with the pulse-emitting device and not with the Octopus.
  • The output voltage line of the pulse-emitting device goes back to near 0V between pulses. Any base voltage over 1V can possibly mean that the 0-24V transitions are not captured by the Octopus, requiring remote assistance to update the pulse threshold on the Octopus.

2 – Short the V+ terminal outputs of the Octopus devices with any of its terminal inputs to simulate pulses and check if these are counted by the Octopus. If they are not counted then it means that there is a misconfiguration with your Octopus software project, please check you have used the correct driver and the correct input number.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.

Anthony Schoofs

Chief Technical Officer at Wattics
Anthony drives Wattics' innovation on energy efficiency for industrial and grid environments. Anthony is also behind WSNbuzz.com, a blog covering technology advances within the smart grid and IoT markets, and was listed in 2011 amongst the top 100 IoT thinkers. Anthony was recently awarded the Globe Sustainability Research Award for his contribution to advancing knowledge on sustainability.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>