File "plugin.py", line 333, in update
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'data'
rhanson wrote:The first was a divide by zero on line 250. But the rainforest hadn't yet finished its initial sync with the meter, and had no data. After a few moments, that went away.
The next error was:
- Code: Select all
File "plugin.py", line 333, in update
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'data'
However, once I had registered the unit with SCE and configured cloud access with Bidgely, this went away too (or perhaps it was also just a function of time).
rhanson wrote:On the costs, have you seen that the unit read the costs correctly from the meter? And does the meter correctly know the current costs from the utility company? I'm on a TOU plan, so there are umpteen combinations of cost, based on summer/winter, time of day, threshold over baseline, whether they are currently asking us to cut back, etc. So cost/kWh varies throughout the day. (I'm ignoring my solar stuff for now, that's a whole different can of worms, and I'll keep that crimped shut for a while.) Do you know how rainforest deals with that?
GRWilde wrote:Energy EAGLE 0.91 fixed the problem. SCE doesn't seem to be providing any cost data through their Smart Meter, so I am ignoring that information. Bidgely.com allows for set up of the multiple SCE rates and tiers, and I have been using that site for cost information. Bdgely.com interfaces well with the Rainforest Automation Eagle.
By the way I really like the additional data you have included in 0.9. The plugin seems to be working very well for me.
rhanson wrote:The first was a divide by zero on line 250. But the rainforest hadn't yet finished its initial sync with the meter, and had no data. After a few moments, that went away.
The next error was:
- Code: Select all
File "plugin.py", line 333, in update
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'data'
>>> indigo.devices[133281462].states["energyInput1"]
4294967.0750000002
Users browsing this forum: No registered users and 0 guests