Brad, I don't have that board or know anything about it.  But based on what you sent, it is most certainly hexadecimal.  If I had to guess, I would say that the write_reg_2408 function is not expecting a string, but rather a number.  Below is a gist I made, gonna try out this github thing.  What happens when you replace your write_iButton_io subroutine with this?  You should be able to send A-F characters.

https://gist.github.com/krkeegan/8545149


On Tue, Jan 21, 2014 at 8:34 AM, Brad Yarotsky <brad@happyhammer.com> wrote:
Can anyone assist me with this please...

Thanks again
Brad

----- Original Message -----
From: "Brad Yarotsky" <brad@happyhammer.com>
To: "misterhouse users" <misterhouse-users@lists.sourceforge.net>
Sent: Tuesday, January 14, 2014 12:13 PM
Subject: Re: [mh] Working with DS2408


> So I have tested the DS2408 board on the MH 3.0 with the same result. I am
> able to switch relays using numeric inputs but not alpha. Is there anyone
> that would be able to test this board on a Windows install and see if they
> get the same result. I can supply the test code that I am using. I am able
> to control the board correctly using the OneWireViewer.
>
> Thanks
> Brad
>
> ----- Original Message -----
> From: "Brad Yarotsky" <brad@happyhammer.com>
> To: <jeffhuettner@gmail.com>; "misterhouse users"
> <misterhouse-users@lists.sourceforge.net>
> Sent: Friday, December 27, 2013 1:07 AM
> Subject: Re: [mh] Working with DS2408
>
>
>> Thanks Dan and Jeff for your quick responses...
>>
>> It would make sense that these are hex values, but so far I am only able
>> to
>> get numbers to work. It just ignores any letters that I put in.
>>
>> I am still using 2.105 on that computer, I don't imagine that the support
>> has change for this device since then. Could try updating and see if that
>> changes anything.
>>
>> Any other suggestions would be greatly appreciated.
>>
>> Thanks
>> Brad
>>
>> ----- Original Message -----
>> From: <jeffhuettner@gmail.com>
>> To: "Brad Yarotsky" <brad@happyhammer.com>
>> Sent: Thursday, December 26, 2013 4:44 PM
>> Subject: Re: [mh] Working with DS2408
>>
>>
>>>
>>> Hi Brad - tried to reply to the list, but I seem to be having some
>>> difficulty.  In hopes of helping save you some time, here was my reply:
>>>
>>> The single character is likely a hex value, which when converted to
>>> binary
>>> allows for 4 relays controlled with a single character:
>>>
>>> 0x0 = 0 0 0 0
>>> 0x1 = 0 0 0 1
>>> 0x2 = 0 0 1 0
>>> 0x3 = 0 0 1 1
>>> 0x4 = 0 1 0 0
>>> 0x5 = 0 1 0 1
>>> 0x6 = 0 1 1 0
>>> 0x7 = 0 1 1 1
>>> 0x8 = 1 0 0 0
>>> 0x9 = 1 0 0 1
>>> 0xa = 1 0 1 0
>>> 0xb = 1 0 1 1
>>> 0xc = 1 1 0 0
>>> 0xd = 1 1 0 1
>>> 0xe = 1 1 1 0
>>> 0xf = 1 1 1 1
>>>
>>> So, 2 characters where each is 0..9,a..f allows for control of 4 relays
>>> each.
>>>
>>> Hope this helps!
>>>
>>> Regards and Happy Holidays,
>>> Jeff
>>>
>>> On 12/26/2013 2:22 PM, Brad Yarotsky wrote:
>>>> I am attempting to control a DS2408 (8 channel relay board) from a MH
>>>> on
>>>> a
>>>> Windows box. I am able to write to the card with exception of a couple
>>>> combination of relays. I don't think this is an ibutton problem as much
>>>> as a
>>>> user problem. I just don't have enough experience.
>>>>
>>>> So far this is what I have:
>>>>
>>>> sub write_iButton_io {
>>>>     my $io_state = $Save{Preset_Relay_Setting}; #From TK input the
>>>> correct
>>>> arrangement of relays XX.
>>>>     my $io_device = write_reg_2408 $ib_io1 $io_state;
>>>>     print_log "Write Reg is $io_device, state is $io_state\n";
>>>> }
>>>>
>>>> 1 = relay 1 only
>>>> 2 = relay 2 only
>>>> 3 = 1 and 2
>>>> 4 = 3
>>>> 5 = 1,3
>>>> 6 = 2,3
>>>> 7 = 1,2,3
>>>> 8 = 4
>>>> 9 = 1,4
>>>>
>>>> Can't firgure out:
>>>> 2,4 = should be 10 (as far as I can figure), but can't use two
>>>> characters
>>>> 3,4
>>>> 2,3,4
>>>> 1,2,4
>>>> 1,3,4 = if I use a negative sign the first group will do this, but
>>>> can't
>>>> make the second group do this
>>>> 1,2,3,4
>>>>
>>>> If I put two numbers, like: 22 the the second and fifth relays turn on.
>>>> The
>>>> second number controls the second group of four relays and first number
>>>> controls the first group.
>>>>
>>>> Any help would be greatly appreciated.
>>>>
>>>> Thanks
>>>> Brad
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Rapidly troubleshoot problems before they affect your business. Most IT
>>>> organizations don't have a clear picture of how application performance
>>>> affects their revenue. With AppDynamics, you get 100% visibility into
>>>> your
>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>>>> AppDynamics
>>>> Pro!
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>>>> ________________________________________________________
>>>> To unsubscribe from this list, go to:
>>>> http://sourceforge.net/mail/?group_id=1365
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into
>> your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> ________________________________________________________
>> To unsubscribe from this list, go to:
>> http://sourceforge.net/mail/?group_id=1365
>>
>>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> ________________________________________________________
> To unsubscribe from this list, go to:
> http://sourceforge.net/mail/?group_id=1365
>
>


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
________________________________________________________
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365