Giter Site home page Giter Site logo

Missing a sensor about ha-emporia-vue HOT 8 CLOSED

cbenard avatar cbenard commented on June 23, 2024
Missing a sensor

from ha-emporia-vue.

Comments (8)

magico13 avatar magico13 commented on June 23, 2024

The sensors get populated at startup. It's odd that one would be missing but the simplest thing you can try is to go into the integrations page, find the Emporia integration, then click the three dot menu and choose the "reload" option. That should cause it to grab the device list again and hopefully find that additional channel.

from ha-emporia-vue.

cbenard avatar cbenard commented on June 23, 2024

I did that before filing this issue, but it is still missing 1. Are there logs I can send?

I just did it again. It shows 17 devices, 50 entities.

I just noticed, I'm also missing a "1 min" sensor on one of my circuits.

It shows 15 circuits, balance, and total (the 17 deviecs). Each device has all 3 entities, except one of my circuits.

from ha-emporia-vue.

zauberflute avatar zauberflute commented on June 23, 2024

Does the device show up in the Emporia app? I had a finicky device clamp once.

from ha-emporia-vue.

cbenard avatar cbenard commented on June 23, 2024

No. It shows up in the manage the device, but it doesn't show up in the active list showing energy. I wish I'd noticed that before the electrician left. I guess I'm screwed on that.

I'm still missing that one 1 min sensor though on the other circuit.

from ha-emporia-vue.

magico13 avatar magico13 commented on June 23, 2024

If you're willing to run a python script that goes straight against the PyEmVue library, here's one that will print out the device list, just fill in your email and password before running it. You'll likely need to pip install pyemvue first.

from pyemvue.pyemvue import PyEmVue

username='[email protected]'
password='password'

vue = PyEmVue()
vue.login(username=username, password=password, token_storage_file='keys.json')
print('Logged in.')
print()

devices = vue.get_devices()
for device in devices:
    print(f'{device.device_gid} {device.device_name}')
    for channel in device.channels:
        print(f'    {channel.channel_num} - {channel.name}')

That results in this output for me:

Logged in.

7466 Furnace
    1,2,3 - None
7466
    1 - C1
    2 - C2
    3 - C3
    4 - C4
    5 - C5
    6 - C6
    7 - C7
    8 - C8
16072 myplug
    1,2,3 - None
46428 Dehumidifier
    1,2,3 - None
46429 Network
    1,2,3 - None
46431 Tree
    1,2,3 - None
62626 EV
    1,2,3 - None
86116 Home
    1,2,3 - None
86116
    1 - Oven
    2 - Dryer
    3 - Water Heater
    4 - Kitchen 1
    5 - Living Room
    6 - Bar Area
    7 - Kitchen 2
    8 - Dishwasher
    9 - Bathroom Heater
    10 - Microwave
    11 - AC
    12 - Basement
    13 - Deck
    14 - Front Room
    15 - Office
    16 - Garage
86215 Washer
    1,2,3 - None
87157 Bedroom Fan
    1,2,3 - None

That will also dump all the tokens you need to run directly against the API into a file called keys.json in the current directory. If you call python -m pyemvue keys.json then you'll get a boat load of info from pyemvue's built-in test script. For example:

Logged in. Authtoken follows:
--secret--

7466 00013c71bf055c14 VUE001 Vue-1587661391
         7466 None 1,2,3 1.0
16072 B0000C891010521c41886e SSO001 Outlet-197
         16072 None 1,2,3 1.0
46428 B0000C8910e8db84c92272 SSO001 Outlet-197
         46428 None 1,2,3 1.0
46429 B0000C89103c6105cd83f1 SSO001 Outlet-197
         46429 None 1,2,3 1.0
46431 B0000C89103c6105cc1294 SSO001 Outlet-197
         46431 None 1,2,3 1.0
62626 D2129A0700AC67B2FBBD9C VVDN01 EVCharger-145
         62626 None 1,2,3 1.0
86116 A2112A04B4AC67B2F54954 VUE002 Vue2-159
         86116 None 1,2,3 1.0
86215 B0000B0204c45bbef9e0f6 SSO001 Outlet-197
         86215 None 1,2,3 1.0
87157 B0000B0204c45bbefa9b7a SSO001 Outlet-197
         87157 None 1,2,3 1.0
345.6253250167889 kwh used since 2022-10-16T04:00:00+00:00
Total usage for today in kwh: 
 86116 1,2,3 Home 34.10533928737853 kWh
- 7466 1,2,3 Furnace 18.15100611526489 kWh
- 62626 1,2,3 EV 0 kWh
 86116 1 Oven 0 kWh
 86116 2 Dryer 0 kWh
 86116 3 Water Heater 6.083484389760229 kWh
 86116 4 Kitchen 1 0 kWh
- 86215 1,2,3 Washer 0.0014082665292291657 kWh
 86116 5 Living Room 0.2953899415077377 kWh
