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

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

    Rodrigo

    @Rodrigo

    2
    Reputation
    1.4k
    Profile views
    88
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Rodrigo Unfollow Follow

    Best posts made by Rodrigo

    • RE: Scheduler Not Working

      @rodrigo

      Hello everyone/anyone...
      Is the forum still in use?

      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @Rodrigo
      Hello Everyone, have you been able to check this issue?

      Regards,
      Rodrigo

      posted in User help
      R
      Rodrigo

    Latest posts made by Rodrigo

    • RE: Scheduler Not Working

      @benjamin-perez Thank you Benjamin.

      Regards,
      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @Rodrigo
      Hello Everyone, have you been able to check this issue?

      Regards,
      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @benjamin-perez Thanks Benjamin, looking forward to know if it's my mistake somewhere or a bug.
      I've also asked @MattFox to take a look at this. His thoughts, bug.

      Regards,
      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @terrypacker
      Hi Terry, thank you for answering, there are two problems actually;

      1. the one you mention, a non-superadmin user can't create or modify/save created schedules, even though it has all the permissions. I'm trying this again now, and supposedly the user is able to edit and save the schedule.

      2. A schedule created by a superadmin user works as expected, in the example it starts/stops the virtual device 01

      Test 01: Logged as superadmin I'm able to modify and save the schedule, when the schedule time arrives, the Virtual Device 01 is turned on and off. It works.

      Test 02: With the same Data source, points, schedule, modify the schedule as superadmin save it and logout. Log in as user and the same schedule does not trigger the Virtual Device and the following event appears.
      Screenshot_1.png

      As per the "full log output" file you're asking, can you please tell me where to find it?

      Thanks again,
      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @rodrigo

      Hello everyone/anyone...
      Is the forum still in use?

      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @rodrigo @STAFF
      I think there's a bug with the permissions. Even though the User has the needed permissions.
      The event states "Scheduler failed to initialize because user does not hold the required role/s"

      Could someone check this? Below the code for the Data source, handler and scheduler, I have just created a user, give to it the permissions and the scheduler throws the above error.

      Data Source

        "dataSources":[
          {
            "xid":"DS01_VDS01",
            "name":"01 - VDS 01",
            "enabled":true,
            "type":"VIRTUAL",
            "alarmLevels":{
              "POLL_ABORTED":"INFORMATION"
            },
            "purgeType":"YEARS",
            "updatePeriods":5,
            "updatePeriodType":"SECONDS",
            "polling":true,
            "quantize":true,
            "useCron":false,
            "data":null,
            "editPermission":[
            ],
            "purgeOverride":false,
            "purgePeriod":1,
            "readPermission":[
              [
                "user"
              ]
            ]
          }
        ],
        "dataPoints":[
          {
            "xid":"DP01_Virtual01",
            "name":"01 - ON \/ OFF",
            "enabled":true,
            "loggingType":"ON_CHANGE",
            "intervalLoggingPeriodType":"MINUTES",
            "intervalLoggingType":"INSTANT",
            "purgeType":"YEARS",
            "pointLocator":{
              "dataType":"BINARY",
              "changeType":{
                "type":"NO_CHANGE",
                "startValue":"true"
              },
              "settable":true
            },
            "eventDetectors":[
            ],
            "plotType":"STEP",
            "rollup":"NONE",
            "unit":"",
            "simplifyType":"NONE",
            "chartColour":"",
            "data":null,
            "dataSourceXid":"DS01_VDS01",
            "defaultCacheSize":1,
            "deviceName":"Virtual Device 01",
            "discardExtremeValues":false,
            "discardHighLimit":1.7976931348623157E308,
            "discardLowLimit":-1.7976931348623157E308,
            "editPermission":[
            ],
            "intervalLoggingPeriod":15,
            "intervalLoggingSampleWindowSize":0,
            "overrideIntervalLoggingSamples":false,
            "preventSetExtremeValues":false,
            "purgeOverride":false,
            "purgePeriod":1,
            "readPermission":[
              [
                "user"
              ]
            ],
            "setExtremeHighLimit":1.7976931348623157E308,
            "setExtremeLowLimit":-1.7976931348623157E308,
            "setPermission":[
              [
                "user"
              ]
            ],
            "tags":{
            },
            "textRenderer":{
              "type":"BINARY",
              "oneColour":"rgb(255, 51, 51)",
              "oneLabel":"OFF",
              "zeroColour":"rgb(0, 214, 0)",
              "zeroLabel":"ON"
            },
            "tolerance":0.0
          },
          {
            "xid":"DP02_Virtual02",
            "name":"01 - ON \/ OFF",
            "enabled":true,
            "loggingType":"ON_CHANGE",
            "intervalLoggingPeriodType":"MINUTES",
            "intervalLoggingType":"INSTANT",
            "purgeType":"YEARS",
            "pointLocator":{
              "dataType":"BINARY",
              "changeType":{
                "type":"NO_CHANGE",
                "startValue":"true"
              },
              "settable":true
            },
            "eventDetectors":[
            ],
            "plotType":"STEP",
            "rollup":"NONE",
            "unit":"",
            "simplifyType":"NONE",
            "chartColour":"",
            "data":null,
            "dataSourceXid":"DS01_VDS01",
            "defaultCacheSize":1,
            "deviceName":"Virtual Device 02",
            "discardExtremeValues":false,
            "discardHighLimit":1.7976931348623157E308,
            "discardLowLimit":-1.7976931348623157E308,
            "editPermission":[
            ],
            "intervalLoggingPeriod":15,
            "intervalLoggingSampleWindowSize":0,
            "overrideIntervalLoggingSamples":false,
            "preventSetExtremeValues":false,
            "purgeOverride":false,
            "purgePeriod":1,
            "readPermission":[
              [
                "user"
              ]
            ],
            "setExtremeHighLimit":1.7976931348623157E308,
            "setExtremeLowLimit":-1.7976931348623157E308,
            "setPermission":[
              [
                "user"
              ]
            ],
            "tags":{
            },
            "textRenderer":{
              "type":"BINARY",
              "oneColour":"rgb(255, 51, 51)",
              "oneLabel":"OFF",
              "zeroColour":"rgb(0, 214, 0)",
              "zeroLabel":"ON"
            },
            "tolerance":0.0
          },
          {
            "xid":"DP03_Virtual03",
            "name":"01 - ON \/ OFF",
            "enabled":true,
            "loggingType":"ON_CHANGE",
            "intervalLoggingPeriodType":"MINUTES",
            "intervalLoggingType":"INSTANT",
            "purgeType":"YEARS",
            "pointLocator":{
              "dataType":"BINARY",
              "changeType":{
                "type":"NO_CHANGE",
                "startValue":"true"
              },
              "settable":true
            },
            "eventDetectors":[
            ],
            "plotType":"STEP",
            "rollup":"NONE",
            "unit":"",
            "simplifyType":"NONE",
            "chartColour":"",
            "data":null,
            "dataSourceXid":"DS01_VDS01",
            "defaultCacheSize":1,
            "deviceName":"Virtual Device 03",
            "discardExtremeValues":false,
            "discardHighLimit":1.7976931348623157E308,
            "discardLowLimit":-1.7976931348623157E308,
            "editPermission":[
            ],
            "intervalLoggingPeriod":15,
            "intervalLoggingSampleWindowSize":0,
            "overrideIntervalLoggingSamples":false,
            "preventSetExtremeValues":false,
            "purgeOverride":false,
            "purgePeriod":1,
            "readPermission":[
              [
                "user"
              ]
            ],
            "setExtremeHighLimit":1.7976931348623157E308,
            "setExtremeLowLimit":-1.7976931348623157E308,
            "setPermission":[
              [
                "user"
              ]
            ],
            "tags":{
            },
            "textRenderer":{
              "type":"BINARY",
              "oneColour":"rgb(255, 51, 51)",
              "oneLabel":"OFF",
              "zeroColour":"rgb(0, 214, 0)",
              "zeroLabel":"ON"
            },
            "tolerance":0.0
          }
        ]
      }
      

      Event Handler

      {
        "eventHandlers": [
          {
            "handlerType": "SET_POINT",
            "targetPointId": "DP01_Virtual01",
            "scriptRoles": [],
            "inactiveValueToSet": "true",
            "activeValueToSet": "false",
            "eventTypes": [
              {
                "XID": null,
                "sourceType": "ADVANCED_SCHEDULE",
                "scheduleEventType": "SCHEDULE_ACTIVE"
              }
            ],
            "xid": "EH_test01",
            "activeAction": "STATIC_VALUE",
            "inactiveAction": "STATIC_VALUE",
            "readPermission": [
              [
                "user"
              ]
            ],
            "name": "Handler 01",
            "disabled": false,
            "additionalContext": [],
            "editPermission": [
              [
                "user"
              ]
            ]
          }
        ]
      }
      

      Scheduler

      {
        "advancedSchedules": [
          {
            "xid": "advSch_test01",
            "defaultSchedule": {
              "dailySchedules": [
                {
                  "changes": []
                },
                {
                  "changes": [
                    "18:30",
                    "19:55"
                  ]
                },
                {
                  "changes": [
                    "18:30",
                    "19:55"
                  ]
                },
                {
                  "changes": [
                    "18:30",
                    "19:55"
                  ]
                },
                {
                  "changes": [
                    "18:30",
                    "19:55"
                  ]
                },
                {
                  "changes": [
                    "18:30",
                    "19:55"
                  ]
                },
                {
                  "changes": []
                }
              ],
              "offsetCount": 10
            },
            "readPermission": [
              [
                "user"
              ]
            ],
            "name": "Scheduler test 01",
            "alarmLevel": "INFORMATION",
            "errorAlarmLevel": "INFORMATION",
            "editPermission": [
              [
                "user"
              ]
            ],
            "enabled": true,
            "exceptions": []
          }
        ]
      }
      

      Thanks!

      posted in User help
      R
      Rodrigo
    • RE: Scheduler Not Working

      @rodrigo
      I'm guessing is a problem with permissions. I have tried everything I could with the permissions. But with no success.

      posted in User help
      R
      Rodrigo
    • Scheduler Not Working

      Hi Guys,

      The Scheduler (or the Event Handler) seems to not be working when the user is not a Superadmin.
      Does anyone have the same problem?
      Mango v4.3.5

      Rodrigo

      posted in User help
      R
      Rodrigo
    • RE: Setting Several Data Points at once

      Hi @mattfox are you available for a quick chat?

      posted in How-To
      R
      Rodrigo
    • RE: Setting Several Data Points at once

      :)
      Thanks, my background is actually electromechanical, so this is like advance chinese translated to esperanto hahaha
      I miss DGLux, the combination with Mango was very powerful, at least for my not programmer capacity.

      posted in How-To
      R
      Rodrigo