Announcement

Collapse
No announcement yet.

Receiving X10 Commands - [Resolved: use current version of plugin]

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

    Receiving X10 Commands - [Resolved: use current version of plugin]

    HS4, CM11a, Windows 7 with one serial port on the motherboard, x10 since 1990, new to HS

    The plugin works great for sending commands to my X10 devices but if a command is sent from another device (wall button, wireless remote of plugin keypad) I get this in my HS3 log.

    11/29/2020 9:25:27 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Upload Data: 2 Time: 77127.0053004

    11/29/2020 9:25:26 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Upload byte count: 3

    Sending the same command from HS4/X10 device I see this in my log


    11/29/2020 9:32:41 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Got ack of: 55

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Checksum OK, sending 0

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Got checksum: 18

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Sending: 6 12 Size: 2

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Got ack of: 55

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Checksum OK, sending 0

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Got checksum: 1A

    11/29/2020 9:32:40 PM
    Legacy-Plugin
    X10 DEBUG
    CM11A Sending: 4 16 Size: 2

    11/29/2020 9:32:40 PM
    HomeSeer
    Device Control
    Device: X10 Den Fan Lights to On (100) by/from: CAPI Control Handler

    I was planning to use some of my old X10 controls to activate some of my new HS4 devices. Is this not possible or did I miss something?




    #2
    I added an event:
    if X10 received X10 Command
    Trigger
    Device on
    E
    1
    Then
    Control a device
    X10 Den Fan Lights
    On

    Clicking on Run Now it works as it should but since not receiving the command it does not.

    Comment


      #3
      Welcome to the Homeseer forum Michael. Here still using X10 here mostly only for the Christmas lighting. (have used X10 since the late 1970's).

      I use the wireless palm pads to disable TTS while garage door is open if I need to and used to use it to manually controll my irrigation for seasonal turn up or down.

      The configuration for Homeseer uses a CM11A and W800.

      BTW what wireless X10 device do you have connected? You can do the same with a wireless to X10 TM751 or RR501 wireless transciever if set for same house code.

      I am also using an OmniPro 2 which uses the TW-525 dual phased emulator which Volp sells.

      Testing here this morning sending an A1 command via wireless button connected to a W800. (old W800RF32A 30018)

      Click image for larger version

Name:	w800.jpg
Views:	123
Size:	3.6 KB
ID:	1437109

      This is what I see in the log for HS4 which is connected to a CM11A which is receiving the X10 command via powerline.

      11/30/2020 5:48:07 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.GetUpload(): Upload byte count: 2
      11/30/2020 5:48:07 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.GetUpload(): Upload Data: 0x0 Time: 20887.035
      11/30/2020 5:48:07 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.GetUpload(): Upload Data: 0x66 Time: 20887.046
      11/30/2020 5:48:07 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.GetUpload(): Upload byte count: 2
      11/30/2020 5:48:07 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.GetUpload(): Upload Data: 0x1 Time: 20887.676
      11/30/2020 5:48:07 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.GetUpload(): Upload Data: 0x62 Time: 20887.687

      I have a chimer connected to A1 and do hear it.

      Here is HS4 sending out the command via the CM11A

      11/30/2020 5:51:03 AM
      HomeSeer
      Device Control
      Device: X10 Unknown A1 [*** NEW X10 DEVICE ***] to On (100) by/from: CAPI Control Handler
      11/30/2020 5:51:03 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Sending 2 bytes: 0x 04 66
      11/30/2020 5:51:03 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Data sent, waiting for checksum From CM11a...
      11/30/2020 5:51:03 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Received a good checksum: 0x6A
      11/30/2020 5:51:03 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Sending 0x00 to CM11a (command to execute).
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Got ack of: 0x55
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Success! 0.436 seconds for CM11a to send.
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Sending 2 bytes: 0x 06 62
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Data sent, waiting for checksum From CM11a...
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Received a good checksum: 0x68
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Sending 0x00 to CM11a (command to execute).
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Got ack of: 0x55
      11/30/2020 5:51:04 AM
      Legacy-Plugin
      X10 DEBUG
      CM11A.SendIt(): Success! 0.437 seconds for CM11a to send.

      IE: if I send an X10 A1 off via palm pad the HS4 A1 device also changes to off.
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
      HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
      6.10.0.104
      HS4 Lite -

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

      Comment


        #4
        Most of my devices are basic lamp modules that I repair from time to time. I use them for room lamps with an X10 wall switch and there is a CR12a wireless remote on a table in each room for easy access to the lights and ceiling fans. Over the years I have taken to opening the lamp modules and unsoldering the plug prongs and socket clips. Then adding 14 gauge wire and putting them in waterproof electrical boxes to control outdoor lights.

        Like most I guess, I have had to put x10 filters on every switching power supply and I added an active bridge to cross over the two 110 phases. Oh and an 8CUX10 8 port relay box for my sprinkler zones. Overall it's been mostly stable across the property but sometimes commands are missed by noise from a new device added.

        I also use X10 Commander for our cell phones but only on our wifi and not cellular.

        I just don't know why I'm getting a message that says "upload data" in my log instead of the actual X10 command. Everything works with local command devices and even with the HS/X10 device. Just not receiving from the line the way it should. Tried a second CM11a, same results.

        Any ideas?


        Comment


          #5
          What are you using as an X10 wireless transciever?

          instead of the actual X10 command

          You will not see the actual X10 command with debug on. Just data in and out.



          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
          HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
          6.10.0.104
          HS4 Lite -

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

          Comment


            #6
            Please plug an X10 transmitter into the same outlet that the CM11a is plugged into, send some commands from the transmitter and look at the log. If this does not work please post this section of your log file along with a list of the commands that you sent so I can see what's happening.

            Uncheck 'Enable Debug' on the plugin config page and the plugin will not report the detailed debug info.
            Best regards,
            -Mark-

            If you're not out on the edge, you're taking up too much room!
            Interested in 3D maps? Check out my company site: Solid Terrain Modeling

            Comment


              #7
              V572 RF Whole House Transceiver from WGL & associates
              Great device, great range. 6' coax to the antenna

              Plugged into an XTB-523 kit from JV Digital Engineering to put it on the power line

              The combination of the two has been in an electrical waterproof box outdoor in the middle of my property and rock-solid for over five years.

              My wall switch is not wireless but connects to the power line and can control 8 different units, can't remember the item number and not on the surface.

              Comment


                #8
                I know I had an MC460 somewhere but I can't find it so I ordered one on eBay. Delivered on or before Saturday. Everything I have is either wireless CR12As or cellphone or computer. I should have a simple wired controller for testing. I'll follow your instructions as soon as it comes in.
                Thanks!

                Comment


                  #9
                  Here have an old wired BSR controller that I use for testing. Works fine.

                  I am currently using the Volp T523 dual phased emulator with no issues. Might be that you have noise on your powerline.

                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
                  HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
                  6.10.0.104
                  HS4 Lite -

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                  Comment


                    #10
                    PHC01 Mini Controller just came in and I get the same info in the log:
                    12/3/2020 7:53:16 PM Legacy-Plugin X10 DEBUG CM11A Upload Data: 2 Time: 71596.9761901
                    12/3/2020 7:53:16 PM Legacy-Plugin X10 DEBUG CM11A Upload byte count: 3
                    Mini controller and CM11a both in the same power strip.


                    I think I'm missing some settings somewhere.
                    If I go to "Plugins" / "X10" / "X10Config, this is what I see

                    Home
                    X10 Settings
                    Current Protocol: CM11A CompatibleTI103/213
                    CM11A Setup
                    No Parameters To Set.

                    Where would I find the checkbox - Enable debug?




                    Comment


                      #11
                      I sent E 1 On

                      Comment


                        #12
                        Download and install newest CM11A plugin.

                        You will see this in the configuration. Note this is for Linux. The Windows configuration should show a com port.

                        The X10 file is the same for Windows or Linux or HS4 or HS3.

                        X10 & CM15a Plugins under HS4

                        Mark volunteered to create and update the original X10 Homeseer plugin. It has worked fine here since the get go. Thank you Mark.

                        I noticed that you posted your issues on Cocoontech. There most of the X10 users were from the old OmniPro 2 days. The original Omni panels only spoke X10 at the time and there was were you had many X10 folks. Many have moved away from X10 but continue to utilize the legacy Omni Panel with UPB, ZWave, RadioRA or Zigbee.



                        Click image for larger version  Name:	image_96081.jpg Views:	5 Size:	41.6 KB ID:	1438208 If the CM11A configuration is not correct you will see this when enabling the plugin.

                        **FATAL**: Unable to communicate with CM11A, no response to status request

                        Via a direct RS-232 or a USB==> RS232 cable.

                        Sending out an E1 command from your X10 test device you will see this in the logs:

                        Dec-04 7:09:52 AM X10 DEBUG CM11A.GetUpload(): Upload byte count: 2
                        Dec-04 7:09:52 AM X10 DEBUG CM11A.GetUpload(): Upload Data: 0x0 Time: 25792.983
                        Dec-04 7:09:52 AM X10 DEBUG CM11A.GetUpload(): Upload Data: 0x16 Time: 25792.994
                        Dec-04 7:09:53 AM X10 DEBUG CM11A.GetUpload(): Upload byte count: 2
                        Dec-04 7:09:53 AM X10 DEBUG CM11A.GetUpload(): Upload Data: 0x1 Time: 25793.623
                        Dec-04 7:09:53 AM X10 DEBUG CM11A.GetUpload(): Upload Data: 0x12 Time: 25793.634
                        Dec-04 7:09:53 AM X10 DEBUG X10 data received for a device not in HS: E1 UOn
                        Where would I find the checkbox - Enable debug?
                        Your debug is already on:

                        12/3/2020 7:53:16 PM Legacy-Plugin X10 DEBUG CM11A Upload Data: 2 Time: 71596.9761901

                        Looks to me like you might have a bad CM11A if it is configured correctly with the correct cable to Homeseer 3.
                        You would see an error anyhow if it was the wrong cable and HS plugin would not initialize.

                        There is no magic to the simple CM11A connection to Homeseer. It is a very simple 3 wire connection.
                        Some long time old Homeseer users used their legacy copper telephone wires for a CM11A connection.

                        I've made my connections here using old telephone cable. I do still have a few of the old CM11A cables with RS-232 ends on them.

                        One CM11A, Volp TW523 and UPB PIMs are all sitting next to the fuse panel with long telephone cables going to the server room or the OmniPro 2 / Leviton media can.

                        Click image for larger version  Name:	X102.jpg Views:	0 Size:	74.2 KB ID:	1438240
                        Click image for larger version  Name:	X103.jpg Views:	0 Size:	76.6 KB ID:	1438241

                        Curious what your Homeseer logs show on the CM11A when you send out the same E1 command via your Wireless keypad set up (WGL to TW-523 device).

                        Personally have never had a CM11A or TW523 or an Volp X10 hardware go bad on me.

                        Volp hardware is legacy X10 amplifier and TW-523 dual phased emulator.

                        Over the years have seen lightning cause issue to automation controllers.

                        Specifically with X10 controllers it's mostly been related to powerline noise. You would see powerline noise in the debug logs of the HS3-4 plugin.
                        - Pete

                        Auto mator
                        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
                        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
                        HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
                        6.10.0.104
                        HS4 Lite -

                        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                        Comment


                          #13
                          Thank Pete I'll try the update. The CM11a works fine from HS to turn things on and off and I tried a second one with the same results, just not receiving data. But looking at your diagram I'm wondering about my cable. The receive pin might not be connecting.

                          Comment


                            #14
                            NetTech What version of the plugin are you currently using? Here is what the config screen in HS4 looks like for the current v.50 plugin version (note that I don't have a CM11a attached to this PC at the moment so it shows that it cannot open the port):

                            X10 Plugin v.51 Config ScreenShot

                            Also, if there was a bad connection between your PC and the CM11a you would be getting all kinds of errors in your log since every interaction with the CM11a involves a bunch of back and forth, so I doubt this is the issue. I'm guessing you're using an older version of the plugin...
                            Best regards,
                            -Mark-

                            If you're not out on the edge, you're taking up too much room!
                            Interested in 3D maps? Check out my company site: Solid Terrain Modeling

                            Comment


                              #15
                              Pete Wow, excellent post! Will you be my tech support guy? 😉
                              Best regards,
                              -Mark-

                              If you're not out on the edge, you're taking up too much room!
                              Interested in 3D maps? Check out my company site: Solid Terrain Modeling

                              Comment

                              Working...
                              X