• MattFox

    I just pasted the actual ascii value into the html rather than trying to use fancy terms.
    ³ What you're trying to achieve is only available from amcharts4 onwards

    Here copy and paste that. Should hopefully make your life a bit easier

    Fox

    posted in User help read more
  • MattFox

    Use ng-click to set all of the values to what you want, then use ui-sref to navigate to a different page view:

    <ma-button ui-sref="ui.[yourpagestateref]" ng-click="
    text1 = 'new value'; 
    sw1.setValue(false);
    "></ma-button>
    

    Text1 is an ng-model value
    sw1 is one of your switch point values. Hope that gives you a good start to work from.

    or instead of ui-sref add to ng-click:
    window.location.href='yourpageurl'; or location.url('url') after all of the values being reset.

    Fox

    posted in How-To read more
  • MattFox

    Yes due to the lack of support with the event detectors and handlers I've primarily focused on using meta point scripts because they can be made on the fly quite easily and allow me to run history checks etc. The alarms raised are sent out via third parties anyway so it has enabled me to get by so to speak. It's just a pain I can't apply site wide some set " default point parameters" for all my points since I have to be proactive with point value health, but at the cost of having to manually go through a list because there are so many control points.

    posted in How-To read more
  • MattFox

    It will definitely be helpful. I asked for events that can be enforced at the datasource, template and point levels but I think the idea fell flat...
    With the next major release are we looking at a mango 4 or 3.8?
    Just thinking about licensing...

    posted in How-To read more
  • MattFox

    Hey if it were easy anyone could do it!
    I'm sure you've got this. Best of luck MaP!

    Fox

    posted in User help read more
  • MattFox

    @map said in HTTP Builder with Basic Auth & Client-Cert:

    I noticed you could POST to https requests using httpbuilding - such as the slack integration.

    Yes that's because the HTTPS is hosted on the server side, not the client side (your mango), you need SSL client support, Hence an HTTPS socket builder with the appropriate certs and handshaking.

    Why are you doing this if you have a modbus connection?
    Unless you're saying you're using this API to forward data from your modbus unit to it, and in which case, a third party will be needed

    posted in User help read more
  • MattFox

    Ah I see, reading into it I'm gonna say no. The builder is an HTTP builder, not HTTPS, so linking the appropriate certificate information will not be possible - at least that's how it appears.
    You're going to have to use something to relay it with the desired credentials.
    I wonder if @terrypacker can bring any light to this

    Fox

    posted in User help read more
  • MattFox

    Basic Auth is fine as it's a header. Just write a wrapper for the HTTP Builder and save it as global function so you can use it throughout the mango space.

    But why SSL/TLS? I have my doubts that it is possible but I cannot see why you need certificates just for an http connection. Care to share?

    Fox

    posted in User help read more
  • MattFox

    Hi Hazel, just trying to get my head around what you are saying...

    For example, when we add new Set Point Event Handler for just events of Building A, we need to select event handlers each event of Building A one by one.

    So I take it this means you're adding an event detector to each individual point.

    Is there any easy method to select Event Handler for each event of point which has Building Tag 'Building A'?

    You want to apply en masse to every point that has the "Building A" tag the same event handler when something is tripped?

    Also, is that possible to select events in the script of Set Point Event Handler?

    I do not believe so.

    Can you expand on what this entire system is supposed to be doing? It doesn't seem to scale nicely and whilst you can bulk add event detectors with a script, it will get very messy if they attach to the wrong points.

    If you can expand upon the task at hand there may be a solution that scales better

    Fox

    posted in How-To read more