Recently active
Good day, I am trying to update a location property using MQTT. I am able to update a json property using MQTT with the message body looking like this: {"latitude":-25.82,"longitude":28.176,"elevation":0,"units":"WGS84"} I get the error message: [Unable To Convert From java.lang.String to LOCATION]. When I create a subscription on data change of the json property that looks like this it works: me.Location = me.JSONLocation; The location property updates correctly, which I am assuming means my format is correct. Has anybody been able to update a location property using MQTT? It seems like it is not supported in the MQTT extension. Thank you, Johan Bester
Hi PTC, I have established the connection between azure IOT hub and thingworx composer. I want to stream the data coming to IotDevices in IoThub to thingworx -> thing -> property. And also i want to parse the data (data format-> {"Temperature":24,"humidity":50}) to two different thing properties like 'temp' and 'hum'.
In the multi tenant scenario the application developed in ThingWorx will provide the facility to create the non-developer ThingWorx users i.e. domain users for the application. Once these domain users e.g. Supervisor, Viewer etc. try to login the multi-tenant application, since they do not have various design time, visibility & run time permissions it will not allow to do any operations and users would not be able to access the functional modules. From ThingWorx Composer super user can set the design time, visibility & run time permissions for such domain users. Here question is, does ThingWorx provides out-of-the-box feature to set the permissions for newly created domain users via service/ custom mashup program?There will be API's and services for setting up permissions, however for that we need to manually go through all of the design/run time permission to enable for all the respective entities (Collection, Template, Thing, Service, Mashup) for each domain user,
Hi, I'am digging how to use postman call RealtimeScore under AnalyticsServer_PrescriptiveThing/Services. I know the link https://support.ptc.com/help/thingworx_hc/thingworx_analytics_8/thingworx_analytics_8/baggage/index.html#templates/PrescriptiveMicroserver.html already show us on how to do that, and I also find the AnalyticsDatasetRef definition at this link https://support.ptc.com/help/thingworx_hc/thingworx_analytics_8/thingworx_analytics_8/baggage/index.html#datashapes/AnalyticsDatasetRef.html But I still want know how can I generate this long AnalyticsDatasetRef data shape, and how can I pass them into postman(need a real sample), as of now I got the "403 Forbidden" even I give authentication information to Header section within postman. Thanks. Terry
Kepserver to Thingworx - I'm able to simulate device tags in Kep and also able to see tag values bind against thing properties. The properties are made persistent and logged. How do I plot time series graph for the properties
I had download version 8.2.0 r2 but there is installation issue on ThingPredictor. Where can I download Thingworx Analytics Trial Edition 8.2.0 r3? Thanks in advanced.
I am following https://developer.thingworx.com/resources/guides/thingworx-c-sdk-setup-guide/connection-test-setup I initially faced a lot of errors in finding various paths, but after including the paths in VS 2013, I am stuck at error LNK1104: cannot open file 'twCSdk.lib' I found that there is no 'twCSdk.lib' file in the downloaded file. Is there any link for me to download it?
Hello everyone, so I want to create a Mashup that will be viewed from a smartphone and I would like to know whether there is a general approach for creating Mobile Mashups. Currenlty I am working with a static Layout and a fixed resolution (Though I dont like this approach since different smarphones have different resolutions). Any ideas how to make universal Mobile Mashups? Thank you for any help! Best Regards, Dominik Edit: I actually found out that the responsive Layout works as I want it to. The only problem is, that the sizes for some components can't be changed (e.g Text size of a button). This is very unfortunate since they appear too small on a smartphone display. I would wish for something like the LED-Display where you can choose the size dimensions (small, normal, large, very large) for the button aswell Please tell me what the best practice for using such components is
Hello, I'm absolutely new to Java, in fact I'm new to programming language itself - trying to go through some of the quick start guides on PTC ThingWorx Developer Portal. I'm currently stuck on Java SDK Setup Guide > Eclipse Project Setup > Import Sample Files Up on step 8 (Click Finish), Eclipse returns 7 error items as attached. Seems like there is something wrong with scr setup as there are red cross boxes all over Package Explorer I suspect the error starts at Set Up Javadoc stage as my downloaded copy of Javadoc files slightly differ with Guide's examples (screenshot attached). Can anyone help please?
Need to know how to use Web Maps from GIS system to display in Thingworx
Hello, I wrote a service I called SetDynamicSuscriptionToStream in a thing template which generates a dynamic subscription to a stream (MyStream). MyTemplate : ThingTemplate (<- service SetDynamicSuscriptionToStream() is in here) MyThing : is a Thing which has MyTemplate as Base Thing Template. In MyTemplate there is a ThingStart subscription which runs SetDynamicSuscriptionToStream(). Now, my problem is anytime I work on MyTemplate and update it, MyThing is automatically restarted and SetDynamicSuscriptionToStream() is triggered and it tries to create the dynamic subscription again, so I get an error message There is already a subscription to MyStream for MyThing:Type.Thing:Entity.MyStreamEvent.MyEvent Is there a way to check if a dynamic subscription exists so that I don't get this error? Thanks
I have installed the standalone package as I wanted it to run as a standalone service. After some investigation I found that it uses these files analytics-server.propertiessystem-environment-variables.properties When Adding an anomaly to a property it just fails after calibration. It installs and starts but after calibrating for 10 minutes it changes to failed. I have been through all the ports etc its a head scratcher. The training log give this error. This is from the Training log file. INFO [2018-05-31 18:16:52,613] org.eclipse.jetty.server.AbstractConnector: Started admin@64b3b1ce{HTTP/1.1,[http/1.1]}{0.0.0.0:9401}INFO [2018-05-31 18:16:52,613] org.eclipse.jetty.server.Server: Started @25338msINFO [2018-05-31 18:27:40,433] io.dropwizard.jersey.jackson.JsonProcessingExceptionMapper: Mapping exception: class com.fasterxml.jackson.databind.JsonMappingException! java.lang.IllegalArgumentException: The dataSource field
Hello everyone, I want to use some Mashups in a WebView during Android development. The Mashup name will be a property from a thing. Is it possible to access this mashup via a specific Url or Rest call which already does the login? I am aware that https://<ThingworxServer:port>/Mashups/MashupName opens the Mashup, but a login popup shows up that I want to avoid. Note that the app already has an App Key available, could it maybe be used for that? Something like https://Server:port/Login=Appkey/Mashups/MashupName ? Or a Sequence of Rest calls that achieve the same? I am open for other suggestions as well. Anyway, thank you very much for your help. Best Regards, Dominik
Hello, is there any tutorial available with an example dataset, which shows how to implement an TTF by using the concept of virtual sensors? I tried to use TWX Analytics with this data set (https://c3.nasa.gov/dashlink/resources/139/) in order to predict the TTF/RUL of the engines, but I never could reach the correct RUL which are also provided in this dataset. The scored results of TWX Analytics where always wrong (with and without the virtual sensor concept). I am also aware of this document (https://www.ptc.com/es/support/article?n=CS271176) and I used the described approach there to predict the RUL. Any help is appreciated.
Hello, RE: https://developer.thingworx.com/resources/guides/google-map-widget-how# Display Geolocation Data in Your UI > Overview > Configure Google Maps Widget Extension > at Step 6, my import fails with following error: Validation ResultsNot Acceptable Is my googlemap widget entry in my metadata.xml file correct? Instructions are not so clear to me..
Hi, is there any way to delete multiple extensions at one go ?tried deleting ThingworxStorage ,ThingworxBackupStorage and <Apache Directory>webapp/Thingworx/WEB-INF/extensions and redeploying the thingworx. But, this is causing a licensing problem, on each redeploy Thingworx is creating new Instance ID, and searching for license with new Instance Id.is there anyway to cleanup the Thingworx and set it to default like fresh installed Thanks Imran
Hello everyone, I would like to use a Time Series Chart in my Mashups which automatically updates. In this video at 0:32 a Chart is shown that I would like to have. I am aware that you can automatically update the time series chart every lets say 1 second. If possible I would like to update it when a corresponding data change event happens (which I could not find since the Property History table used for the chart can't be accessed as a property). Also I want to only display a interval of x minuts, for for every update the oldest value should vanish and the x-axis should represent the correct time. Any hints are appreciated very much. Best Regards, Dominik
Moved to the Studio Forum in the Augmented Reality Category.
Hello Everyone, after following this guide (the example where the failure of a motor shall be predicted) I am wondering about the process about predictive maintenance in general. In this example it is somehow a fact, that if the grease of the motor is low it has a high chance of failure. I guess this information could have been retrieved with the Analytics Methods aswell (eventhough it is not explained how they found out this specific corelation in the first place). So as far as I understand, the predictive model generated here can tell me whether or nor the grease is low for a given set of parameters and their values. I am wondering where exactly is the "predictive" aspect? Like it is now, it could only tell me in Real time that "now the grease is low" but isn't that already to late if I wanted to prevented this state in the first place? Please explain to me how I can use this data to actually prevent this states (to know that t
Hello everyone, while trying to follow this guide I had a lot of problems which I was able to solve thanks to this community, but now I am facing the next one: While trying to create an anomaly alert, it fails after a long time of Calibration. As I suspect from the log files, it seems that the data is collected properly during Calibration but it fails to switch to training mode. Also I checked the ports for the training and result standalones and the ones I used for them are free. I also get the expected results described in the guide when visting http://localhost:8082/results/models and http://localhost:8084/training. Attached you can find the output of the command prompts where I executed the Jar Files. (One of them is very large, sorry for that) Any help is appreciated very much! Best Regards, Dominik Edit: Maybe it is the similar case like here?
Hi, I am trying to link my IoT Hub with Thingworx so I followed this, bu when I try to launch the connection server I have the following error : WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Thingworx-Azure-IoT-Hub-Connector-2.0.0.141/connector/lib/guice-4.1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 09:31:51.209 [main] INFO i.n.util.internal.PlatformDependent - Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always b
HiI have downloaded the Azure IoT hub connector(Thingworx-Azure-IoT-Hub-Connector-2.0.0.141) from TW marketplace,imported azure-iot-hub-adapter-extension-2.0.0.141 and ConnectionServicesExtension-1.4.2 extensions in the TW instance.In the connector->conf folder i have edited the azure-iot.conf file with the required configuration .When started the bat file using cmd :C:\Thingworx-Azure-IoT-Hub-Connector-2.0.0.141\connector\azure-iot.bat , I receive the following exception:
Hi, I am facing a similar problem when in keep TWX.war (8.2) file in Webapps. I tried some of your solutions, but n success yet. Here is an error from my C:\Program Files\Apache Software Foundation\Tomcat 8.5\logs\localhost.log: 31-May-2018 11:53:57.759 INFOS [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath Can someone help me? Please find the ApplicationLog.log attached. Thanks in advance.
Hello I have a Thingworx trial edition (Docker). &nbsp; ERRORS LOG : Anomaly Alert [ThingWatcher_Prototype-Consumption-ConsumptionAlert] Failed when in [TRAINING] State. Thingwatcher Error Code :: [WAT1001E] Message :: Operation exception. {Throwable=[Trainer.TrainingJobErrorException: Training job with id 3 entered into an incomplete state [FAILED] unable to process models. Error message: [UnrecognizedPropertyException: Unrecognized field "code" (class com.thingworx.analytics.results.api.ResultResponse), not marked as ignorable (7 known properties: "status", "tags", "id", "description", "lastModified", "name", "resultUri"])_ at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@1d681dfb; line: 1, column: 12] (through reference chain: com.thingworx.analytics.results.api.ResultResponse["code"])]}] Returning a FAILED state for TimedValue [timestamp=1527429742927, value=57.76733268258257]. ThingWatcherMessage [timestamp=2018-
Hi, After installing ThingWorx 8.2.5-b260 I started the "Introduction to ThingWorx 8" course. In "part 1" there is an exercise for importing external contents from the course materials. When I try to import the xml entities I get the error "Error importing: error, Not Acceptable". In the attachment is my application log. Can someone help? TY
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.