Recently active
I downloaded the thingworx edge app for ios from the store. I also downloaded the sample SteamSensor file from the thingworx website. I know it is a sample app but somehow I cannot get it to connect with server. I imported the Thing_Steamsensor.xml file into my thingworx composer. Made a new app key with admin rights. I give that key to app on my iphone but it does not connect to the server. If anyone has connected the sample steamsensor app can you please provide steps or details how to do it. Thank you
#include <DHT_U.h>#include <SPI.h>#include <Ethernet.h>#define propertyCount 2#define DHTPIN 2 // what digital pin we're connected to#define DHTTYPE DHT11 byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED}; char server[] = "https://academic.cloud.thingworx.com/Thingworx/Things/salesforceThing_ahmed123/Properties/Temperature"; EthernetClient client; char appKey[] = "03bbedef-bb57-4ec1-9cad-8126d72d2e75"; char thingName[] = "salesforceThing_ahmed123"; int timeBetweenRefresh = 5000; char serviceName[] = "setTempAndHumid"; char* propertyNames[] = {"Temp", "Humid"}; double propertyValues[propertyCount]; unsigned long lastConnectionTime = 0; boolean lastConnected = false; DHT dht(DHTPIN, DHTTYPE); ########################################################################## I'm getting this response in arduino uno serial monitor, DHT22 Library DemoTrying to get an IP address using DHCPMy IP address: 192.168.0.38Humidity: 27.00 % Temperature: 30.00 *C 86.00 *F Heat index:
#include <Wire.h> #include <Adafruit_Sensor.h> #include <DHT.h> #include <DHT_U.h> #include <SPI.h> #include <Ethernet.h> //How many values you will be pushing to ThingWorx #define propertyCount 2 #define DHTPIN 4 // what digital pin we're connected to #define DHTTYPE DHT22 // Enter a MAC address and IP address for your controller below. // The IP address will be dependent on your local network: byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED}; char server[] = "https://academic.cloud.thingworx.com/Things/salesforceThing_ahmed123/Properties/Temperature"; EthernetClient client; //ThingWorx App key which replaces login credentials) char appKey[] = "194b5fda-5be4-411a-8bcb-d20ccead7e55"; // ThingWorx Thing name for which you want to set properties values char thingName[] = "salesforceThing_ahmed123"; //Interval of time at which you want the properties values to be sent to TWX server int timeBetweenRefresh = 5000; // ThingWorx service that will set value
All,I was wondering if anyone has a way to run more than one instance of the ThingWorx platform/composer on a single operating system.The way I understand it, a ThingWorx install always creates the ThingWorxStorage and ThingWorxBackupStorage folders in the same place, making it impossible to deploy more than one ThingWorx webapp on the same machine.We need to create a multi-tenant environment where students frequently create, and destroy ThingWorx instances. Currently, we use virtualization, but that means each ThingWorx instance has to include an operating system, Java, Tomcat, etc.... Most of our resources are just supporting extra operating systems, which could be shared among all of the instances.Does anyone have a workaround that can accomplish this?-->Adam
Hello, i have created a remote thing in one Composer and wanted to associate it with another thing from a different composer. Trough the federation subsystem configurations the two composer are successfully connected. Also i was able to bind the properties of the thing to the remote thing from the other server. My problem is that the values of the remote Thing do not update, even though the "original thing" changes it Values. How is this possible when the properties of this "original thing" are bound to the remote thing? Thank you for your help
Hi all, I started evaluating Thingworx and already added a mqtt thing and a mashup to my hosted trail version. Now I wanted to test the "Build a Predictive Analytics Model" guide, but I can not connect to the analytics server, when I try to select the analyticsServer_Thing in the analytics Gateway field there are no search results, I can also not find any "gateway" thing in my version. How can I solve this problem? Regards, Kos
Suppose I developed a thingworx application & I am accessing it through mobile as a web page.This thingworx application has a button & on that button click I want to make a phone call.How can I do this?Thanks,Rupesh
Hello all, We have installed Thingworx 8.2 on Virtual Machine. Whenever restart our Host Machine or Virtual Machine our device ID is changing. So Thingworx throwing error as "Unable to acquire twx_asst_adv, error message is Trusted storage hostid does not match syst". Is there is any way to fix this issue? We also tried to set our MAC address as static, still Thingworx throwing error.
Hello,I am using the TWX mail extension in a customer environment (TWX hosted on a Azure server) to send emails out. I initially tested it with a GMAIL server and my account details and it worked just fine. But when I use the customer SMTP server/port with one of their email account it simply fails with "Could not connect to SMTP host:XXX, port:25" error. I have tried port 25 and 587 and both did not work. Since it worked with gmail server I am not sure what is causing this issue !I asked the customer IT to check if there is anything blocking the connection to SMTP server and they mentioned that when they do the telnet from TWX Azure server to SMTP server they can see the packets flowing back and forth. Has anyone faced similar problem connecting to an outlook mail server ? any feedback and inputs to debug this issue is much appreciated ! Thanks
At one point I thought that someone had created a topic on logging Thing data to a Value Stream based on a Timer, but I haven't been able to find it. So does anyone know if there's a way to use Value Streams to log Thing Property data based on a timer? I'm guessing data is logged based on the 'Data Change' settings of a Property, but it doesn't give an option for timing (at least in Thingworx 7.1, don't know if newer versions added it). My other question is about changing a Thing's designated Value Stream. In the case that we needed to change the Value Stream for a Thing, what would be the best way to transfer the data from the original Value Stream to the new one? I've found that changing the Value Stream for a Thing doesn't automatically move the data to the new Value Stream, however, it also doesn't delete the data from the original Value Stream. If I change the VS back to the original, the old data is still there. &n
Hi Does anyone know how to change the AddRow property dynamically? (circled below) is this possible or are there alternatives?
How to invoke service via REST in HTML? i has "A_Thing" that was include service that add stream entry We will send an HTML-based sentence via email.This created sentence contains a button. (<button type = "button" onclick = "location.href = 'joinUs.jsp'"> CHECK </ button>)If you press this button, ThingWorx service will be executed through REST.I typed <host>: <port> / Thingworx / A_Thing / Service / MyService in location.href.The button was successfully created and included in the email.However, if you press the button, Invalid Request is displayed. How do I invoke ThingWorx's service using REST in HTML?It will be helpful if you show examples of use. thank
Hi, When I try to push data from PLC to Thingworx via OpcUa extension, I receive error which is attached file. The error said that "receiverBufferSize must be greater than 8192", I checked "Initial memory pool" and "Maximum memory pool" values on Apache Tomcat Configuration, Their values are empty. Also, I can push data to Thingworx via KepServer but I have problem with OpcUa extension. Extension Link Regards,
Hello All, In previous releases of Navigate you could click on the grid widget and apply state definitions to the grid directly. IN the latest release of Thingworx Navigate they use Grid Advanced and Tree Grid Advanced widgets that do no allow you to apply the state definitions directly. Is there a a workaround for this? I am trying to have the background color of each cell of the State column be dependent on the value of the state returned. (Example: Released = Green, In Work = Red, etc.)
Earlier when my iPhone 7 was running on iOS 10 the ThingWorx View app has been working fine however that I updated to iOS 11.3 today whenever now that I open the app it only loads a blank white screen during the start up and gradually crashes in few second. Any solution?
I have formatted a gird column to an html text like example <div align="center" style="margin-right:10px; float:left; width:25px;height:25px;border:1px solid #000;">'+ '<a target="_blank" align="center" href="http://google.com">' + 15 + '</a>' +'</div>'This shows a box in which there is a hyperlinked number, on click of that number it opens a google window in new window tab.I would like to open a popup window within which i show a mashup(similar to navigation widget).Is it possible???
Hello! Quick question(s): Is there any way to include exported entities like Mashups/Things/whatever into custom ThingWorx Extension? If I want to export single entity,Thing_MyThing.xml looks familiar to the metadata.xml file, so I believe copy paste would work here. From other hand, export by model tag looks completly different, so copy-paste is not applicable here. Any ideas? Thanks, Adam Any ideas to make it work without digging into each file one by one?
HI All, I installed on VM Machine (111.111.111.14) Windows 7 64bit a Thingworx 8.0.3.-b52 and I created a Thing 'TestRemoteThing' using ThinTemplate RemoteThing. I created another VM Machine (111.111.111.11) Windows 7 64bit where I installed Eclipse and I imported a package Java SDK 221-Java-SDK-6-0-4-595.zip (dowbloaded from PTC Market place) I'm using the documentation from http://support.ptc.com/help/thingworx_hc/thingworx_edge/index.html. I Run SimpleClient.java using : - config.setUri("wss://111.111.111.14:443/Thingworx/WS"); - config.setAppKey("1146b538-3ad5-4977-8679-3f6bf2b55081"); application-key generate on Thingworx but the connection failed. Is it necessary a setting on Thingworx platform ? I run a test WebServices.html and it answer WebSocket Test ERROR: undefined DISCONNECT What is the next check I have to do? Do I have to install any software on the PC on which Thingworx is installed? Many Thanks BR Dimitri
I have been following this guide to connect a DHT22 sensor to the thingworx platform: Weather App with Arduino Uno - ThingWorx : ThingWorxBut i have been unable to show the data from the sensor in the thingworx platform, here is the code that i have been using in the arduino:#include <Wire.h>#include <Adafruit_Sensor.h>#include <DHT.h>#include <DHT_U.h>#include <SPI.h>#include <Ethernet.h>//How many values you will be pushing to ThingWorx#define propertyCount 2#define DHTPIN 2 // what digital pin we're connected to#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321// Enter a MAC address and IP address for your controller below.// The IP address will be dependent on your local network:byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};char server[] = "http://52.44.210.91/Thingworx/Things/DHT22Thing/Properties/*";EthernetClient client;//ThingWorx App key which replaces login credentials)char appKey[] = "097b0bba-c0
Hi, I have some problems with the analytics builder mashup. In model, signals, profiles and data view I always see the loading animation. The application log shows me: [context: com.thingworx.webservices.context.HttpExecutionContext@79bb6eaa][message: Execution error in service script [SaveQueryModelListAMS] :: Invalid Global Session Parameter [queryModelList]] [context: com.thingworx.webservices.context.HttpExecutionContext@388b0595][message: Execution error in service script [SaveTrainingCurrentPageAMS] :: Invalid Global Session Parameter [trainingCurrentPage]] I'm working on ThingWorx 8.2.1-b140
Hi, I have a Thing (based on MQTT) with some properties. One of them is called MQTT-Value which is configurate as MQTT-Target. Than I have a subscrption on datachange of the MQTT-Value-property. The subscription looks like this: me.Environment_Humidity = eventData.newValue.value.humidity;me.Environment_Particles = eventData.newValue.value.particles;me.Environment_Temperature = eventData.newValue.value.temp; ... Now I get an error on every time where a new mqtt-value arrives: [message: Execution error in service script [Event.DataChange:Property.MQTT_Environment] :: Wrapped java.lang.NullPointerException (Event.DataChange:Property.MQTT_Value#1)] The MQTT-Value lookes like this: {"temp":17.540277128455315,"humidity":48.41761546496747,"particles":409} If I set the MQTT-Value by hand everything works. I think this had todo with permissions. I set visibility&run time-permissions for "system"-user but this doesn't work. I working with ThingWorx 8
I was using sigfox extension without problem until 7.3.2 Now I have to create a new instance of THX and I installed 7.4.9 Unfortunately I cannot import anymore sigfox extension , I got "not acceptable" There is no restriction of new release in the marketplace. How to workaround and avoid to downgrade to 7.3.2 ?? Thanks PS : note : it is very complex to find how to add a new topics in this new forum, (creo ??) !!!!! why to make basic things more complex when upgrading a forum ?
Team - I am trying to compile C SDK on Raspberry Pi 3. I have installed "cmake" and given source directory as src (from installation source) and created a directory inside it as "output". The cmake GUI is making the "Makefile" but when i run > make its giving multiple errors. Are there differnent SDKs for Different platforms? Is there a way i can get a pre-compiled SDK for Raspberry Pi Thanks, Piyush...
I have installed thingworx 7.4 and Postgresql on separate servers. Tomcat was running prior to installation of Thingworx 7.4. However, after installing and running tomcat again it no longer start the logs are as followsUsing CATALINA_BASE: /usr/share/tomcat8/8.0.38Using CATALINA_HOME: /usr/share/tomcat8/8.0.38Using CATALINA_TMPDIR: /usr/share/tomcat8/8.0.38/tempUsing JRE_HOME: /usr/lib/jvm/jdk1.8.0_101/Using CLASSPATH: /usr/share/tomcat8/8.0.38/bin/bootstrap.jar:/usr/share/tomcat8/8.0.38/bin/tomcat-juli.jar19-Oct-2017 13:37:29.724 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.3819-Oct-2017 13:37:29.725 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Oct 6 2016 20:51:55 UTC19-Oct-2017 13:37:29.726 INFO
Hi all, I'm building an extension and I need to add a binary file to the extension content. I'll use that file in a method inside the extension. Question is, how can I add that since it's not a jar resource, but a simple blob? Thanks,
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.