
The last button with the 'E' symbol is the edit button. The next three buttons create new Variable Manager libraries, open existing Variable Manager libraries, and save the current Variable Manger Library respectively.

Getting the kWh usage (function is called PowerNow_Total in TED Plugin) into a variable that I can work withĢ. The fist button in the Variable Manager Tool Window enabled and disabled the Variable Manager replacement system. So something like this:ĬurrentPowerNowTotal * currentElectricityRate = currentCostġ. I would recommend reading through the user guide or looking at some articles to get a better grasp of MVC principles. The controller should be handling all of your application logic so you should be setting the variable there. My thought was if I could have 2 variables (kWh usage from TED and TOU rate set from my Indigo schedules), I could do a simple multiplication, and the 3rd variable would be my current cost, which I could display in a custom control page. There is no reason you should be setting variables in your view files anyway. This is because my utility went to a complicated TOU schedule that TED back-end cannot support correctly. head(baskets.df, 4) Granny Geraldine Gabrielle 1st 12 5 11 2nd 4 4 5 3rd 5 2 6 4th 6 4 7.


I am using the TED Home plugin to get my current usage in kWh, and have a bunch of Indigo schedules that set a variable called currentElectricityRate. A data frame can be extended with new variables in R. My goal is pretty simple: I want to take my current electricity usage in kWh and multiply it by my current Time-of-Use rate from the utility, and display the current cost on a custom control page.
