on ‎2019 Dec 11 12:03 PM
Hi,
i'm currently trying to receive command sent by the "Application Enablement" to the Service Cockpit and ultimately to the corresponding device. I do this to be able to send commands from applications that I build upon the AE to my devices.
To set everything up i've primarly used two sources: Blogpost, Repository. I'm aware that both are not up to date and contain a few depracated API calls. They served as a reference.
From what I can tell I managed to create the neccessary components. This is the view i have from the AE on my Thing:

As you can see, the "Thing'" receives data from the Device and it also has an Target Value input field which is linked to a "Command" capability on Service Cockpit. The Target Value input field only accepts numbers, commatas, dots etc. and the character 'e' as valid input, everything else is not shown.
The Mapping looks like this:

I have created the mapping with help of the API because doing it inside the AE didn't work. ( TargetValue didn't get saved ). Interestly the creating the mapping with the API only worked, if both the measure capability and command capability have the same datatype as the PropertySet. Which in my case means that both the command and the measure are both modeled as "Float" in the Service Cockpit, which is counterintuitive as the command is meant to be boolean.
In the first Image you can see that data is present in the AE which was sent by a Device. My theory is that the command is somehow lost inbetween the AE and the Service Cockpit.
I would appreciate any kind of help.
Christoph
I might edit this question to add addional information.
Request clarification before answering.
Hi Christoph, were you able to resolve this? If yes please post the update here for others that might have the same issue. Regards, Marcus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 9 | |
| 7 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.