Announcement

Collapse
No announcement yet.

Kinect and XBMC

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

    Kinect and XBMC

    I've placed a test kinect down in the living room, running a remote copy of the plug in, and it's connected to my MediaPC.

    I have a couple of events set up (Lights On and Lights Off), which work fine. I can turn the lights off and on to my hearts content.

    If I start up XBMC (Frodo 12.2) on the same machine, then the events never fire off.

    If I then close down XBMC, the events never fire off. I need to exit and restart the plug in order to get the events to work, and they work great. Of course, as soon as I start XBMC again, they stop working.

    I had this issue on v23 of the plug-in. I upgraded last night to v28, with the same issue. I see you've just posted v29 tonight - I've upgraded and I'm having the same issue. I also notice that the plugin says that the Zone I set up for occupancy shows as empty when XBMC is running, and 1 person beforehand.

    Also, not sure if it's related, but I am seeing this in the logs

    Code:
    Attempt by plugin to register a duplicate link of kinectconfig. Plugin: Kinect Instance: LivingRoom
    There is only one instace of HSPI_KINECT running.


    Any suggestions?


    G

    #2
    if you set the log level to Trace, do you see anything in the console when you try to speak a command, or does the plugin seem is stuck?

    could you post your Kinect_LivingRoom.ini and the logs after a restart of the plugin

    thanks

    Comment


      #3
      Getting back to playing with this again - now on V30 of the plugin

      > do you see anything in the console when you try to speak a command, or does the plugin seem is stuck?

      It just seems dead in the water.


      From the log

      Apr-25 18:03:14 INFO Kinect version 3.0.0.30
      Apr-25 18:03:14 DEBUG USB\VID_0409&PID_005A\5&21E739F&0&2 status=Connected
      Apr-25 18:03:14 DEBUG Voice Recognition Initialized
      Apr-25 18:03:14 DEBUG CreateZoneDevice: Start Enumerating Devices
      Apr-25 18:03:14 DEBUG CreateZoneDevice: End Enumerating Devices
      Apr-25 18:03:14 DEBUG Drawing Zones File
      Apr-25 18:03:14 DEBUG Deleting image file Kinect/zones_MEDIACENTER1/zones0.jpg
      Apr-25 18:03:14 DEBUG Writing image file Kinect/zones_MEDIACENTER1/zones1.jpg
      Apr-25 18:03:14 DEBUG Visual Recognition Initialized
      Apr-25 18:03:14 DEBUG Web Pages Registered
      Apr-25 18:03:15 INFO Kinect initialized
      Apr-25 18:03:15 DEBUG End Init
      Apr-25 18:03:15 DEBUG Building Grammars
      Apr-25 18:03:15 DEBUG Rule:Lights Off
      Apr-25 18:03:15 DEBUG Rule:Heat On
      Apr-25 18:03:15 DEBUG Rule:Lights On
      Apr-25 18:03:15 DEBUG Rule:My name is *
      Apr-25 18:03:16 DEBUG Rule:Pause
      Apr-25 18:03:16 DEBUG Rule:Heat Off
      Apr-25 18:03:16 DEBUG Rule:Play
      Apr-25 18:03:16 DEBUG Speech Recognition Started
      Apr-25 18:03:21 TRACE Speech Detected:
      Apr-25 18:03:21 TRACE Phrase hypothesized = Kinect, Confidence=0.04306501
      Apr-25 18:03:22 TRACE Phrase hypothesized = Kinect My, Confidence=0.6596673
      Apr-25 18:03:22 TRACE Phrase hypothesized = Kinect Lights, Confidence=0.9179094
      Apr-25 18:03:22 TRACE Phrase hypothesized = Kinect Lights On, Confidence=0.820667
      Apr-25 18:03:23 TRACE Phrase hypothesized = Kinect Lights On, Confidence=0.8834271
      Apr-25 18:03:23 DEBUG Phrase recognized with confidence=0.9923596
      Apr-25 18:03:23 DEBUG Kinect Lights On



      And the INI file

      [ZONES]
      1###name=Zone 1
      1###type=Rectangular
      1###x1=-3
      1###x2=3
      1###z1=1
      1###z2=4
      [CAMERA]
      netcam_enabled=False
      [VOICE_RECOGNITION]
      echo_cancellation=True
      [GENERAL]
      log_level=Debug
      log_to_file_enabled=True
      voice_recognition_enabled=True
      file_log_level=Debug

      Comment


        #4
        could you try to test with the echo cancellation feature turned off, I'm worried that this feature can cause some problems...

        Comment

        Working...
        X