• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. henryblu

    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
    H
    • Profile
    • Following 1
    • Followers 0
    • Topics 16
    • Posts 50
    • Best 0
    • Controversial 0
    • Groups 0

    henryblu

    @henryblu

    0
    Reputation
    1.1k
    Profile views
    50
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    henryblu Unfollow Follow

    Latest posts made by henryblu

    • RE: Tracking user interaction

      Hi guys,

      Thanks very much for the advice. Upon @Jared-Wiltshire's recommendation I pasted my
      Google Analytics Property ID into the UI settings page. It's then as simple as creating an onclick event: https://developers.google.com/analytics/devguides/collection/analyticsjs/events

      <div flex layout="column" onclick="ga('send', 'event', 'buttons', 'click','B005');"></div>
      

      From here I was able to view real-time and historic page interactions based on clicking. I could also create events for mouse moving, but it generates a lot of events as you would expect and in google analytics you are limited to 500 hits per session or 10 million events per month.

      <div flex layout="column" onmousemove="ga('send', 'event', 'mouse', 'move','B005');"></div>
      

      Really happy though - exactly what I was after.
      0_1512363020533_79cc2909-7665-4277-8ef0-f8983f6165ca-image.png

      posted in Mango Automation general Discussion
      H
      henryblu
    • Tracking user interaction

      Hello,

      I have a dashboard display which runs unattended on Mango and I would like to track how often people are clicking on it and interacting with it.
      So far I have considered detecting mouse movement using JS, something like: https://stackoverflow.com/questions/13206042/detecting-mouse-movement-without-jquery
      And then updating a point in the JSON store when this interaction is detected.
      Using a Meta Data Source I could potentially record the change in the JSON point. Once the data point is set up I can then generate graphs, determine statistics and so on.

      What do you think of this approach? There are no API publishers for this that I know of, but I think it could be a really valuable feature of Mango.

      posted in Mango Automation general Discussion
      H
      henryblu
    • RE: Bright Sign XD1033

      Thanks Jared,

      It does work fine on Chrome and Firefox. I think the signs firmware might be the issue. Yesterday they released a new firmware update https://brightsign.zendesk.com/hc/en-us/articles/218067927-Firmware-Release-Notes - which mentions there is a new JavaScript API. I'll try that and let you know how I go.

      Cheers.

      posted in Hardware
      H
      henryblu
    • RE: Bright Sign XD1033

      @phildunlap said in Bright Sign XD1033:

      http://errors.angularjs.org/1.6.6/ng/areq?p0=fn@p1=not a function%2C got undefined

      Sorry @phildunlap, do you have any suggestions with might be wrong? It does work perfectly on Chrome or Firefox.

      posted in Hardware
      H
      henryblu
    • RE: Bright Sign XD1033

      Sorry for the picture, I'm don't have immediate access to the BrightSign display. Can you tell anything else from this?

      0_1508760965701_20171023_125558.jpg

      posted in Hardware
      H
      henryblu
    • Bright Sign XD1033

      Hi guys,

      Previously I was using a Raspberry Pi 3 to display my dashboard pages. I thought it was sufficient, but the RAM usage of Chromium often resulted in the page crashing. I also used IceWeasel on the Pi but as the RAM went down from 70% usage to 30%, the transitions between the dashboard pages has become slower (about 15 seconds) and the gauges take a long time to load.

      I have been suggested to use BrightSign boxes, the particular box I am using is a XD1033: https://www.brightsign.biz/digital-signage-products/HD-product-line/HD223
      They are used a lot at our organisations for many HD digital displays.

      However, when I plug it in I get the follow error: Error bootstrapping mango app:[ng:area] http://errors.angularjs.org/1.6.6/ng/area?p0..... (See picture for full error).

      Based on the XD1033 can you suggest why this is happening?

      0_1508461146902_22689887_10207568308485564_659694861_o.jpg

      0_1508461149114_22662585_10207568308445563_687393566_o.jpg

      posted in Hardware
      H
      henryblu
    • Statistics Extensions

      Would it be possible to do either of the following:

      a) Find the average of a data point across a period for Mondays only? i.e.

      <ma-point-statistics point="myPoint1" from="dateBar.from" to="dateBar.to" statistics="statsObj1"></ma-point-statistics>
      <p>
          The average value for Mondays in the period is {{ statsObj.averageif."Timestamp=Monday".value }}
          }}
      </p>
      

      I've tried a few techniques using moment filters but have had no luck.

      b) Somewhat similarly, could you find the average of a data series if another series is equal to/greater than/less than another value for the corresponding timestamp? For instance:

      <ma-point-statistics point="myPoint1" from="dateBar.from" to="dateBar.to" statistics="statsObj1"></ma-point-statistics>
      <ma-point-statistics point="myPoint2" from="dateBar.from" to="dateBar.to" statistics="statsObj2"></ma-point-statistics>
      <p>
          The average value when myPoint1 is greater than myPoint2 is {{ statsObj.averageif."StatsObj1.value>StatsObj2.value".value }}
          }}
      </p>
      

      I think these Excel style operations would be really useful to visualise trends in data immediately.

      Cheers, Henry

      posted in Dashboard Designer & Custom AngularJS Pages
      H
      henryblu
    • RE: Bar Chart: Category as X Axis

      Of course! Thank you very much - Resolved.

      posted in Dashboard Designer & Custom AngularJS Pages
      H
      henryblu
    • RE: Bar Chart: Category as X Axis

      Thanks @Jared-Wiltshire, if ng-init doesn't take expressions, why cant I simply use "valueField": "myPoint.value"?

      I dont use the watch-lists really... All I want to do is take <ma-get-point-value point-xid="EnergyOutA_Panasonic" point="myPoint" ></ma-get-point-value> and substitute it into the array for values. Surely there is an easy way to take a point-value, assign it a variable and just use that inside the array for values?

      posted in Dashboard Designer & Custom AngularJS Pages
      H
      henryblu
    • RE: Bar Chart: Category as X Axis

      Thanks @Jared-Wiltshire!
      My last qn - using ng-model, I can see how you have passed the value for an input into a graph's 'values'. How can I do this for a point value? . I tried interpolating a point value {{point.value}} directly inside values = "..." but that doesn't work. I.e

      <div class="ma-designer-root" id="84e87319-1442-41fa-a4ef-a4102f9dbbc0" style="width: 1000px; height: 768px; position: relative;">
           
           <ma-get-point-value point-xid="EnergyOutA_Panasonic" point="myPoint" ></ma-get-point-value>
      
         <div ng-init="values = [{'country': 'USA','visits': {{myPoint.value}},'color': '#FF0F00'}, {'country': 'China','visits': 1882,'color': '#FF6600'}, {'country': 'Japan','visits': 1809,'color': '#FF9E01'}, {'country': 'Germany','visits': 1322,'color': '#FCD202'}, {'country': 'UK','visits': 1122,'color': '#F8FF01'}, {'country': 'France','visits': 1114,'color': '#B0DE09'}, {'country': 'India','visits': 984,'color': '#04D215'}, {'country': 'Spain','visits': 711,'color': '#0D8ECF'}, {'country': 'Netherlands','visits': 665,'color': '#0D52D1'}, {'country': 'Russia','visits': 580,'color': '#2A0CD0'}, {'country': 'South Korea','visits': 443,'color': '#8A0CCF'}, {'country': 'Canada','visits': 441,'color': '#CD0D74'}]"></div>
         
         <category-x-axis class="amchart" id="8ec0e029-4b0b-4f53-aa0d-6c25b4bfa991" style="position: absolute; left: 27px; top: 98px; width: 100%; height: 400px;" values="values"></category-x-axis>
      

      Sorry about the lack of fluency in Angular - it is coming along...

      posted in Dashboard Designer & Custom AngularJS Pages
      H
      henryblu