Open WhoaLookAtThat opened 11 months ago
I have 38 devices under the integration in Home Assistant so the numbers you're seeing might just be a fluke. I have a Vue 2 with 16 circuits, then a Vue 1 nested under that with the 8 circuits under that, approximately 8 plugs nested in various ways, and the EV charger.
I do not have solar so I do not have the MainsFromGrid, MainsToGrid, or TotalUsage, but that's the only situation where you'll see those.
In the latest release, the import is based on what devices respond to the initial request for data. If a channel reports None or is otherwise missing from the list, it will not get created. That can happen if a connection is loose, networking issues, or issues with their cloud servers. The code in master instead builds the list from the device tree endpoint, plus the first data request, since the device tree doesn't have any of the Balance, MainsTo/FromGrid, or similar "virtual" channels. You can try installing the master version and see if that gets any of the missing channels to appear, but if they're regularly missing from the usage data then you may still run into issues over time.
If you're familiar with Python you can download the PyEmVue module yourself and test what it pulls back for the devices or usage calls, that's all the integration is doing to set things up and if any devices are missing from those then most likely the API isn't returning all of the data correctly.
I'm seeing something similar, I will note that in the home tab of the app it also only shows the devices I see in the plugin (see attached photos)
I'm seeing something similar, I will note that in the home tab of the app it also only shows the devices I see in the plugin (see attached photos)
Huh... Until I read your comments, I hadn't realized the app home page is missing my same entries.
The app home page and the HA integration match. The app home page, however, is missing entries.
In my case, the missing entries are rarely used circuits (they could have "zero" data). I've not yet had time to plug something in (like a hair dryer) to generate data on these circuits. Some other circuits that do appear are also rarely used, but maybe these that do appear are just above zero (have some data).
To follow up on my issue...
I plugged in a hair dryer (1500+ Watts of use) to generate a known power draw on each circuit that had missing values.
All but one circuit gave me values in the Emporia app. I went to HA, reloaded the integration, and these values now appeared in HA.
For the last circuit, I replaced the sensor, then plugged in the hair dryer. With the new sensor, the app now correctly displays data, followed by HA.
I'm now correctly getting data on my Emporia app and in HA via the integration.
Thank you, for all the time and effort creating this tool and the community comments.
This may be closed (resolved).
When I delete and reinstall the integration, HA is missing some Vue values ("devices")
Attempt #1 (first install) - HA didn't see: Port #1, MainsFromGrid, MainsToGrid (probably others, too, I wasn't sure what to look for)
Attempt #2 (delete integration from HA; reset data from Emporia app and rename circuits) - HA didn't see: I didn't take notes which were missing, but iirc there were 4 missing (MainsToGrid was the only one I specifically remember, but there were at least 4 total). Only about 75% came across at first, then I reloaded the integration in HA and most of the others appeared.
Attempt #3 (delete integration from HA; reset data from Emporia app and rename circuits) - HA didn't see: Port #1, Port #9, Port #11, Port #16
It seems like the integration maxes out at 19 devices (18 from the Vue + an emporia EV charger)
Devices from the Vue that I think I should see: From the Vue: ports 1 through 16 Balance MainsFromGrid () MainsToGrid () Total usage (One with the name of the Vue)
Devices from the EV charger (integration of the separate EV charger seems to come across just fine; I'm including so you're aware it exists) (Name of EV charger) + "1,2,3"
(*) do not have "1min" values (I assume that's intentional)
Based on my 3 attempts at deleting and reinstalling the integration within HA, it "feels like" four values are missing -- one theory -- there should be 20 devices from the Vue, but the import stops after 16. I assume the import is random, so the missing values are also random.