Skip to main content
1-Visitor
April 12, 2018
Solved

Cant connect Properties to Thinworx Composer on Raspberry

  • April 12, 2018
  • 2 replies
  • 1993 views

 

Hello Guys, 

and thank in advance for your help. 

I am trying  to connect a Raspberry Pi 3 to Thingworx using the EMS 5.4. 

I am able to autobind in the config.json file but if im trying to bind it via LSR its not connecting. 

Also the Properties dont get connected. 

config.json

{ 
	"ws_servers":	[{
			"host":	"172.20.1.18",
			"port":	80
		}],
	"appKey":	"xxxxx",
	"http_server" : {
		"host": "localhost",
		"port": 8085,
		"ssl": false,
		"authenticate": false
	},
	"logger": {
		"level": "INFO"
	},
	"auto_bind": [{
		"name": "Am2302Thing",
		"gateway": false
	 }],
	"certificates":{
		"validate": false,
		"allow_self_signed": true
	},
	"ws_connection":{
		"encryption": "none", 
		"verbose": true, 
		"msg_timeout": 1000
 }
	
}

config.lua

scripts.log_level = "DEBUG"

scripts.Am2302Thing = {
	file = "thing.lua",
	template = "Am2302Template",
	identifier = "2302",
	scanRate = 10000,
	TaskRate = 300000
	}

scripts.rap_host = "localhost"
scripts.rap_port = 8085

scripts.rap_ssl = false


scripts.rap_server_authenticate = false

scripts.script_resource_host = "localhost"
scripts.script_resource_port = 8086

scripts.script_resource_ssl = false

scripts.script_resource_authenticate = false

screenshot.pngscreenshot2.png

Greetings Niels screenshot2.png

Best answer by CRArko

Hello.

 

This is a known issue with EMS 5.4 and a bug has been reported.

 

The suggested workarounds for the time being are to either enable SSL in EMS 5.4 using TLS encryption or to downgrade to EMS 5.3.4.

 

Thanks,

 

-- Craig A.

2 replies

CRArko5-Regular MemberAnswer
5-Regular Member
April 20, 2018

Hello.

 

This is a known issue with EMS 5.4 and a bug has been reported.

 

The suggested workarounds for the time being are to either enable SSL in EMS 5.4 using TLS encryption or to downgrade to EMS 5.3.4.

 

Thanks,

 

-- Craig A.

NHummel1-VisitorAuthor
1-Visitor
May 2, 2018

Hello Craig,

 

its now working because i am using the EMS 5.3.4.

but out of curiosity how should i configure my files to enable SSL, because i think i tried it too but it didn´t work.

 

Thanks for your Help

Greetings Niels