Hi all.
I have been working on a Pluto problem for the past weeks and I pretty much narrowed it out, but
I now need you guys to help solve it.
-=HARDWARE USED=-
CM11A (x10) (on ttyS0)
RR501 (x10) (later replaced by TM751)
LM456 (x10 light module)
MS16A (x10 motion sensor)
UR19A (x10 remote control)
Up-to-date Core/Hybrid Pluto
-=PROBLEM DESCRIPTION=-
When any of the RF devices sends a signal (MS16A or UR19A) to my RF receiver (RR301 or TM751 / never used at the same time BTW),
every other X10 controls stops working.
Eg:
From pluto I made a lighting scenario controling A2 on the LM456 and A9 on my RR501. Works great.
Then I put the batteries in the MS16A motion sensor A1 (or UR19A remotre control, dosent matter) and everything
stops working. To make it work again, I have to Unplug/Replug the CM11A module, and then it will work until
the next RF signal is tranmitted.
-=LOG MESSAGES=-
I found something interresting in the logs. Take a look:
(56_CM11A.newlog)
---LIGHT CONTROL 'BEFORE' RF (MS16A) IS TURNED ON-- SENDING OFF SIGNAL TO BOTH A2 AND A9
10 02/25/06 13:04:33.843 Child device 57 has channel A2.
10 02/25/06 13:04:33.845 Child device 58 has channel A9.
10 02/25/06 13:04:33.900 Sending address with HouseCode=6, DeviceCode=14.
10 02/25/06 13:04:33.900 Sending packet with HighByte=4, LowByte=6e.
10 02/25/06 13:04:33.900 Sending header with Checksum: 72.
10 02/25/06 13:04:33.924 Got response: 72 from CM11A.
10 02/25/06 13:04:33.924 Sending ACK.
10 02/25/06 13:04:34.364 Got response: 55 from CM11A.
10 02/25/06 13:04:34.364 Address sent successfully.
10 02/25/06 13:04:34.364 Sending function with Code: 3.
10 02/25/06 13:04:34.364 Sending packet with HighByte=6, LowByte=63.
10 02/25/06 13:04:34.364 Sending header with Checksum: 69.
10 02/25/06 13:04:34.380 Got response: 69 from CM11A.
10 02/25/06 13:04:34.380 Sending ACK.
10 02/25/06 13:04:34.824 Got response: 55 from CM11A.
10 02/25/06 13:04:34.824 Function sent successfully.
10 02/25/06 13:04:34.824 Sending address with HouseCode=6, DeviceCode=7.
10 02/25/06 13:04:34.824 Sending packet with HighByte=4, LowByte=67.
10 02/25/06 13:04:34.824 Sending header with Checksum: 6b.
10 02/25/06 13:04:34.848 Got response: 6b from CM11A.
10 02/25/06 13:04:34.848 Sending ACK.
10 02/25/06 13:04:35.288 Got response: 55 from CM11A.
10 02/25/06 13:04:35.288 Address sent successfully.
10 02/25/06 13:04:35.288 Sending function with Code: 3.
10 02/25/06 13:04:35.288 Sending packet with HighByte=6, LowByte=63.
10 02/25/06 13:04:35.288 Sending header with Checksum: 69.
10 02/25/06 13:04:35.308 Got response: 69 from CM11A.
10 02/25/06 13:04:35.308 Sending ACK.
10 02/25/06 13:04:35.748 Got response: 55 from CM11A.
10 02/25/06 13:04:35.748 Function sent successfully.
Works fine
---LIGHT CONTROL 'AFTER' RF (MS16A) IS TURNED ON-- SENDING OFF SIGNAL TO BOTH A2 AND A9
10 02/25/06 13:06:02.877 Child device 57 has channel A2. <--- LM456
10 02/25/06 13:06:02.879 Child device 58 has channel A9. <--- RR501
10 02/25/06 13:06:02.955 Sending address with HouseCode=6, DeviceCode=14.
10 02/25/06 13:06:02.955 Sending packet with HighByte=4, LowByte=6e.
10 02/25/06 13:06:02.955 Sending header with Checksum: 72.
10 02/25/06 13:06:04.079 Got response: 5a from CM11A.
01 02/25/06 13:06:04.079 Bad checksum received (send:72, recieved:5a). <------- BUG
10 02/25/06 13:06:04.179 Sending address with HouseCode=6, DeviceCode=14.
10 02/25/06 13:06:04.179 Sending packet with HighByte=4, LowByte=6e.
10 02/25/06 13:06:04.179 Sending header with Checksum: 72.
10 02/25/06 13:06:05.919 Got response: 5a from CM11A.
01 02/25/06 13:06:05.919 Bad checksum received (send:72, recieved:5a). <------- BUG
10 02/25/06 13:06:06.019 Sending address with HouseCode=6, DeviceCode=14.
10 02/25/06 13:06:06.019 Sending packet with HighByte=4, LowByte=6e.
10 02/25/06 13:06:06.019 Sending header with Checksum: 72.
10 02/25/06 13:06:07.763 Got response: 5a from CM11A.
01 02/25/06 13:06:07.763 Bad checksum received (send:72, recieved:5a). <------- BUG
10 02/25/06 13:06:07.863 Sending address with HouseCode=6, DeviceCode=14.
10 02/25/06 13:06:07.863 Sending packet with HighByte=4, LowByte=6e.
10 02/25/06 13:06:07.863 Sending header with Checksum: 72.
10 02/25/06 13:06:09.603 Got response: 5a from CM11A.
01 02/25/06 13:06:09.603 Bad checksum received (send:72, recieved:5a).
10 02/25/06 13:06:09.703 Sending address with HouseCode=6, DeviceCode=14.
10 02/25/06 13:06:09.703 Sending packet with HighByte=4, LowByte=6e.
10 02/25/06 13:06:09.703 Sending header with Checksum: 72.
10 02/25/06 13:06:11.447 Got response: 5a from CM11A.
01 02/25/06 13:06:11.448 Bad checksum received (send:72, recieved:5a).
01 02/25/06 13:06:11.547 Failed sending address.
10 02/25/06 13:06:11.548 Sending address with HouseCode=6, DeviceCode=7.
10 02/25/06 13:06:11.548 Sending packet with HighByte=4, LowByte=67.
10 02/25/06 13:06:11.548 Sending header with Checksum: 6b.
10 02/25/06 13:06:13.287 Got response: 5a from CM11A.
01 02/25/06 13:06:13.287 Bad checksum received (send:6b, recieved:5a).
10 02/25/06 13:06:13.387 Sending address with HouseCode=6, DeviceCode=7.
10 02/25/06 13:06:13.387 Sending packet with HighByte=4, LowByte=67.
10 02/25/06 13:06:13.387 Sending header with Checksum: 6b.
10 02/25/06 13:06:15.131 Got response: 5a from CM11A.
01 02/25/06 13:06:15.132 Bad checksum received (send:6b, recieved:5a).
10 02/25/06 13:06:15.231 Sending address with HouseCode=6, DeviceCode=7.
10 02/25/06 13:06:15.231 Sending packet with HighByte=4, LowByte=67.
10 02/25/06 13:06:15.232 Sending header with Checksum: 6b.
10 02/25/06 13:06:16.972 Got response: 5a from CM11A.
01 02/25/06 13:06:16.972 Bad checksum received (send:6b, recieved:5a).
10 02/25/06 13:06:17.071 Sending address with HouseCode=6, DeviceCode=7.
10 02/25/06 13:06:17.072 Sending packet with HighByte=4, LowByte=67.
10 02/25/06 13:06:17.072 Sending header with Checksum: 6b.
10 02/25/06 13:06:18.816 Got response: 5a from CM11A.
01 02/25/06 13:06:18.816 Bad checksum received (send:6b, recieved:5a).
10 02/25/06 13:06:18.916 Sending address with HouseCode=6, DeviceCode=7.
10 02/25/06 13:06:18.916 Sending packet with HighByte=4, LowByte=67.
10 02/25/06 13:06:18.916 Sending header with Checksum: 6b.
10 02/25/06 13:06:20.656 Got response: 5a from CM11A.
01 02/25/06 13:06:20.656 Bad checksum received (send:6b, recieved:5a).
01 02/25/06 13:06:20.756 Failed sending address. <------- BUG
-=TESTS DONE=-
After all the tests I made, It seems to be a small glitch in the Pluto code. Let me explain why and what I did:
-HARDWARE VALIDATION
Replaced the RR501 Tranceiver by a TM751 = Didn't help.
Tried from Motion sensor (MS16A) and Remote (UR19A) = Didn't help
Used 3 diffent AC outlets = Didn't help.
Moved Tranceiver's antena in countless ways = Didn't help
I installed PLUTO on a different Computer (diffent tty port) = Didn't help.
-SOFTWARE VALIDATION
I re-installed PLUTO 4 times (2xCORE, 2xHybrid) = Didn't help.
I installed my CM11A on the MD instead of Core = Didn't help.
I installed a third party software (autoM8bit) = Worked fine with all RF devices
I installed a third party software (homeseer) = Worked fine with all RF devices
(these test also validate my hardware now.)
-=MAYBE THE PROBLEM IS...=-
What the problem seems to be, is that the RF devices seems to "shift, de-phase" the data information in Pluto's buffers.
The data seem to be maybe Shorter or Longuer (bit terms) that what Pluto is expecting when comming from RF devices (input).
What makes me think that: the Checksum errors in the logs, Bad checksum received (send:6b, recieved:5a)
is always the same. So it's not noise or anything. It seems to be a protocol bug.
Also the fact that other software work fine with my hardware and electrical network tells me its only a bad interpretetation from Pluto.
Once the CM11A received a RF signal, the rests of the sequences are all messed up for ever until I unplug and replug
the CM11A.
-=CONCLUSION=-
Sure hope you can help me with that.
I did everything I could to solve this myself (forums, e-mails, tests, troubleshooting docs...).
I love Pluto and I want to use it really bad. But this problem is stopping me from using it the way I need to.
Please help me.
Thx alot.
If you have any suggestions, or tests you want me to do, pls contact me.