What product/components do you use and which version/fix level are you on?
Is your question related to the free trial, or to a production (customer) instance?
What are you trying to achieve? Please describe it in detail.
I want to a virtual energy meters that generate example data e.g the followind data
- Current (L1, L2, L3, Sum) [A]
the device shall provide values between 70 to 150 mA in the night (20:00 to 05:00) and 5A and 100A during the day ( (05:00 - 20:00)
any idea how this can be achieved?
Do you get any error messages? Please provide a full error message screenshot and log file.
Have you installed all the latest fixes for the products and systems you are using?
There is a device simulator jar file, but it’s pretty basic. IT won’t schedule a different range of results for different time periods like what you want.
As Robert mentioned, the built-in Device Simulator does not allow scheduling. There are a few other options:
Advanced simulator for Cumulocity provides an alternative UI for the built-in simulator but I do not think it allows for scheduled changes.
OEE Simulator was created for the Cumulocity IoT OEE App but is quite flexible in its configuration. You could maybe create different schedules for the same device and control them with a shift plan.
- Streaming Analytics Builder - you could have a model that is controlled by a Cron Timer or a Time Ticker to create simulated data at different times of the day. The contrib repository also contains some more advanced simulation blocks you can use if you are able to deploy custom blocks.
One more option is Simulators provided by Application Builder:
Random Value Simulator: Here you can change simulation data(value series) based on device operations.
You could control device operations based on a model in streaming analytics as suggested by Harald.
See below example:
CSV simulator: If you are having historical data in CSV file, then probably you could use csv simulator.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.