Announcement

Collapse
No announcement yet.

IP / Serial Plugin for HS3 (by "drule") - Discussion Thread

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

    anyone have any idea what would cause this?

    <table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:58 AM</td><td class="LogPri1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">
    </td><td class="LogType1" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry1" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">ERROR - SendTcp: Collection was modified; enumeration operation may not execute. (STICK DMX, persistence 0)</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:55 AM</td><td class="LogPri0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">
    </td><td class="LogType0" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry0" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">ERROR - SendTcp: Collection was modified; enumeration operation may not execute. (STICK DMX, persistence 0)</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:52 AM</td><td class="LogPri1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">
    </td><td class="LogType1" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry1" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">ERROR - SendTcp: Collection was modified; enumeration operation may not execute. (STICK DMX, persistence 0)</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:48 AM</td><td class="LogPri0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">
    </td><td class="LogType0" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry0" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">Sending 24 bytes to STICK DMX</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:48 AM</td><td class="LogPri1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">
    </td><td class="LogType1" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry1" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">Starting Tcp client for STICK DMX at address
    </td></tr></tbody></table>

    Comment


      Originally posted by usLEDsupply View Post
      <table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:58 AM</td><td class="LogPri1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">
      </td><td class="LogType1" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry1" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">ERROR - SendTcp: Collection was modified; enumeration operation may not execute. (STICK DMX, persistence 0)</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:55 AM</td><td class="LogPri0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">
      </td><td class="LogType0" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry0" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">ERROR - SendTcp: Collection was modified; enumeration operation may not execute. (STICK DMX, persistence 0)</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:52 AM</td><td class="LogPri1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">
      </td><td class="LogType1" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry1" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">ERROR - SendTcp: Collection was modified; enumeration operation may not execute. (STICK DMX, persistence 0)</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:48 AM</td><td class="LogPri0" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">
      </td><td class="LogType0" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry0" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(239, 239, 239); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">Sending 24 bytes to STICK DMX</td></tr></tbody></table><table class="log_table_row" style="width: 970px; table-layout: fixed; color: rgb(0, 0, 0); font-family: &quot;Lucida Console&quot;, Monaco, monospace; font-size: 13.3333px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;" cellspacing="0"><tbody><tr><td class="LogDateLong LogDateTime1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 10pt; width: 150px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; white-space: nowrap;" align="left">Dec-13 1:28:48 AM</td><td class="LogPri1" colspan="1" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 30px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">
      </td><td class="LogType1" colspan="3" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; width: 100px; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace;" align="left">drhsIpPlugIn</td><td class="LogEntry1" colspan="8" style="padding-left: 3px; padding-right: 3px; font-size: 9pt; background: rgb(255, 255, 255); font-family: Courier-New, Monaco, monospace; word-wrap: break-word;" align="left">Starting Tcp client for STICK DMX at address
      </td></tr></tbody></table>
      I think I might have seen something like this before. Do you have more than one event triggering at the same time whose actions call this connection?

      Either way, please can you provide some more details about the connection and the event so that I can try to set up a repro?

      -David

      Comment


        i suppose it is possible that more than one event are calling it at once as they are all triggered via motion sensors and timers, it was working fine for the past year but in the past month or two has been crashing the DMX STICK but i haven't changed anything other than updating plugins and STICK firmware

        Here is what i am sending
        0x53 0x74 0x69 0x63 0x6b 0x5f 0x33 0x41 0x6D 0x00 0x39 0x01 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
        Attached Files

        Comment


          Coincidently, I got the exact same error yesterday afternoon which turned out to be caused by me triggering three events at the same time which sent data to the same non-persistent tcp client. The second and third events threw that error because the tcp connection was still in use by the first event. I *fixed* it by not triggering the events at the same time (which was a mistake anyway).

          However, it is clearly a bug and I will look into a proper fix for it. Hopefully it will resolve your issue too.

          -David

          Comment


            Originally posted by drule View Post
            Coincidently, I got the exact same error yesterday afternoon which turned out to be caused by me triggering three events at the same time which sent data to the same non-persistent tcp client. The second and third events threw that error because the tcp connection was still in use by the first event. I *fixed* it by not triggering the events at the same time (which was a mistake anyway).

            However, it is clearly a bug and I will look into a proper fix for it. Hopefully it will resolve your issue too.

            -David
            v29 fixes the bug when multiple non-persistent tcp clients are used in quick succession. Hopefully this also takes care of the problem usLEDsupply is seeing.

            Haven't made changes to the logging yet but it is still on the list.

            -David

            Comment


              :-) Great can't wait, I hope that fixes it it

              Comment


                Version 0.0.0.29 uploaded here
                cheeryfool

                Comment


                  so far so good:-) been working for an hour
                  i don't know how hard it would be but it would be nice to have a play button next to the delete and copy buttons on the commands page so you can test the command without having to create an event and run it:-)

                  Comment


                    Originally posted by usLEDsupply View Post
                    so far so good:-) been working for an hour
                    i don't know how hard it would be but it would be nice to have a play button next to the delete and copy buttons on the commands page so you can test the command without having to create an event and run it:-)
                    +1 on that.

                    Comment


                      Originally posted by usLEDsupply View Post
                      so far so good:-) been working for an hour
                      i don't know how hard it would be but it would be nice to have a play button next to the delete and copy buttons on the commands page so you can test the command without having to create an event and run it:-)
                      I think that used to exist in a much older (perhaps HS2) version of the PlugIn, and I think I remonstrated with David at some point about the loss of it

                      What say you "drule"?
                      cheeryfool

                      Comment


                        I like the idea of it but you'd need to be able to choose the connector too. If somebody wants to draw how they think it should look I can have a think about how to implement. I really don't like the config interface of the plugin but I hate how complicated the SDK makes drawing forms and each time I've attempted to improve it I've simply ended up yelling obscenities at the screen before reverting back to how it was.

                        Comment


                          Maybe when you click the play button you could have it popup a list of the available connectors and you could click the one you want and it would run or if there was only one available just run it

                          Comment


                            Originally posted by usLEDsupply View Post
                            Maybe when you click the play button you could have it popup a list of the available connectors and you could click the one you want and it would run or if there was only one available just run it


                            Or a Test Connection drop down, defaulting to "Choose one..." and automatically running the command when you choose a connection from the list.
                            cheeryfool

                            Comment


                              Comment


                                Ok guys I am now pulling my air out on this one and could do with some help.

                                my server where homeseer 3 is installed is running windows 7 just in case it matters

                                Ok what I am trying to do is control my Samsung KS9000 TV (2016)
                                I am connected via serial Ex-link from my TV to my server and so far I have been able to control the tv only by sending this type of hex command 08 22 00 00 00 01 D5 via two different serial port programs so I can confirm that the cable is ok and the port setting are correct
                                But for the life of me I can't get drule's serial plugin to work,

                                Here is what I have done
                                created a serial connection on comport 7 to the specs that worked on the other programs 9600/8bits/1stop/none/none/1
                                I have then tested the Samsung commands examples in binary, raw text and it just does nothing I have even tried the above code but that just crashes the plugin

                                [IMG][/IMG]

                                Thanks

                                Steve
                                Last edited by S.Morris; December 18, 2017, 01:42 PM.

                                Comment

                                Working...
                                X