Am 24.01.2018 um 18:02 schrieb Ben Oliver:
> Apologies in advance if this is in the manpages somewhere but I can't
> find it.
> 
> I have a load of DS1921 loggers I am looking to provision as efficiently
> as possible (I have 100+ and they all need to run with the same
> settings). I thought using OWFS and a bash script might be a quick way
> to loop through them.
> 
> However, I am unclear on what all the options are/mean - especially in
> 'mission'.
> 
> Is there anywhere I should be looking for more information?
> 
Aside from the manpage DS1921, only the sources in
module/owlib/src/c/ow_1921.c. Be aware this is unchartered territory and
not well tested.


> I'm curious about the following:
> 
> mission/date
>
The date when the current mission was started.


> mission/easystart - what does it do?
>
The idea is to write *anything* to mission/easystart, then the following
happens:

* all memory is cleared
* clock is stopped
* no rollover, no delay, temp alarms on is setup
* pending alarms are cleared
* a new mission is started


> mission/frequency - what units?
>
Minutes between samples. Writing a positive value starts a new mission,
writing a negative value stops the current mission.


> mission/clear - what does it do?
> 
* all memory is cleared


> mission/enable - what is the difference between this and 'running'
>
This is controlling the EM bit in the control register directly.


> mission/running - see above
> 
Writing 0/1 starts/stops a mission, reading returns the MIP bit in the
status register.


> Also, is there a built in way to pull the date and temperature data in
> one file that I am missing?
> 
No, you have to concatenate the memory pages yourself.


Kind regards

        Jan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to