It defines aliases for your sensors.  You create a file with entries like

10.A209A9010800    =    LoungeTemp
10.1C5BA9010800    =    KitchenTemp

Then when you look at the directory structure it uses LoungeTemp instead 
of 10.A209A9010800, so it is easier to read and a bit more user 
friendly.  You can just miss that out and it will use the id's

If you haven't defined aliases then <sensor object>.alias should just 
return an empty string.  For pages I think it depends on the device.




On 05/12/13 22:59, Top-Dog wrote:
> Mick Sulley wrote
>> owserver -p 4304 --nozero --i2c=/dev/i2c-0:ALL
>> owfs -s localhost:4304 -a  alias_file -m /var/1-wire/mnt --allow_other
> Hi Mick, what does the '-a alias_file' bit do? I get: DEFAULT:
> ow_alias.c:(34) [No such file or directory] Cannot process alias file
> alias_file when I try and run the second command (I adjusted -m to point my
> desired mount point).
>
> I don't know if this is related or not, but in python if I try and run
> <sensor object>.alias or<sensor object>.pages I get errors. The other
> attributes like<sensor object>.type all seem to work fine.
>
>
>
>
>
> --
> View this message in context: 
> http://owfs-developers.1086194.n5.nabble.com/Diagnosing-disappearing-devices-adapters-tp10045p10055.html
> Sent from the OWFS Developers mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to