Multiple sources in one graph

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

clinkadink wrote: Sunday 16 February 2020 14:05 There was an update to the latest beta this morning. It included tooltip styling.
*snip*
It is obviously still a beta, so any feedback is appreciated ;)
I changed one file so how do I force this update (and forgot to make a backup :o )? I have copied the altered code to another file so I can fall back on that. I see no "force" option in the git command.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

How are you normally updating?
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
Lokonli
Posts: 2262
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Multiple sources in one graph

Post by Lokonli »

Code: Select all

git reset --hard HEAD
git pull
This will overwrite the changes you've made, but it will not remove new files you've created.
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

The latest update contains the changes that you tested (plus the new toolTipStyle).
In other words, you shouldn't lose anything by updating.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

clinkadink wrote: Sunday 16 February 2020 14:30 How are you normally updating?
I normally use "git pull" in the dashticz folder.
Lokonli wrote: Sunday 16 February 2020 14:33

Code: Select all

git reset --hard HEAD
git pull
This will overwrite the changes you've made, but it will not remove new files you've created.
That seemed to do the trick :)
clinkadink wrote: Sunday 16 February 2020 14:37 The latest update contains the changes that you tested (plus the new toolTipStyle).
In other words, you shouldn't lose anything by updating.
Haven't lost anything indeed. Tried the toolTipStyle parameter and got this in the graph on the dashboard (über cool :mrgreen: ):

Image

The tooltips do not work in the popup graphs though but I think you didn't expect it to ;)

Greetz,

Sjonnie

EDIT: The tooltips work on the multigraphs as well. Forgot to mention that ;)
Last edited by Sjonnie2017 on Sunday 16 February 2020 15:07, edited 1 time in total.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

Great news, thanks! ;)

No, they won't work in popups ... at the moment.
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

clinkadink wrote: Sunday 16 February 2020 15:03 Great news, thanks! ;)

No, they won't work in popups ... at the moment.
Looking at what you have achieved up til now I am sure you are going to fix that as well. :lol:

Greetz,

Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

While I was using Dashticz and checked some graphs I noticed a little odd behavior. It seems that the tooltips parameter shows a large amount of digits behind the decimal separator for last month. It works well for all other measurements like Today and Last Hours but the last day of this month however...

Last month - today:
Image

Last month - *not* today:
Image

Refreshing/re-selecting makes no difference.

Greetz,

Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

That's is the standard tooltips, not the new tooltips. Can you check your block config?
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

Sorry! You're right of course. :oops: Added the new tooltip parameter to the blocks and all is working as expected now.

Greetz,

Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

Sjonnie2017 wrote: Sunday 16 February 2020 13:44 if I click on Last month twice it shows me kWh (eg. 15kWh). If I then select last hours, on first click it shows me kWh (eg. 2000 kWh) and after the second click I get W (eg. 2000 W). Same applies for Today. If I select Last Hours it shows me W as unit of measurement. If I then select Last Month the first time it shows me W (eg. 20 W) and after the second click it shows me kWh (20 kWh). It looks like the unit of measurement is not immediately updated if I switch between different time measurements.
Finally found the issue. Am fixing it now.

P.S. toolTipStyle now working on Popups (on mine) ;)
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

There have been quite a few graph updates to the latest beta over the weekend.

Fixes:
  • Height can once again be set in the graph block, e.g. height: '300px'
  • drawOrderLast, drawOrderDay, drawOrderMonth now correctly allows sorting the order of datasets per button (last, today, month)
  • Users would often have to press the range button twice to show the correct ylabel - now fixed.
Updates:
  • The Legend order can now be changed by changing the order of the keys in the graph block config
  • User can now display HTML graph tooltips instead of the standard ones, e.g. toolTipStyle: true
  • The graph beta documentation has been updated to reflect the recent changes
  • Users can now debug their graph by setting their graph's block config, e.g. debugButton: true
  • HTML tooltips are now shown on Popups by default
To make use of these fixes and updates, please update to the latest beta.
https://github.com/Dashticz/dashticz/tree/beta


Tip 1: defined graph blocks do not require be named as "graph_idx" or "multigraph_idx" anymore. You can name them whatever you like.
Tip 2: all defined graph blocks must contain the devices parameter, e.g. devices: [123]
Tip 3: all undefined graphs (those without any block) should still be named as "graph_idx" (where idx is the idx of the device).
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

The latest update (this morning), includes the ability to add a debug button to your graph. To do this, add the following line to your graph's block config:

Code: Select all

debugButton: true
The update adds a button to the top right of the graph. When pressed, a dialog box is displayed with key information about each device and the data that has been generated to show the graph. Each device has a link, this takes you to page showing all data about each device within the graph, using Domoticz api. Across the top shows the original keys and the new keys (appended with the device idx). I am hoping that this will help us resolve any issues we may experience with any troublesome graphs ;)

There are 3 buttons at the top of the debug window:
  • DevTools button - press F12 on the keyboard and then click this to show the graph properties in Dev Tools
  • Save button - click this to download your graph properties in JSON format. This will be helpful if you need support.
  • Close button - to exit the debug window. Although clicking outside of the window does the same thing.
