Announcement

Collapse
No announcement yet.

Auto Day/Night change using the iBus

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

  • Auto Day/Night change using the iBus

    I was wondering... I'm looking for some sort of system to make my skin automaticly change from day to night when I turn the lights of the car on and vise-versa).

    I think it's possible using some sort of input/output board like a phidgets board.

    BUT: I already have an iBus controller so I guess it should be possible using this. If you can use the PC to control lights, doesn't the lights send some sort of message to the iBus also when they're on? If I could find that code I'm in business.

    Obviously this is a question directed to the iBus guru's.
    BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

    Bezel Worklog-My Install -iDrive F01 RR Skin

  • #3
    find the codes
    I know...
    BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

    Bezel Worklog-My Install -iDrive F01 RR Skin

    Comment


    • #4


      I've got it working!!!

      I'm not at home now but when I get I will post the code packages and try to make a video of things in action!

      Me so happy now!!
      BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

      Bezel Worklog-My Install -iDrive F01 RR Skin

      Comment


      • #6
        No, there I didn't have to change anything on the skin.

        Things I did:

        Changed the codes for "< press" and ">press" to the ones send by the lightswitch in Ibuscomm.ini. At first I was trying to add new lines but it won't accept them so I just edited lines I didn't use instead.

        Code:
        [ID:BUT_PREV_PRES]
        MsgTemplate="D005BF5CED00DB"
        Label="< Press"
        Parse=True
        ReplyMsgID=CD_RADSTARTPLAY_100
        KeyboardMap="{e}"
        
        [ID:BUT_NEXT_PRES]
        MsgTemplate="D005BF5CFF00C9"
        Label="> Press"
        Parse=True
        ReplyMsgID=CD_RADSTARTPLAY_100
        KeyboardMap="{r}"
        So these a re the codes for a 1996 E39 525tds Europe specs. "D005BF5CED00DB" and "D005BF5CFF00C9". I don't know if they're the same for other models.

        In the code you can see I've mapped them to "e" and "r" hotkey's. When using this keys you will have to add these lines to your KeyTBL.ini:

        Code:
        69, "NIGHTSKIN"
        82, "DAYSKIN"
        Of course you can also use other hotkey's by changing them in your Ibuscomm.ini and KeyTBL.ini

        For finding the codes I used a Program called Ibus Analyzer and this can be found here. I'ts easy to use, just make sure your Ibuscomm is not running when running this program since they both use the COM port of your iBus module.

        Now for the downsides of it all:

        1) This only works when you turn the lights off/on when your PC is has booted and iBuscomm is running. Since you usualy turn them on when you start your car and the PC has not yet booted, RR will stay in DaySkin.

        2) When you do it when watching video strange things happen. Video stays playing and in your audio browser now are your video files and winamp also plays your video files. This stays this way until you exit RR and restart it.

        Other than that it works perfect and always.

        Now one question. Would it be possible when in Audio for instance to go back to audio after the skin has changed from day to night? Add a comment so it will go to the skin you were in before changing day/night instead of going to the menu screen.

        Video of things in action:

        BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

        Bezel Worklog-My Install -iDrive F01 RR Skin

        Comment


        • #7
          BTW, have you tried Traffic Cams out yet?
          No I haven't. Don't see much use of it since there was only one camera available in Belgium I believe and I don't have internet in the car. I will give it a go on my desktop to see what it looks like however.
          BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

          Bezel Worklog-My Install -iDrive F01 RR Skin

          Comment


          • #9
            Originally posted by Bimmerstyle View Post

            Now one question. Would it be possible when in Audio for instance to go back to audio after the skin has changed from day to night? Add a comment so it will go to the skin you were in before changing day/night instead of going to the menu screen..
            The current release goes automatically to audio on a skin switch, no matter what screen it was in when the skin switch took place.

            I added this as most of the time I will be in AUDIO.


            Just add AUDIO to onskinstart for the older version.


            Might look at adding a variable to that so htat it can stay in ther same screen or one of a users choosing. Hmmm?

            Comment


            • #10
              The current release goes automatically to audio on a skin switch, no matter what screen it was in when the skin switch took place.
              Oh yeah. Noticed it on my desktop. (Yeah, I know... Should upgrade the one in the car )
              BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

              Bezel Worklog-My Install -iDrive F01 RR Skin

              Comment


              • #11
                Very very nice ... i've been looking for this solution forever! Will be trying this out on my E46

                Comment


                • #12
                  BTW, have you tried Traffic Cams out yet?
                  Have them running on my desktop now. Pretty cool

                  To bad I don't have internet in the car yet. I didn't find it really nessecary but this would be a good reason to have it.

                  But now I can still look at them before leaving home to see wat's going on.
                  BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

                  Bezel Worklog-My Install -iDrive F01 RR Skin

                  Comment


                  • #13
                    Very very nice ... i've been looking for this solution forever! Will be trying this out on my E46
                    If it doesn't work with these codes, chances are it doesn't, try running iBus Analyzer (link in post above).

                    -Temporarly change you screen to 1024x768 or it won't fit on the screen.
                    -Run the program.
                    -choose COM port of ibus controller.
                    -Flip your lights on and of to see if anything happens.
                    -Reset all fields.
                    -Turn lightswitch on.
                    -Press analyze
                    -I had 2 packages there, Copy one of them to iBuscomm (you need to delete the spaces)
                    -Map the hotkey's
                    -Do the same for light switch off
                    -That's all there is to it.

                    If you got it working with my codes please post it here so other people will know it works. If not please post your E46 codes for other people with an E46 to use them. Thanks!
                    BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

                    Bezel Worklog-My Install -iDrive F01 RR Skin

                    Comment


                    • #14
                      So i'm attempting this iBus thing on my E46. I'm not sure how to use the iBus Analyzer. I remember using a different one a few years back. I can't get this to work

                      Here's the code i'm using.

                      Code:
                      [ID:BUT_PREV_PRES]
                      MsgTemplate="D007BF5B0300000030"
                      Label="< Press"
                      Parse=True
                      ReplyMsgID=CD_RADSTARTPLAY_100
                      KeyboardMap="{e}"
                      
                      [ID:BUT_NEXT_PRES]
                      MsgTemplate="D007BF5B0000000033"
                      Label="> Press"
                      Parse=True
                      ReplyMsgID=CD_RADSTARTPLAY_100
                      KeyboardMap="{r}"
                      So these are the codes from a 2000 E46 US specs. "D007BF5B0300000030" and "D007BF5B0000000033". I don't know if its right or wrong, but it doesn't work. So i'm assuming its wrong. Help?

                      Comment


                      • #15
                        Did you make the changes in the "KeyTBL.ini" file to map the keys? If the codes are correct, it's the only problem I can think of.

                        I don't know if these are the right codes since I don't have an E46 to test them. They seem pretty long to me. Mine were a lot shorter.

                        Did you use the analyzer for these. If so: did you press analyze and copied the ones in the screen on the right, not the left?
                        BMW 525tds -Biostar I94GM-I4 -Celeron M44O 1,86GHz, M2-ATX, 1Gb, 320GB -HQCT RDS tuner -Creative Extigy -iBus controller -Lilliput 7" touchscreen -DLS Ultimate A7 amplifier -Focal 130K, 130V, 27V2 speakers

                        Bezel Worklog-My Install -iDrive F01 RR Skin

                        Comment

                        Working...
                        X