• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. zenvakil
    3. Posts

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    Z
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 25
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by zenvakil

    • HHTP Retriever states no value match

      Hello Everyone,

      I'm tryint to set up a http retriever data source that tracks certain points on a webpage. I've created the data source and a test data point with the RegEx below:

      2030e0c2-ad33-4327-8a02-91049238509a-image.png

      I've made sure the RegEx points to the right number, in this case what im trying to collect is the "93" highlighted below (tested using notepadd++ and regexr.com:

      eb215ee3-c137-4e0d-81b9-643f7453396f-image.png

      But for some reason whenever i try to validate the data source, it states
      "Validation error - No value match made for point Test Soc ".

      Does anyone have any thoughts on this?

      posted in User help
      Z
      zenvakil
    • Formatting by Active Event

      Hi Everyone,

      I was woncering if anyone knew an easy way to format a data point value, or text value as per whether or not there's an active event on that data point.

      <p>
          The point value is <ma-point-value point-xid="XXX-XXX"></ma-point-value>
      </p>
      

      Without Active Event: e4e957d5-90c7-4bf7-a1e8-0ce4edd1b513-image.png

      With Active Event:
      89013434-4eeb-4d12-961f-53e1c2712841-image.png

      posted in Development general discussion
      Z
      zenvakil
    • RE: Adaptive Layout Page Templates: Chart Scaling Issue

      worked like a charm, thanks always for the help @MattFox.

      Another question that will again probably be very basic, is there a way for me to auto centre a <ma-tank-level> or a <ma-gague-chart> within a card?

      posted in Mango Automation general Discussion
      Z
      zenvakil
    • RE: Adaptive Layout Page Templates: Chart Scaling Issue

      Hi Henry,

      May be a stupid question, but is there a way to give them an aspect ratio?

      posted in Mango Automation general Discussion
      Z
      zenvakil
    • RE: How to pass a XID from an input container to a query

      Sorry I sent the wrong snippet, its meant to say {{myDataSource.xid}} in the query not {{myDataSource}}

      posted in How-To
      Z
      zenvakil
    • How to pass a XID from an input container to a query

      Hey All,
      I'm having a bit of trouble getting a <ma-point-query> directive to work with a data source XID from a <md-input-container>.
      As you can see, when I manually enter the XID the code works as expected, but how do I automatically use the XID of the selected Data Source?

      <md-input-container>
              <label>Choose a data source</label>
              <ma-data-source-list ng-model="myDataSource"></ma-data-source-list>
          </md-input-container>
          {{myDataSource.name}}   {{myDataSource.xid}}   {{myDataSource.id}}
          <ma-point-query query="'eq(dataSourceXid,{{myDataSource}})&amp;sort(deviceName,name)&amp;limit(200)'" points="eventPoints"></ma-point-query>
      {{eventPoints.name}}
      

      60cabc7f-c732-4295-8f00-e2f74b836035-image.png

      <md-input-container>
             <label>Choose a data source</label>
             <ma-data-source-list ng-model="myDataSource"></ma-data-source-list>
         </md-input-container>
         {{myDataSource.name}}   {{myDataSource.xid}}   {{myDataSource.id}}
         <ma-point-query query="'eq(dataSourceXid,DS_f4bd539a-6d8d-4557-8248-1650c7a447e9)&amp;sort(deviceName,name)&amp;limit(200)'" points="eventPoints"></ma-point-query>
         {{eventPoints}}
      

      9af03bcc-3759-4780-a24e-808c098f6025-image.png

      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      Hey Craig, Thanks for all the help.
      I ended up figuring it out :)

      <md-card flex="">
                                      <md-card-content>
                                          <ma-get-point-value point-xid="UAR-STN-DP_Gen_BreakerState" point="point1"></ma-get-point-value>
                                          <ma-get-point-value point-xid="UAR-STN-DP_Gen_State" point="point2"></ma-get-point-value>
                                          <ma-point-values point="point1" values="point1Values" from="dateBar.to | maMoment:'subtract':1:'day'" to="dateBar.to" rollup="FIRST" rollup-interval="1 hours">
                                          </ma-point-values>
                                          <ma-point-values point="point2" values="point2Values" from="dateBar.to | maMoment:'subtract':1:'day'" to="dateBar.to" rollup="FIRST" rollup-interval="1 hours">
                                          </ma-point-values>
                                          
                                          <ma-state-chart style="height: 500px; width: 100%" series-1-title="{{point1.name}}" series-1-values="point1Values" series-1-labels="point1.getTextRenderer().values" series-2-title="{{point2.name}}" series-2-values="point2Values" series-2-labels="point2.getTextRenderer().values">
                                          </ma-state-chart>
      
                                      </md-card-content>
                                  </md-card>
      
      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      Also just for validation, here's the result when I enter it into the example page:
      0_1603677258987_2487f39c-8919-4095-bfe1-7981bc7e6dac-image.png

      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      Hey Craig,
      Yeah as I said before I originally did this in the example page and it worked perfectly, so I decided to put this in our dashboard then for some reason it's not working (still works on the example page).
      I've definitely done something absolutely STUPID to stop it from working but I just cannot figure out what it is hahaha.

      <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_BreakerState" point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
                                          </ma-point-values>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_State" point="point2" values="point2Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}}">
                                          </ma-point-values>
                                          <div style="position:inherit;width:100%;height:100px">{{point1.getTextRenderer().values}}</div>
                                          
                                          <ma-state-chart series1-values="point1Values" series1-title="Breaker State" series2-values="point2Values" series2-title="Generator State" style="position: inherit; width: 100%; height: 100px;" series-1-labels="point1.getTextRenderer().values" series-2-labels="point2.getTextRenderer().values"options="{categoryAxis:{labelTime: transparent}}"></ma-state-chart>
                                      </md-card-content>
                                  </md-card>
      

      0_1603676937648_33c4df5d-8443-46fa-962e-eb6a871abc8e-image.png

      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      Done, but still unfortunately nothing.

      <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_BreakerState" point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
                                          </ma-point-values>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_State" point="point2" values="point2Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}}">
                                          </ma-point-values>
                                          <ma-state-chart series1-values="point1Values" series1-title="Breaker State" series2-values="point2Values" series2-title="Generator State" style="position: inherit; width: 100%; height: 100px;" series-1-labels="point1.getTextRenderer().values" series-2-labels="point2.getTextRenderer().values"options="{categoryAxis:{labelTime: transparent}}"></ma-state-chart>
                                      </md-card-content>
                                  </md-card>
                                  <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_Load" point= "point3" values="point3Values" from="dateBar.from" to="dateBar.to"></ma-point-values>
                                          <ma-serial-chart series-1-values="point3Values" series-1-points="point3" style="height: 200px; width: 100%"></ma-serial-chart>
                                      </md-card-content>
                                  </md-card>
      

      0_1603412845395_c48f1d03-e5d3-4aac-acca-35c6857757c6-image.png

      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format
      <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_BreakerState" point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
                                          </ma-point-values>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_State" point="point2" values="point2Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}}">
                                          </ma-point-values>
                                          <ma-state-chart series1-values="point1Values" series1-title="Breaker State" series2-values="point2Values" series2-title="Generator State" style="position: inherit; width: 100%; height: 100px;" options="{categoryAxis:{labelTime: transparent}}"></ma-state-chart>
                                      </md-card-content>
                                  </md-card>
                                  <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_Load" point= "point3" values="point3Values" from="dateBar.from" to="dateBar.to"></ma-point-values>
                                          <ma-serial-chart series-1-values="point3Values" series-1-points="point3" style="height: 200px; width: 100%"></ma-serial-chart>
                                      </md-card-content>
                                  </md-card>
      
      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      Hey Craig,

      I'm fairly new to this, as I'm sure you can tell. But I had originally tried the chart out in the examples/state-chart section, where it does work. The rollup is set to none and the points are definitely multistate points using the range renderer.
      Funny enough, at some point (this is something I only work on when I have the time), the time issue seems to have rectified itself and it's now presenting correctly. The text rendering however is still not working :(

      0_1603267137986_21df6450-167c-4046-8fb5-d592152b4bfd-image.png

      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      @craigweb said in State Chart X-Axis showing different time format:

      series-1-labels="point1.getTextRenderer().values"

      Hey Craig,
      Thats another thing I had tried, then removed, I've put it back in, but still no luck. Neither of the charts have changed at all :(

      0_1601028966404_67bc22b1-0489-4416-a8f2-0691b56b1ef1-image.png

      posted in How-To
      Z
      zenvakil
    • RE: State Chart X-Axis showing different time format

      Hey Craig,

      Thanks for the reply, still no cigar. The redered="true" was in place originally but i think i removed it to see if anything would change.

      0_1601028268335_c74dd86b-6378-4eae-8a75-6781d268c0d5-image.png

      posted in How-To
      Z
      zenvakil
    • State Chart X-Axis showing different time format

      Hey Everyone,

      I am having some issues with the charts below.
      Firstly both charts are displaying a strange time signature along the x-axis, instead of just the date/time. And secondly The state chart does not appear to recognize any of the text rendering of the data points.

      <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_BreakerState" point="point1" values="point1Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}} {{dateBar.rollupIntervalPeriod}}">
                                          </ma-point-values>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_State" point="point2" values="point2Values" from="dateBar.from" to="dateBar.to" rollup="{{dateBar.rollupType}}" rollup-interval="{{dateBar.rollupIntervals}}">
                                          </ma-point-values>
                                          <ma-state-chart series1-values="point1Values" series1-title="Breaker State" series2-values="point2Values" series2-title="Generator State" style="position: inherit; width: 100%; height: 100px;" options="{categoryAxis:{labelTime: transparent}}"></ma-state-chart>
                                      </md-card-content>
                                  </md-card>
                                  <md-card flex="">
                                      <md-card-content>
                                          <ma-point-values point-xid="UAR-STN-DP_Gen_Load" point= "point3" values="point3Values" from="dateBar.from" to="dateBar.to"></ma-point-values>
                                          <ma-serial-chart series-1-values="point3Values" series-1-points="point3" style="height: 200px; width: 100%"></ma-serial-chart>
                                      </md-card-content>
                                  </md-card>
      

      0_1601026264953_910718ed-dd86-4130-a7d4-9adeb9b84c0f-image.png

      posted in How-To
      Z
      zenvakil
    • RE: Events Table for a Specific Data Source.

      Any new ideas for this? I've just come back to the topic so was wondering if anyone had any insights?

      posted in How-To
      Z
      zenvakil
    • RE: How to access Network Configuration tab in Mango GT?!

      Hey There,
      I am having a similar problem, was wondering if there were any updates?

      posted in How-To
      Z
      zenvakil
    • RE: Events Table for a Specific Data Source.

      @mattfox

      Thanks Mate,
      That looks like its worked, it needs a bit of a visual change up, as it shows a new events table for each individual data point, but it looks like thats not too bad.

      0_1596079374726_c2bbb337-545f-4203-8128-33045d5e7cec-image.png

      posted in How-To
      Z
      zenvakil
    • RE: Events Table for a Specific Data Source.

      @mattfox
      Hey Matt,
      Yeah, there are currently active events on most of those point, they show up on <ma-events-table> method.

      posted in How-To
      Z
      zenvakil