Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
I use EMS to connect remote thing to thingworx platform in window 7, I have edit the config.json and config.lua,and start wsems.exe and luaScriptResource.exe.
on thingworx platform, browsing remote properties, it shows error: Error browsing properties. Be sure the remote device/server is connected and configured properly.
1、config.json as follows:
{
"ws_servers": [
{
"host": "localhost",
"port": 8080
}
],
"appKey": "93ba9f9a-5d75-4cbd-817e-590863d830cd",
"ws_connection": {
"encryption": "none",
"verbose": true
},
"certificates": {
"validate": false
},
"logger": {
"level": "TRACE",
"audit_target": "",
"publish_directory": "D:/temp",
"publish_level": "TRACE",
"max_file_storage": 2000000,
"auto_flush": true
},
"http_server": {
"host": "localhost",
"port": 8000,
"ssl": false,
"authenticate": false
},
"auto_bind": [
{
"name": "MyEMS",
"gateway": true
},
{
"name": "EdgeThing",
"host": "localhost",
"port": 8001,
"protocol": "http",
"gateway": false
}
]
}
2、config.lua
scripts.log_level = "TRACE"
scripts.EdgeThing = {
file = "thing.lua",
template = "example",
}
scripts.sample = {
file = "sample.lua"
}
scripts.rap_host= "localhost"
scripts.rap_port=8000
scripts.rap_resource_host= "localhost"
3、I create a remote thing on thingworx platform, called EdgeThing .
ems can connect to thingworx platform, and EdgeThing isConnected=true.but cannot access properties remotely.
4、http://localhost:8001/scripts/,when open this url, is shows net::ERR_CONNECTION_REFUSED
who knows this problem?
消息编辑者为:Zhi Wei Li
Zhi Wei, just to make sure, you have example template under microserver folder/etc/custom/ templates, right? Can you post your lua logs?
hi, Aanjan
yes,there is a file called example.lua in the folder microserver\etc\custom\templates, the file come with install file.
the lua log is:
ndler. script: sample, path: property/datetime
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/property/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/property/datetime/
[DEBUG] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Found call
back property_datetime for path /scripts/sample/property/datetime/
[DEBUG] 2016-07-13 08:18:23,873 luaScriptProxy::executeScriptCallback: Executed
GET request on property_datetime
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Script_Pushed_Datetime
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler script
[DEBUG] 2016-07-13 08:18:23,873 EdgeThing: Executing property read via script ha
ndler. script: sample, path: property/string
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/property/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/property/string/
[DEBUG] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Found call
back property_string for path /scripts/sample/property/string/
[DEBUG] 2016-07-13 08:18:23,873 luaScriptProxy::executeScriptCallback: Executed
GET request on property_string
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Script_Pushed_String
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler script
[DEBUG] 2016-07-13 08:18:23,873 EdgeThing: Executing property read via script ha
ndler. script: sample, path: property/number
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/property/
[TRACE] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Checking p
ath /scripts/sample/property/number/
[DEBUG] 2016-07-13 08:18:23,873 ScriptResource::executeScriptRequest: Found call
back property_number for path /scripts/sample/property/number/
[DEBUG] 2016-07-13 08:18:23,873 luaScriptProxy::executeScriptCallback: Executed
GET request on property_number
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Script_Pushed_Number
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_ThingN
ame
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_Number
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler generator
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_Incrementing_Da
teTime
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler generator
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_Square_Number
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler generator
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_Incrementing_Nu
mber
[TRACE] 2016-07-13 08:18:23,873 utils::evaluateChange: Property Pushed_Increment
ing_Number change of 2 exceeds pushThreshold of 0
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_Boolea
n
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler generator
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_Cos_Number
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_InfoTa
ble
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler generator
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_Sin_Number
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_String
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: ValidationString
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_Imagel
ink
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Read property: Pushed_InMemory_UserNa
me
[TRACE] 2016-07-13 08:18:23,873 EdgeThing: Calling registerEdgeThing. currently
registered: false
[DEBUG] 2016-07-13 08:18:23,873 thingworx.server: Invoking /Thingworx/Things/Loc
alEms/Services/AddEdgeThing on server. content: {"keepalive":60000,"port":"8001"
,"timeout":15000,"host":"localhost","proto":"http","name":"EdgeThing","path":"/s
cripts/Thingworx"}
[TRACE] 2016-07-13 08:18:23,873 luaBindings:newRapClient: Found RAP at localhost
:8000
[TRACE] 2016-07-13 08:18:23,873 luaBindings: Got RAP timeout: 0
[DEBUG] 2016-07-13 08:18:23,873 SDK: twTlsClient_Create: Initializing TLS Client
[TRACE] 2016-07-13 08:18:23,873 HttpClient::processReq: POST /Thingworx/Things/L
ocalEms/Services/AddEdgeThing HTTP/1.1
[TRACE] 2016-07-13 08:18:23,873 httpClient::processReq: Adding default header co
ntent-type: application/json
[TRACE] 2016-07-13 08:18:23,873 httpClient::processReq: Adding default header ho
st: localhost
[TRACE] 2016-07-13 08:18:23,889 HttpResponse::on_message_begin: Response started
[TRACE] 2016-07-13 08:18:23,889 HttpResponse::on_message_complete: Response comp
lete. Code: 200 Reason:
[DEBUG] 2016-07-13 08:18:23,889 TlsStream::doclose: Disconeccting socket
[DEBUG] 2016-07-13 08:18:23,889 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:18:23,889 HttpClient::processReq: Response received. Respo
nse code = 200
[TRACE] 2016-07-13 08:18:23,889 HttpResponse::getBody: Attempting to read body a
s single string. m_contentLength: 0
[DEBUG] 2016-07-13 08:18:23,889 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:18:23,889 thingworx.server: Results - code: 200, resp:
[INFO ] 2016-07-13 08:18:23,889 EdgeThing: MicroServer is now available.
[INFO ] 2016-07-13 08:18:23,889 EdgeThing: MicroServer is online.
[INFO ] 2016-07-13 08:18:23,889 EdgeThing: Successfully registered EdgeThing wit
h MicroServer.
[TRACE] 2016-07-13 08:18:23,889 EdgeThing: Previous state - available: false, o
nline: false
[DEBUG] 2016-07-13 08:18:23,889 thingworx.server: Invoking /Thingworx/Things/Edg
eThing/Services/GetPropertySubscriptions on server. content: {}
[TRACE] 2016-07-13 08:18:23,889 luaBindings:newRapClient: Found RAP at localhost
:8000
[TRACE] 2016-07-13 08:18:23,889 luaBindings: Got RAP timeout: 0
[DEBUG] 2016-07-13 08:18:23,889 SDK: twTlsClient_Create: Initializing TLS Client
[TRACE] 2016-07-13 08:18:23,889 HttpClient::processReq: POST /Thingworx/Things/E
dgeThing/Services/GetPropertySubscriptions HTTP/1.1
[TRACE] 2016-07-13 08:18:23,889 httpClient::processReq: Adding default header co
ntent-type: application/json
[TRACE] 2016-07-13 08:18:23,889 httpClient::processReq: Adding default header ho
st: localhost
[TRACE] 2016-07-13 08:18:23,920 HttpResponse::on_message_begin: Response started
[TRACE] 2016-07-13 08:18:23,920 HttpResponse::on_message_complete: Response comp
lete. Code: 200 Reason:
[DEBUG] 2016-07-13 08:18:23,920 TlsStream::doclose: Disconeccting socket
[DEBUG] 2016-07-13 08:18:23,920 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:18:23,920 HttpClient::processReq: Response received. Respo
nse code = 200
[TRACE] 2016-07-13 08:18:23,920 HttpResponse::getBody: Attempting to read body a
s single string. m_contentLength: 460
[TRACE] 2016-07-13 08:18:23,920 HttpResponse::getBody: Read body as single strin
g. m_body: {"rows":[],"datashape":{"fieldDefinitions":{"edgeName":{"name":"edgeN
ame","description":"Edge property name","baseType":"STRING","aspects":{"isPrimar
yKey":true}},"pushThreshold":{"name":"pushThreshold","description":"Change thres
hold to generate event for numeric properties","baseType":"NUMBER","aspects":{}}
,"pushType":{"name":"pushType","description":"String representing push type for
event notification to subscribers","baseType":"STRING","aspects":{}}}}}
[DEBUG] 2016-07-13 08:18:23,920 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:18:23,920 thingworx.server: Results - code: 200, resp: {"r
ows":[],"datashape":{"fieldDefinitions":{"edgeName":{"name":"edgeName","descript
ion":"Edge property name","baseType":"STRING","aspects":{"isPrimaryKey":true}},"
pushThreshold":{"name":"pushThreshold","description":"Change threshold to genera
te event for numeric properties","baseType":"NUMBER","aspects":{}},"pushType":{"
name":"pushType","description":"String representing push type for event notifica
tion to subscribers","baseType":"STRING","aspects":{}}}}}
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Attempting to set property upToDate
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Found handler inmemory
[DEBUG] 2016-07-13 08:18:23,920 EdgeThing: Wrote property: upToDate Updated upda
teTime to 3785255064
[TRACE] 2016-07-13 08:18:23,920 setProperty: Code: 200 Msg nil
[INFO ] 2016-07-13 08:18:23,920 EdgeThing: GetPropertySubscriptions called. 0 pr
operties updated.
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:18:23,920 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:18:24,435 EdgeThing: Checking connection to EMS.
[DEBUG] 2016-07-13 08:18:24,435 thingworx.server: Invoking /Thingworx/Things/Loc
alEms/Services/HasEdgeThing on server. content: {"name":"EdgeThing"}
[TRACE] 2016-07-13 08:18:24,435 luaBindings:newRapClient: Found RAP at localhost
:8000
[TRACE] 2016-07-13 08:18:24,435 luaBindings: Got RAP timeout: 0
[DEBUG] 2016-07-13 08:18:24,435 SDK: twTlsClient_Create: Initializing TLS Client
[TRACE] 2016-07-13 08:18:24,435 HttpClient::processReq: POST /Thingworx/Things/L
ocalEms/Services/HasEdgeThing HTTP/1.1
[TRACE] 2016-07-13 08:18:24,435 httpClient::processReq: Adding default header co
ntent-type: application/json
[TRACE] 2016-07-13 08:18:24,435 httpClient::processReq: Adding default header ho
st: localhost
[TRACE] 2016-07-13 08:18:24,435 HttpResponse::on_message_begin: Response started
[TRACE] 2016-07-13 08:18:24,435 HttpResponse::on_message_complete: Response comp
lete. Code: 200 Reason:
[DEBUG] 2016-07-13 08:18:24,435 TlsStream::doclose: Disconeccting socket
[DEBUG] 2016-07-13 08:18:24,435 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:18:24,435 HttpClient::processReq: Response received. Respo
nse code = 200
[TRACE] 2016-07-13 08:18:24,435 HttpResponse::getBody: Attempting to read body a
s single string. m_contentLength: 139
[TRACE] 2016-07-13 08:18:24,435 HttpResponse::getBody: Read body as single strin
g. m_body: {"rows":[{"result":true}],"datashape":{"fieldDefinitions":{"result":{
"name":"result","description":"","baseType":"BOOLEAN","aspects":{}}}}}
[DEBUG] 2016-07-13 08:18:24,435 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:18:24,435 thingworx.server: Results - code: 200, resp: {"r
ows":[{"result":true}],"datashape":{"fieldDefinitions":{"result":{"name":"result
","description":"","baseType":"BOOLEAN","aspects":{}}}}}
[TRACE] 2016-07-13 08:18:39,340 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:18:39,340 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:18:39,340 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:18:39,340 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:39,340 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:18:39,340 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:18:55,107 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:18:55,107 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:18:55,107 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:18:55,107 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:18:55,107 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:18:55,107 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:19:11,329 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:19:11,329 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:19:11,329 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:19:11,329 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:19:11,329 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:19:11,329 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:19:25,496 EdgeThing: Checking connection to EMS.
[DEBUG] 2016-07-13 08:19:25,496 thingworx.server: Invoking /Thingworx/Things/Loc
alEms/Services/HasEdgeThing on server. content: {"name":"EdgeThing"}
[TRACE] 2016-07-13 08:19:25,496 luaBindings:newRapClient: Found RAP at localhost
:8000
[TRACE] 2016-07-13 08:19:25,496 luaBindings: Got RAP timeout: 0
[DEBUG] 2016-07-13 08:19:25,496 SDK: twTlsClient_Create: Initializing TLS Client
[TRACE] 2016-07-13 08:19:25,496 HttpClient::processReq: POST /Thingworx/Things/L
ocalEms/Services/HasEdgeThing HTTP/1.1
[TRACE] 2016-07-13 08:19:25,496 httpClient::processReq: Adding default header co
ntent-type: application/json
[TRACE] 2016-07-13 08:19:25,496 httpClient::processReq: Adding default header ho
st: localhost
[TRACE] 2016-07-13 08:19:25,496 HttpResponse::on_message_begin: Response started
[TRACE] 2016-07-13 08:19:25,496 HttpResponse::on_message_complete: Response comp
lete. Code: 200 Reason:
[DEBUG] 2016-07-13 08:19:25,496 TlsStream::doclose: Disconeccting socket
[DEBUG] 2016-07-13 08:19:25,496 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:19:25,496 HttpClient::processReq: Response received. Respo
nse code = 200
[TRACE] 2016-07-13 08:19:25,496 HttpResponse::getBody: Attempting to read body a
s single string. m_contentLength: 139
[TRACE] 2016-07-13 08:19:25,511 HttpResponse::getBody: Read body as single strin
g. m_body: {"rows":[{"result":true}],"datashape":{"fieldDefinitions":{"result":{
"name":"result","description":"","baseType":"BOOLEAN","aspects":{}}}}}
[DEBUG] 2016-07-13 08:19:25,511 SDK: twTlsClient_Close: Disconnecting from serve
r
[TRACE] 2016-07-13 08:19:25,511 thingworx.server: Results - code: 200, resp: {"r
ows":[{"result":true}],"datashape":{"fieldDefinitions":{"result":{"name":"result
","description":"","baseType":"BOOLEAN","aspects":{}}}}}
[TRACE] 2016-07-13 08:19:27, 13 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:19:27, 13 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:19:27, 13 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:19:27, 13 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:19:27, 13 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:19:27, 13 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:19:43,104 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:19:43,104 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:19:43,105 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:19:43,105 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:19:43,105 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:19:43,105 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:19:59,278 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:19:59,278 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:19:59,278 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:19:59,278 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:19:59,278 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:19:59,278 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:20:15, 39 EdgeThing: Executing task RunStoreAndForwardTest
[TRACE] 2016-07-13 08:20:15, 39 EdgeThing: Executing task UpdatePropertyMap
[TRACE] 2016-07-13 08:20:15, 39 EdgeThing: Checking properties.upToDate: true
[TRACE] 2016-07-13 08:20:15, 39 EdgeThing: Found handler inmemory
[TRACE] 2016-07-13 08:20:15, 39 EdgeThing: Read property: upToDate
[TRACE] 2016-07-13 08:20:15, 39 EdgeThing: Executing task Compare
[TRACE] 2016-07-13 08:20:26,294 EdgeThing: Checking connection to EMS.
Is this the OOTB Lua script or did you make modifications to the .lua files?
Meghan
yes, it's OOTB Lua script.
Zhi Wei, can you try this - if you go to your EdgeThing, and click on the Identifier section in the General Information section, do you get anything in the list? If you do, can you try selecting that, save the Thing and then try browsing for remote properties?
Thank you Aanjan -- this fixed my problem! (I've been searching for ages.) I ended up typing the name of the thing in the Identifier section, and suddenly it all sprang into life.
No problem, glad that got resolved! One way to check this, is by going into Monitoring -> Remote Things and then click on the Unbound tab. That should list any 'Remote Things' that are ready to be connected (and are not associated with any Thing yet).
On a side note, if you've been searching for a while, and didn't find it until now, we definitely need to improve our search engine results
I think my problem was that I was trying fixes from various discussions, so I had blindly added the identifier entry to config.lua in the scripts.PiThing section. I thought that this was just "belt and braces" -- i.e. ensuring that the right RemoteThing was used. But as I now understand it, the identifier completely overrides the Thing's name from a binding point of view. This, I have come to realise, is why I kept seeing "*PiThing" instead of "PiThing" in REST calls.
The problem was exacerbated by the fact that the remote thing was not actually listed as unbound -- it was in the "All" tab but had a red exclamation mark icon next to it rather than a green tick icon. So it appeared somehow to be partially bound but I couldn't work out what was missing or incorrectly configured!
The search engine is pretty good, I think, although doesn't always return results that I know to be there somewhere (having seen them before). I couldn't find "*PiThing" referred to anywhere, from what I recall, and I was trying to work out what that meant.
Ah, if you had set it with a wildcard *, I think it was trying to associate with the same name, so that's why you didn't see it in the unbound tab. If you both the Thing and the name set for the Identifier have completely different names, then you would see it.
And with the search difficulties, we also need to start marking answers correct (on all applicable threads) so that it's easier to find what worked and what didn't; rather than scouring through the contents.
Thanks again Aanjan. To be honest, I think this highlights (along with other issues I've had) the need for more comprehensive documentation and reference material for ThingWorx. (If there is some, I've somehow never seen it!)
No problemo! And I agree, we are adding more documentation and filling gaps where ever we can find; and this topic is one area where we don't have that much documentation around (other than a quick start/ how to connect guide or articles around bugs).
Since the Lua log does not appear to have any errors or warnings I would be interested in seeing what's happening in your WSEMS log. If you could possibly copy any errors or warnings you are receiving in that log into a comment that would be helpful.
Meghan