FAQ
Why doesn't my Eagle connect?
I do find that the eagle is "touchy" when adding a provider.
touchy, but once it is added... it is saved. |
How much data gets saved?
Lots. PowerEYE saves 3 sets of messages from the Eagle.
|
How do I get my data out of the PowerEYE database?
Currently there are 2 ways:
|
What does the REST request result look like?
Example Rest style URL: http://your.powereye.servername/powereye/rest/power/current XML response: <RestResponse succeeded="true"> <power unit="watts" timetamp="current">4061.0</power> </RestResponse> the following http request URLs that have been implemented: http://localhost:8080/powereye/rest/price/current http://localhost:8080/powereye/rest/price/recent http://localhost:8080/powereye/rest/price/<timestamp> http://localhost:8080/powereye/rest/power/current http://localhost:8080/powereye/rest/power/recent http://localhost:8080/powereye/rest/power/<timestamp> http://localhost:8080/powereye/rest/energy/current http://localhost:8080/powereye/rest/energy/recent http://localhost:8080/powereye/rest/energy/<timestamp> As of v 1.0, full database table contents can be dumped out in CSV, JSON or XML via REST service calls: http://localhost:8080/powereye/rest/db/table/<tablename> --> where <tablename> can be reading, energy, load_device, load_type or with the optional <number of rows> and optional <format> http://localhost:8080/powereye/rest/db/table/<tablename>/<numRows>/<format> <numRows> positive number means sorted descending (newest 1st) negative number means sorted ascending (oldest 1st) <format> can be one of csv , xml, json [ blank/default=csv ] example: http://localhost:8080/powereye/rest/db/table/reading/100/json returns: <RestResponse succeeded="true"> These database calls can be LOOOOooong so you might want to use a commandline URL query tool like wget, or perl or java or whatever. |
Will it co-exist with Bidgely or other cloud provider?
No, not in the current version. PowerEYE consumes all the eagle messages. But once you switch to PowerEYE, you might not want to go back ;)I have thought about implementing a pass-through mode that would consume the messages and then pass them on to bidgely or wattvision. I have NOT built that functionality yet, but Iam investigating it. Once the eagle has powerEYE added as a cloud provider, it is easy to temporarily switch between other service providers. You can try PowerEYE for a short time then go back to Bidgley or Wattvision if you want.
Sometimes
it works right off, other times i had to delete the entry go back to the
home page and start again. |
Will it run on the Raspberry PI?
Yes, I have now fully tested the PowerEYERunner (embedded Jetty version) on my Pi2 running Fedora 21. - A JDK is available (and well documented) on the PI - Jetty WebAPP server also runs. (see http://raspberrypi.stackexchange.com/questions/3710/running-jetty-webserver) so based on that it should work fine. PowerEYERunner
all-in-one package has Jetty embedded so if you get a JDK installed the
"Quick-start" instructions should work without any problems. |
How to chart older data?
There are 2 ways:
|
Can I run PowerEYE on a SSL server?
You can run it BUT the Eagle HAN did NOT want to use my SSL URL, Let us know if you do - on the PowerEYE discussion forum.although I have a self-signed certificate so you might be able to get it to work. |
What version of Java do I need?
You need either version 7 or 8 of the Java Development Kit - JDK. I suggest the latest JDK 8 version from: The regular JRE runtime is not enough because PowerEYE needs to compile the included Java JSP files as it serves you its web pages. javac -version |