EnOcean Link Solution
Contents
System Architecture
EnOcean Sensor and Light Tower (chip & demo kit vendor: ROHM)
Notice: Please make sure DIP switch of Light Tower module is setting in normal mode as below diagram.
Sensor Communication Protocol
Lighting Condition Data Format:
- First 4 bits = pervious status
- Last 4 bits = current status
Lighting Condition Value Definition:
- 0x0 Light off
- 0x1 Fast blink (0.5s per blink)
- 0x2 Blinking medium speed (1s per blink)
- 0x3 Slow flashing (2s per blink)
- 0x4 Light on
For example, value of third light is 41.
- First 4 bits is 4 , which mean previous status is Light On
- Last 4 bits is 1 , which mean current status is Fast Blink.
Tower Light Data Format
Protocol Specification
http://ess-wiki.advantech.com.tw/wiki/images/d/d9/Advantech_EnOcean_light_tower_2018.03.18.pdf
How to
Software Requirements
- USB receiver driver
- MQTT broker
- WISE-Agent
- API-GW
Software Installation for Windows 10
Notice: Please connect the gateway to the Internet before performing the installation.
Install Steps
- Install USB receiver driver
- Install MQTT Broker
- Install API-GW
- Install EoLinkManager , edit config, then restart service.
- Install WISE-Agent
Uninstall Steps
- Select the Start button, then select Settings > Apps. Choose the program you want to remove, and then select Uninstall.
- WISE-Agent
- EoLinkManager
- API-GW
- MQTT Broker
Configuration
In Windows 10
- You can edit C:\Program Files (x86)\Advantech\EoLinkManager\EoLinkManager.ini to change setting.
- Notice: Once config is modified, please restart EoLinkManager service in Task Manager or reboot gateway in order to apply new setting.
Setting File example:
[Platform] |
Notice: Please make sure above settings (in blue color) is correct. And please do not change other settings.
SerialPort
- Assign serial port which USB receiver (USB300) is using.
Interval
- The time delay between data access round in second.
NumberOfSensors
- Assign number of Tower Light Sensor module
Sensor0
- Assign id for Tower Light Sensor module. Format is Sensor0=<<MODULE_ID>>
- If you have multi Tower Light Sensor module, please start at a number 0 for the first module.
- Second module use Sensor1.
Debug
1. Check all installed software versions are correct.
2. Check if service is running
- Make sure EoLinkManager service is running.
- Make sure WISEAgent service is running.
- Make sure APIGateway service is running.
- Make sure mosquitto service is running.
3. Check EoLinkManger log file
- log files is available at EoLinkManager installed folder, (ex: C:\Program Files (x86)\Advantech\EoLinkManager\logs)
- View logs files to check if there are any error messages.
4. Check EoLinkManager configuration
- Make sure SerialPort setting is the port number USB receiver (USB300) is using.
- Make sure Tower Light Sensor module id is correct and assigned in Sensors section in configuration file.
5. Check if device id of Tower Light Module is listed in Sensor Hub List
In web browser and open url : http://GATEWAY_IP:3000/restapi/WSNManage/SenHub/AllSenHubList
- Assign ip address for GATEWAY_IP
- ex: http://127.0.0.1:3000/restapi/WSNManage/SenHub/AllSenHubList
Once Tower Light Module is managed by EoLinkManager, its device id will be listed in Sensor Hub List as shown on below picture.
6. Check WISE-Agent connection status
7. Check if sensor data is published to WISE-PaaS/EdgeSense
- Use web browser to open WISE-PaaS/EdgeSense web pages.
- Go to Device Page and choose the LightSensor device you are using, click on Monitor icon.
- In Monitor page, select SenHub , then you can monitor the LightSensor data payload.
Grafana Dashboard
Release
Version | Date |
Platform |
OS |
Release Note |
Download Link |
Note |
1.0.6 | 2021/8/23 | x86_64 CPU |
Windows 10 |
|
USB receiver driver: |
Notice: If API-GW 2.0.7 is installed in your system, please remove API-GW 2.0.7 first, then install API-GW v2.0.9. Please follow this guide. |
1.0.5 |
2020/6/1 |
x86_64 CPU |
Windows 10 |
|
USB receiver driver: |
Notice: If API-GW 2.0.7 is installed in your system, please remove API-GW 2.0.7 first, then install API-GW v2.0.8. Please follow this guide. |
1.0.4 |
2019/12/20 |
x86_64 CPU |
Windows 10 |
|
API-GW 2.0.7 EoLinkManager 1.0.4 MQTTBrokerSetup 1.0.4 USB receiver driver: |
|
Troubleshooting
After upgrading API-GW, API-GW not running
API-GW v2.0.7 or older version is not able to upgrade to v2.0.8
Please remove older version API-GW first, then install API-GW v2.0.8
Below steps shows how to cleanly remove API-GW v2.0.7 or older version.
Step-1. Remove API-GW
Step-2. Remove service.
If API-GW is still listed in service manager as below picture,
Then, use command line with Administrator privileges to run
sc delete apigw.exe