View unanswered posts | View active topics It is currently Wed May 22, 2013 8:03 am



Reply to topic  [ 23 posts ]  Go to page: Previous  1, 2
 eTrack discussion 
Author Message

Joined: Aug 09, 2010
Posts: 765
Location: CA
Post Re: eTrack - A New Indigo Energy Tracking System
pegoto wrote:I just tried installing eTrack and right after specifiying the wattage of my devices I get an error that says "Can't continue createVariable". I ran the setup again and clicked edit which opened the script which I ran and entered the information again. It seems the specific section its failing at is the following when running the actual script:

Error: IndigoServer got an error: Can't continue createVariable

Script:

createVariable("eTrackCostPerKWH",costPerKWH, true)

I also just saw this in my Indigo Log, this happens when it loads the questions about costs for electricity.

Error CloseFile() caught exception: FileIOError -- cannot close unopen file
Error LoadAttachment() caught exception: FileIOError -- cannot read from unopen


Hi. Thanks for trying eTrack.

Which version of Indigo are you using? Which version of Mac OS X are you using? Have you recently upgraded Indigo or migrated it from one computer to another?

The "FileIOError" error messages concern me. This means that Indigo is unable to read files from your hard drive. If you've migrated Indigo from one Mac to another, this can often mess up the permissions on the entire Perceptive Automation folder in /Library/Application Support. I'm pretty sure there are some command-line fixes for this, if this is indeed the problem. If you haven't migrated Indigo, there could be some other permissions issue in which case a permissions repair using Mac OS X's "Disk Utility" application in the /Applications/Utilities folder might help. It's also possible that one of the attachment files in the /Library/Application Support/Perceptive Automation/Indigo 5/Scripts/Attachments folder are damaged. You might try removing all attachment scripts from that folder to, say, your desktop, and reload attachments using the Indigo client (Plugins menu, Reload Libraries and Attachments), then add the scripts back to the Attachments folder one at a time, reloading libraries and attachments each time to see which script is corrupted or unreadable.

As a possible temporary fix, you could also try manually creating the "eTrackCostPerKWH" variable in Indigo, then run the eTrack Setup again to see if you get any errors (or maybe a different error). If you get more errors in your Indigo log, please copy the log and paste it into your next post (inside a [ code ] [ /code ] tag so it formats correctly in the post).


Sun Jul 08, 2012 3:14 am
Profile WWW

Joined: Jul 21, 2011
Posts: 20
Post Re: eTrack - A New Indigo Energy Tracking System
I did the following:

1. Repair disk permissions (There were a few repairs but non Indigo related)
2. Verify disk (This came up clean)
3. Did a real of the scripts in Indigo and it reloaded all with no error at all.
4. Create the eTrackCostPerKWH variable but it got stuck again in the install with the same message
5. I have not moved Indigo, its been on this Mac Mini for a while and I have Indigo 5.1.3 and Mac OS X 10.7.4

What I did do this time is copying the eTrack.scpt file to the Attachments folder and then re-running the setup. That seems to have fixed it. Thanks for your help, now off to playing with it!


Sun Jul 08, 2012 11:30 am
Profile

Joined: Aug 09, 2010
Posts: 765
Location: CA
Post Re: eTrack - A New Indigo Energy Tracking System
pegoto wrote:What I did do this time is copying the eTrack.scpt file to the Attachments folder and then re-running the setup. That seems to have fixed it. Thanks for your help, now off to playing with it!


Thanks for going through all those steps. That does help the troubleshooting process. I'm glad you were able to get it to work. Your Mac mini setup sounds pretty close to identical to my own, at least in terms of hardware model, Indigo version and OS version. I tried to reproduce the error you're getting but could not. I suspect that, though the error doesn't indicate so, it might be a problem with the script file installation process which uses the command-line "cp" command to copy the eTrack.scpt file from the location of the eTrack Setup applet to the Scripts/Attachments folder in the Indigo 5 folder. Do you happen to have FileVault enabled? (I don't on my Mac mini). Is the account from which you're installing eTrack an Administrator account on the Mac? (It is on my setup).

In any case, since you got it to work, don't feel obligated to track down the issue. Unless others report the same issue, I'm comfortable writing this error off as an outlier if you are. :-)


Sun Jul 08, 2012 2:14 pm
Profile WWW

Joined: Feb 10, 2012
Posts: 16
Post Re: eTrack - A New Indigo Energy Tracking System
Just a heads up - the file linked at http://www.perceptiveautomation.com/filelib/index.php is 1.0b3.


Tue Jul 10, 2012 8:41 am
Profile

Joined: Aug 09, 2010
Posts: 765
Location: CA
Post Re: eTrack - A New Indigo Energy Tracking System
jlambert121 wrote:Just a heads up - the file linked at http://www.perceptiveautomation.com/filelib/index.php is 1.0b3.

Hi. Thanks for the heads up. I'll send Perceptive Automation the latest version to post there.


Tue Jul 10, 2012 9:32 am
Profile WWW

Joined: Jul 06, 2010
Posts: 496
Location: Petoskey, MI
Post Re: eTrack discussion
Nathan - so this basically looks at each device and assigns a wattage to that device? Curious if there would be some way to integrate appliances if I have a synchrolinc attached? Pretty much all the lights in our house are device controlled so this would actually give a fairly accurate picture of our home's energy consumption with the exception of a couple of spare rooms in the basement.


Fri Jan 25, 2013 4:14 pm
Profile

Joined: Aug 09, 2010
Posts: 765
Location: CA
Post Re: eTrack discussion
Dewster35 wrote:Nathan - so this basically looks at each device and assigns a wattage to that device? Curious if there would be some way to integrate appliances if I have a synchrolinc attached? Pretty much all the lights in our house are device controlled so this would actually give a fairly accurate picture of our home's energy consumption with the exception of a couple of spare rooms in the basement.

Correct. It's an AppleScript extension to Indigo and an AppleScript installer that walks you through each compatible device in your Indigo database, allowing you to assign wattage values to each device. I don't have a SynchroLinc to test with eTrack, but I did try to program it to look for and work with SynchroLinc devices. If you try it out, let me know if it works with them. It will also work with iMeter Solo devices, though there are some additional manual configurations you have to do after eTrack installation to get those to integrate properly (the installer gives you instructions on how to do that).


Fri Jan 25, 2013 6:37 pm
Profile WWW

Joined: Jul 06, 2010
Posts: 496
Location: Petoskey, MI
Post Re: eTrack discussion
Cool! Well I have a new project for next week then. Thanks for all the work to get this made.


Fri Jan 25, 2013 6:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page: Previous  1, 2

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.