Check if temperature waits 2 seconds, if true, read temperature from sensors after echo 1
Em terça-feira, 28 de outubro de 2014, Coudy <co...@chovan.net> escreveu: > Please, > can you be more specific ? > When I try echo "1" > /mnt/1wire/simultaneous/temperature, cat > /mnt/1wire/simultaneous/temperature return 0. > > Wiki is outdated http://owfs.org/index.php?page=temperature-measurements > > I have compiled from source with --enable-mt > ./configure --disable-owftpd --disable-owhttpd --enable-usb > --enable-debian --enable-owfs --enable-mt --prefix=/usr > > > > 2014-10-28 15:13 GMT+01:00 Roberto Spadim <robe...@spadim.com.br > <javascript:_e(%7B%7D,'cvml','robe...@spadim.com.br');>>: > >> http://sourceforge.net/p/owfs/mailman/message/19829236/ >> >> Em terça-feira, 28 de outubro de 2014, Roberto Spadim < >> robe...@spadim.com.br >> <javascript:_e(%7B%7D,'cvml','robe...@spadim.com.br');>> escreveu: >> >> There's a command to convert temperature of all sensors in the bus, >>> that's the simultaneous conversion >>> Check owfs file system there's a file just for this >>> Check ds1820 datasheet too , that's interesting when you need speed >>> >>> Em terça-feira, 28 de outubro de 2014, Coudy <co...@chovan.net> >>> escreveu: >>> >>>> Hi, what do you mean with "do a simultaneous conversion and read the >>>> values after the conversion is done on all sensors." ? >>>> Could you please add example ? >>>> I read data with cat /mountpoint/sensor/temperature. >>>> >>>> If temperature sensor is powered, then reading is faster compared to >>>> parasitic power ? >>>> >>>> >>>> 2014-10-28 11:40 GMT+01:00 Jan Kandziora <j...@gmx.de>: >>>> >>>>> Am 27.10.2014 um 18:08 schrieb Coudy: >>>>> > I have in Zabbix Timeout 15 seconds. I want to try restart server >>>>> every >>>>> > hour, then I'll post results >>>>> > >>>>> Sampling 19 temperature sensors one-by-one takes up to 19 seconds. This >>>>> is due to the lengthy A/D conversion process. >>>>> >>>>> Either increase the timeout, sample 9-bit or 10-bit only, or power the >>>>> sensors, then do a simultaneous conversion and read the values after >>>>> the >>>>> conversion is done on all sensors. The latter takes about 2 seconds for >>>>> 20 sensors in 12-Bit mode on a DS9097. >>>>> >>>>> Kind regards >>>>> >>>>> Jan >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> Owfs-developers mailing list >>>>> Owfs-developers@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >>>>> >>>> >>>> >>> >>> -- >>> Roberto Spadim >>> SPAEmpresarial >>> Eng. Automação e Controle >>> >>> >> >> -- >> Roberto Spadim >> SPAEmpresarial >> Eng. Automação e Controle >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Owfs-developers mailing list >> Owfs-developers@lists.sourceforge.net >> <javascript:_e(%7B%7D,'cvml','Owfs-developers@lists.sourceforge.net');> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> > -- Roberto Spadim SPAEmpresarial Eng. Automação e Controle
------------------------------------------------------------------------------
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers