View unanswered posts | View active topics It is currently Wed Apr 23, 2014 11:32 am



Reply to topic  [ 97 posts ]  Go to page: Previous  1, 2, 3, 4, 5, 6, 7  Next
 Device Usage Report IWS Plugin 
Author Message
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 13239
Location: Texas
Post Re: Device Usage Report IWS Plugin
kpfriedberg wrote: WebServer enabled browser access to plugin path "plugins/usageReporter/usageReporter/css"
WebServer enabled browser access to plugin path "plugins/usageReporter/usageReporter/images"
WebServer enabled browser access to plugin path "plugins/usageReporter/usageReporter/js"

Move the contents of the folder usageReporter up a level. You have the folder nested one too deep inside a folder with the same name.

_________________
Image


Thu Mar 18, 2010 10:03 am
Profile WWW
Post Re: Device Usage Report IWS Plugin
ok, i'll give that a shot. That said, i was somewhat confused because when you download the file, it creates the userreporting folder, then within that, the readme file and another userreporting folder. the instructions said to just copy in the userreporting folder but didn't specify which one. sorry for being a nob.


Thu Mar 18, 2010 10:11 am
Post Re: Device Usage Report IWS Plugin
now i just get undefined page request and this on the log

WebServer undefined page requested "http://xxxxxxxxx.homeip.net:8176/usagereporter" from 63.71.3.45


Last edited by kpfriedberg on Thu Mar 18, 2010 10:52 am, edited 1 time in total.



Thu Mar 18, 2010 10:19 am
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 13239
Location: Texas
Post Re: Device Usage Report IWS Plugin
Did you stop and restart the Indigo Server and moving the folder? If so, copy/paste what is shown in the Event Log as the Indigo Server starts up.

_________________
Image


Thu Mar 18, 2010 10:36 am
Profile WWW
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8357
Location: Austin, Texas
Post Re: Device Usage Report IWS Plugin
I just changed the parent folder's name in the archive to avoid that confusion in the future.

_________________
Jay (Indigo Support)
Image


Thu Mar 18, 2010 10:37 am
Profile WWW
User avatar

Joined: Nov 18, 2008
Posts: 2253
Location: Berkeley, CA, USA
Post Re: Device Usage Report IWS Plugin
Indigo enhancement request (post 5.0):

How about a small application whose sole purpose is to place plugins, extensions and whatever in their proper place in the IndigoServer file system. Extensions, plugins etc. could just be dropped on the app and magically the components would be copied to their proper locations - a plist type file could contain instructions for "installation." There would probably need to be some checking to avoid squashing existing folders & files (Do you really want to replace foo?). But, this would fall far short of a real installer, really just a scriptable copy engine.


Thu Mar 18, 2010 10:43 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8357
Location: Austin, Texas
Post Re: Device Usage Report IWS Plugin
Very timely request - Matt and I were just brainstorming yesterday how to have the plugin mechanism help with this exact problem. Look for some coolness around this idea in 5.0... ;)

_________________
Jay (Indigo Support)
Image


Thu Mar 18, 2010 10:48 am
Profile WWW
Post Re: Device Usage Report IWS Plugin
Stopped and started server again. Still get undefined page request after logging in...

Starting Indigo Server version 4.1.7
Loading attachments
"battery dead notify attachment.scpt" script loaded
"device target attachment.scpt" script loaded
"group target attachment.scpt" script loaded
"growl attachment.scpt" script loaded
"iTunes attachment.scpt" script loaded
"scenes attachment.scpt" script loaded
"time stamp attachment.scpt" script loaded
Bonjour registered "Indigo - 3 Twin Knolls"
Indigo Cocoa client authenticated
SQLite client authenticated
WebServer client authenticated
SQLite client connected to Indigo Server
SQLite client connected to sqlite_db
SQLite logging all device state changes
SQLite logging all variable value changes
WebServer started on port 8176 -- digest authentication enabled
WebServer loaded plugin "Device Usage Report"
WebServer enabled browser access to plugin path "plugins/usageReporter/css"
WebServer enabled browser access to plugin path "plugins/usageReporter/images"
WebServer enabled browser access to plugin path "plugins/usageReporter/js"
SQLite client authenticated
WebServer client authenticated
SQLite client connected to Indigo Server
SQLite client connected to sqlite_db
SQLite logging all device state changes
SQLite logging all variable value changes
WebServer started on port 8176 -- digest authentication enabled
WebServer loaded plugin "Device Usage Report"
WebServer enabled browser access to plugin path "plugins/usageReporter/css"
WebServer enabled browser access to plugin path "plugins/usageReporter/images"
WebServer enabled browser access to plugin path "plugins/usageReporter/js"

Mar 18, 2010 12:46:32 PM
Trigger Action iTunesSync
Trigger Action NOAA Weather Sync
Weather NOAA Weather NOAA Script Launched
iTunes Sync iTunes Sync Script Launched
Connected to SmartHome PowerLinc USB E
PowerLinc address 0E.14.03, firmware version 2.13
PowerLinc standalone operation disabled
Indigo directly controlling automation logic

Mar 18, 2010 12:46:55 PM
Received INSTEON "Motion Sensor - Kitchen" off (button 1)

Mar 18, 2010 12:47:14 PM
WebServer undefined page requested "http://xxxxxxxxx.homeip.net:8176/usagereporter" from 63.71.3.45


Thu Mar 18, 2010 10:50 am
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8357
Location: Austin, Texas
Post Re: Device Usage Report IWS Plugin
So, try this:

0) Stop the Indigo Server
1) Open a new terminal window (and keep it open - at the end I'd like you to paste the contents in to a reply here)
2) paste in the following command (no quotes):

