device "Tesla Site Info" state key deviceStatus not defined

ZachBenz
Posts: 163
Joined: Sat Feb 08, 2014 9:17 am

device "Tesla Site Info" state key deviceStatus not defined

Post by ZachBenz »

Have started getting these in the log on a regular interval:

Code: Select all

   
Tesla Battery Error             Caught Exception in fillsiteinfo
Traceback (most recent call last):
  File "plugin.py", line 554, in fillsiteinfo
    {'key': 'gridCode', 'value': data['grid_code']},
KeyError: 'grid_code'
   Error                           device "Tesla Site Info" state key deviceStatus not defined (ignoring update request)
ZachBenz's Plugins: RingForIndigo
User avatar
GlennNZ
Posts: 1607
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

Re: device "Tesla Site Info" state key deviceStatus not defi

Post by GlennNZ »

ZachBenz wrote:Have started getting these in the log on a regular interval:

Code: Select all

   
Tesla Battery Error             Caught Exception in fillsiteinfo
Traceback (most recent call last):
  File "plugin.py", line 554, in fillsiteinfo
    {'key': 'gridCode', 'value': data['grid_code']},
KeyError: 'grid_code'
   Error                           device "Tesla Site Info" state key deviceStatus not defined (ignoring update request)
Ok
Probably need the whole debug output, as not seeing this issue.

Looks like something has changed, or has been updated - interestingly working fine here with Grid_code being filled.
I'm on software version 1.37.1 - which seems to be latest...

Glenn


Sent from my iPad using Tapatalk
ZachBenz
Posts: 163
Joined: Sat Feb 08, 2014 9:17 am

Re: device "Tesla Site Info" state key deviceStatus not defi

Post by ZachBenz »

Here's a 7 minute debug log capture. The error pops up every 10 minutes, regularly. Was a bit strange to me that there was so much polling going on during the 7 minute capture. My powerwall gateway is on version 1.37.1 as well.

Code: Select all

Jun 15, 2019 at 7:59:49 PM
   Tesla Battery                   Debugging on.
   Tesla Battery Debug             Debug level: 20
   Tesla Battery Debug             New logLevel = 10
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1712720535
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid faults info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1712720535
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1670225194
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid faults info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1714193652
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1712720535
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid faults info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1752265861
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillsiteinfo called
   Tesla Battery Error             Caught Exception in fillsiteinfo
Traceback (most recent call last):
  File "plugin.py", line 554, in fillsiteinfo
    {'key': 'gridCode', 'value': data['grid_code']},
KeyError: 'grid_code'
   Error                           device "Tesla Site Info" state key deviceStatus not defined (ignoring update request)
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill battery info called
   Tesla Battery Debug             Battery Per:98.1553085226
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             closedPrefsConfigUi() method called.
   Tesla Battery Debug             User prefs saved.
   Tesla Battery Debug             logLevel = 10
   Tesla Battery Debug             User prefs saved.
   Tesla Battery Debug             Debugging on (Level: 10)
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fillmetersinfo called
   Tesla Battery Debug             HTTPS CURL result:
   Tesla Battery Debug             ReturnCode:0
   Tesla Battery Debug             fill grid status info called
   Tesla Battery Debug             toggleDebugEnabled() method called.
   Tesla Battery                   Debugging off.  Debug level: 10
ZachBenz's Plugins: RingForIndigo
User avatar
GlennNZ
Posts: 1607
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

device

Post by GlennNZ »

ZachBenz wrote:Here's a 7 minute debug log capture. The error pops up every 10 minutes, regularly. Was a bit strange to me that there was so much polling going on during the 7 minute capture. My powerwall gateway is on version 1.37.1 as well.

Code: Select all

[/quote]

OK - think you are missed debug checkboxes being enabled?

Can you run debug with everything on (all three debug checkboxes from plugin Config) from beginning/reload plugin, until error and post or PM?

Should be a quick fix I would think

Thanks


Sent from my iPad using Tapatalk
User avatar
GlennNZ
Posts: 1607
Joined: Sun Dec 07, 2014 3:33 pm
Location: Central Coast, Australia

device "Tesla Site Info" state key deviceStatus not defined

Post by GlennNZ »

Ok - had limited time to check.

Have released Version 0.3.9
In Plugin Store.

Checks for missing site_info data and only updates that which received.

Would still like the debug logging though if possible! - so can check what else is going on/or different in your install.
ZachBenz
Posts: 163
Joined: Sat Feb 08, 2014 9:17 am

Re: device "Tesla Site Info" state key deviceStatus not defi

Post by ZachBenz »

Ah, yep will do. Had only hit the "Toggle Debugging" in the plugin menu, not the three checkboxes. I'll do that now.
ZachBenz's Plugins: RingForIndigo
Post Reply

Return to “Tesla Battery”