• C
    cwangv

    @terrypacker
    Hi, Terry
    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.

    Cheers!

    posted in Mango Automation Installation read more
  • C
    cwangv

    @support-jo
    have you checked the object instance number for the BO? It looks odd. Unless you have thousands of ac units, the number shouldn't be that high (7681).

    posted in User help read more
  • C
    cwangv

    Hi, Craig
    My mistake. I used scripting (not meta point) to generate the virtual meter. My bad.
    I will have another go at the Meta Point later.
    Have a good day!

    Thanks.

    posted in Scripting general Discussion read more
  • C
    cwangv

    Hi, IAS
    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.

    ****Generate History

    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.)
    0_1563199916080_Screen Shot 2019-07-16 at 12.05.46 am.png
    It will be much appreciated if I can be pointed the right direction to get this done.

    Thanks in advance.

    posted in Scripting general Discussion read more
  • C
    cwangv

    Thanks Phil and Craig.
    I will remember to do that from now on.

    posted in Mango Automation Installation read more
  • C
    cwangv

    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:
    0_1562984797610_Screen Shot 2019-07-13 at 12.06.07 pm.png

    I saw the ma-start.sh and ma-stop.sh don't have executable permission but ma.sh does. Since ma-start.sh is called by ma.sh but due to the fact ma-start.sh does not have the executable permission, it errors on 'permission denied'.

    To test it out my theory, I added the executable permission to both ma-start.sh and 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.

    posted in Mango Automation Installation read more
  • C
    cwangv

    Just an update - I. managed to put in the password. But the next error is that the command can not be found.
    See below screenshot
    0_1562927569244_Screen Shot 2019-07-12 at 8.31.44 pm.png
    Any assistance is appreciated!

    On a side note, I have the MangoES software running my windows laptop.

    posted in Mango Automation Installation read more
  • C
    cwangv

    @phildunlap
    Hi, Phil
    Thanks for the reply.
    So the syntax will be './ma.sh start'?
    By the way, what version of Java SDK i should have? I have installed the latest 8 version.

    posted in Mango Automation Installation read more
  • C
    cwangv

    Hi,
    I am trying to install MA on my iMac with Mojave. I have been asked to supply a password.
    Below is the screenshot.
    0_1562847258393_Screen Shot 2019-07-11 at 10.04.31 pm.png
    Does anyone know what this password is?

    Thanks for your help in advance.

    V.W

    posted in Mango Automation Installation read more