"cd /Library/Application\ Support/Perceptive\ Automation/Indigo\ 4/IndigoWebServer/plugins/usageReporter"

3) paste in the following command: "ls -la"
4) paste in the following: "rm *.pyc"
5) paste in the following command: "ls -la"
6) Start up the Indigo Server
7) paste in the following command: "ls -la"

Paste in the entire contents of the terminal window here.

_________________
Jay (Indigo Support)
Image


Thu Mar 18, 2010 11:14 am
Profile WWW
Post Re: Device Usage Report IWS Plugin
Last login: Wed Mar 17 06:31:08 on console
Study-iMac:~ Karen$ cd /Library/Application\ Support/Perceptive\ Automation/Indigo\ 4/IndigoWebServer/plugins/usageReporter
Study-iMac:usageReporter Karen$ ls -la
total 72
drwxr-xr-x@ 11 Karen Karen 374 Mar 18 12:17 .
drwxrwxr-x 5 root admin 170 Mar 18 12:15 ..
-rw-r--r--@ 1 Karen Karen 6148 Mar 18 12:15 .DS_Store
-rw-r--r--@ 1 Karen Karen 22 Mar 2 2006 __init__.py
-rw-r--r-- 1 Karen Karen 228 Mar 18 12:17 __init__.pyc
drwxr-xr-x@ 5 Karen Karen 170 Mar 18 10:57 css
drwxr-xr-x@ 15 Karen Karen 510 Mar 18 10:57 images
drwxr-xr-x@ 3 Karen Karen 102 Mar 6 14:02 js
-rw-r--r--@ 1 Karen Karen 6791 Mar 9 14:12 reqhandler.py
-rw-r--r-- 1 Karen Karen 6620 Mar 18 12:17 reqhandler.pyc
drwxr-xr-x@ 4 Karen Karen 136 Mar 18 10:57 templates
Study-iMac:usageReporter Karen$ rm *pyc
Study-iMac:usageReporter Karen$ rm *.pyc
rm: *.pyc: No such file or directory
Study-iMac:usageReporter Karen$ ls -la
total 48
drwxr-xr-x@ 9 Karen Karen 306 Mar 18 13:18 .
drwxrwxr-x 5 root admin 170 Mar 18 12:15 ..
-rw-r--r--@ 1 Karen Karen 6148 Mar 18 12:15 .DS_Store
-rw-r--r--@ 1 Karen Karen 22 Mar 2 2006 __init__.py
drwxr-xr-x@ 5 Karen Karen 170 Mar 18 10:57 css
drwxr-xr-x@ 15 Karen Karen 510 Mar 18 10:57 images
drwxr-xr-x@ 3 Karen Karen 102 Mar 6 14:02 js
-rw-r--r--@ 1 Karen Karen 6791 Mar 9 14:12 reqhandler.py
drwxr-xr-x@ 4 Karen Karen 136 Mar 18 10:57 templates
Study-iMac:usageReporter Karen$ ls -la
total 72
drwxr-xr-x@ 11 Karen Karen 374 Mar 18 13:18 .
drwxrwxr-x 5 root admin 170 Mar 18 12:15 ..
-rw-r--r--@ 1 Karen Karen 6148 Mar 18 12:15 .DS_Store
-rw-r--r--@ 1 Karen Karen 22 Mar 2 2006 __init__.py
-rw-r--r-- 1 Karen Karen 228 Mar 18 13:18 __init__.pyc
drwxr-xr-x@ 5 Karen Karen 170 Mar 18 10:57 css
drwxr-xr-x@ 15 Karen Karen 510 Mar 18 10:57 images
drwxr-xr-x@ 3 Karen Karen 102 Mar 6 14:02 js
-rw-r--r--@ 1 Karen Karen 6791 Mar 9 14:12 reqhandler.py
-rw-r--r-- 1 Karen Karen 6620 Mar 18 13:18 reqhandler.pyc
drwxr-xr-x@ 4 Karen Karen 136 Mar 18 10:57 templates
Study-iMac:usageReporter Karen$


Thu Mar 18, 2010 11:20 am
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8357
Location: Austin, Texas
Post Re: Device Usage Report IWS Plugin
I assume you're getting the same error? Everything appears to be loading correctly...

_________________
Jay (Indigo Support)
Image


Thu Mar 18, 2010 11:45 am
Profile WWW
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8357
Location: Austin, Texas
Post Re: Device Usage Report IWS Plugin
Doh - just noticed your URL:

Mar 18, 2010 12:47:14 PM
WebServer undefined page requested "http://xxxxxxxxx.homeip.net:8176/usagereporter" from 63.71.3.45

It should be:

http://xxxxxxxxx.homeip.net:8176/usageReporter

Note the uppercase R...

_________________
Jay (Indigo Support)
Image


Thu Mar 18, 2010 11:47 am
Profile WWW
Post Re: Device Usage Report IWS Plugin
wow! Case sensitive...who knew...works...thanks.

although the report is blank...


Thu Mar 18, 2010 11:52 am
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 8357
Location: Austin, Texas
Post Re: Device Usage Report IWS Plugin
That probably means you didn't turn on sql logging until today...

_________________
Jay (Indigo Support)
Image


Thu Mar 18, 2010 12:03 pm
Profile WWW
Post Re: Device Usage Report IWS Plugin
jay wrote:That probably means you didn't turn on sql logging until today...


true, but how often does it update? it doesn't poll hourly or something?


Thu Mar 18, 2010 12:21 pm
Display posts from previous:  Sort by  
Reply to topic   [ 97 posts ]  Go to page: Previous  1, 2, 3, 4, 5, 6, 7  Next

Who is online

Users browsing this forum: No registered users and 2 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.