Announcement

Collapse
No announcement yet.

Strange behavior on PLCBUS

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

    Strange behavior on PLCBUS

    Hello,

    I'm using Homeseer 2.4.0.50 and plcbus plugin V1.33.2.4.
    I installed a 3-phase coupler #4285E (PLCBUS II) and programed it to the user code with my plcbus mini controller #4034E. the mini controller switches my lamp modules on and off but the homeseer plugin does not do anything, although I see the debug info of plcbus activity in homeseer log when I use the mini controller. Since I also have an X10 modules I also installed an PLCBUS to X10 converter #4808 and these modules also works with the mini controller (#4034) but not with the homeseer plugin. (I do have plcbus II #1411 connected to my homeseer usb bus)

    What do I miss in order to make the plugin works like it should?

    Thanks for any help,
    Yossi.
    Last edited by hadyos; June 28, 2010, 11:27 AM.

    #2
    Hi, did you change the "PlCBUS User Code:" in PLCBUS Connector plugin to same as 4285E ?

    /Tonlof
    Please excuse any spelling and grammatical errors I may make.
    --
    Tasker Plugin / Speech Droid
    Tonlof | Sweden

    Comment


      #3
      Sure did. I gave the 4285E the same code I have on my mini controller and then I used the "Get User Code from next PLCBUS message" on the plugin so it will synced with my mini controller user code. But still no go.

      Comment


        #4
        Did you activate 3-phase mode on the plugin ?

        If so and it still doesn't work, please send your plcbus-1141 interface serial number to kevin-lo. If it is an old interface (not compatible with plcbus-II modules), you 'll get a new one.
        --
        stipus

        Comment


          #5
          Yes, that was the first thing I did after installing the phase coupler.
          My 1411 is a PLCBUS II model. There is a sticker on it With PLCBUS II label.

          Comment


            #6
            Can you activate the plugin debug mode, and post the log output here
            --
            stipus

            Comment


              #7
              Yes, I just don't know how to activate it in debug mode except from the GUI itself. (Is it something with ini file?)

              Yossi

              Comment


                #8
                The debug mode setting is on the first page of the plugin web configuration interface.
                --
                stipus

                Comment


                  #9
                  <table width="100%" border="0" cellpadding="0" cellspacing="2"><tbody><tr><td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:06:57 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">

                  Hi,
                  This part of my homeseer log with the plcbus part, like you asked.

                  Rcvd Ack: (16) K10 AllUnitsOff Data1:1 Data2:128 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False
                  </td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:06:57 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Rcvd Ack: (16) K10 AllUnitsOff Data1:1 Data2:128 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:06:57 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sent: (16) K10 AllUnitsOff Data1:1 Data2:128 Tx:True AckReq:False Ack:False IDreq:False Id:True 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:06:57 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sent: (24) K10 AllUnitsOff Data1:0 Data2:128 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:06:57 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Rcvd Ack: (17) C10 AllUnitsOff Data1:1 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:True 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:06:57 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sent: (16) K10 AllUnitsOff Data1:0 Data2:128 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:06:54 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Rcvd Ack: (17) C10 AllUnitsOff Data1:1 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:True 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:05:49 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sent: (73) P1 ReportAllIdPulse3Phase Data1:0 Data2:0 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:05:49 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Rcvd Ack: (169) A1 AllLightsOn Data1:128 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:05:48 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sent: (16) K10 AllUnitsOff Data1:1 Data2:128 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:03:07 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sent: (17) C10 AllUnitsOff Data1:1 Data2:0 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:03:05 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Rcvd Ack: (16) K10 AllUnitsOff Data1:0 Data2:128 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:03:05 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Rcvd Ack: (169) A1 AllLightsOn Data1:128 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:True 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:03:05 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Rcvd Ack: (17) C10 AllUnitsOff Data1:1 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:03:05 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Sent: (24) K10 AllUnitsOff Data1:0 Data2:128 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:02:10 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Rcvd Ack: (17) G10 AllUnitsOff Data1:1 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:02:10 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Rcvd Ack: (41) A1 AllLightsOn Data1:0 Data2:1 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:02:10 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Sent: (16) K10 AllUnitsOff Data1:1 Data2:128 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:02:10 PM </td><td colspan="3" class="LOGType1" align="left"> X10 Received </td><td colspan="8" class="LOGEntry1" align="left">G10 (?) G All Units Off</td></tr> <tr> <td colspan="1" class="LOGDateTime0" nowrap="nowrap" align="left">7/1/2010 5:02:10 PM </td><td colspan="3" class="LOGType0" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry0" align="left">Received: (17) G10 AllUnitsOff Data1:1 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:True 3PhReq:False RiscOK:True PlcBusOK:False</td></tr> <tr> <td colspan="1" class="LOGDateTime1" nowrap="nowrap" align="left">7/1/2010 5:02:10 PM </td><td colspan="3" class="LOGType1" align="left"> PLCBUS Debug </td><td colspan="8" class="LOGEntry1" align="left">Rcvd Ack: (169) A1 AllLightsOn Data1:128 Data2:0 Tx:False AckReq:False Ack:True IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:False

                  </td></tr></tbody></table>

                  Comment


                    #10
                    I can only see AllUnitsOff and AllLightsOn commands in the log. Furthermore, the plugin 3-phase mode doesn't seem to be enabled.

                    Honestly I can't do anything and help you with such log.


                    If you want me to help you debug the problem:

                    - Enable 3-phase mode in the plugin configuration interface. If you have a phase coupler this is mandatory.
                    - Send a simple command to a Plcbus device on one phase (such as A1 ON)
                    - Send a simple command to a Plcbus device on one other phase.

                    Copy/Paste all Plcbus debug info.
                    --
                    stipus

                    Comment


                      #11
                      Well, this is a command I sent with 3Phase enabled. I do I know on which phase to send a command? Could you tell something out of this?

                      <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:53:38 AM </TD><TD class=LOGType0 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry0 colSpan=8 align=left>A1 (?) A On</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:53:38 AM </TD><TD class=LOGType1 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry1 colSpan=8 align=left>Received: (73) A1 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:53:38 AM </TD><TD class=LOGType0 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry0 colSpan=8 align=left>A1 (?) A On</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:53:38 AM </TD><TD class=LOGType1 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry1 colSpan=8 align=left>Received: (73) A1 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:53:37 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Rcvd Ack: (73) A1 On Data1:100 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:53:37 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A1 (?) A On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:53:37 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A1 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:52:36 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A3 (?) A On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:52:36 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A3 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:52:36 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A3 (?) A On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:52:36 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A3 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:49:09 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A1 (?) A Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:49:09 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A1 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:49:09 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A1 (?) A Off</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:49:09 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A1 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:48:44 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A2 (?) A On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:48:44 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A2 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:48:44 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>A2 (?) A On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:48:44 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) A2 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:42:31 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>F1 (?) F On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:42:31 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) F1 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 1:42:31 AM </TD><TD class=LOGType1 colSpan=3 align=left>X10 Received </TD><TD class=LOGEntry1 colSpan=8 align=left>F1 (?) F On</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 1:42:31 AM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Received: (73) F1 On Data1:100 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True</TD></TR></TBODY></TABLE>

                      Thanks,
                      Yossi.

                      Comment


                        #12
                        I can see many received commands in your log, but no command sent from homeseer. I need to see a log of a command sent from homeseer to the 3-phase coupler.

                        Can you also post the content of the file config/hspi_plcbus.ini
                        --
                        stipus

                        Comment


                          #13
                          <TABLE border=0 cellSpacing=2 cellPadding=0 width="100%"><TBODY><TR><TD class=LOGEntry1 colSpan=8 align=left>This was sent from homeseer.

                          Sent: (73) P16 On Data1:100 Data2:0 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
                          </TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 8:28:40 PM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>Sending: (73) P16 On Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False</TD></TR><TR><TD class=LOGDateTime1 noWrap align=left>7/4/2010 8:28:40 PM </TD><TD class=LOGType1 colSpan=3 align=left>Device Control </TD><TD class=LOGEntry1 colSpan=8 align=left>Device: Lamp (P16) ON</TD></TR><TR><TD class=LOGDateTime0 noWrap align=left>7/4/2010 8:28:40 PM </TD><TD class=LOGType0 colSpan=3 align=left>PLCBUS Debug </TD><TD class=LOGEntry0 colSpan=8 align=left>SetIO() called HC=P DC=16 COMMAND=2 BRIGHTNESS=0 DATA1=0 DATA2=0</TD></TR></TBODY></TABLE>
                          This my hspi_plcbus.ini

                          [Plcbus]
                          UserCode=73
                          ThreePhases=True
                          WaitForAck=False
                          [Settings]
                          Debug=True
                          [Fast Polling]
                          HouseCodes=
                          Enabled=False
                          [LAMP F3]
                          [LAMP H1]
                          [LAMP F2]
                          [LAMP A4]
                          [LAMP P16]
                          Name=Lamp
                          [APPLIANCE H1]
                          [APPLIANCE I1]
                          [LAMP P15]

                          Comment


                            #14
                            You should never use P16 as a Plcbus address for any device, as it is a reserved address for all modules.

                            Please try with another module address.

                            From the log, there is no response from the 3-phase coupler... I don't know why. Are you sure the 3-phase coupler is also set to User Code 73 ?
                            --
                            stipus

                            Comment


                              #15
                              I know that fact, but every time I try to change the address of P16 to, let say G5, your plugin (Change Module Address) say that command has been sent but never really change address.

                              About the 3-phase coupler, I'm not 100% sure but I fallowed the instructions of how to set the User Code to the right code and I think it has been set right.
                              Each time I send a command from my mini control or homeseer I hear a buzz from the 3-phase coupler, I'm not sure if it's an indication.
                              Last edited by hadyos; July 5, 2010, 04:50 AM.

                              Comment

                              Working...
                              X