- 16072 1,2,3 myplug 2.868905513053178 kWh
 86116 6 Bar Area 0.6946231085542837 kWh
 86116 7 Kitchen 2 0.00013385158234172399 kWh
 86116 8 Dishwasher 0.2413220654037264 kWh
 86116 9 Bathroom Heater 1.1902726598342261 kWh
 86116 10 Microwave 0.07638105756282808 kWh
 86116 11 AC 0 kWh
 86116 12 Basement 0.4512614237225135 kWh
- 46428 1,2,3 Dehumidifier 0.3001927263062452 kWh
 86116 13 Deck 2.2086145215564303e-05 kWh
 86116 14 Front Room 1.5659688489488326 kWh
- 46429 1,2,3 Network 1.1158572332779597 kWh
- 46431 1,2,3 Tree 0.01524402407398627 kWh
 86116 15 Office 0.25581384396719326 kWh
- 87157 1,2,3 Bedroom Fan 0.20546806646498655 kWh
 86116 16 Garage 0.1591028709896406 kWh
 86116 Balance Balance 0.4344684096455611 kWh
Total usage for yesterday in kwh:
7466 (1,2,3): 23.51029690687392 kwh
7466 (1): None kwh
7466 (2): None kwh
7466 (3): None kwh
7466 (4): None kwh
7466 (5): None kwh
7466 (6): None kwh
7466 (7): None kwh
7466 (8): None kwh
16072 (1,2,3): 1.0961066617308686 kwh
46428 (1,2,3): 0.819129111061191 kwh
46429 (1,2,3): 2.4233143471461327 kwh
46431 (1,2,3): 0.026650341906482036 kwh
62626 (1,2,3): 6.135511111111112 kwh
86116 (1,2,3): 52.98388529374124 kwh
86116 (1): 0.0 kwh
86116 (2): 0.0 kwh
86116 (3): 7.937741404390334 kwh
86116 (4): 0.00023110447198152547 kwh
86116 (5): 2.733249395890435 kwh
86116 (6): 1.6263083505576847 kwh
86116 (7): 0.0002793921702769068 kwh
86116 (8): 0.4404787633156115 kwh
86116 (9): 1.0313313754455247 kwh
86116 (10): 0.11674810822208723 kwh
86116 (11): 0.0 kwh
86116 (12): 1.7406405301498042 kwh
86116 (13): 7.492041799757215e-05 kwh
86116 (14): 5.3490951814291225 kwh
86116 (15): 0.7944220306105084 kwh
86116 (16): 0.3342014115391837 kwh
86215 (1,2,3): 0.002917871665414454 kwh
87157 (1,2,3): 0.22605045282654795 kwh
Average usage over the last minute in watts: 
 86116 1,2,3 Home 406.9871332804363 W
- 7466 1,2,3 Furnace 0 W
- 62626 1,2,3 EV 0 W
 86116 1 Oven 0 W
 86116 2 Dryer 0 W
 86116 3 Water Heater 0 W
 86116 4 Kitchen 1 0 W
- 86215 1,2,3 Washer 0.11850014861478232 W
 86116 5 Living Room 23.107176144917805 W
- 16072 1,2,3 myplug 0 W
 86116 6 Bar Area 13.672812827428181 W
 86116 7 Kitchen 2 0 W
 86116 8 Dishwasher 15.847360928853353 W
 86116 9 Bathroom Heater 0 W
 86116 10 Microwave 0 W
 86116 11 AC 0 W
 86116 12 Basement 28.785336576400002 W
- 46428 1,2,3 Dehumidifier 1.5444266135515763 W
 86116 13 Deck 0 W
 86116 14 Front Room 144.75874222890755 W
- 46429 1,2,3 Network 116.91038033985876 W
- 46431 1,2,3 Tree 0 W
 86116 15 Office 21.26546691258748 W
- 87157 1,2,3 Bedroom Fan 0 W
 86116 16 Garage 12.87370793024699 W
 86116 Balance Balance 28.22172277768458 W
Usage for the last seven days starting 2022-11-02T04:00:00+00:00
9.367244209014045 kwh
9.626768824984232 kwh
7.219198206592136 kwh
0.0 kwh
0.0 kwh
16.706240198597378 kwh
23.51029690687392 kwh
18.15100611526489 kwh
List of Outlets:
        16072 On? False
        46428 On? True
        46429 On? True
        46431 On? False
        86215 On? True
        87157 On? False
List of Chargers:
        62626 On? True Charge rate: 25/28 Status: Standby

As for the missing 1 minute sensor, which device/channel is it? I think some of the "special" channels don't have a one-minute option so maybe it's one of those.

from ha-emporia-vue.

cbenard avatar cbenard commented on June 23, 2024

Script results:

168232 [Address redacted which is the name of the meter]
    1,2,3 - None