Image
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

After all your hard work I just had to update and start testing. I added the debugButton = true parameter to the blocks. Everything else has been left 'as is'.

The code for electricity and gas:

Code: Select all

blocks[grafiek_elektra] = {}
blocks[grafiek_elektra]['title'] = 'Elektriciteit';
blocks[grafiek_elektra]['devices'] = [199];
blocks[grafiek_elektra]['width'] = 12;
blocks[grafiek_elektra]['height'] = '400px';
blocks[grafiek_elektra]['interval'] = 2;
blocks[grafiek_elektra]['graphTypes'] = ['v', 'v2'];
blocks[grafiek_elektra]['graph'] = 'line';
blocks[grafiek_elektra]['sortDevices'] = true;
blocks[grafiek_elektra]['toolTipStyle'] = true;
blocks[grafiek_elektra]['debugButton'] = true;
blocks[grafiek_elektra]['legend'] = {'v2_199': 'Dag', 'v_199': 'Nacht'}

blocks[grafiek_gas] = {}
blocks[grafiek_gas]['title'] = 'Gas';
blocks[grafiek_gas]['devices'] = [200];
blocks[grafiek_gas]['width'] = 12;
blocks[grafiek_gas]['height'] = '400px';
blocks[grafiek_gas]['interval'] = 2;
blocks[grafiek_gas]['toolTipStyle'] = true;
blocks[grafiek_gas]['debugButton'] = true;
blocks[grafiek_gas]['legend'] = {'v_200': 'Per Uur', 'c_200': 'Totaal'}
You'll get used to my definition style (in time ;))

The pictures:

No tool tips on popup gas:
Image

Dashboard graphs on first load:
Image

Popup electricity on first load:
Image

Popup electricity Last Month after first load:
Image

Popup electricity Today after selecting Last Month:
Image

Popup electricity Last Hours after selecting Today
Image

I am almost certain it won't help a bit but I have added the debug code for the electricity graph just to be sure:

Code: Select all

