Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

q-sonic (x10) stops working from time to time

If you have a question or need help, this is the place to be.
Post Reply
m00k00
Posts: 13
Joined: Fri Feb 24, 2006 7:18 pm

q-sonic (x10) stops working from time to time

Post by m00k00 »

Hey there, it's me again :lol:

Now i have a little strange problem: Sometimes the remote control simply stops working. If i use Reload in EGs debug mode, everything is working fine again. i checked the usb hub and decided to not use it anymore but plug the receiver directly to the machine. anyways, nothing helped so far. the remote control is a q-sonic i'm using it with x10 remote plugin. Anyways there are no error messages or anything in the event log.

thanks again
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

I have no clue. Some user reported a similiar problem, but it was gone after he removed his hub. Myself I have never encountered such problem and I use an X10-Remote daily.
m00k00
Posts: 13
Joined: Fri Feb 24, 2006 7:18 pm

Post by m00k00 »

thanks for your reply, again. Could you give me the version of your x10 usb wireless transceiver driver?
Mine is V2.36. Anyways, since i removed the extension cable between the pc and the transceiver the problem didn't show up again. Bitmonster: Could you be so friendly to point me directly to the line in source, where EG receives the event of the x10 ? I want to do some debugging, but i'm not sure, if i have the correct line by now :D
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

This is the callback the driver will call on every event in plugins/X10/__init__.py:

Code: Select all

    def OnX10Command(self, bszCommand, eCommand, lAddress, EKeyState, 
                           lSequence, eCommandType, varTimestamp):
        if not self.plugin.isEnabled:
            return
...
so you can change it to:

Code: Select all

    def OnX10Command(self, bszCommand, eCommand, lAddress, EKeyState, 
                           lSequence, eCommandType, varTimestamp):
        print bszCommand, eCommand, lAddress, EKeyState, lSequence, eCommandType, varTimestamp
        if not self.plugin.isEnabled:
            return
...
and it will show all information associated with every event.
m00k00
Posts: 13
Joined: Fri Feb 24, 2006 7:18 pm

Post by m00k00 »

thanks, i will report back concerning this issue, as soon as it shows up again!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

I forgot to mention, that my X10 driver is also V2.36.
Post Reply