thanks for the recommendation.
After reading your post, I re-downloaded the install file and found out that in Safari, at the end of the downloading, the zip file was unzipped by Safari and only the folder was shown and the original zip file was discarded in the recycle bin!!!!
There is got to be a setting somewhere to stop this from happening.
I have created a script add two meters KWH readings to produce a virtual meter KWH reading.
According to the documentation (shown below), I should be able to backfill the history prior to this Meta point was generated.
When creating a new Meta Point sometimes it is helpful to backfill values for it. This can be done by the generate history link in the Data Points table.
The most recent saved value for all Context Points is found and that date is used for the Starting date for the simulation. (If any context point has no saved values the Generation will fail here)
The oldest saved value for the Meta Point is found and that is used as the Ending date for the simulation. (If no values exist the current time is used)
The simulation is run from Starting to Ending times and a values are created and saved according to the Meta Point settings.
This means that a history can only be generated for times before the earliest Meta Point value.****
You can see in below screenshot that the two meters (MSSB-1 and 2) had older history than the Meta point (MSSB-5).
(please excuse the somewhat inaccurate result on MSSB-5 due to timing difference in polling and other settings.)
It will be much appreciated if I can be pointed the right direction to get this done.
Thanks in advance.
Good news! Phil.
After reading your reply, I tried what you suggested with 'sudo chmod +x
ma.sh'. I was met with a permission denied error message.
Then I did a bit of web research on the file permission issues and I did a listing of the access rights on the files under 'bin' (I got the idea from a post on Stack Overflow).
below is what I found initially:
I saw the
ma-stop.shdon't have executable permission but ma.sh does. Since
ma-start.shis called by
ma.shbut due to the fact
ma-start.shdoes not have the executable permission, it errors on 'permission denied'.
To test it out my theory, I added the executable permission to both
ma-stop.sh. And boom, it works.
Please let me know if my theory is not right.
Thanks again for pointing me at the right direction.