Announcement

Collapse
No announcement yet.

Text box string length.

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

  • Text box string length.

    Hi UltraJones, I just have one issue with trying to past the sendir:xxx string into the text box of your (licensed) plugin, it seems it only takes up to a fixed number of characters.
    I'm trying to paste the codes for a 'LONG POWER ON' for a Panasonic TV but the text box won't let me.
    Any ideas please?
    Kind regards
    Martin

  • #2
    Hello Martin,

    I am not sure what textbox you are referring to. Can you provide a screenshot?

    Regards,
    Ultrajones
    Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

    Comment


    • #3
      Hi Ultrajones, I mean the IR Button Data: box where you paste/enter the IR Code. It seems it's limit is 1024 characters which is normally more than adequate for most strings.
      Unfortunately the IR code for the Long Power On for my Panasonic TV is 1235 characters (which I admit is ridiculous):

      sendir,1:1,1,37000,1,1,128,63,16,16,16,48,16,16,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,48, 16,48,16,48,16,48,16,16,16,16,16,16,16,48,16,48,16,48,16,48, 16,48,16,16,16,48,16,2712,128,63,16,16,16,48,16,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16, 48,16,48,16,48,16,48,16,16,16,16,16,16,16,48,16,48,16,48,16, 48,16,48,16,16,16,48,16,2712,128,63,16,16,16,48,16,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48, 16,48,16,48,16,48,16,48,16,16,16,16,16,16,16,48,16,48,16,48, 16,48,16,48,16,16,16,48,16,2712,128,63,16,16,16,48,16,16,16, 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 48,16,48,16,48,16,48,16,48,16,16,16,16,16,16,16,48,16,48,16, 48,16,48,16,48,16,16,16,48,16,2712

      Is there any way round this please?
      Kind regards
      Martin
      Attached Files

      Comment


      • #4
        This is going to take a day or two to fix... I need to figure out the command to increase the size of the database field and also change my code to allow IR data greater than 1024.

        Regards,
        Ultrajones
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


        • #5
          RE: Text length

          Thank you Ultrajones.
          Hopefully that'll be the maximum length that any IR device uses.

          Martin
          :-)

          Comment


          • #6
            Hi Ultrajones, any news Sir? Any update you want me to try I'll install and test.

            Thanks
            Martin

            Comment


            • #7
              Looking at your IR code string it seems that your sending the same string 4 times.

              The large number 2712 is a terminating number to the code string.
              Blair

              HomeSeer: HS3 Pro 3.0.0.435
              Hometroller S6 | Devices: 601 | Events: 202
              Plug-Ins: Z-Wave .190 | HSTouch | RFXCOM | UltraRachio3
              BLLAN | NetCAM | Global Cache Pro | Blur-Iris :rolleyes:

              Comment


              • #8
                That's the code I got from the GC Database, our Pana TV won't come on until you've held the power on button on the remote for a good few seconds.
                It seems ridiculous to me too but it's what I'm stuck with unfortunately.
                If anyone knows of a another code that's less than 1024 chars I'd be happy to use that instead.

                Thanks
                Martin

                Comment


                • #9
                  I modify the program to support 2048 characters in the irdata field. You'll need to download UltraGCIR3 version 3.0.6132.16975.

                  Regards,
                  Ultrajones
                  Last edited by Ultrajones; October 15th, 2016, 08:26 AM.
                  Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                  Comment


                  • #10
                    Wow, SQLite appears to ignore the varchar size. Don't delete the database and start over. The updates to the plug-in should be enough to resolve the issue you reported. I updated the post above to exclude the step to delete the database and start over.
                    Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                    Comment


                    • #11
                      Good morning, thank you for this.
                      I've installed the update but the text box still cuts off remaining characters for some reason.
                      Is there something else I need to do?
                      I did disable and then enable the plugin.

                      Martin

                      Comment


                      • #12
                        Scrub that last post, it must have been Chrome caching the text box somehow. I just tried in IE and successfully pasted the whole of the IR code.
                        I will test this evening my full scene for power on, switching inputs, waiting for the Sky+ box to fully power up etc. and let you know.

                        Thank you so much for your work on this and apologies on behalf of Panasonic for such a ridiculous IR code in the first place.

                        Martin
                        :-)

                        Comment

                        Working...
                        X