Sense Plugin Variables

Posted on
Tue Jan 24, 2023 5:55 pm
Peel offline
Posts: 16
Joined: Apr 14, 2015

Sense Plugin Variables

When I enable debugging, in the Event Log, I get 4 pieces of energy data from my Sense monitor:
Active
Daily
Active Solar
Daily Solar

I want to write a python action (or plugin) that will send this data to my account at pvoutput.org. The first thing I need to do is save the state of those 4 values to variables. I see that there are devices created called Active Total and Solar that correspond to Active and Solar respectively. And I can save those states to appropriate variables using Insert Device State into Variable. But there are no devices for Daily and Daily Solar. Are there plugin functions or variables for these that can be accessed via python calls?

Posted on
Sat Apr 22, 2023 2:22 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Sense Plugin Variables

Apologies for missing this.

Solar data doesn't come in the same dataset when I retrieve it. It looks like when I wrote the plugin, I got as far as logging the daily/active solar to the log but not processing it!

I'll send you a PM with a temporary .py plugin file to replace on your end, to try. Keep a copy of the original first.

Peter

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest