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

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

    TioPeroba

    @TioPeroba

    An Linux user what desire develop with mango users

    0
    Reputation
    164
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Sao Paulo, Brazil Age 48

    TioPeroba Unfollow Follow

    Latest posts made by TioPeroba

    • Its possible load a jsp file from meta data source script?

      Hello for all.

      I'm reading into ScadaBR some SNMP tags and I need create a Alert System using email and or Telegram. My doubt is about if possible from datapoint script of the meta data source make something neat like:

      • Run's a JSP file.
      • Send a email
      • Raise an Alert

      this are my script for now...

      CS_3B - BatteryLow          p513
      CS_3B - BatteryTestFail     p514
      CS_3B - FanFail             p515
      CS_3B - FuseFailure         p516
      CS_3B - InverterAbnormal    p517
      CS_3B - LoadOnBypass        p518
      CS_3B - OutputOff           p519
      CS_3B - OutputOverload      p520
      CS_3B - OverTemperature     p521
      CS_3B - PowerFail           p522
      CS_3B - TestInProgress      p523
      CS_3B - UPSFault            p524
      

      This are the Script

      var alarme = 0;
      var msg-email="Nobreak CS_3D Informa:";
      var msg-teleg="Nobreak CS_3D Informa:";
      
      if(p513.value > alarme ){
         msg-teleg.concat("\nBateria Baixa");
         msg-email.concat("\nBateria Baixa");
      }
      
      else if(p515.value > alarme ){
         msg-email.concat("\nFalha Ventiladores");
      }
      
      else if(p514.value > alarme ){
         msg-email.concat("\nFalha teste Baterias");
      }
      
      else if(p516.value > alarme ){
         msg-email.concat("\nFusíveis Aberto");
      }
      
      else if(p517.value > alarme ){
         msg-email.concat("\nFalha Inversor");
      }
      
      else if(p518.value > alarme ){
         msg-email.concat("\nNobreak em Bypass");
      }
      
      else if(p519.value > alarme ){
         msg-email.concat("\nSaida Desligada");
      }
      
      else if(p520.value > alarme ){
         msg-email.concat("\nSobrecarga na Saida");
      }
      
      else if(p521.value > alarme ){
         msg-email.concat("\nSuperaquecimento");
      }
      
      else if(p522.value > alarme ){
         msg-email.concat("\nAusência de Rede");
      }
      
      
      else if(p523.value > alarme ){
         msg-email.concat("\nTeste em progresso");
         msg-teleg.concat("\nTeste em Progresso");
      }
      
      else if(p524.value > alarme ){
         msg-email.concat("\nNobreak em Falha");
      }
      
      else { msg-email.concat("\nSistema Normal");
             msg-teleg.concat("\nSistema Normal");
      }
      
      if msg-teleg.len()>44 { 
      // get sendtelegram.jsp?group=100&msg=$(msg-teleg)
      }
      
      if msg-email.len() >44 { 
      // sendmail(msg=$(msg-email)
      }
      
      return msg-email;
      
      posted in Scripting general Discussion
      TioPerobaT
      TioPeroba
    • RE: Mango HTS Dual Ethernet (Individually Addressable)

      You can try this:
      ifconfig enp1s0.0 192.168.0.100
      ifconfig enp1s0.1 192.168.0.101

      Now your enp1s0 can respond with 2 ips

      posted in Development general discussion
      TioPerobaT
      TioPeroba