{
  "blockId": "block_33",
  "block": {
    "devices": [
      199
    ],
    "datasetColors": [
      "red",
      "yellow",
      "blue",
      "orange",
      "green",
      "purple"
    ],
    "barWidth": 0.9,
    "borderColors": [
      "red",
      "yellow",
      "blue",
      "orange",
      "green",
      "purple"
    ],
    "borderDash": [],
    "borderWidth": 2,
    "buttonsBorder": "white",
    "buttonsColor": "black",
    "buttonsFill": "white",
    "buttonsIcon": "#686868",
    "buttonsMarginX": 2,
    "buttonsMarginY": 0,
    "buttonsPadX": 6,
    "buttonsPadY": 2,
    "buttonsRadius": 4,
    "buttonsShadow": false,
    "buttonsSize": 14,
    "buttonsText": false,
    "cartesian": "linear",
    "custom": false,
    "debugButton": true,
    "displayFormats": false,
    "drawOrderDay": false,
    "drawOrderLast": false,
    "drawOrderMonth": false,
    "gradients": false,
    "graph": "line",
    "graphTypes": [
      "v",
      "v2"
    ],
    "height": "400px",
    "iconColour": "grey",
    "interval": 2,
    "legend": {
      "v2_199": "Dag",
      "v_199": "Nacht"
    },
    "lineFill": false,
    "lineTension": 0.1,
    "maxTicksLimit": null,
    "method": 1,
    "pointBorderColor": [
      "grey"
    ],
    "pointBorderWidth": 0,
    "pointFillColor": [
      "red",
      "yellow",
      "blue",
      "orange",
      "green",
      "purple"
    ],
    "pointRadius": 0,
    "pointStyle": false,
    "reverseTime": false,
    "sortDevices": true,
    "spanGaps": false,
    "title": "Elektriciteit",
    "toolTipStyle": true,
    "width": 12
  },
  "currentValue": "7.50 kWh",
  "currentValues": [
    "7.50 kWh"
  ],
  "customRange": false,
  "data": {
    "result": [
      {
        "d": "2020-02-16 18:30",
        "v_199": "0",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 18:35",
        "v_199": "2552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 18:40",
        "v_199": "2316",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 18:45",
        "v_199": "3264",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 18:50",
        "v_199": "2940",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 18:55",
        "v_199": "3025",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:00",
        "v_199": "2992",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:05",
        "v_199": "2808",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:10",
        "v_199": "1596",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:15",
        "v_199": "792",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:20",
        "v_199": "649",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:25",
        "v_199": "684",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:30",
        "v_199": "672",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:35",
        "v_199": "627",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:40",
        "v_199": "672",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:45",
        "v_199": "684",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:50",
        "v_199": "638",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:55",
        "v_199": "744",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:00",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:05",
        "v_199": "732",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:10",
        "v_199": "594",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:15",
        "v_199": "756",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:20",
        "v_199": "636",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:25",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:30",
        "v_199": "627",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:35",
        "v_199": "696",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:40",
        "v_199": "720",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:45",
        "v_199": "708",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:50",
        "v_199": "648",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:55",
        "v_199": "594",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:00",
        "v_199": "594",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:05",
        "v_199": "624",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:10",
        "v_199": "576",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:15",
        "v_199": "756",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:20",
        "v_199": "624",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:25",
        "v_199": "561",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:30",
        "v_199": "612",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:35",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:40",
        "v_199": "648",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:45",
        "v_199": "516",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:50",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:55",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:00",
        "v_199": "612",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:05",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:10",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:15",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:20",
        "v_199": "384",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:25",
        "v_199": "297",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:30",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:35",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:40",
        "v_199": "504",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:45",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:50",
        "v_199": "432",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:55",
        "v_199": "374",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:00",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:05",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:10",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:15",
        "v_199": "576",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:20",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:25",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:30",
        "v_199": "330",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:35",
        "v_199": "300",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:40",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:45",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:50",
        "v_199": "540",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:55",
        "v_199": "363",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:00",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:05",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:10",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:15",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:20",
        "v_199": "552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:25",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:30",
        "v_199": "319",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:35",
        "v_199": "336",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:40",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:45",
        "v_199": "528",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:50",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:55",
        "v_199": "429",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:00",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:05",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:10",
        "v_199": "552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:15",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:20",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:25",
        "v_199": "418",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:30",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:35",
        "v_199": "540",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:40",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:45",
        "v_199": "324",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:50",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:55",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:00",
        "v_199": "432",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:05",
        "v_199": "385",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:10",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:15",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:20",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:25",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:30",
        "v_199": "561",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:35",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:40",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:45",
        "v_199": "418",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:50",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:55",
        "v_199": "324",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:00",
        "v_199": "444",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:05",
        "v_199": "451",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:10",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:15",
        "v_199": "516",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:20",
        "v_199": "612",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:25",
        "v_199": "429",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:30",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:35",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:40",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:45",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:50",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:55",
        "v_199": "363",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:00",
        "v_199": "504",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:05",
        "v_199": "336",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:10",
        "v_199": "372",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:15",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:20",
        "v_199": "348",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:25",
        "v_199": "385",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:30",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:35",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:40",
        "v_199": "552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:45",
        "v_199": "374",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:50",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:55",
        "v_199": "384",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:00",
        "v_199": "231",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:05",
        "v_199": "444",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:10",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:15",
        "v_199": "516",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:20",
        "v_199": "684",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:25",
        "v_199": "588",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:30",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:35",
        "v_199": "732",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:40",
        "v_199": "696",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:45",
        "v_199": "576",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:50",
        "v_199": "352",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:55",
        "v_199": "744",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:00",
        "v_199": "352",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:05",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:10",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:15",
        "v_199": "864",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:20",
        "v_199": "636",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:25",
        "v_199": "418",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:30",
        "v_199": "636",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:35",
        "v_199": "372",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:40",
        "v_199": "583",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:45",
        "v_199": "341",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:50",
        "v_199": "504",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:55",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 07:00",
        "v_199": "372",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 07:05",
        "v_199": "0",
        "v2_199": "516"
      },
      {
        "d": "2020-02-17 07:10",
        "v_199": "0",
        "v2_199": "275"
      },
      {
        "d": "2020-02-17 07:15",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 07:20",
        "v_199": "0",
        "v2_199": "216"
      },
      {
        "d": "2020-02-17 07:25",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 07:30",
        "v_199": "0",
        "v2_199": "198"
      },
      {
        "d": "2020-02-17 07:35",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 07:40",
        "v_199": "0",
        "v2_199": "372"
      },
      {
        "d": "2020-02-17 07:45",
        "v_199": "0",
        "v2_199": "407"
      },
      {
        "d": "2020-02-17 07:50",
        "v_199": "0",
        "v2_199": "444"
      },
      {
        "d": "2020-02-17 07:55",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 08:00",
        "v_199": "0",
        "v2_199": "408"
      },
      {
        "d": "2020-02-17 08:05",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 08:10",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 08:15",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 08:20",
        "v_199": "0",
        "v2_199": "480"
      },
      {
        "d": "2020-02-17 08:25",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 08:30",
        "v_199": "0",
        "v2_199": "408"
      },
      {
        "d": "2020-02-17 08:35",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 08:40",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 08:45",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 08:50",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 08:55",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 09:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 09:05",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 09:10",
        "v_199": "0",
        "v2_199": "384"
      },
      {
        "d": "2020-02-17 09:15",
        "v_199": "0",
        "v2_199": "286"
      },
      {
        "d": "2020-02-17 09:20",
        "v_199": "0",
        "v2_199": "312"
      },
      {
        "d": "2020-02-17 09:25",
        "v_199": "0",
        "v2_199": "418"
      },
      {
        "d": "2020-02-17 09:30",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 09:35",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 09:40",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 09:45",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 09:50",
        "v_199": "0",
        "v2_199": "180"
      },
      {
        "d": "2020-02-17 09:55",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 10:00",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 10:05",
        "v_199": "0",
        "v2_199": "204"
      },
      {
        "d": "2020-02-17 10:10",
        "v_199": "0",
        "v2_199": "456"
      },
      {
        "d": "2020-02-17 10:15",
        "v_199": "0",
        "v2_199": "341"
      },
      {
        "d": "2020-02-17 10:20",
        "v_199": "0",
        "v2_199": "456"
      },
      {
        "d": "2020-02-17 10:25",
        "v_199": "0",
        "v2_199": "384"
      },
      {
        "d": "2020-02-17 10:30",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 10:35",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 10:40",
        "v_199": "0",
        "v2_199": "288"
      },
      {
        "d": "2020-02-17 10:45",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 10:50",
        "v_199": "0",
        "v2_199": "363"
      },
      {
        "d": "2020-02-17 10:55",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 11:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 11:05",
        "v_199": "0",
        "v2_199": "330"
      },
      {
        "d": "2020-02-17 11:10",
        "v_199": "0",
        "v2_199": "228"
      },
      {
        "d": "2020-02-17 11:15",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 11:20",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 11:25",
        "v_199": "0",
        "v2_199": "204"
      },
      {
        "d": "2020-02-17 11:30",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 11:35",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 11:40",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 11:45",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 11:50",
        "v_199": "0",
        "v2_199": "440"
      },
      {
        "d": "2020-02-17 11:55",
        "v_199": "0",
        "v2_199": "312"
      },
      {
        "d": "2020-02-17 12:00",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 12:05",
        "v_199": "0",
        "v2_199": "374"
      },
      {
        "d": "2020-02-17 12:10",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 12:15",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 12:20",
        "v_199": "0",
        "v2_199": "300"
      },
      {
        "d": "2020-02-17 12:25",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 12:30",
        "v_199": "0",
        "v2_199": "242"
      },
      {
        "d": "2020-02-17 12:35",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 12:40",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 12:45",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 12:50",
        "v_199": "0",
        "v2_199": "228"
      },
      {
        "d": "2020-02-17 12:55",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 13:00",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 13:05",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 13:10",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 13:15",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 13:20",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 13:25",
        "v_199": "0",
        "v2_199": "408"
      },
      {
        "d": "2020-02-17 13:30",
        "v_199": "0",
        "v2_199": "288"
      },
      {
        "d": "2020-02-17 13:35",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 13:40",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 13:45",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 13:50",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 13:55",
        "v_199": "0",
        "v2_199": "242"
      },
      {
        "d": "2020-02-17 14:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 14:05",
        "v_199": "0",
        "v2_199": "252"
      },
      {
        "d": "2020-02-17 14:10",
        "v_199": "0",
        "v2_199": "204"
      },
      {
        "d": "2020-02-17 14:15",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 14:20",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 14:25",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 14:30",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 14:35",
        "v_199": "0",
        "v2_199": "300"
      },
      {
        "d": "2020-02-17 14:40",
        "v_199": "0",
        "v2_199": "456"
      },
      {
        "d": "2020-02-17 14:45",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 14:50",
        "v_199": "0",
        "v2_199": "319"
      },
      {
        "d": "2020-02-17 14:55",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 15:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 15:05",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 15:10",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 15:15",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 15:20",
        "v_199": "0",
        "v2_199": "297"
      },
      {
        "d": "2020-02-17 15:25",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 15:30",
        "v_199": "0",
        "v2_199": "252"
      },
      {
        "d": "2020-02-17 15:35",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 15:40",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 15:45",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 15:50",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 15:55",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 16:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 16:05",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 16:10",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 16:15",
        "v_199": "0",
        "v2_199": "341"
      },
      {
        "d": "2020-02-17 16:20",
        "v_199": "0",
        "v2_199": "300"
      },
      {
        "d": "2020-02-17 16:25",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 16:30",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 16:35",
        "v_199": "0",
        "v2_199": "600"
      },
      {
        "d": "2020-02-17 16:40",
        "v_199": "0",
        "v2_199": "480"
      },
      {
        "d": "2020-02-17 16:45",
        "v_199": "0",
        "v2_199": "432"
      },
      {
        "d": "2020-02-17 16:50",
        "v_199": "0",
        "v2_199": "363"
      },
      {
        "d": "2020-02-17 16:55",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 17:00",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 17:05",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 17:10",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 17:15",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 17:20",
        "v_199": "0",
        "v2_199": "319"
      },
      {
        "d": "2020-02-17 17:25",
        "v_199": "0",
        "v2_199": "444"
      },
      {
        "d": "2020-02-17 17:30",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 17:35",
        "v_199": "0",
        "v2_199": "1392"
      },
      {
        "d": "2020-02-17 17:40",
        "v_199": "0",
        "v2_199": "876"
      },
      {
        "d": "2020-02-17 17:45",
        "v_199": "0",
        "v2_199": "1342"
      },
      {
        "d": "2020-02-17 17:50",
        "v_199": "0",
        "v2_199": "576"
      },
      {
        "d": "2020-02-17 17:55",
        "v_199": "0",
        "v2_199": "1128"
      },
      {
        "d": "2020-02-17 18:00",
        "v_199": "0",
        "v2_199": "605"
      },
      {
        "d": "2020-02-17 18:05",
        "v_199": "0",
        "v2_199": "1176"
      },
      {
        "d": "2020-02-17 18:10",
        "v_199": "0",
        "v2_199": "572"
      },
      {
        "d": "2020-02-17 18:15",
        "v_199": "0",
        "v2_199": "1080"
      },
      {
        "d": "2020-02-17 18:20",
        "v_199": "0",
        "v2_199": "816"
      },
      {
        "d": "2020-02-17 18:25",
        "v_199": "0",
        "v2_199": "828"
      }
    ],
    "status": "OK",
    "title": "Graph day"
  },
  "dataFilterCount": 0,
  "dataFilterUnit": "",
  "decimals": 2,
  "forced": false,
  "graphConfig": null,
  "graphIdx": "block_33199",
  "hasBlock": true,
  "idx": 199,
  "lastRefreshTime": 1581960343,
  "mountPoint": "#block_33",
  "multigraph": false,
  "name": "Elektriciteit",
  "popup": false,
  "primary": true,
  "primaryIdx": "block_33199",
  "range": "month",
  "realrange": "month",
  "sensor": "counter",
  "subtype": "Energy",
  "title": "Elektriciteit",
  "txtUnit": "kWh",
  "type": "P1 Smart Meter",
  "keys": [
    "v",
    "v2"
  ],
  "ykeys": [
    "v_199",
    "v2_199"
  ],
  "ylabels": [
    "kWh",
    "kWh"
  ]
}
HTH

