device "Tesla Site Info" state key deviceStatus not defined

Posted on
Sat Jun 15, 2019 10:39 am
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

device "Tesla Site Info" state key deviceStatus not defined

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

Posted on
Sat Jun 15, 2019 2:21 pm
GlennNZ offline
Posts: 815
Joined: Dec 07, 2014
Location: Central Coast, Australia

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

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

Posted on
Sat Jun 15, 2019 8:09 pm
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

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

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

Posted on
Sat Jun 15, 2019 8:14 pm
GlennNZ offline
Posts: 815
Joined: Dec 07, 2014
Location: Central Coast, Australia

device

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]


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

Posted on
Sat Jun 15, 2019 9:40 pm
GlennNZ offline
Posts: 815
Joined: Dec 07, 2014
Location: Central Coast, Australia

device "Tesla Site Info" state key deviceStatus not defined

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.

Posted on
Sun Jun 16, 2019 8:56 am
ZachBenz offline
Posts: 163
Joined: Feb 08, 2014

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

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest