Help‎ > ‎

FAQ

Why doesn't my Eagle connect?

posted Mar 27, 2015, 4:42 PM by Tom Gutwin

I do find that the eagle is "touchy" when adding a provider.
  • Sometimes it works right off, other times I had to delete the entry, confirm it was deleted, go back to the home page and start again.
  • Mine also only took the IP address not the hostname. ie. 10.0.0.239
  • It won't send to a SSL https server with self-signed certificate. This is if you deploy in your own app server.
  • Give it 30-60 seconds.

touchy, but once it is added... it is saved.

How much data gets saved?

posted Feb 17, 2015, 7:31 AM by Tom Gutwin   [ updated Jul 16, 2015, 9:38 PM ]

Lots. PowerEYE saves 3 sets of messages from the Eagle.
  • Power
  • Energy
  • Pricing
The power comes every ~8 seconds;  Energy and pricing... less frequent. Maybe every 30-60 seconds.
This adds up.
4 months of readings is about 1 million records.

That's 450 power readings an hour, 10800 a day, 75600 a week.

These or the 'numReadings' to use with the rest/db/table/readings/  call

How do I get my data out of the PowerEYE database?

posted Feb 16, 2015, 5:11 PM by Tom Gutwin

Currently there are 2 ways:
  1. Using the Export buttons on the WebApp Data Table or Direct SQL pages.
  2. Using one of the REST requests.
I will be adding and enhancing these with more 'customizations' 

What does the REST request result look like?

posted Feb 16, 2015, 5:05 PM by Tom Gutwin   [ updated Feb 23, 2018, 11:27 PM ]

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>


You can request "your" data using any of
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>

The 'recent' query return the last 10000 values in the same XML format as shown above.
Thats about a days worth of readings.

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>
             0 dumps ALL
             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">
<db table="reading" format="csv">

ID|METER_TIMESTAMP|LOCAL_TIMESTAMP|READING|MULTIPLIER|DIVISOR|LEFTNUM|RIGHTNUM|SUPPRESSLEADINGZERO|CALCULATED_VALUE 45977|2223cee8|23-Feb-2018 23:21:12|1591|1|1000|6|3|true|1591.0 45976|2223cee0|23-Feb-2018 23:21:04|1601|1|1000|6|3|true|1601.0 45975|2223cedb|23-Feb-2018 23:20:59|1612|1|1000|6|3|true|1612.0 45974|2223ced5|23-Feb-2018 23:20:53|1603|1|1000|6|3|true|1603.0 45973|2223cec0|23-Feb-2018 23:20:32|1584|1|1000|6|3|true|1584.0
</db>
</RestResponse>

      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?

posted Feb 16, 2015, 4:45 PM by Tom Gutwin   [ updated Feb 27, 2015, 10:12 PM ]

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.


I do find that the eagle is "touchy" when adding a provider.

Sometimes it works right off, other times i had to delete the entry go back to the home page and start again.
It also only took the IP address not the hostname.
touchy, but once it is added... it is saved.

Will it run on the Raspberry PI?

posted Feb 16, 2015, 4:40 PM by Tom Gutwin   [ updated Mar 5, 2018, 4:41 PM ]

Yes, I have now fully tested the PowerEYERunner (embedded Jetty version) on my Pi2 running Fedora 21.

Raspberry Pi Icon

It should work, however, I have not tried it.
I have done a bit of research myself though and do not see any reasons why it should NOT work.

 - A JDK is available (and well documented) on the PI

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 do I connect my ISY-994?

posted Feb 10, 2015, 8:20 PM by Tom Gutwin   [ updated Mar 5, 2018, 4:56 PM ]

Go to the options page and enter your:
UDI ISY-994

  1. IP address for your ISY-994
  2. your ISY login ID
  3. your ISY password
After a few seconds it should take that info and automatically connect.
When connected, the right side of the options page should reflect that you are connected.

How to chart older data?

posted Feb 9, 2015, 1:55 PM by Tom Gutwin   [ updated Feb 9, 2015, 1:55 PM ]

There are 2 ways:
  1. Use the From and To date selector on the chart page and click refresh

  2. manually specify the number of readings to chart using the un-exposed numReadings parameter
    For Example:
    /powereye/jsp/goto.jsp?page=DemandChart&numReadings=20000

Can I run PowerEYE on a SSL server?

posted Feb 7, 2015, 8:02 PM by Tom Gutwin

You can run it BUT the Eagle HAN did NOT want to use my SSL URL,
although I have a self-signed certificate so you might be able to get it to work.
Let us know if you do - on the PowerEYE discussion forum.

What version of Java do I need?

posted Feb 7, 2015, 2:51 PM by Tom Gutwin

You need either version 7 or 8 of the Java Development Kit - JDK.

NOTE:
The regular JRE runtime is not enough because PowerEYE needs to compile the included Java JSP files as it serves you its web pages.

You can test what version you have by opening a command prompt and typing:
javac -version

If you get an error, then you need to update your JDK.

1-10 of 17