168232
    1 - Basement Gym Plugs
    2 - Washer
    3 - Microwave
    4 - Upper Hall / Offices
    5 - Foyer / Master Bedroom
    6 - Outside Plugs
    7 - Main Floor Hall / Mud Room / Living Room
    8 - Water Heater / HRV / Water Softener
    9 - Garage Plugs
    10 - Air Conditioner
    11 - Kitchen Counter 1
    12 - Kitchen Counter 2
    13 - Dishwasher
    14 - Furnace
    15 - Dryer
    16 - Oven / Range

Air Conditioner (circuit 10) is missing the 1 min sensor in HA. Garage Plugs (9) is missing complete, but I think we already figured out that's a hardware issue.

Secondary command output:

Logged in. Authtoken follows:
[redacted]

168232 [redacted] VUE002 Vue2-159
         168232 None 1,2,3 1.0
140.64031468144734 kwh used since 2022-10-11T06:00:00+00:00
Total usage for today in kwh:
 168232 1,2,3 [Address Redacted] 14.82039975502014 kWh
 168232 1 Basement Gym Plugs 0 kWh
 168232 2 Washer 0 kWh
 168232 3 Microwave 0 kWh
 168232 4 Upper Hall / Offices 2.8771170994928146 kWh
 168232 5 Foyer / Master Bedroom 0.33521966197676134 kWh
 168232 6 Outside Plugs 0.00602299349255032 kWh
 168232 7 Main Floor Hall / Mud Room / Living Room 1.3833989528550044 kWh
 168232 8 Water Heater / HRV / Water Softener 1.542453890279134 kWh
 168232 10 Air Conditioner 0.062057106397946676 kWh
 168232 11 Kitchen Counter 1 0.03548264524221421 kWh
 168232 12 Kitchen Counter 2 0.01782339558733834 kWh
 168232 13 Dishwasher 0 kWh
 168232 14 Furnace 5.477240477422079 kWh
 168232 15 Dryer 0 kWh
 168232 16 Oven / Range 0 kWh
 168232 Balance Balance 3.0835835322743 kWh
Total usage for yesterday in kwh:
168232 (1,2,3): 28.139833652841837 kwh
168232 (1): 0.0 kwh
168232 (2): 0.0 kwh
168232 (3): 0.20001851976209217 kwh
168232 (4): 5.244368345126476 kwh
168232 (5): 0.8640865653087481 kwh
168232 (6): 0.01830860641717911 kwh
168232 (7): 2.616393438233086 kwh
168232 (8): 2.7384944552548354 kwh
168232 (9): None kwh
168232 (10): 0.03292709699683719 kwh
168232 (11): 0.0352544144528442 kwh
168232 (12): 0.03473676710047875 kwh
168232 (13): 0.0 kwh
168232 (14): 9.329624310241718 kwh
168232 (15): 0.0 kwh
168232 (16): 0.1144936221718788 kwh
Average usage over the last minute in watts:
 168232 1,2,3 [Address redacted] 1180.9180994669596 W
 168232 1 Basement Gym Plugs 0 W
 168232 2 Washer 0 W
 168232 3 Microwave 0 W
 168232 4 Upper Hall / Offices 311.43651936848954 W
 168232 5 Foyer / Master Bedroom 21.45144151051839 W
 168232 6 Outside Plugs 0 W
 168232 7 Main Floor Hall / Mud Room / Living Room 100.36195386250816 W
 168232 8 Water Heater / HRV / Water Softener 142.98947372436524 W
 168232 10 Air Conditioner 0 W
 168232 11 Kitchen Counter 1 0 W
 168232 12 Kitchen Counter 2 2.0549734354019162 W
 168232 13 Dishwasher 0 W
 168232 14 Furnace 368.3514724731445 W
 168232 15 Dryer 0 W
 168232 16 Oven / Range 0 W
 168232 Balance Balance 234.27226509253197 W
Usage for the last seven days starting 2022-11-02T06:00:00+00:00
None kwh
None kwh
11.578776504266525 kwh
25.797748878525628 kwh
32.087729241837394 kwh
28.21582664895582 kwh
28.139833652841837 kwh
14.82039975502014 kwh
List of Outlets:
List of Chargers:

from ha-emporia-vue.

magico13 avatar magico13 commented on June 23, 2024

9 not showing up in the usage responses definitely explains it not showing up in Home Assistant, and the physical clamp not being seated properly can definitely cause that. The Air Conditioner (10) not showing the 1 minute sensor is odd since the other 1 minute sensors are working and it's showing up in the response.

I would guess that reloading the integration or restarting Home Assistant should fix that but otherwise I'm not sure why it would be missing. You can check in the Home Assistant logs to see if any errors are mentioned right after startup for the Emporia Vue integration but I couldn't tell you for sure what's wrong.

from ha-emporia-vue.

cbenard avatar cbenard commented on June 23, 2024

The AC sensor showed up with the 1 min. I went in there to reload the automation so I could look at the logs for you, but I noticed it said 51 entities now.

The electrician is going to come back out to see if it's hooked up properly on that other circuit. Pretty sure you can close it. Thank you for helping me look into it.

from ha-emporia-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.