• L
    leoboeng

    Yes, I have used these sites to create the expression.

    The expression is correct but there is no update at the correct time.

    I'm guessing that it should if some other configuration, such as context event type that may be wrong.

    posted in Scripting general Discussion read more
  • L
    leoboeng

    Hello, I created a script and wanted it to update every day and every hour in minutes and seconds 59.
    I made the expression cron (59 59 * * *? *), But it is not updating at that exact time I requested.

    Here is the image of the settings, but do you have a suggestion of what it could be?

    0_1533653251389_Capturar232.PNG

    posted in Scripting general Discussion read more
  • L
    leoboeng

    It would be to read device historical values. It does not present "presentValue" for some data types.

    posted in Mango Automation general Discussion read more
  • L
    leoboeng

    ok thank you, I tried with all but 0.0.0.0.

    I started to mess with bacnet now and I'm kind of lost, but thank you !!

    Would not it be possible to pull the value of a TrendLog type variable?

    0_1533319579683_999.PNG

    posted in Mango Automation general Discussion read more
  • L
    leoboeng

    Hello, I'm starting to mess with BacNet IP devices and I'm facing some problems.

    In the part of Backnet Local Devices I put the IP of the Linux server that is running the Mango (192.168.0.23)

    0_1533317127020_666.PNG

    So I went to configure Data Soucer but it does not connect and does not find the points

    0_1533317112337_777.PNG

    I tried both with the ip of the server mango (192.168.0.23) and the Ip of the BacNet-enabled device (182.168.0.241) and neither of them connected.

    Following is information from my Bacnet device:

    0_1533317101547_888.PNG

    posted in Mango Automation general Discussion read more
  • L
    leoboeng

    @craigweb said in Problem with Pie Chart:

    Trying to get the unit on the value seems to be giving more problems than it is worth. Is it not enough to put the unit in the text?

    Hello,

    Yes, but the problem I was facing is that even the decimal place I was able to put rendered, ie the value of the point came with 4 decimal places and just wanted to show 2, but your formula that passed me has already served and worked.

    It would be nice to have the unit follow up but I'll text it.

    Ah, thanks for the help.

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • L
    leoboeng

    I tried the following ways and even then continued showing a pie chart in "white"

    <ma-get-point-value point-xid="DP_530359" point="P_Ativa_A"></ma-get-point-value>    
      
    <ma-pie-chart id="63759ca9-e465-45e3-80b8-89cda82627fe" style="height: 303px; width: 612px; position: absolute; left: 0px; top: 30px;" values="[{ value: parseFloat( P_Ativa_A.renderedValue.split(' ')[0]), text: 'Fase B', color: 'black' },]" options="{depth3D:15,angle:30}"></ma-pie-chart>
    
    <ma-get-point-value point-xid="DP_530359" point="P_Ativa_A"></ma-get-point-value>    
      
    <ma-pie-chart id="63759ca9-e465-45e3-80b8-89cda82627fe" style="height: 303px; width: 612px; position: absolute; left: 0px; top: 30px;" values="[{ value: P_Ativa_A.renderedValue.split(' ')[0], text: 'Fase A (A)', color: 'black' },]" options="{depth3D:15,angle:30}"></ma-pie-chart>
    

    All two codes showed the graphic in "white":

    0_1533298722240_33.PNG

    My points are configured as follows:

    0_1533299292083_22.PNG

    0_1533299271268_111.PNG

    0_1533299278554_12.PNG

    It pulls the data as follows:

    0_1533299315981_12323.PNG

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • L
    leoboeng

    @mattfox said in Problem with Pie Chart:

    if so, this is how I'd do it and just add the unit to the text

    But doing so I would have to take the unit out of the point configuration, correct?

    posted in Dashboard Designer & Custom AngularJS Pages read more
  • L
    leoboeng

    @mattfox said in Problem with Pie Chart:

    So first off, the units come in looking like 5,0490 5.9382 4,0983 the comma for each measurement's decimal place and a space to separate each house.
    Secondly, you only want the units to be 3 significant figures long, without rounding.
    Thirdly, you want to be able to use the Unit on the pie chart.
    I'm I hitting the nail on the head?

    Yes that's right.

    The formatting with 3 significant units but I already got it.

    In the pie chart without the Units of Measurements it is possible to make a "point.renderedValue", but when units are added the pie chart does not work.

    So I used the "Slice", as I was shown, it worked about 2-3 days and today started to present that problem.

    posted in Dashboard Designer & Custom AngularJS Pages read more