jertel / vuegraf

Populate metrics from your Emporia Vue energy monitoring devices into an InfluxDB
MIT License
169 stars 54 forks source link

Devices are not named correctly per JSON #111

Closed dakegg closed 1 year ago

dakegg commented 1 year ago

Despite using a Devices section in the JSON which includes a name that is copied directly from the Vue app in the order they were added (JSON below) I do not get device names in the graphs, only a number as seen in the screen shot. I am sure this is me, but not sure what I did or how to fix it.

image

"devices": [
            {
                "name": "Right Panel",
                "channels": [
                    "Dryer Leg 1",
                    "Dryer Leg 2",
                    "Microwave",
                    "Fridge",
                    "Package Unit Leg 1",
                    "Package Unit Leg 1",
                    "2nd Fl Condenser Leg 1",
                    "2nd Fl Condenser Leg 2",
        "Washing Machine",
        "Upstairs Condenser Leg 1",
        "Upstairs Condenser Leg 2"
                ]
            },
            {
                "name": "Left Panel",
                "channels": [
                    "2nd Fl Heat Pump Leg 1",
                    "2nd Fl Heat Pump Leg 2",
                    "Downstairs Hot Water",
                    "Stove Leg 1",
                    "Stove Leg 2",
                    "Oven Leg 1",
                    "Oven Leg 2",
                    "Office Plugs",
        "Dishwasher",
        "Workshop Panel Leg 1",
        "Workshop Panel Leg 2",
        "Garage Fridge Freezer"