I think for this project it's going be be easiest to simply emulate an  
network connected device, I guess an LinkE is the ideal candidate ?

Has anyone done this in the past ?

Cheers

Stuart

On 26 Nov 2008, at 09:14, Stuart Poulton wrote:

> Ok, a few more details...
>
> The device I'm interested sends data to the serial port every 6  
> seconds,
> I've already got a perl script that puts this into a DB, but would be
> great to get it into OWFS.
>
> Currently it logs two parameters, temp and current.
>
> Any perl guru's able to point me in the right direction ? Or python  
> for
> that matter ;)
>
> Cheers
>
> Stuart
>
> On Wed, 2008-11-19 at 12:45 +0000, Stuart Poulton wrote:
>>
>> Hi Paul,
>>
>> Data arrives from a serial device every x seconds, I've got the  
>> perl to
>> do this already.
>>
>> We can of course within the perl allocate an unique ID. It's then  
>> simply
>> coding the perl to respond to the query from another owserver ?  
>> This is
>> the bit I'm not sure about.
>>
>> The other thought I had was to make it talk like one of the existing
>> netwrok connected masters ?
>>
>> Cheers
>>
>> Stuart
>>
>> On Wed, 2008-11-19 at 06:57 -0500, Paul Alfille wrote:
>>> Can you explain a little bit what you need?
>>>
>>> Are you trying to add a non-1-wire device into owfs? To really fit  
>>> in,
>>> it should have a unique ID that is roughly compatible with 1-wire.
>>> Probably the easiest would be to make a controller that looks like a
>>> small owserver, so any owfs program can talk to it. That could be
>>> written in perl if you like. It's an easy job, especially since the
>>> allowable queires are limited.
>>>
>>> Paul Alfille
>>>
>>>
>>>
>>> On Wed, Nov 19, 2008 at 5:42 AM, Stuart Poulton <[EMAIL PROTECTED]>
>>> wrote:
>>>        I'm pretty sure this has been covered in the past. But here
>>>        goes.
>>>
>>>        I'd like to be able to include data from a non owfs source in
>>>        owfs, can
>>>        this be done ? Perhaps by the creation of a new device
>>>        family ?
>>>
>>>        I'm currently reading data from the device using perl, it's
>>>        two simple
>>>        parameters of current and temperature.
>>>
>>>        Any thoughts and solutions great-fully received.
>>>
>>>        Thanks
>>>
>>>        Stuart
>>>
>>>
>>>         
>>> -------------------------------------------------------------------------
>>>        This SF.Net email is sponsored by the Moblin Your Move
>>>        Developer's challenge
>>>        Build the coolest Linux based applications with Moblin SDK &
>>>        win great prizes
>>>        Grand prize is a trip for two to an Open Source event  
>>> anywhere
>>>        in the world
>>>        http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>        _______________________________________________
>>>        Owfs-developers mailing list
>>>        [email protected]
>>>        https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win  
>>> great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in  
>>> the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________ Owfs-developers  
>>> mailing list [email protected] 
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to