Unable to Connect Ewon Flexy to ThingWorx using Ewon Flexy Connector
Description of the Issue
We are integrating Ewon Flexy with ThingWorx using the Ewon Flexy Connector but are encountering issues in the setup.
We are following the direct path configuration as mentioned in:
📄 flexy-thingworx-connector-3.3.5-README.pdf
Despite following all the steps, the connector is not generating the required configuration file after restarting the Ewon device. Additionally, we see warnings in the ThingWorx Application Logs, indicating a potential issue with the connection.
Steps Followed
We followed the steps mentioned in the official documentation:
📄 Flexy-ThingWorx Connector Documentation
Steps Performed on Ewon Flexy
-
Cloned the Ewon Flexy Connector Repository
- Repository URL: https://github.com/hms-networks/flexy-thingworx-connector
-
Modified the Configuration Files
- Updated the flexy.properties and ThingworxConfiguration.json files inside the
/Config/folder with the required parameters.
- Updated the flexy.properties and ThingworxConfiguration.json files inside the
-
Built the .jar and JVM Files
- Ran the following command to build the connector:
shell
mvn clean package - The build was successful, and the required
.jarfile was generated.
- Ran the following command to build the connector:
-
Uploaded the Required Files to Ewon
- Uploaded the
.jarand JVM files to the/usr/directory of the Ewon device.
- Uploaded the
-
Rebooted the Ewon Flexy Device
-
Expected Outcome:
- After reboot, the ThingworxConfiguration.json file should be automatically generated with default values.
- We would then update the ThingWorx URL and AppKey in the configuration file.
-
Actual Outcome:
- The ThingworxConfiguration.json file was not generated after reboot.
-
Expected Outcome:
-
Manually Created the Configuration File
- Since the configuration file was not auto-generated, we manually placed the ThingworxConfiguration.json file inside the
/usr/directory. - Restarted Ewon Flexy from the web interface.
- Since the configuration file was not auto-generated, we manually placed the ThingworxConfiguration.json file inside the
-
Checked for Connection to ThingWorx
-
Expected Outcome:
- Ewon should connect to ThingWorx successfully.
- If there is an issue, an error should be displayed under Logs → Real-Time Logs.
-
Actual Outcome:
- Ewon did not connect to ThingWorx.
- Observed warnings under the ThingWorx Application Logs after restarting Ewon.
-
Expected Outcome:
Steps Performed on ThingWorx
-
Imported the ThingWorx Project
- Imported the EwonThingworxConnector project into ThingWorx 9.3.11.
-
Created an AppKey
- Created an AppKey with Administrator permissions to authenticate Ewon.
-
Modified the ConnectorHost Entity
- Set
disableTalk2Mtotruein the ConnectorHost entity. - This is to configure direct communication between Ewon and ThingWorx without relying on Talk2M.
- Set
-
Checked the Application Logs
- After restarting the Ewon Flexy device, observed warnings in the ThingWorx Application Logs.
- This suggests a potential issue with the connection setup.
Issues Observed
- The ThingworxConfiguration.json file is not auto-generated after reboot.
- Even after manually adding the ThingworxConfiguration.json file, Ewon does not connect to ThingWorx.
- Warnings are observed under ThingWorx Application Logs when Ewon is restarted.
-
Direct path configuration does not seem to be working as expected despite setting
disableTalk2M = true.
We would appreciate guidance on:
- Why the ThingworxConfiguration.json file is not being generated.
- How to resolve the connectivity issue between Ewon Flexy and ThingWorx.
- Explanation of the warnings appearing in ThingWorx Application Logs.
- Any additional configurations required for direct path communication to work correctly.
-
Hi Leekhil,
You have also created a Support Ticket on this, I will check on that case since we will need a backup from you.
There is one alternative Solution you can check out to connect to Thingworx that would be this:
Alternative Connection Method: Techforum entry on Thingworx
br
Franziska Gültig
0 -
Hi Franziska,
Thank you for providing an alternative method. However, I would prefer to proceed with the Flex Connector method. Could you please assist me in resolving the issue?
Additionally, I have a few questions regarding the alternative method:
- Will it work with all types of tags?
- I have enabled historical logging for all properties to ensure no data points are missed when Ewon and ThingWorx are disconnected. I believe this might not be achievable with the alternative method.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare