Announcement

Collapse
No announcement yet.

Can't add more than 4 states for device

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't add more than 4 states for device

    Condition:
    I needed to add a 5th device status to a virtual device managing security system modes. I already have 4 values defined for the device.

    Failure:
    When pressing the NEW SINGLE VALUE button, nothing happens (see image attached).

    Observation:
    Mysteriously, I can add a NEW RANGE VALUE.
    I tried both Safari and Edge browsers.

    HS4 Pro Edition 4.0.5.0 (Windows)
    Attached Files

  • #2
    I changed the values of the items 1-3 to 2-4, then I tried again and pressed NEW SINGLE VALUE. Then a new 5th item got added with value 1. I could now add more values.

    There must be some bug that blocked adding single values for some reason.

    I still have the old configuration device JSON file and can reproduce this error.

    Comment


    • #3
      Originally posted by peterm View Post
      I changed the values of the items 1-3 to 2-4, then I tried again and pressed NEW SINGLE VALUE. Then a new 5th item got added with value 1. I could now add more values.

      There must be some bug that blocked adding single values for some reason.
      This page is work in progress.

      Please use the deviceutility page

      ---
      John

      Comment


      • #4
        OK thanks, I got around this bug. If you need the JSON at some point, let me know

        Comment


        • #5
          Originally posted by peterm View Post
          OK thanks, I got around this bug. If you need the JSON at some point, let me know
          Please share the JSON, so I can see if that will make the things easier as using the deviceutility page.

          ---
          John

          Comment


          • #6
            Here it is:
            "K63":
            {"addDisplayData":null,"address":null,"attention":null,"code ":null,"relationship":0,"assDevs":null,"buttons":null,"canDi m":false,"devTypeString":null,"devType":{"Device_API":0,"Dev ice_API_Description":"No API","Device_Type":0,"Device_Type_Description":"Type 0","Device_SubType":0,"Device_SubType_Description":""},"devS tring":null,"devValue":0.0,"image":"images\\Devices\\Image-Not-Selected.png","imageLarge":"images\\Devices\\Image-Not-Selected.png","interface":null,"interfaceInstance":null,"las tChange":"2017-08-14T01:21:34.6338298-07:00","location":"Main","location2":"Main","misc":256,"name ":"Security Mode","newDevString":null,"newDevValue":0.0,"plugExtraData": "AAEAAAD/////AQAAAAAAAAAMAgAAAEJIb21lU2VlckFQSSwgVmVyc2lvbj0xLjAuMi4xLCBD dWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwFAQAAACpIb21l U2VlckFQSS5QbHVnRXh0cmFEYXRhK2Nsc1BsdWdFeHRyYURhdGECAAAABE5j b2wFVU5jb2wDAx1TeXN0ZW0uQ29sbGVjdGlvbnMuU29ydGVkTGlzdBxTeXN0 ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AgAAAAoKCw==","ref":63,"scal eText":null,"sortCode":null,"sortString":"Off\r\n\r\n","sort Time":"2017081401213463","statusSupport":false,"userNote":nu ll,"vgPairs":"AAEAAAD/////AQAAAAAAAAAMAgAAAEBTY2hlZHVsZXIsIFZlcnNpb249My4wLjAuMCwgQ3Vs dHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1udWxsBQEAAAAcU2NoZWR1 bGVyLkNsYXNzZXMuY2xzVkdQYWlycwIAAAAIbXZhckxpc3QOUGFpcnNQcm90 ZWN0ZWQDABxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlAQIAAAAJAwAA AAAEAwAAABxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlBwAAAApMb2Fk RmFjdG9yB1ZlcnNpb24IQ29tcGFyZXIQSGFzaENvZGVQcm92aWRlcghIYXNo U2l6ZQRLZXlzBlZhbHVlcwAAAwMABQULCBxTeXN0ZW0uQ29sbGVjdGlvbnMu SUNvbXBhcmVyJFN5c3RlbS5Db2xsZWN0aW9ucy5JSGFzaENvZGVQcm92aWRl cgjsUTg/BgAAAAoKAwAAAAkEAAAACQUAAAAQBAAAAAIAAAAGBgAAAAExBgcAAAABMBAF AAAAAgAAAAkIAAAACQkAAAAMCgAAAEJIb21lU2VlckFQSSwgVmVyc2lvbj0x LjAuMi4xLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPW51bGwF CAAAABxIb21lU2VlckFQSS5WU1ZHUGFpcnMrVkdQYWlyCQAAAAhQYWlyVHlw ZQ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r////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkWAAAACRYAAAAAAAAAAAAA AAAAAAABAAAAAAAAAAAAAAAB4f///+n///8AAAAAAQ8AAAALAAAAAeD////w////AQAAAAYhAAAAB1NlY3VyZWQAAAAAAAAAQAHe////7v///wMAAAAB3f///+3///8FAAAAAdz////s////AAAAAAoKAdv////r////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkWAAAACRYAAAAAAAAAAAAA AAAAAAABAAAAAAAAAAAAAAAB2f///+n///8AAAAACw==","scriptName":null,"scriptFunc":null,"stringSelec ted":null,"invalidValue":false,"userAccess":"Any","linkedDev ice":0,"voiceCommand":null,"version":3.2}

            Comment

            Working...
            X