![]() confirm the ability to execute scripts, click "Enable Content" API for three-phase Energy Monitor smart-MAC D103 Download ».API for single phase Energy Monitor smart-MAC D101 Download ».This EXCEL file can be downloaded from the link below. How to work with API for devices, see the corresponding article in the Knowledge Base »įor example, you can write a simple script for EXCEL that will send a GET request over the local network at an interval to the smart-MAC energy monitor and fill the table with the received data. To receive data via the API interface, no additional settings are required, you simply send a GET request to the device every 5 seconds and receive the current data in response. To send data every 5 seconds via the MQTT protocol, just open the device settings and in the MQTT Config section set the desired data sending interval, at least 5 seconds. We do not pretend to be a network analyzer, but analysis of 5-second intervals will already allow us to find peak loads with a high degree of probability. The Extended versions of smart-MAIC Devices allow receiving data via MQTT protocol every 5 seconds and sending an API request to the device every 5 seconds. What if you need to get more detailed data? But we should understand that measurements take place at some point in time within a minute and if, for example, there was an extremum lasting 20 seconds, then it may not be visible on the chart. Will be guided through selecting a browser, project, and/or testing type.Data on the cloud server is saved once a minute, which is more than enough for a detailed analysis of the quality of the electrical network and energy consumption. You can open Cypress and launch the browser at the same time. Will also override values in the Cypress configuration file.īy passing -browser and -e2e or -component when launching a project, These persist on all projects until you quit Cypress. Options passed to cypress open will automatically be applied to the project The "autoCancelAfterFailures" argument is the number of times tests can fail Note: Available in Cypress 12.6.0 and later Only output from the configured Mocha reporter will print.Ĭypress run -auto-cancel-after-failures If passed, Cypress output will not be printed to stdout. Run recorded specs in parallel across multiple machines Keep Cypress open after tests in a spec file run Hide the browser instead of running headed (default during cypress run) Group recorded tests together under a single runĭisplays the browser instead of running headlessly Specify a unique identifier for a run to enable grouping or parallelization. If a filesystem path is supplied, Cypress will attempt to use the browser at that path. Run Cypress in the browser with the given name. Overrides the Cloud project-level configuration to set the failed test threshold for auto cancellation or to disable auto cancellation when recording to the Cloud ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |