http://e26whn2524322mkxb3cbyk27ev2ihhq2biz35hty7gzgsyrwrygq27yd.onion/posts/blog/house-stuff/is-an-air-fryer-more-energy-efficient-than-an-oven.html
For example: A 30 second 3kW draw consumes ( 3000 / (60 * 2) ): 25 Watt hours . Our data is windowed into 30 second periods ( 1/120 th of an hour), so each window consumes 1/120 th of the calculated usage. So, to implement this, we add a simple conversion to the end of the query, taking the draw for that period and dividing it by 120: // Union the tables so we can display a graph with 2 series
union(tables: [oven, airfry])
|> map(fn: (r) => ({ r with
...