|
 |
|
09-15-2007, 07:26 PM
|
#1
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
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
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
09-15-2007, 07:31 PM
|
#2
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,929
|
Yeah, find the codes and it shouldn't be too difficult to add.
|
|
|
09-15-2007, 08:02 PM
|
#3
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
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
|
|
|
09-16-2007, 07:44 PM
|
#4
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
 
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
|
|
|
09-16-2007, 08:48 PM
|
#5
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,929
|
Cool, anything that needs to be adjusted/added to the skin?
BTW, have you tried Traffic Cams out yet?
|
|
|
09-17-2007, 12:29 PM
|
#6
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
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
Last edited by Bimmerstyle; 10-15-2007 at 02:54 PM.
|
|
|
09-17-2007, 12:32 PM
|
#7
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
Quote:
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
Last edited by Bimmerstyle; 09-17-2007 at 12:37 PM.
|
|
|
09-17-2007, 01:01 PM
|
#8
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,929
|
one?
there are about 40.
I had to work harder on those ones and had to even add a bit of extra code. :humph:
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
09-17-2007, 01:05 PM
|
#9
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 11,929
|
Quote: Originally Posted by Bimmerstyle 
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?
|
|
|
09-17-2007, 01:16 PM
|
#10
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
Quote:
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
|
|
|
09-17-2007, 01:18 PM
|
#11
|
|
Newbie
Join Date: Jun 2007
Posts: 30
|
Very very nice ... i've been looking for this solution forever! Will be trying this out on my E46
|
|
|
09-17-2007, 01:38 PM
|
#12
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
Quote:
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
|
|
|
09-17-2007, 01:56 PM
|
#13
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
Quote:
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
|
|
|
09-28-2007, 06:31 PM
|
#14
|
|
Newbie
Join Date: Jun 2007
Posts: 30
|
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?
|
|
|
10-02-2007, 12:48 PM
|
#15
|
|
Variable Bitrate
Join Date: Sep 2006
Location: Belgium
Posts: 264
|
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
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:38 PM.
| |