cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Remote thing properties bind but won't update

Spencer_Brock
10-Marble

Remote thing properties bind but won't update

remote_thing_properties.png

 

All config and template files attached in the zip file. The properties correctly readout when printed from the luascriptresource - I just can't get them to update in composer

2 REPLIES 2

Hi @Spencer_Brock which EMS version are you working with?

I feel you are missing some fields in your config.lua file.

If you can please try below config.lua file,

 

///////////////////////////


scripts.log_level = "INFO"
scripts.log_audit_target = "file://" or "http://"
scripts.log_publish_directory = "/_tw_logs/"
scripts.log_publish_level = "INFO"
scripts.log_max_file_storage = "2000000"
scripts.log_auto_flush = "true"
scripts.log_flush_chunk_size = "16384"
scripts.log_buffer_size = "4096"
scripts.fips_enabled = false

--
-- Connection parameters
--
scripts.rap_host = "10.0.2.15"
scripts.rap_port = "8001"
scripts.rap_ssl = false
scripts.rap_server_authenticate = false
scripts.rap_deny_selfsigned = true
scripts.rap_validate = false

--
-- HTTP Server Configuration
--
scripts.script_resource_host = "localhost"
scripts.script_resource_port = "8000"
scripts.script_resource_ssl = false
scripts.script_resource_use_default_certificate = false

scripts.ThingName = {
file = "thing.lua",
template = "template_thing",
taskRate = 30000,
scanRate = 1000
}

-------------------------------------------------------------------------------
-- Example integration script
-------------------------------------------------------------------------------

--
-- See etc/custom/scripts/sample.lua for implementation details.

scripts.sample = {
file = "sample.lua"
}

/////////////////////////////////

Top Tags