Announcement

Collapse
No announcement yet.

Super slow PLCBUS scene change (HS3 only)

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

    #46
    There is something I don't understand at the very beginning of your LOG:

    May-20 11:33:48 AM PLCBUS Debug Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
    May-20 11:33:48 AM PLCBUS Debug Sent: (138) M4 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
    May-20 11:33:47 AM PLCBUS Device Device [138-M4] status set to [Off]

    1) You set M4 to OFF
    2) The plugin sends a PlcBus M4-OFF command with AckReq=True

    This is a first problem here. If M4 is really a PlcBus scene device...the plugin should not ask for an ACK request, as PLCBUS modules never send ACK responses for a secondary (scene) address.

    3) The plugin gets an ACK response back !!!!

    This is a second problem. As already written, PLCBUS modules never send ACK responses for a scene address.... this means you have a PLCBUS module somewhere with the M4 address set as primary address...

    --> It's not possible to have a PlcBus scene address, set as a primary address of any module. M4 must be a primary address or a scene address, but it cannot be both. Same with HomeSeer devices ... you can only have one M4 device. You should not create M4 as both appliance/lamp and Scene.
    --
    stipus

    Comment


      #47
      Originally posted by stipus View Post
      There is something I don't understand at the very beginning of your LOG:

      May-20 11:33:48 AM PLCBUS Debug Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
      May-20 11:33:48 AM PLCBUS Debug Sent: (138) M4 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
      May-20 11:33:47 AM PLCBUS Device Device [138-M4] status set to [Off]

      1) You set M4 to OFF
      2) The plugin sends a PlcBus M4-OFF command with AckReq=True

      This is a first problem here. If M4 is really a PlcBus scene device...the plugin should not ask for an ACK request, as PLCBUS modules never send ACK responses for a secondary (scene) address.

      3) The plugin gets an ACK response back !!!!

      This is a second problem. As already written, PLCBUS modules never send ACK responses for a scene address.... this means you have a PLCBUS module somewhere with the M4 address set as primary address...

      --> It's not possible to have a PlcBus scene address, set as a primary address of any module. M4 must be a primary address or a scene address, but it cannot be both. Same with HomeSeer devices ... you can only have one M4 device. You should not create M4 as both appliance/lamp and Scene.
      Is it possible that's part of the bug somehow?

      There is only one M4 in my HS3 installation, and that's the M4 test scene that I created for the example above: (note the search on the top-right, and no floor/room/device filter on the top left.)



      And I use housecode M exclusively for scene addresses, this is the 'Address in Use' check for code M:



      Nothing comes up..
      Last edited by LeoS; May 23, 2015, 07:05 AM.
      HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

      Google Search for HomeSeer Forum

      Comment


        #48
        Can you post the log when the plugin starts... it should print all found PlcBus devices with the device type.

        This is something I don't understand...

        - The plugin code is very clear... when a command is sent, the plugin tests device type, and if it's a scene, it doesn't send the AckRequest.

        - I really don't understand what device could have sent the M4-Off Ack response...

        May-20 11:33:48 AM PLCBUS Debug Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False

        PlcBus modules never send Ack responses for secondary addresses.... because the secondary address could be assigned to several modules (all scene modules)... and several modules would respond at the same time.

        May-20 11:33:48 AM PLCBUS Debug Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
        May-20 11:33:48 AM PLCBUS Debug Sent: (138) M4 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
        May-20 11:33:47 AM PLCBUS Debug Sending: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False

        Unless you have a faulty module, this is not possible. I repeat: PlcBus modules never respond to ACK requests on a secondary address.
        --
        stipus

        Comment


          #49
          Ok here we go.
          I enabled debug, restarted the plugin and I tried flipping the M4 scene on and off again, but it didn't do anything (because I couldn't make it remove only A3 and A4 as described above). I can't do any scene programming right now because of night lights:

          Code:
          May-23 8:39:00 PM	 	Info	Plugin PLCBUS with instance: has disconnected
          May-23 8:39:00 PM	 	PLCBUS	ShutdownIO[]
          May-23 8:39:00 PM	 	Plug-In	Shutting down Plug-In: PLCBUS
          May-23 8:38:59 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:57 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:55 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:52 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:49 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:46 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:44 PM	 	PLCBUS Debug	Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
          May-23 8:38:44 PM	 	PLCBUS Debug	Sent: (138) M4 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
          May-23 8:38:44 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M4] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Debug	Sending: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-L1] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M9] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M4] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-G9] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M10] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-L1] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M9] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M4] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-G8] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M4] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M3] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-A1] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M4] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-M3] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Device	Device [138-A2] status set to [Off]
          May-23 8:38:44 PM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[0]
          May-23 8:38:44 PM	 	Device Control	Device: System zzINACTIVE Scene : Test to Off (0) by/from: CAPI Control Handler
          May-23 8:38:42 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:39 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:39 PM	 	PLCBUS Debug	Rcvd Ack: (138) M4 On Data1:100 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
          May-23 8:38:39 PM	 	PLCBUS Debug	Sent: (138) M4 On Data1:100 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
          May-23 8:38:39 PM	 	PLCBUS Debug	Sending: (138) M4 On Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
          May-23 8:38:39 PM	 	PLCBUS Device	Device [138-M4] status set to [On]
          May-23 8:38:39 PM	 	PLCBUS Device	Device [138-A2] status set to [On]
          May-23 8:38:39 PM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[101]
          May-23 8:38:39 PM	 	Device Control	Device: System zzINACTIVE Scene : Test to On (101) by/from: CAPI Control Handler
          May-23 8:38:36 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:33 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:31 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:28 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:28 PM	 	Plug-In	Finished initializing plug-in PLCBUS
          May-23 8:38:28 PM	 	PLCBUS	PLCBUS [] Plugin for HS3 V3.0.3.0 Initialized
          May-23 8:38:28 PM	 	PLCBUS	PLCBUS [] Initializing Serial PlcBus Manager on port COM1
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H11]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H12]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G5]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O5]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H9]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H10]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G15]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G16]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O6]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H14]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H15]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O9]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O10]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P4]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A11]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A15]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A14]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A13]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A12]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A8]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A10]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A9]
          May-23 8:38:28 PM	 	PLCBUS	[138-G3] On
          May-23 8:38:28 PM	 	PLCBUS	[138-G4] On
          May-23 8:38:28 PM	 	PLCBUS	[138-G12] On
          May-23 8:38:28 PM	 	PLCBUS	[138-G8] On
          May-23 8:38:28 PM	 	PLCBUS	[138-H1] On
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M10]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A3]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-B16] RampRate=[8]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A4]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A1]
          May-23 8:38:28 PM	 	PLCBUS	[138-G9] On
          May-23 8:38:28 PM	 	PLCBUS	[138-G8] On
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-L1]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A2]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-A7]
          May-23 8:38:28 PM	 	PLCBUS	[138-G9] On
          May-23 8:38:28 PM	 	PLCBUS	[138-G8] On
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M9]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-L4]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H6]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-L3]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-L2]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-L1]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H5]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P5]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P6]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P13]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P14]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G6]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-F1]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O2]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O15]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G3]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G2]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G4]
          May-23 8:38:28 PM	 	PLCBUS	[138-P13] On
          May-23 8:38:28 PM	 	PLCBUS	[138-P14] On
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M7]
          May-23 8:38:28 PM	 	PLCBUS	[138-P13] Off
          May-23 8:38:28 PM	 	PLCBUS	[138-P14] Off
          May-23 8:38:28 PM	 	PLCBUS	[138-P7] Off
          May-23 8:38:28 PM	 	PLCBUS	[138-P8] On
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M8]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H4]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H3]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P3]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P1]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P2]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-A16] RampRate=[3]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus House] - Address=[138-O] HouseCode=[O] Poll=[False]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G14]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus House] - Address=[138-P] HouseCode=[P] Poll=[False]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus House] - Address=[138-H] HouseCode=[H] Poll=[False]
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus House] - Address=[138-G] HouseCode=[G] Poll=[False]
          May-23 8:38:28 PM	 	PLCBUS	[138-G9] On
          May-23 8:38:28 PM	 	PLCBUS	[138-G8] On
          May-23 8:38:28 PM	 	PLCBUS	[138-A1] On
          May-23 8:38:28 PM	 	PLCBUS	[138-A2] On
          May-23 8:38:28 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M4]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus House] - Address=[138-A] HouseCode=[A] Poll=[True]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus User] Address=[138-*]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G12]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G13]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G9]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G8]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H1]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H2]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O8]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O16]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-H16]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O7]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P15]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-P12]
          May-23 8:38:27 PM	 	PLCBUS	[138-A1] On
          May-23 8:38:27 PM	 	PLCBUS	[138-A2] On
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M3]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-G11] RampRate=[1]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-G10] RampRate=[1]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-O3]
          May-23 8:38:27 PM	 	PLCBUS	[138-H11] On
          May-23 8:38:27 PM	 	PLCBUS	[138-P3] On
          May-23 8:38:27 PM	 	PLCBUS	[138-P2] On
          May-23 8:38:27 PM	 	PLCBUS	[138-P10] On
          May-23 8:38:27 PM	 	PLCBUS	[138-G1] On
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M5]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-P9] RampRate=[1]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-P10] RampRate=[3]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G7]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Appliance] - Address=[138-G1]
          May-23 8:38:27 PM	 	PLCBUS	[138-H14] On
          May-23 8:38:27 PM	 	PLCBUS	[138-H9] On
          May-23 8:38:27 PM	 	PLCBUS	[138-G15] On
          May-23 8:38:27 PM	 	PLCBUS	[138-G16] On
          May-23 8:38:27 PM	 	PLCBUS	[138-O10] On
          May-23 8:38:27 PM	 	PLCBUS	[138-P4] On
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Scene] - Address=[138-M6]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-P7] RampRate=[3]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-P8] RampRate=[3]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-A6] RampRate=[2]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-A5] RampRate=[5]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-H8] RampRate=[2]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-H7] RampRate=[2]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-O12] RampRate=[2]
          May-23 8:38:27 PM	 	PLCBUS	Found [PlcBus Lamp] - Address=[138-O13] RampRate=[2]
          May-23 8:38:26 PM	 	Info	Plugin PLCBUS has connected. IP:127.0.0.1:63295
          May-23 8:38:05 PM	 	Info	Plugin PLCBUS with instance: has disconnected
          May-23 8:38:05 PM	 	PLCBUS	ShutdownIO[]
          May-23 8:38:05 PM	 	Plug-In	Shutting down Plug-In: PLCBUS
          May-23 8:38:03 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:01 PM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
          May-23 8:38:00 PM	 	PLCBUS Debug	SaveINISetting[] - file=[hspi_plcbus.ini] section=[Plugin] key=[Debug] value=[True]
          HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

          Google Search for HomeSeer Forum

          Comment


            #50
            Ok, here it is. I use 4 lights that belongs to no other scenes, so the log is a bit cleaner:

            Code:
            May-26 10:16:02 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:16:01 AM	 	PLCBUS Debug	Rcvd Ack: (138) M4 On Data1:100 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:16:01 AM	 	PLCBUS Debug	Sent: (138) M4 On Data1:100 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:16:01 AM	 	PLCBUS Device	Device [138-M4] status set to [On]
            May-26 10:16:01 AM	 	PLCBUS Debug	Sending: (138) M4 On Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:16:01 AM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[101]
            May-26 10:16:01 AM	 	Device Control	Device: System zzINACTIVE Scene : Test to On (101) by/from: CAPI Control Handler
            May-26 10:16:00 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:58 AM	 	PLCBUS Debug	Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:58 AM	 	PLCBUS Debug	Sent: (138) M4 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:58 AM	 	PLCBUS Debug	Sending: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:58 AM	 	PLCBUS Device	Device [138-A6] status set to [On]
            May-26 10:15:58 AM	 	PLCBUS Device	Device [138-A5] status set to [On]
            May-26 10:15:58 AM	 	PLCBUS Debug	Received: (138) A1 ReportOnlyOnIdPulse3Phase Data1:0 Data2:60 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:False RiscOK:True PlcBusOK:True
            May-26 10:15:58 AM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[0]
            May-26 10:15:58 AM	 	Device Control	Device: System zzINACTIVE Scene : Test to Off (0) by/from: CAPI Control Handler
            May-26 10:15:57 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:57 AM	 	PLCBUS Debug	Sent: (138) A1 GetOnlyOnIdPulse Data1:0 Data2:0 Tx:True AckReq:False Ack:False IDreq:True Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:56 AM	 	PLCBUS Debug	Sending: (138) A1 GetOnlyOnIdPulse Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:True Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:54 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:54 AM	 	PLCBUS Debug	Sending: (138) A1 GetOnlyOnIdPulse Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:True Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:54 AM	 	PLCBUS Debug	Rcvd Ack: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:54 AM	 	PLCBUS Debug	Sent: (138) M4 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:53 AM	 	PLCBUS Device	Device [138-M4] status set to [Off]
            May-26 10:15:53 AM	 	PLCBUS Debug	Sending: (138) M4 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:53 AM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[0]
            May-26 10:15:53 AM	 	Device Control	Device: System zzINACTIVE Scene : Test to Off (0) by/from: CAPI Control Handler
            May-26 10:15:51 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:48 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:48 AM	 	PLCBUS Debug	Sent: (138) M4 SceneAddressErase Data1:0 Data2:0 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:48 AM	 	PLCBUS Debug	Sending: (138) M4 SceneAddressErase Data1:0 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:48 AM	 	PLCBUS Debug	Scene [138-M4] - Removing ON device=[138-A3]
            May-26 10:15:48 AM	 	PLCBUS Debug	Scene [138-M4] - Removing ON device=[138-A4]
            May-26 10:15:46 AM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[502]
            May-26 10:15:46 AM	 	Device Control	Device: System zzINACTIVE Scene : Test to Remove currently 'On' devices (502) by/from: CAPI Control Handler
            May-26 10:15:45 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:42 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:39 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:37 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:37 AM	 	PLCBUS Device	Device [138-M4] status set to [Off]
            May-26 10:15:37 AM	 	PLCBUS Device	Device [138-A6] status set to [Off]
            May-26 10:15:37 AM	 	PLCBUS Debug	Rcvd Ack: (138) A6 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:37 AM	 	PLCBUS Debug	Sent: (138) A6 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:37 AM	 	PLCBUS Debug	Sending: (138) A6 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:37 AM	 	PLCBUS Debug	SetIO[] name=[Spot (Credenza)] address=[138-A6] type=[PlcBus Lamp] controlValue=[0]
            May-26 10:15:37 AM	 	Device Control	Device: 2 Master Bedroom Spot (Credenza) to Off (0) by/from: CAPI Control Handler
            May-26 10:15:36 AM	 	PLCBUS Device	Device [138-M4] status set to [Off]
            May-26 10:15:36 AM	 	PLCBUS Device	Device [138-A5] status set to [Off]
            May-26 10:15:36 AM	 	PLCBUS Debug	Rcvd Ack: (138) A5 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:True IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:36 AM	 	PLCBUS Debug	Sent: (138) A5 Off Data1:0 Data2:0 Tx:True AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:35 AM	 	PLCBUS Debug	Sending: (138) A5 Off Data1:0 Data2:0 Tx:False AckReq:True Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:35 AM	 	PLCBUS Debug	SetIO[] name=[Spot (TV)] address=[138-A5] type=[PlcBus Lamp] controlValue=[0]
            May-26 10:15:35 AM	 	Device Control	Device: 2 Master Bedroom Spot (TV) to Off (0) by/from: CAPI Control Handler
            May-26 10:15:35 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:32 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:29 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:27 AM	 	PLCBUS Debug	Sent: (138) M4 SceneAddressSetup Data1:2 Data2:0 Tx:True AckReq:False Ack:False IDreq:False Id:False 3PhReq:True RiscOK:True PlcBusOK:True
            May-26 10:15:26 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            May-26 10:15:26 AM	 	PLCBUS Debug	Sending: (138) M4 SceneAddressSetup Data1:2 Data2:0 Tx:False AckReq:False Ack:False IDreq:False Id:False 3PhReq:True RiscOK:False PlcBusOK:False
            May-26 10:15:26 AM	 	PLCBUS Device	Scene [138-M4] - Adding ON device=[138-A3] value=[101]
            May-26 10:15:26 AM	 	PLCBUS Device	Scene [138-M4] - Adding ON device=[138-A4] value=[101]
            May-26 10:15:26 AM	 	PLCBUS Device	Scene [138-M4] - Adding ON device=[138-A6] value=[101]
            May-26 10:15:26 AM	 	PLCBUS Device	Scene [138-M4] - Adding ON device=[138-A5] value=[101]
            May-26 10:15:25 AM	 	PLCBUS Debug	SetIO[] name=[Scene : Test] address=[138-M4] type=[PlcBus Scene] controlValue=[500]
            May-26 10:15:25 AM	 	Device Control	Device: System zzINACTIVE Scene : Test to Add currently 'On' devices as On (500) by/from: CAPI Control Handler
            May-26 10:15:23 AM	 	PLCBUS Debug	InterfaceStatus[] - selected=[True] configured=[True] connected=[True]
            HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

            Google Search for HomeSeer Forum

            Comment


              #51
              stipus, can you recreate the bug?
              I'm pretty sure it hasn't been like this at all; through the last 2-3 versions (including the betas).
              HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

              Google Search for HomeSeer Forum

              Comment


                #52
                Dear LeoS,

                1) I haven't been able to reproduce the problem with AckReq=True on scene ON/OFF commands.

                Here ON/OFF commands sent to scene addresses always have AckReq=False (as it should). I really don't understand what's happening on your side for this problem...


                2) I have been able to reproduce the remove currently 'On' devices problem.

                The remove currently 'ON' devices doesn't work as I intended.

                Even if there is no 'ON' device, this command behaves as 'Remove all devices from scene', but only 'On' devices are removed from the HomeSeer Scene description.

                I checked the PLCBUS command sent by the plugin, and it looks fine.

                I double-checked the PLBUS protocol documentation and for the SceneAddressErase command it says:
                "clean scene address under the same HOME+UNIT"

                My conclusion is:

                a) It looks like I mistakenly thought that this command would remove currently 'ON' addresses from the scene (same as the Scene programming commands). But in fact, it clears all addresses for the scene.

                b) I'm going to change the HomeSeer label "Remove currently 'On' devices" to "Remove all devices", or something else (any suggestion ?)

                c) I'm going to fix the plugin, so that all devices are removed from the scene description (and internal plugin data).

                Is that OK to you ?

                Regards,
                --
                stipus

                Comment


                  #53
                  Originally posted by stipus View Post
                  Dear LeoS,

                  1) I haven't been able to reproduce the problem with AckReq=True on scene ON/OFF commands.

                  Here ON/OFF commands sent to scene addresses always have AckReq=False (as it should). I really don't understand what's happening on your side for this problem...


                  2) I have been able to reproduce the remove currently 'On' devices problem.

                  The remove currently 'ON' devices doesn't work as I intended.

                  Even if there is no 'ON' device, this command behaves as 'Remove all devices from scene', but only 'On' devices are removed from the HomeSeer Scene description.

                  I checked the PLCBUS command sent by the plugin, and it looks fine.

                  I double-checked the PLBUS protocol documentation and for the SceneAddressErase command it says:
                  "clean scene address under the same HOME+UNIT"

                  My conclusion is:

                  a) It looks like I mistakenly thought that this command would remove currently 'ON' addresses from the scene (same as the Scene programming commands). But in fact, it clears all addresses for the scene.

                  b) I'm going to change the HomeSeer label "Remove currently 'On' devices" to "Remove all devices", or something else (any suggestion ?)

                  c) I'm going to fix the plugin, so that all devices are removed from the scene description (and internal plugin data).

                  Is that OK to you ?

                  Regards,
                  Hello stipus,

                  1). Ok, maybe the AckReq=True thing is a defect of my installation. I am still pursuing the defective module somewhere in my place. I've found a couple that was installed too tightly behind the switch, that they didn't respond properly when asked for status. This weekend I will try turning off the 3 phases of electricity one by one to try deduce and isolate where the offending modules are.

                  2). Do you still have an earlier build of your plugin? I could swear that your 'Remove currently ON devices' worked as intended in the past. I was adding and pruning devices from one of my scene that involved 6 devices, and I mistakenly add up to 10 at the time. Then later on I took out the 4 with that function.

                  Yes, 'Remove all devices from this scene' is correct. But please check your earlier version of the plugin first.

                  Thank you
                  HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

                  Google Search for HomeSeer Forum

                  Comment


                    #54
                    1) The AckReq=True sent by the plugin for scene ON/OFF commands is a plugin bug... The plugin should not ask for scene command acknowledgements. However, I don't understand how it's possible.

                    - The plugin gets the command address e.g.: M4
                    - The plugin checks the device type e.g. : PlcBus Scene
                    - If it's a PlcBus Scene, Ack requests are not sent... I still don't understand why it's sent.

                    2) I'll try the first version of the plugin (1.0 - still in the HomeSeer updater).

                    I also think I tested the "Remove 'On' devices" button... and as far as I can remember, it did work.... However, the PLCBUS protocol documentation is quite clear about it.... the command removes all devices from a specific scene..
                    --
                    stipus

                    Comment


                      #55
                      Originally posted by stipus View Post
                      1) The AckReq=True sent by the plugin for scene ON/OFF commands is a plugin bug... The plugin should not ask for scene command acknowledgements. However, I don't understand how it's possible.

                      - The plugin gets the command address e.g.: M4
                      - The plugin checks the device type e.g. : PlcBus Scene
                      - If it's a PlcBus Scene, Ack requests are not sent... I still don't understand why it's sent.

                      2) I'll try the first version of the plugin (1.0 - still in the HomeSeer updater).

                      I also think I tested the "Remove 'On' devices" button... and as far as I can remember, it did work.... However, the PLCBUS protocol documentation is quite clear about it.... the command removes all devices from a specific scene..
                      1). Is there anything that I should try to 'reset'? Recreate the device? Create another device on a different address? Does it matter if I have my controller set to 3phase mode? I actually have another controller I can swap to try, if it matters.

                      2). I'm pretty sure it worked, because I was quite happy with that functionality; I thought it would make creating scenes much easier since you can just prune the wrong devices everytime there's a mistake.
                      HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

                      Google Search for HomeSeer Forum

                      Comment


                        #56
                        If you renamed the original HSPI_PLCBUS.EXE to HSPI_PLCBUS.BAK when you installed the new version, you may try to revert to the old version.

                        - Shutdown HomeSeer
                        - Rename HSPI_PLCBUS_EXE to HSPI_PLCBUS11.BAK
                        - Rename your original backup to HSPI_PLCBUS.EXE
                        - Restart HomeSeer
                        --
                        stipus

                        Comment


                          #57
                          Originally posted by stipus View Post
                          If you renamed the original HSPI_PLCBUS.EXE to HSPI_PLCBUS.BAK when you installed the new version, you may try to revert to the old version.

                          - Shutdown HomeSeer
                          - Rename HSPI_PLCBUS_EXE to HSPI_PLCBUS11.BAK
                          - Rename your original backup to HSPI_PLCBUS.EXE
                          - Restart HomeSeer
                          Yes, I will try that.
                          HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

                          Google Search for HomeSeer Forum

                          Comment


                            #58
                            Originally posted by stipus View Post
                            If you renamed the original HSPI_PLCBUS.EXE to HSPI_PLCBUS.BAK when you installed the new version, you may try to revert to the old version.

                            - Shutdown HomeSeer
                            - Rename HSPI_PLCBUS_EXE to HSPI_PLCBUS11.BAK
                            - Rename your original backup to HSPI_PLCBUS.EXE
                            - Restart HomeSeer
                            I tried 3.0.2.0 and 3.0.1.0, and they both behave the same way.

                            I guess it's an issue with the language/term used. Rather than 'Remove currently ON devices from this scene', they meant 'Remove all saved ON devices from this scene'; since a scene can save both ON and OFF devices?
                            HW: HS3 w/ Win8.1 on ASRock C2550d4i. Digi AnywhereUSB, Hubport, Edgeport, UZB, Z-trollers, PLCBUS, SONOS, GC-100, iTach IP2SL, WF2IR, IP2IR, RFXtrx433, Harmony Hubs, Hue, Ademco Vista 128BP, NetAtmo, NetAtmo Welcome

                            Google Search for HomeSeer Forum

                            Comment


                              #59
                              I think it removes all devices from a scene (scene reset).
                              --
                              stipus

                              Comment

                              Working...
                              X