Greetz,

Sjonnie
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

Thanks for the feedback!

Can you try with interval commented out?

Edit: did you copy the debug log after pressing the 'month' button? As the range shows "month" but the data is for "days". Scroll to the bottom of the debug log.

Code: Select all

"range": "month",
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

But of course :)

No change in the graphs unfortunately :|
‘Eliminate all other factors, and the one which remains must be the truth.’
:lol:

EDIT: Debug log after first load (not selecting a time range):

Code: Select all

{
  "blockId": "block_33",
  "block": {
    "devices": [
      199
    ],
    "datasetColors": [
      "red",
      "yellow",
      "blue",
      "orange",
      "green",
      "purple"
    ],
    "barWidth": 0.9,
    "borderColors": [
      "red",
      "yellow",
      "blue",
      "orange",
      "green",
      "purple"
    ],
    "borderDash": [],
    "borderWidth": 2,
    "buttonsBorder": "white",
    "buttonsColor": "black",
    "buttonsFill": "white",
    "buttonsIcon": "#686868",
    "buttonsMarginX": 2,
    "buttonsMarginY": 0,
    "buttonsPadX": 6,
    "buttonsPadY": 2,
    "buttonsRadius": 4,
    "buttonsShadow": false,
    "buttonsSize": 14,
    "buttonsText": false,
    "cartesian": "linear",
    "custom": false,
    "debugButton": true,
    "displayFormats": false,
    "drawOrderDay": false,
    "drawOrderLast": false,
    "drawOrderMonth": false,
    "gradients": false,
    "graph": "line",
    "graphTypes": [
      "v",
      "v2"
    ],
    "height": "400px",
    "iconColour": "grey",
    "interval": 1,
    "legend": {
      "v2_199": "Dag",
      "v_199": "Nacht"
    },
    "lineFill": false,
    "lineTension": 0.1,
    "maxTicksLimit": null,
    "method": 1,
    "pointBorderColor": [
      "grey"
    ],
    "pointBorderWidth": 0,
    "pointFillColor": [
      "red",
      "yellow",
      "blue",
      "orange",
      "green",
      "purple"
    ],
    "pointRadius": 0,
    "pointStyle": false,
    "reverseTime": false,
    "sortDevices": true,
    "spanGaps": false,
    "title": "Elektriciteit",
    "toolTipStyle": true,
    "width": 12
  },
  "currentValue": "7.93 kWh",
  "currentValues": [
    "7.93 kWh"
  ],
  "customRange": false,
  "data": {
    "result": [
      {
        "d": "2020-02-16 18:55",
        "v_199": "0",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:00",
        "v_199": "2992",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:05",
        "v_199": "2808",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:10",
        "v_199": "1596",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:15",
        "v_199": "792",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:20",
        "v_199": "649",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:25",
        "v_199": "684",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:30",
        "v_199": "672",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:35",
        "v_199": "627",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:40",
        "v_199": "672",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:45",
        "v_199": "684",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:50",
        "v_199": "638",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 19:55",
        "v_199": "744",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:00",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:05",
        "v_199": "732",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:10",
        "v_199": "594",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:15",
        "v_199": "756",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:20",
        "v_199": "636",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:25",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:30",
        "v_199": "627",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:35",
        "v_199": "696",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:40",
        "v_199": "720",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:45",
        "v_199": "708",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:50",
        "v_199": "648",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 20:55",
        "v_199": "594",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:00",
        "v_199": "594",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:05",
        "v_199": "624",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:10",
        "v_199": "576",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:15",
        "v_199": "756",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:20",
        "v_199": "624",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:25",
        "v_199": "561",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:30",
        "v_199": "612",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:35",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:40",
        "v_199": "648",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:45",
        "v_199": "516",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:50",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 21:55",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:00",
        "v_199": "612",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:05",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:10",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:15",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:20",
        "v_199": "384",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:25",
        "v_199": "297",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:30",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:35",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:40",
        "v_199": "504",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:45",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:50",
        "v_199": "432",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 22:55",
        "v_199": "374",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:00",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:05",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:10",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:15",
        "v_199": "576",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:20",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:25",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:30",
        "v_199": "330",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:35",
        "v_199": "300",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:40",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:45",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:50",
        "v_199": "540",
        "v2_199": "0"
      },
      {
        "d": "2020-02-16 23:55",
        "v_199": "363",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:00",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:05",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:10",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:15",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:20",
        "v_199": "552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:25",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:30",
        "v_199": "319",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:35",
        "v_199": "336",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:40",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:45",
        "v_199": "528",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:50",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 00:55",
        "v_199": "429",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:00",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:05",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:10",
        "v_199": "552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:15",
        "v_199": "408",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:20",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:25",
        "v_199": "418",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:30",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:35",
        "v_199": "540",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:40",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:45",
        "v_199": "324",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:50",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 01:55",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:00",
        "v_199": "432",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:05",
        "v_199": "385",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:10",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:15",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:20",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:25",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:30",
        "v_199": "561",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:35",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:40",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:45",
        "v_199": "418",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:50",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 02:55",
        "v_199": "324",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:00",
        "v_199": "444",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:05",
        "v_199": "451",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:10",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:15",
        "v_199": "516",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:20",
        "v_199": "612",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:25",
        "v_199": "429",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:30",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:35",
        "v_199": "492",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:40",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:45",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:50",
        "v_199": "312",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 03:55",
        "v_199": "363",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:00",
        "v_199": "504",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:05",
        "v_199": "336",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:10",
        "v_199": "372",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:15",
        "v_199": "480",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:20",
        "v_199": "348",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:25",
        "v_199": "385",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:30",
        "v_199": "396",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:35",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:40",
        "v_199": "552",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:45",
        "v_199": "374",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:50",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 04:55",
        "v_199": "384",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:00",
        "v_199": "231",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:05",
        "v_199": "444",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:10",
        "v_199": "360",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:15",
        "v_199": "516",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:20",
        "v_199": "684",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:25",
        "v_199": "588",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:30",
        "v_199": "660",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:35",
        "v_199": "732",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:40",
        "v_199": "696",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:45",
        "v_199": "576",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:50",
        "v_199": "352",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 05:55",
        "v_199": "744",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:00",
        "v_199": "352",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:05",
        "v_199": "456",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:10",
        "v_199": "420",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:15",
        "v_199": "864",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:20",
        "v_199": "636",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:25",
        "v_199": "418",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:30",
        "v_199": "636",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:35",
        "v_199": "372",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:40",
        "v_199": "583",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:45",
        "v_199": "341",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:50",
        "v_199": "504",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 06:55",
        "v_199": "468",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 07:00",
        "v_199": "372",
        "v2_199": "0"
      },
      {
        "d": "2020-02-17 07:05",
        "v_199": "0",
        "v2_199": "516"
      },
      {
        "d": "2020-02-17 07:10",
        "v_199": "0",
        "v2_199": "275"
      },
      {
        "d": "2020-02-17 07:15",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 07:20",
        "v_199": "0",
        "v2_199": "216"
      },
      {
        "d": "2020-02-17 07:25",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 07:30",
        "v_199": "0",
        "v2_199": "198"
      },
      {
        "d": "2020-02-17 07:35",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 07:40",
        "v_199": "0",
        "v2_199": "372"
      },
      {
        "d": "2020-02-17 07:45",
        "v_199": "0",
        "v2_199": "407"
      },
      {
        "d": "2020-02-17 07:50",
        "v_199": "0",
        "v2_199": "444"
      },
      {
        "d": "2020-02-17 07:55",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 08:00",
        "v_199": "0",
        "v2_199": "408"
      },
      {
        "d": "2020-02-17 08:05",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 08:10",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 08:15",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 08:20",
        "v_199": "0",
        "v2_199": "480"
      },
      {
        "d": "2020-02-17 08:25",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 08:30",
        "v_199": "0",
        "v2_199": "408"
      },
      {
        "d": "2020-02-17 08:35",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 08:40",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 08:45",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 08:50",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 08:55",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 09:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 09:05",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 09:10",
        "v_199": "0",
        "v2_199": "384"
      },
      {
        "d": "2020-02-17 09:15",
        "v_199": "0",
        "v2_199": "286"
      },
      {
        "d": "2020-02-17 09:20",
        "v_199": "0",
        "v2_199": "312"
      },
      {
        "d": "2020-02-17 09:25",
        "v_199": "0",
        "v2_199": "418"
      },
      {
        "d": "2020-02-17 09:30",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 09:35",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 09:40",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 09:45",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 09:50",
        "v_199": "0",
        "v2_199": "180"
      },
      {
        "d": "2020-02-17 09:55",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 10:00",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 10:05",
        "v_199": "0",
        "v2_199": "204"
      },
      {
        "d": "2020-02-17 10:10",
        "v_199": "0",
        "v2_199": "456"
      },
      {
        "d": "2020-02-17 10:15",
        "v_199": "0",
        "v2_199": "341"
      },
      {
        "d": "2020-02-17 10:20",
        "v_199": "0",
        "v2_199": "456"
      },
      {
        "d": "2020-02-17 10:25",
        "v_199": "0",
        "v2_199": "384"
      },
      {
        "d": "2020-02-17 10:30",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 10:35",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 10:40",
        "v_199": "0",
        "v2_199": "288"
      },
      {
        "d": "2020-02-17 10:45",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 10:50",
        "v_199": "0",
        "v2_199": "363"
      },
      {
        "d": "2020-02-17 10:55",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 11:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 11:05",
        "v_199": "0",
        "v2_199": "330"
      },
      {
        "d": "2020-02-17 11:10",
        "v_199": "0",
        "v2_199": "228"
      },
      {
        "d": "2020-02-17 11:15",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 11:20",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 11:25",
        "v_199": "0",
        "v2_199": "204"
      },
      {
        "d": "2020-02-17 11:30",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 11:35",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 11:40",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 11:45",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 11:50",
        "v_199": "0",
        "v2_199": "440"
      },
      {
        "d": "2020-02-17 11:55",
        "v_199": "0",
        "v2_199": "312"
      },
      {
        "d": "2020-02-17 12:00",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 12:05",
        "v_199": "0",
        "v2_199": "374"
      },
      {
        "d": "2020-02-17 12:10",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 12:15",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 12:20",
        "v_199": "0",
        "v2_199": "300"
      },
      {
        "d": "2020-02-17 12:25",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 12:30",
        "v_199": "0",
        "v2_199": "242"
      },
      {
        "d": "2020-02-17 12:35",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 12:40",
        "v_199": "0",
        "v2_199": "324"
      },
      {
        "d": "2020-02-17 12:45",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 12:50",
        "v_199": "0",
        "v2_199": "228"
      },
      {
        "d": "2020-02-17 12:55",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 13:00",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 13:05",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 13:10",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 13:15",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 13:20",
        "v_199": "0",
        "v2_199": "308"
      },
      {
        "d": "2020-02-17 13:25",
        "v_199": "0",
        "v2_199": "408"
      },
      {
        "d": "2020-02-17 13:30",
        "v_199": "0",
        "v2_199": "288"
      },
      {
        "d": "2020-02-17 13:35",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 13:40",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 13:45",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 13:50",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 13:55",
        "v_199": "0",
        "v2_199": "242"
      },
      {
        "d": "2020-02-17 14:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 14:05",
        "v_199": "0",
        "v2_199": "252"
      },
      {
        "d": "2020-02-17 14:10",
        "v_199": "0",
        "v2_199": "204"
      },
      {
        "d": "2020-02-17 14:15",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 14:20",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 14:25",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 14:30",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 14:35",
        "v_199": "0",
        "v2_199": "300"
      },
      {
        "d": "2020-02-17 14:40",
        "v_199": "0",
        "v2_199": "456"
      },
      {
        "d": "2020-02-17 14:45",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 14:50",
        "v_199": "0",
        "v2_199": "319"
      },
      {
        "d": "2020-02-17 14:55",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 15:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 15:05",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 15:10",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 15:15",
        "v_199": "0",
        "v2_199": "192"
      },
      {
        "d": "2020-02-17 15:20",
        "v_199": "0",
        "v2_199": "297"
      },
      {
        "d": "2020-02-17 15:25",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 15:30",
        "v_199": "0",
        "v2_199": "252"
      },
      {
        "d": "2020-02-17 15:35",
        "v_199": "0",
        "v2_199": "264"
      },
      {
        "d": "2020-02-17 15:40",
        "v_199": "0",
        "v2_199": "360"
      },
      {
        "d": "2020-02-17 15:45",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 15:50",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 15:55",
        "v_199": "0",
        "v2_199": "253"
      },
      {
        "d": "2020-02-17 16:00",
        "v_199": "0",
        "v2_199": "396"
      },
      {
        "d": "2020-02-17 16:05",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 16:10",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 16:15",
        "v_199": "0",
        "v2_199": "341"
      },
      {
        "d": "2020-02-17 16:20",
        "v_199": "0",
        "v2_199": "300"
      },
      {
        "d": "2020-02-17 16:25",
        "v_199": "0",
        "v2_199": "276"
      },
      {
        "d": "2020-02-17 16:30",
        "v_199": "0",
        "v2_199": "348"
      },
      {
        "d": "2020-02-17 16:35",
        "v_199": "0",
        "v2_199": "600"
      },
      {
        "d": "2020-02-17 16:40",
        "v_199": "0",
        "v2_199": "480"
      },
      {
        "d": "2020-02-17 16:45",
        "v_199": "0",
        "v2_199": "432"
      },
      {
        "d": "2020-02-17 16:50",
        "v_199": "0",
        "v2_199": "363"
      },
      {
        "d": "2020-02-17 16:55",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 17:00",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 17:05",
        "v_199": "0",
        "v2_199": "240"
      },
      {
        "d": "2020-02-17 17:10",
        "v_199": "0",
        "v2_199": "420"
      },
      {
        "d": "2020-02-17 17:15",
        "v_199": "0",
        "v2_199": "336"
      },
      {
        "d": "2020-02-17 17:20",
        "v_199": "0",
        "v2_199": "319"
      },
      {
        "d": "2020-02-17 17:25",
        "v_199": "0",
        "v2_199": "444"
      },
      {
        "d": "2020-02-17 17:30",
        "v_199": "0",
        "v2_199": "492"
      },
      {
        "d": "2020-02-17 17:35",
        "v_199": "0",
        "v2_199": "1392"
      },
      {
        "d": "2020-02-17 17:40",
        "v_199": "0",
        "v2_199": "876"
      },
      {
        "d": "2020-02-17 17:45",
        "v_199": "0",
        "v2_199": "1342"
      },
      {
        "d": "2020-02-17 17:50",
        "v_199": "0",
        "v2_199": "576"
      },
      {
        "d": "2020-02-17 17:55",
        "v_199": "0",
        "v2_199": "1128"
      },
      {
        "d": "2020-02-17 18:00",
        "v_199": "0",
        "v2_199": "605"
      },
      {
        "d": "2020-02-17 18:05",
        "v_199": "0",
        "v2_199": "1176"
      },
      {
        "d": "2020-02-17 18:10",
        "v_199": "0",
        "v2_199": "572"
      },
      {
        "d": "2020-02-17 18:15",
        "v_199": "0",
        "v2_199": "1080"
      },
      {
        "d": "2020-02-17 18:20",
        "v_199": "0",
        "v2_199": "816"
      },
      {
        "d": "2020-02-17 18:25",
        "v_199": "0",
        "v2_199": "828"
      },
      {
        "d": "2020-02-17 18:30",
        "v_199": "0",
        "v2_199": "756"
      },
      {
        "d": "2020-02-17 18:35",
        "v_199": "0",
        "v2_199": "825"
      },
      {
        "d": "2020-02-17 18:40",
        "v_199": "0",
        "v2_199": "588"
      },
      {
        "d": "2020-02-17 18:45",
        "v_199": "0",
        "v2_199": "1144"
      }
    ],
    "status": "OK",
    "title": "Graph day"
  },
  "dataFilterCount": 0,
  "dataFilterUnit": "",
  "decimals": 2,
  "forced": false,
  "graphConfig": null,
  "graphIdx": "block_33199",
  "hasBlock": true,
  "idx": 199,
  "lastRefreshTime": 1581961504,
  "mountPoint": "#block_33",
  "multigraph": false,
  "name": "Elektriciteit",
  "popup": false,
  "primary": true,
  "primaryIdx": "block_33199",
  "range": "month",
  "realrange": "month",
  "sensor": "counter",
  "subtype": "Energy",
  "title": "Elektriciteit",
  "txtUnit": "kWh",
  "type": "P1 Smart Meter",
  "keys": [
    "v",
    "v2"
  ],
  "ykeys": [
    "v_199",
    "v2_199"
  ],
  "ylabels": [
    "kWh",
    "kWh"
  ]
}
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

