• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    1. Home
    2. Wingnut2.0

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

    Wingnut2.0

    @Wingnut2.0

    2
    Reputation
    1046
    Profile views
    110
    Posts
    0
    Followers
    1
    Following
    Joined Last Online

    Wingnut2.0 Unfollow Follow

    Best posts made by Wingnut2.0

    • RE: Installing Windows Service

      Hello Rodrigo,

      I have found that if you want to run a version of 3.7.7 or lower on Windows as a service your best bet is Installing Oracle JDK 8. I know it doesn't necessarily follow the recommendation's here, but it allows you to run as a service.

      https://docs-v3.mango-os.com/installing-java

      • For Mango versions 3.6.x and higher we recommend using the latest version of Adopt OpenJDK.

      • For Mango versions 3.5.x and lower you should use JDK 8 (OpenJDK 8 should work however we primarily tested on Oracle JDK). Older versions of Mango may not work correctly if you use a newer JDK.

      • OpenJDK 8 builds for ARM 32 processors seem to perform extremely poorly, we suggest avoiding this JDK

      Another option that I haven't looked into is explained here.
      https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-service?view=powershell-7

      posted in Mango Automation Installation
      W
      Wingnut2.0
    • RE: Modbus Publisher - Edit a DataPoint v4.4.1

      Hello Joe, thanks for the reply.

      Seems like a lot of extra steps to get to the same functionality that used to exist with only a single click, but I guess that's how its done now.

      Thank you

      posted in User help
      W
      Wingnut2.0

    Latest posts made by Wingnut2.0

    • RE: Modbus Publisher - Edit a DataPoint v4.4.1

      @cwangv
      Agreed. I have something scribbled down about the error
      'IllegalStateException: Should be in state [INITIALIZING, RUNNING], but is in state TERMINATING'
      appearing in the log when attempting to delete a point failed.

      Its almost as though the publisher isn't starting/stopping cleanly. (Only tested with modbus publisher)

      posted in User help
      W
      Wingnut2.0
    • RE: Modbus Publisher - Edit a DataPoint v4.4.1

      Hello Joe, thanks for the reply.

      Seems like a lot of extra steps to get to the same functionality that used to exist with only a single click, but I guess that's how its done now.

      Thank you

      posted in User help
      W
      Wingnut2.0
    • Modbus Publisher - Edit a DataPoint v4.4.1

      In the past it was possible to edit data point in the Modbus Publisher once it had been added. Is this no longer an option? I only see the ability to add or remove.
      510444be-a7e8-425b-9d90-e62cd38c7761-image.png
      Thank you

      posted in User help
      W
      Wingnut2.0
    • Mango API - "mangoStatusCode": 4004 on Core 4.4.1

      Hello, having an issue accessing the API using JWT using -

      • Core version 4.4.1
      • API version 4.4.0

      When attempting to connect either via swagger or using python I am getting a 401 and the following response -

      {
      "mangoStatusCode": 4004,
      "mangoStatusName": "ACCESS_DENIED",
      "localizedMessage": "Access denied"
      }

      I have created JWT for user, set rest.enabled=true and swagger.enabled=true.
      Am I missing something in 4.4.1 to allow use of the API?
      Where can I find more info on StatusCode 4004?

      I have this working in other instances - Core v3.7.12 and v4.3.0

      Thank you

      posted in User help
      W
      Wingnut2.0
    • ???Runtime manager not running Error when attempting JSON Configuration Import

      When attempting to create devices (SQL) using the Configuration Import function I am getting the following results. These is no additional info related to this in the ma.log.

      This is on core 3.7.12 running on windows.

      Any suggestions on where to get more details related to "Runtime manager"?

      bb81bf2e-5a3a-4567-9211-8f3c668d1abe-image.png

      posted in User help
      W
      Wingnut2.0
    • RE: Installing Windows Service

      When changing to a service on windows your GUID will more than likely change (Thank you Dave)
      This will require a request to transfer you license from the old GUID to the new one.

      If you run into that - below is the link to request the transfer.
      https://mango-os.com/license-help

      posted in Mango Automation Installation
      W
      Wingnut2.0
    • RE: Installing Windows Service

      Hello Rodrigo,

      Here is another alternative. This works on windows with AdoptOpenJDK 11.

      https://nssm.cc/

      NSSM - the Non-Sucking Service Manager

      posted in Mango Automation Installation
      W
      Wingnut2.0
    • RE: Testing out the new Influx DB Line Protocol Data Source

      Thank you, Terry.

      While testing, I am using the following input

      [[inputs.win_perf_counters.object]]
      # Processor usage, alternative to native, reports on a per core.
      ObjectName = "Processor"
      Instances = [""]
      Counters = [
      "% Idle Time",
      "% Interrupt Time",
      "% Privileged Time",
      "% User Time",
      "% Processor Time",
      "% DPC Time",
      ]
      Measurement = "win_cpu"
      # Set to true to include _Total instance when querying for all (
      ).
      IncludeTotal=true

      The message to be sent is the following

      win_cpu,host=LAPTOP,instance=2,objectname=Processor,source=telegraf Percent_DPC_Time=0,Percent_Idle_Time=89.79866790771484,Percent_Interrupt_Time=0,Percent_Privileged_Time=0,Percent_Processor_Time=3.9585533142089844,Percent_User_Time=3.098111152648926 1604960081000000000
      

      What is making it to Mango ends up looking like this
      0_1604960358678_0ccc20d1-834d-4c65-bf9b-6184c2d19fdd-image.png

      Along with some additional errors for points that failed to be created.

      	 'test_Influx': Failed creating point with field key ²—‚œ±þÞÑE€d7ˆF}Ñú¢ªÓU™çœÌâï£ÉŤZ>Mç‹Ów?œýò׳?üã¯gÿŒïß¼Œ&óÅprYžo¯‡ÇÕùɏ‹OÕ¬~`úñ?«ËÅdø¥:ý¹Zü>}>?ùódQÍþ>¼¬óéíì²:]Tãêz6üûÉÙðòsµ˜_|¨&‹‹›j6¯.Oaðí×÷Õe5ú­ººx;š_gWÕÕÆÅ¿Þ.>No'ÍïŸüq6›ÎæMÝ_ùÓ×EµñÄý(V¿?3²oWNÐ@ÒPáÛ¿¨Aœÿ>¼yÅ‹_¦‹áx¹³áõhr}~òÓhÜ€Y5»¬õë|x]zd¶PrvmÊåÍí3¡ƒ˜M/«ù|:kÁý¿Œ¾T§’$T-ƒ‰ßî|{öfuÜÿôç«qµú-¢°cH‚hØú–zÝÌnoŸ because name -> Cannot be longer than 255 characters
      

      I do have Treat integers as Numeric types checked but seem to keep getting NumberFormatExceptions and Invalid Line Length errors. Can Mango only handle a single value being sent at a time?

      Thank you.

      posted in User help
      W
      Wingnut2.0
    • RE: Installing Windows Service

      Hello Rodrigo,

      I have found that if you want to run a version of 3.7.7 or lower on Windows as a service your best bet is Installing Oracle JDK 8. I know it doesn't necessarily follow the recommendation's here, but it allows you to run as a service.

      https://docs-v3.mango-os.com/installing-java

      • For Mango versions 3.6.x and higher we recommend using the latest version of Adopt OpenJDK.

      • For Mango versions 3.5.x and lower you should use JDK 8 (OpenJDK 8 should work however we primarily tested on Oracle JDK). Older versions of Mango may not work correctly if you use a newer JDK.

      • OpenJDK 8 builds for ARM 32 processors seem to perform extremely poorly, we suggest avoiding this JDK

      Another option that I haven't looked into is explained here.
      https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-service?view=powershell-7

      posted in Mango Automation Installation
      W
      Wingnut2.0
    • Testing out the new Influx DB Line Protocol Data Source

      Hello,

      While testing the data source, the help section indicates the following -

      There are 2 env properties that configure how the Line Protocol endpoint behaves.

      lineProtocol.task.queueWarningSize - Size of line queue at to which raise an event warning of queue growth
      lineProtocol.pointValidation.cacheExpirySeconds - When creating data points Mango will cache the existing points on this data source for performance during validation, this is how long they should live in the cache

      These 2 lines do not exist in the env.properties file. Could you provide an example of what the recommended defaults should be?

      Thank you.

      posted in User help
      W
      Wingnut2.0