Well I can partly answer my question about the trigger/events.
The 3EM API lists under actions an over_power_url to be invoked at a user defined threshold.
So that at least is helpful, I can give an alarm and do some action, like shutting things off.
And I can also use it for logging, although it is a bit crude.
On the log file I find this:
ZitatShelly 3EM:
/emeter/{index}/em_data.csv
This provides an export of the data gathered by the device. For each measurement channel, a CSV file is generated with the following columns:
- Date/time UTC
- Active energy Wh
- Returned energy Wh
This will always contain data for the entire time range stored on the device.
But it doesn't say the interval. I read somewhere that this interval is 1 minute for the first 24 hour and becomes less after that?