Sjonnie2017 wrote: Monday 17 February 2020 18:44 Debug log after first load (not selecting a time range):

Code: Select all

{
   // truncated //
  "range": "month",       <---- should be "day"
  "realrange": "month",   <---- should be "day"
  "sensor": "counter",
  "subtype": "Energy",
  "title": "Elektriciteit",
  "txtUnit": "kWh",
  "type": "P1 Smart Meter",
  "keys": [
    "v",
    "v2"
  ],
  "ykeys": [
    "v_199",
    "v2_199"
  ],
  "ylabels": [
    "kWh",
    "kWh"
  ]
}
That ^^^ is the reason. As suspected, your graph is initiating with range set to month. The default for month is kWh. Now to work out why.

It looks like the debug button is paying off already ;)
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

I think we found the "why"

This is in my custom.js:

Code: Select all

config['standard_graph'] = 'month';
Will rem it out and see what happens...

EDIT: Bingo!

Image

However I would like to have last month as the standard time period for these graphs ;)

EDIT2: On the other hand: if it is a lot of work I will settle for 'day' :mrgreen:
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
clinkadink
Posts: 417
Joined: Tuesday 31 December 2019 1:15
Target OS: Linux
Domoticz version: 2020.2
Location: Swindon, UK
Contact:

Re: Multiple sources in one graph

Post by clinkadink »

Sjonnie2017 wrote: Monday 17 February 2020 18:55 However I would like to have last month as the standard time period for these graphs ;)
I should be able to fix it, now I know what the reason is. Thanks for the info. Leave it with me, I will get back to you ;)
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
User avatar
Sjonnie2017
Posts: 361
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Multiple sources in one graph

Post by Sjonnie2017 »

I am certain you will! Somehow I expect to have to update to the latest beta somewhere in the near future :lol:
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests