How can we use custom setpoints in CEP - cumulocity

I want to create a dashboard or maybe widgets where a user can add custom setpoints.
These setpoints should be stored for later use creating streaming analytics with CEP.
What would be the (best) approach for this?
Thanks

If these setpoints are related to a device a good approach would be to store them in the device object.
Maybe have a dedicated fragment in the device that is managed by your dashboard widget that will allow the configuration of these setpoints.
From CEP you then can check those fragments by querying the device

Related

UA to GA4 Migration - Can we use the same GTM container used for UA

I am currently working on UA to GA4 migration. I want the UA and GA4 properties to exist in parallel for time being until the GA4 migration stabilizes. We implement GA via Google Tag Manager. I want to know whether the same GTM container associated with UA property can be used for GA4 property as well.
The GTM container already has Universal analytics tag. I tried to create the GA4 configuration tag in the same container and upon testing able to view the hits in both UA report and GA4 report. Kindly advise if this is a suggested solution.
Our customer has the GTM script, associated with UA property, already embedded in their website. We do not want rework at their end by providing new GTM script for GA4. That is why we would like to know if it it appropriate to use the same GTM container for both UA and GA4 properties, so that, no rework is required from the customer end.
Thanks,
Keerthana
This is, indeed the industry practice at the moment to have all in one GTM container. That would include pretty much any TMS and tracking endpoint.
However, it's best to do such migrations with someone who knows their way around GTM/GA/Data. Especially if EEC or consent is involved. It gets tricky.
Yes, you can use the same GTM container for both Universal Analytics (UA) and Google Analytics 4 (GA4) properties. Having the same GTM container associated with both UA and GA4 properties is a common migration approach.
By creating a GA4 Configuration tag in the same GTM container as the Universal Analytics tag, you can collect data from both properties in parallel. This means that you can compare the data between UA and GA4 during the migration process to ensure that the migration is successful.
It's important to note that GA4 uses a different data collection method than UA, so you may need to make some changes to your tracking code and data layer in order to ensure that the GA4 Configuration tag is working correctly. However, the customer will not need to make any changes to their website as long as they already have the GTM script embedded.
In general, using the same GTM container for both UA and GA4 properties is a good solution if you want to minimize the impact on the customer's website during the migration process. And If you feel hard then you can connect to me for live implementation help. Thanks

Is there any way to send data to cumulocity without physical devices

Finding a way to push data to cumulocity without physical devices
I am trying to find a way to push data to cumulocity without physical devices. is there any to implement in java?
If there is a way, please drop some snippets and doc links.
You can find an example implementation in Java for an MQTT client here: https://cumulocity.com/guides/device-sdk/mqtt-examples/#hello-mqtt-java.
Examples in other languages are next to it.
You can also use a tool like MQTTBox or MQTTFx if you don't want to implement something.

How to define the UI of a ThingsBoard widget using a Json schema?

We're working on an IOT device connected to a ThingsBoard panel.
The goal is that a user must be able to modify the settings of that device in 2 different ways:
Direct connection through wifi
Using a widget on ThingsBoard
The first way has already been implemented. Anyone using a smartphone or computer can connect to the wifi gateway of the device and display the settings in a web browser. Those settings are organized using a Json schema describing the UI of the webpage. The schema is using the standard format react-schema-form.
To implement the ThingsBoard widget, I'd like to use the same schema. That schema would be part of the widget, to describe its UI. Keeping the same schema is obviously to avoid maintaining 2 different definitions of the same settings.
I've been researching a way to do that in a widget but haven't found any answer.
What I want to do is basically the same thing as what the Settings schema of a widget is doing. A Settings schema describes the UI of the settings. And I want to use a schema to describe the main UI of the widget.
The Gateway widget is a good example of what I'm looking for. The UI of that widget is defined into a context ctx, which I guess embed a schema describing that UI. But I'm not sure how to find the schema embedded into ctx, and also not sure if that would help me doing what I want.
So the question is: How to define the UI of a ThingsBoard widget using a Json schema? I will have to declare the schema as a var into the Javascript section of the widget. Then, how to use that var to display the related UI?
Thanks for your help.

creating movie template "on the fly"

i want to develop a site where user selects various videos and site will render a single video containing all videos in a pre-built template.
what would be the way to go about this (in order to create the movie dynamically from site) ?
what would be the server side framework to use ?
can i use after-effects and have site use it to generate such templates (optional - as i have a friend who works with after effects and can create templates) ?
as i am fairly new to the field any additional information is welcomed.
I'm no expert, but I'm pretty sure you can't do what you described.
Rendering a video consumes huge resources (really huge), so a server park that could
handle this is just not worth it.
However, what you can do is to play the selected videos consecutively. That way, no rendering is necessary.
Also, forget about After Effects, for the same reasons described above.
You can achieve what you want by using a new plugin for After Effects called Templater Bot. From Dataclay's site:
Templater Bot is an enterprise solution for custom video on demand. It works as an automated system. Use it to periodically check for incoming data, pull new data in, and render video as a background process. Or use the command line interface to push data in to create new renders. Once your AE project is prepared, use Bot to customize and render it without operating the After Effects user interface. Developers can create front end applications, such as web or mobile apps, that feed data into Templater's data source, offering a collaborative, custom video content creation solution.

How to add dynamic text to live tile in windows 8 with javascript

Well, the topic says it all. I'm dabbling with windows 8 app development using html/css/javascript and I'm having a hard time finding information on how to dynamically manipulate the live tiles.
There is a lot of information out there on how to create multiple tile xml files and launch them after each other but if anyone had a good resource, or even better, a first-hand explanation, on how to create these tiles programatically to, say, make a countdown tile, it would be greatly appreciated.
There's no way to programmatically update the text/image on a live tile directly in real time.
The only APIs available are those in the Windows.UI.Notifications namespace, such as are shown in the Sending a tile update Quickstart.
You can use the notification queue, as shown here, to provide multiple updates that will automatically cycle, or you can use an external service, such as Windows Azure Mobile Services to send tile updates. Using push notifications from an external service will probably get you closest to the behavior you're looking for, since it will not rely on the app being active in order to update the tile. Be aware, however, that the app will need to run at least once in order to create the channel URI that's needed for the external service to update the tile.
For more info on Windows Store app development, register for Generation App.