jertel / vuegraf

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

User friendly names #9

Closed castro145 closed 3 years ago

castro145 commented 3 years ago

Hello, Thank a bunch for the project, I love Grafana and got the Vue2 yesterday, this is AWESOME! Quick question, I seem to be having issues adding the name that the circuit is named.

As an example, my circuit 5 name in the Vue app named "AC Downstairs", the Circuit Type is "Air Conditioner". When the vuegraf starts in docker in the log it outputs "Discovered new channel: AC Downstairs (5)". In the config I've tried setting the "Left" and the "Right" 5th device down to both the "AC Downstairs" and ""Air Conditioner" but with no luck as it always shows up as "Home-5". "Home" being the Name of the Vue monitor.

Thanks for any help you can provide.

Joe

jertel commented 3 years ago

In your config make sure the name of your vue device matches, which sounds like it is Home in your case. For example, if you only have one Vue device then delete the "Right" device from the config (remove the trailing comma above it as well), and then change the "Left Panel" name to be "Home".

So it would look like this:

            "devices": [
                {
                    "name": "Home",
                    "channels": [
                        "xxxx",
                        "xxxx",
                        "xxxx",
                        "xxxx",
                        "AC Downstairs",
                        "xxxx",
                        "xxxx",
                        "xxxx"
                    ]
                }
            ]