You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(64) |
Sep
(106) |
Oct
(103) |
Nov
(85) |
Dec
(28) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(41) |
Feb
(87) |
Mar
(54) |
Apr
(23) |
May
(54) |
Jun
(86) |
Jul
(56) |
Aug
(35) |
Sep
(123) |
Oct
(98) |
Nov
(61) |
Dec
(83) |
2005 |
Jan
(192) |
Feb
(231) |
Mar
(114) |
Apr
(154) |
May
(45) |
Jun
(171) |
Jul
(123) |
Aug
(83) |
Sep
(95) |
Oct
(123) |
Nov
(56) |
Dec
(70) |
2006 |
Jan
(73) |
Feb
(84) |
Mar
(132) |
Apr
(186) |
May
(201) |
Jun
(121) |
Jul
(92) |
Aug
(108) |
Sep
(147) |
Oct
(156) |
Nov
(167) |
Dec
(279) |
2007 |
Jan
(159) |
Feb
(230) |
Mar
(61) |
Apr
(54) |
May
(89) |
Jun
(79) |
Jul
(57) |
Aug
(146) |
Sep
(123) |
Oct
(82) |
Nov
(56) |
Dec
(124) |
2008 |
Jan
(79) |
Feb
(64) |
Mar
(51) |
Apr
(119) |
May
(47) |
Jun
(37) |
Jul
(23) |
Aug
(44) |
Sep
(43) |
Oct
(53) |
Nov
(115) |
Dec
(93) |
2009 |
Jan
(85) |
Feb
(106) |
Mar
(56) |
Apr
(66) |
May
(114) |
Jun
(58) |
Jul
(120) |
Aug
(107) |
Sep
(17) |
Oct
(87) |
Nov
(36) |
Dec
(62) |
2010 |
Jan
(92) |
Feb
(121) |
Mar
(178) |
Apr
(115) |
May
(122) |
Jun
(33) |
Jul
(64) |
Aug
(168) |
Sep
(83) |
Oct
(67) |
Nov
(94) |
Dec
(98) |
2011 |
Jan
(240) |
Feb
(110) |
Mar
(183) |
Apr
(68) |
May
(47) |
Jun
(77) |
Jul
(72) |
Aug
(155) |
Sep
(93) |
Oct
(150) |
Nov
(110) |
Dec
(88) |
2012 |
Jan
(213) |
Feb
(148) |
Mar
(107) |
Apr
(105) |
May
(136) |
Jun
(94) |
Jul
(76) |
Aug
(29) |
Sep
(64) |
Oct
(60) |
Nov
(124) |
Dec
(71) |
2013 |
Jan
(79) |
Feb
(87) |
Mar
(87) |
Apr
(61) |
May
(100) |
Jun
(123) |
Jul
(106) |
Aug
(17) |
Sep
(44) |
Oct
(55) |
Nov
(40) |
Dec
(98) |
2014 |
Jan
(125) |
Feb
(160) |
Mar
(112) |
Apr
(61) |
May
(28) |
Jun
(50) |
Jul
(35) |
Aug
(49) |
Sep
(71) |
Oct
(115) |
Nov
(40) |
Dec
(48) |
2015 |
Jan
(51) |
Feb
(105) |
Mar
(58) |
Apr
(80) |
May
(69) |
Jun
(51) |
Jul
(24) |
Aug
(23) |
Sep
(62) |
Oct
(62) |
Nov
(201) |
Dec
(33) |
2016 |
Jan
(79) |
Feb
(83) |
Mar
(118) |
Apr
(40) |
May
(43) |
Jun
(113) |
Jul
(83) |
Aug
(54) |
Sep
(119) |
Oct
(79) |
Nov
(85) |
Dec
(60) |
2017 |
Jan
(65) |
Feb
(34) |
Mar
(25) |
Apr
(14) |
May
(10) |
Jun
|
Jul
(28) |
Aug
(49) |
Sep
(20) |
Oct
(4) |
Nov
(23) |
Dec
(28) |
2018 |
Jan
(14) |
Feb
|
Mar
(19) |
Apr
(8) |
May
|
Jun
|
Jul
(5) |
Aug
(15) |
Sep
(13) |
Oct
(17) |
Nov
(7) |
Dec
(3) |
2019 |
Jan
(2) |
Feb
(25) |
Mar
(16) |
Apr
(20) |
May
(34) |
Jun
(8) |
Jul
(26) |
Aug
(19) |
Sep
(17) |
Oct
(21) |
Nov
(3) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
(9) |
Apr
(4) |
May
(14) |
Jun
(7) |
Jul
|
Aug
(58) |
Sep
(4) |
Oct
(16) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2022 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(2) |
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Dennis P. <da...@be...> - 2020-08-26 19:15:24
|
I have rewritten my code to use pyownet but am now nearly back where I started. I have the following code: *owproxy.write('/3A.'+blower.id_+'/PIO.BYTE',onOff.to_bytes(1,byteorder=sys.byteorder)) *That statement gives me the following error: *pyownet.protocol.OwnetError: [Errno 22] legacy - Invalid transaction: '/3A.0BE14D000000/PIO.BYTE' *The error is meaningless to me. The path is not wrong so is it complaining about writing a single byte? Thanks again. **** On 8/24/2020 4:33 PM, Dennis Putnam wrote: > Thanks to everyone that replied. I was not aware of pyownet. I will > look into that and rewrite my code to use it. > > On 8/24/2020 11:47 AM, Martin Patzak wrote: >> For python I would highly recommend you use the library *pyownet *by >> Stefano Miccoli >> /https://github.com/miccoli/pyownet/ >> >> /using Fuse can lead to weird problems... (not saying that it is the >> reason in your specific case) >> >> or you can use the buil-in functions in owserver >> owread/owwrite/owdir instead. >> > -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Dennis P. <da...@be...> - 2020-08-24 20:53:30
|
Thanks to everyone that replied. I was not aware of pyownet. I will look into that and rewrite my code to use it. On 8/24/2020 11:47 AM, Martin Patzak wrote: > For python I would highly recommend you use the library *pyownet *by > Stefano Miccoli > /https://github.com/miccoli/pyownet/ > > /using Fuse can lead to weird problems... (not saying that it is the > reason in your specific case) > > or you can use the buil-in functions in owserver?? owread/owwrite/owdir > instead. > > On 24.08.20 15:57, Dennis Putnam wrote: >> I have the following python 3 code: >> >> *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** >> **with open(fn,'wb') as fh:** >> **???? fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) >> >> *This produces the error: >> >> *OSError: [Errno 22] Invalid argument >> >> *The value of onOff will be either 1 or 0. In this particular case >> the value is 1. The value of blower.id_ is 0BE14D000000. This is what >> that OWFS directory contains: >> >> *ls -l /mnt/1wire/3A.0BE14D000000* >> total 0 >> -r--r--r-- 1 root root?? 16 Aug 19 21:17 address >> -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias >> -r--r--r-- 1 root root???? 2 Aug 19 21:17 crc8 >> -r--r--r-- 1 root root???? 2 Aug 19 21:17 family >> -r--r--r-- 1 root root?? 12 Aug 19 21:17 id >> -r--r--r-- 1 root root?? 16 Aug 19 21:17 locator >> -rw-rw-rw- 1 root root???? 1 Aug 19 21:17 PIO.A >> -rw-rw-rw- 1 root root???? 3 Aug 19 21:17 PIO.ALL >> -rw-rw-rw- 1 root root???? 1 Aug 19 21:17 PIO.B >> -rw-rw-rw- 1 root root?? 12 Aug 19 21:17 PIO.BYTE >> -r--r--r-- 1 root root?? 16 Aug 19 21:17 r_address >> -r--r--r-- 1 root root?? 12 Aug 19 21:17 r_id >> -r--r--r-- 1 root root?? 16 Aug 19 21:17 r_locator >> -r--r--r-- 1 root root???? 1 Aug 19 21:17 sensed.A >> -r--r--r-- 1 root root???? 3 Aug 19 21:17 sensed.ALL >> -r--r--r-- 1 root root???? 1 Aug 19 21:17 sensed.B >> -r--r--r-- 1 root root?? 12 Aug 19 21:17 sensed.BYTE >> -r--r--r-- 1 root root?? 32 Aug 19 21:17 type >> >> I cannot see anything wrong with the code or permissions and the >> error is so generic I don't know to what it refers. Can someone spot >> what is invalid or help me debug this problem? TIA. >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |
From: Martin P. <Mar...@GM...> - 2020-08-24 19:01:09
|
> It is a little ironic that in the owfs suite of programs the module > called owfs it the only one you really should not use. yes, I second that. That was confusing to hear in the beginning. If felt so intuitive... Maybe it should not be part of the standard package at all? > With Python3 the value ina write MUST be a byte value, hence b'0' in > that line, Python2 didn't seem to care, that threw me for a while. Good point! 👍 On 24.08.20 20:48, Mick Sulley wrote: > > Yes I would second that. It is a little ironic that in the owfs > suite of programs the module called owfs it the only one you really > should not use. Basically hte best way is to run owserver which talks > to all the devices, and then your python code talks to owserver. > > I have been using pyownet since I dropped fuse, it really is very > good, documentation here https://pyownet.readthedocs.io/en/latest/ > > With python3 you need something like this - > > import pyownet > > DevAddress = 'enter your device address here' > owp = pyownet.protocol.proxy(persistent=True) > owp.write('/DevAddress/PIO.BYTE',b'0') > print('PIO.BYTE = ', owp.read('/uncached/DevAddress/PIO.BYTE') > print('sensed.BYTE = ', owp.read('/uncached/DevAddress/sensed.BYTE') > > With Python3 the value ina write MUST be a byte value, hence b'0' in > that line, Python2 didn't seem to care, that threw me for a while. > > Also from command line you can use the commands from ow-shell, so > owdir lists all devices, owread 28.A59F9D0B0000/latesttemp reads the > value from that device. > > Hope that helps. > > Mick > > > On 24/08/2020 16:47, Martin Patzak wrote: >> For python I would highly recommend you use the library *pyownet *by >> Stefano Miccoli >> /https://github.com/miccoli/pyownet/ >> >> /using Fuse can lead to weird problems... (not saying that it is the >> reason in your specific case) >> >> or you can use the buil-in functions in owserver >> owread/owwrite/owdir instead. >> >> On 24.08.20 15:57, Dennis Putnam wrote: >>> I have the following python 3 code: >>> >>> *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** >>> **with open(fn,'wb') as fh:** >>> ** fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) >>> >>> *This produces the error: >>> >>> *OSError: [Errno 22] Invalid argument >>> >>> *The value of onOff will be either 1 or 0. In this particular case >>> the value is 1. The value of blower.id_ is 0BE14D000000. This is >>> what that OWFS directory contains: >>> >>> *ls -l /mnt/1wire/3A.0BE14D000000* >>> total 0 >>> -r--r--r-- 1 root root 16 Aug 19 21:17 address >>> -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias >>> -r--r--r-- 1 root root 2 Aug 19 21:17 crc8 >>> -r--r--r-- 1 root root 2 Aug 19 21:17 family >>> -r--r--r-- 1 root root 12 Aug 19 21:17 id >>> -r--r--r-- 1 root root 16 Aug 19 21:17 locator >>> -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.A >>> -rw-rw-rw- 1 root root 3 Aug 19 21:17 PIO.ALL >>> -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.B >>> -rw-rw-rw- 1 root root 12 Aug 19 21:17 PIO.BYTE >>> -r--r--r-- 1 root root 16 Aug 19 21:17 r_address >>> -r--r--r-- 1 root root 12 Aug 19 21:17 r_id >>> -r--r--r-- 1 root root 16 Aug 19 21:17 r_locator >>> -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.A >>> -r--r--r-- 1 root root 3 Aug 19 21:17 sensed.ALL >>> -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.B >>> -r--r--r-- 1 root root 12 Aug 19 21:17 sensed.BYTE >>> -r--r--r-- 1 root root 32 Aug 19 21:17 type >>> >>> I cannot see anything wrong with the code or permissions and the >>> error is so generic I don't know to what it refers. Can someone spot >>> what is invalid or help me debug this problem? TIA. >>> >>> >>> _______________________________________________ >>> Owfs-developers mailing list >>> Owf...@li... >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Tomasz T. <to...@pi...> - 2020-08-24 18:51:40
|
On Mon, Aug 24, 2020 at 09:57:58AM -0400, Dennis Putnam wrote: > I have the following python 3 code: > > *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** > **with open(fn,'wb') as fh:** > ** fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) > > *This produces the error: > > *OSError: [Errno 22] Invalid argument > Could you use "strace -etrace=file ./youscript.py" to see what _exactly_ is being written? Or better yet, switch to ownet and do not use FUSE. -- Tomasz Torcz To co nierealne – tutaj jest normalne. to...@pi... Ziomale na życie mają tu patenty specjalne. |
From: Mick S. <mi...@su...> - 2020-08-24 18:48:23
|
Yes I would second that. It is a little ironic that in the owfs suite of programs the module called owfs it the only one you really should not use. Basically hte best way is to run owserver which talks to all the devices, and then your python code talks to owserver. I have been using pyownet since I dropped fuse, it really is very good, documentation here https://pyownet.readthedocs.io/en/latest/ With python3 you need something like this - import pyownet DevAddress = 'enter your device address here' owp = pyownet.protocol.proxy(persistent=True) owp.write('/DevAddress/PIO.BYTE',b'0') print('PIO.BYTE = ', owp.read('/uncached/DevAddress/PIO.BYTE') print('sensed.BYTE = ', owp.read('/uncached/DevAddress/sensed.BYTE') With Python3 the value ina write MUST be a byte value, hence b'0' in that line, Python2 didn't seem to care, that threw me for a while. Also from command line you can use the commands from ow-shell, so owdir lists all devices, owread 28.A59F9D0B0000/latesttemp reads the value from that device. Hope that helps. Mick On 24/08/2020 16:47, Martin Patzak wrote: > For python I would highly recommend you use the library *pyownet *by > Stefano Miccoli > /https://github.com/miccoli/pyownet/ > > /using Fuse can lead to weird problems... (not saying that it is the > reason in your specific case) > > or you can use the buil-in functions in owserver owread/owwrite/owdir > instead. > > On 24.08.20 15:57, Dennis Putnam wrote: >> I have the following python 3 code: >> >> *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** >> **with open(fn,'wb') as fh:** >> ** fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) >> >> *This produces the error: >> >> *OSError: [Errno 22] Invalid argument >> >> *The value of onOff will be either 1 or 0. In this particular case >> the value is 1. The value of blower.id_ is 0BE14D000000. This is what >> that OWFS directory contains: >> >> *ls -l /mnt/1wire/3A.0BE14D000000* >> total 0 >> -r--r--r-- 1 root root 16 Aug 19 21:17 address >> -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias >> -r--r--r-- 1 root root 2 Aug 19 21:17 crc8 >> -r--r--r-- 1 root root 2 Aug 19 21:17 family >> -r--r--r-- 1 root root 12 Aug 19 21:17 id >> -r--r--r-- 1 root root 16 Aug 19 21:17 locator >> -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.A >> -rw-rw-rw- 1 root root 3 Aug 19 21:17 PIO.ALL >> -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.B >> -rw-rw-rw- 1 root root 12 Aug 19 21:17 PIO.BYTE >> -r--r--r-- 1 root root 16 Aug 19 21:17 r_address >> -r--r--r-- 1 root root 12 Aug 19 21:17 r_id >> -r--r--r-- 1 root root 16 Aug 19 21:17 r_locator >> -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.A >> -r--r--r-- 1 root root 3 Aug 19 21:17 sensed.ALL >> -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.B >> -r--r--r-- 1 root root 12 Aug 19 21:17 sensed.BYTE >> -r--r--r-- 1 root root 32 Aug 19 21:17 type >> >> I cannot see anything wrong with the code or permissions and the >> error is so generic I don't know to what it refers. Can someone spot >> what is invalid or help me debug this problem? TIA. >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Dennis P. <da...@be...> - 2020-08-24 18:15:00
|
Hi Laurent, I have not. I am a OWFS noob so I don't know what either of those are/do. I only read an article that indicated I should use BYTE. On 8/24/2020 12:34 PM, Laurent FAILLIE via Owfs-developers wrote: > Hi, > > I'm controlling several things using DS2406 or DS2408 thru OWFS/Fuse > (from C code but it's the same), and it's working pretty well for years. > I.e: > * Some explanations (in French) : Commande d'actionneurs par 1-wire > <http://destroyedlolo.info/IoT/Actionneurs/> > > > > > > Commande d'actionneurs par 1-wire > > Par DS2406 > > <http://destroyedlolo.info/IoT/Actionneurs/> > > > * my pool's pump, Commande d'une pompe de piscine par 1-Wire > <http://destroyedlolo.info/IoT/PompePiscine/> (in french too) > > > > > > Commande d'une pompe de piscine par 1-Wire > > DS2406 en sortie > > <http://destroyedlolo.info/IoT/PompePiscine/> > > > Did you tried with DS2406 ? > Or using PORT.A/B instead of BYTE ? > > - Laurent > > > > Le lundi 24 août 2020 à 17:47:53 UTC+2, Martin Patzak > <mar...@gm...> a écrit : > > > For python I would highly recommend you use the library *pyownet *by > Stefano Miccoli > /https://github.com/miccoli/pyownet/ > > /using Fuse can lead to weird problems... (not saying that it is the > reason in your specific case) > > or you can use the buil-in functions in owserver owread/owwrite/owdir > instead. > > On 24.08.20 15:57, Dennis Putnam wrote: > I have the following python 3 code: > > *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** > **with open(fn,'wb') as fh:** > ** fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) > > *This produces the error: > > *OSError: [Errno 22] Invalid argument > > *The value of onOff will be either 1 or 0. In this particular case the > value is 1. The value of blower.id_ is 0BE14D000000. This is what that > OWFS directory contains: > > *ls -l /mnt/1wire/3A.0BE14D000000* > total 0 > -r--r--r-- 1 root root 16 Aug 19 21:17 address > -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias > -r--r--r-- 1 root root 2 Aug 19 21:17 crc8 > -r--r--r-- 1 root root 2 Aug 19 21:17 family > -r--r--r-- 1 root root 12 Aug 19 21:17 id > -r--r--r-- 1 root root 16 Aug 19 21:17 locator > -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.A > -rw-rw-rw- 1 root root 3 Aug 19 21:17 PIO.ALL > -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.B > -rw-rw-rw- 1 root root 12 Aug 19 21:17 PIO.BYTE > -r--r--r-- 1 root root 16 Aug 19 21:17 r_address > -r--r--r-- 1 root root 12 Aug 19 21:17 r_id > -r--r--r-- 1 root root 16 Aug 19 21:17 r_locator > -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.A > -r--r--r-- 1 root root 3 Aug 19 21:17 sensed.ALL > -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.B > -r--r--r-- 1 root root 12 Aug 19 21:17 sensed.BYTE > -r--r--r-- 1 root root 32 Aug 19 21:17 type > > I cannot see anything wrong with the code or permissions and the error > is so generic I don't know to what it refers. Can someone spot what is > invalid or help me debug this problem? TIA. > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... <mailto:Owf...@li...> > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > <mailto:Owf...@li...> > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Laurent F. <l_f...@ya...> - 2020-08-24 16:34:24
|
Hi, I'm controlling several things using DS2406 or DS2408 thru OWFS/Fuse (from C code but it's the same), and it's working pretty well for years.I.e: * Some explanations (in French) : Commande d'actionneurs par 1-wire | | | | Commande d'actionneurs par 1-wire Par DS2406 | | | * my pool's pump, Commande d'une pompe de piscine par 1-Wire (in french too) | | | | Commande d'une pompe de piscine par 1-Wire DS2406 en sortie | | | Did you tried with DS2406 ?Or using PORT.A/B instead of BYTE ? - Laurent Le lundi 24 août 2020 à 17:47:53 UTC+2, Martin Patzak <mar...@gm...> a écrit : For python I would highly recommend you use the library pyownet by Stefano Miccoli https://github.com/miccoli/pyownet/ using Fuse can lead to weird problems... (not saying that it is the reason in your specific case) or you can use the buil-in functions in owserver owread/owwrite/owdir instead. On 24.08.20 15:57, Dennis Putnam wrote: I have the following python 3 code: fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE' with open(fn,'wb') as fh: fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) This produces the error: OSError: [Errno 22] Invalid argument The value of onOff will be either 1 or 0. In this particular case the value is 1. The value of blower.id_ is 0BE14D000000. This is what that OWFS directory contains: ls -l /mnt/1wire/3A.0BE14D000000 total 0 -r--r--r-- 1 root root 16 Aug 19 21:17 address -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias -r--r--r-- 1 root root 2 Aug 19 21:17 crc8 -r--r--r-- 1 root root 2 Aug 19 21:17 family -r--r--r-- 1 root root 12 Aug 19 21:17 id -r--r--r-- 1 root root 16 Aug 19 21:17 locator -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.A -rw-rw-rw- 1 root root 3 Aug 19 21:17 PIO.ALL -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.B -rw-rw-rw- 1 root root 12 Aug 19 21:17 PIO.BYTE -r--r--r-- 1 root root 16 Aug 19 21:17 r_address -r--r--r-- 1 root root 12 Aug 19 21:17 r_id -r--r--r-- 1 root root 16 Aug 19 21:17 r_locator -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.A -r--r--r-- 1 root root 3 Aug 19 21:17 sensed.ALL -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.B -r--r--r-- 1 root root 12 Aug 19 21:17 sensed.BYTE -r--r--r-- 1 root root 32 Aug 19 21:17 type I cannot see anything wrong with the code or permissions and the error is so generic I don't know to what it refers. Can someone spot what is invalid or help me debug this problem? TIA. _______________________________________________ Owfs-developers mailing list Owf...@li... https://lists.sourceforge.net/lists/listinfo/owfs-developers _______________________________________________ Owfs-developers mailing list Owf...@li... https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Martin P. <Mar...@GM...> - 2020-08-24 15:47:44
|
For python I would highly recommend you use the library *pyownet *by Stefano Miccoli /https://github.com/miccoli/pyownet/ /using Fuse can lead to weird problems... (not saying that it is the reason in your specific case) or you can use the buil-in functions in owserver owread/owwrite/owdir instead. On 24.08.20 15:57, Dennis Putnam wrote: > I have the following python 3 code: > > *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** > **with open(fn,'wb') as fh:** > ** fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) > > *This produces the error: > > *OSError: [Errno 22] Invalid argument > > *The value of onOff will be either 1 or 0. In this particular case the > value is 1. The value of blower.id_ is 0BE14D000000. This is what that > OWFS directory contains: > > *ls -l /mnt/1wire/3A.0BE14D000000* > total 0 > -r--r--r-- 1 root root 16 Aug 19 21:17 address > -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias > -r--r--r-- 1 root root 2 Aug 19 21:17 crc8 > -r--r--r-- 1 root root 2 Aug 19 21:17 family > -r--r--r-- 1 root root 12 Aug 19 21:17 id > -r--r--r-- 1 root root 16 Aug 19 21:17 locator > -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.A > -rw-rw-rw- 1 root root 3 Aug 19 21:17 PIO.ALL > -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.B > -rw-rw-rw- 1 root root 12 Aug 19 21:17 PIO.BYTE > -r--r--r-- 1 root root 16 Aug 19 21:17 r_address > -r--r--r-- 1 root root 12 Aug 19 21:17 r_id > -r--r--r-- 1 root root 16 Aug 19 21:17 r_locator > -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.A > -r--r--r-- 1 root root 3 Aug 19 21:17 sensed.ALL > -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.B > -r--r--r-- 1 root root 12 Aug 19 21:17 sensed.BYTE > -r--r--r-- 1 root root 32 Aug 19 21:17 type > > I cannot see anything wrong with the code or permissions and the error > is so generic I don't know to what it refers. Can someone spot what is > invalid or help me debug this problem? TIA. > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Dennis P. <da...@be...> - 2020-08-24 14:08:27
|
I have the following python 3 code: *fn='/mnt/1wire/3A.'+blower.id_+'/PIO.BYTE'** **with open(fn,'wb') as fh:** ** fh.write(onOff.to_bytes(1,byteorder=sys.byteorder)) *This produces the error: *OSError: [Errno 22] Invalid argument *The value of onOff will be either 1 or 0. In this particular case the value is 1. The value of blower.id_ is 0BE14D000000. This is what that OWFS directory contains: *ls -l /mnt/1wire/3A.0BE14D000000* total 0 -r--r--r-- 1 root root 16 Aug 19 21:17 address -rw-rw-rw- 1 root root 256 Aug 19 21:17 alias -r--r--r-- 1 root root 2 Aug 19 21:17 crc8 -r--r--r-- 1 root root 2 Aug 19 21:17 family -r--r--r-- 1 root root 12 Aug 19 21:17 id -r--r--r-- 1 root root 16 Aug 19 21:17 locator -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.A -rw-rw-rw- 1 root root 3 Aug 19 21:17 PIO.ALL -rw-rw-rw- 1 root root 1 Aug 19 21:17 PIO.B -rw-rw-rw- 1 root root 12 Aug 19 21:17 PIO.BYTE -r--r--r-- 1 root root 16 Aug 19 21:17 r_address -r--r--r-- 1 root root 12 Aug 19 21:17 r_id -r--r--r-- 1 root root 16 Aug 19 21:17 r_locator -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.A -r--r--r-- 1 root root 3 Aug 19 21:17 sensed.ALL -r--r--r-- 1 root root 1 Aug 19 21:17 sensed.B -r--r--r-- 1 root root 12 Aug 19 21:17 sensed.BYTE -r--r--r-- 1 root root 32 Aug 19 21:17 type I cannot see anything wrong with the code or permissions and the error is so generic I don't know to what it refers. Can someone spot what is invalid or help me debug this problem? TIA. **** |
From: Martin P. <Mar...@GM...> - 2020-08-17 12:58:50
|
Sorry Mick, my notes were not detailed enough. Glad you got your system back on track. I cannot confirm that CRC16 goes up by 8 - I used exactly your lines and got the CRC16 go up by one exactly every time. First, someone familiar with the code should try to find the source of the bug. Maybe we find out why your error goes up by 8 and not 1 On 17.08.20 11:04, Mick Sulley wrote: > Thanks Stefano, I have removed it and reinstalled the owserver > raspbian packages and it is back again at 3.2p3 > > Here is what I see on CRC_errors - > > pi@pi4B:~/v12_5 $ python3 > Python 3.7.3 (default, Dec 20 2019, 18:57:59) > [GCC 8.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import pyownet > >>> owp = pyownet.protocol.proxy(persistent=True) > >>> owp.read('/statistics/errors/CRC16_errors').decode() > ' 16' > >>> owp.write('/simultaneous/temperature', b'1') > >>> owp.read('/statistics/errors/CRC16_errors').decode() > ' 16' > >>> owp.write('/simultaneous/voltage', b'1') > >>> owp.read('/statistics/errors/CRC16_errors').decode() > ' 24' > >>> > > So writing to simultaneous/temperature is fine, but > /simultaneous/voltage increases the CRC error count by 8 > > > Mick > > > On 17/08/2020 00:10, Stefano Miccoli via Owfs-developers wrote: > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Mick S. <mi...@su...> - 2020-08-17 09:04:28
|
Thanks Stefano, I have removed it and reinstalled the owserver raspbian packages and it is back again at 3.2p3 Here is what I see on CRC_errors - pi@pi4B:~/v12_5 $ python3 Python 3.7.3 (default, Dec 20 2019, 18:57:59) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyownet >>> owp = pyownet.protocol.proxy(persistent=True) >>> owp.read('/statistics/errors/CRC16_errors').decode() ' 16' >>> owp.write('/simultaneous/temperature', b'1') >>> owp.read('/statistics/errors/CRC16_errors').decode() ' 16' >>> owp.write('/simultaneous/voltage', b'1') >>> owp.read('/statistics/errors/CRC16_errors').decode() ' 24' >>> So writing to simultaneous/temperature is fine, but /simultaneous/voltage increases the CRC error count by 8 Mick On 17/08/2020 00:10, Stefano Miccoli via Owfs-developers wrote: |
From: Stefano M. <mo...@ic...> - 2020-08-16 23:10:48
|
> On 17 Aug 2020, at 00:23, Mick Sulley <mi...@su...> wrote: > > OK I have installed it, I had to use sudo make install as it complained that it didn't have permission to created in /opt, but I think it is installed now, however.... > > `sudo install` is quite dangerous… it should be done only in a controlled environment … like fakeroot I fear that with `sudo install` you have overwritten /lib/systemd/system/owserver.service etc. Maybe it is better to - make a backup (just in case) - run `sudo uninstall` (which should remove all files installed by sudo install) - reinstall the owserver raspbian packages. > pi@pi4B:~ $ owdir > -bash: owdir: command not found > pi@pi4B:~ $ /opt/owfs/bin/owserver --ver > /opt/owfs/bin/owserver version: > 3.2p2 > libow version: > 3.2p2 > pi@pi4B:~ $ > > Is 3.2p2 the correct version? I thought it should be 3.2p4. > > It should be 3.2p3 (since 3.2p4 is not yet released) > Also I cannot get owdir to work > > pi@pi4B:~ $ owdir > -bash: owdir: command not found > pi@pi4B:~ $ /opt/owfs/bin/owdir > pi@pi4B:~ $ > > I have sensors connected and they were working, have I missed something? > > I tried starting the service - > > pi@pi4B:~ $ sudo systemctl start owserver > Failed to start owserver.service: Unit owserver.service is masked. > pi@pi4B:~ $ sudo service owserver start > Failed to start owserver.service: Unit owserver.service is masked. > pi@pi4B:~ $ > > This should be because the systemd files were overwritten… I’m really sorry, maybe I should write detailed instructions on how to test a new version without `sudo install`. S. > On 16/08/2020 21:46, Martin Patzak wrote: >> My CRC16 value goes only up by one for setting /simultanous/voltage to '1' >> I only tested with setting this once and read the CRC16 back right away without delay. >> >> Here is my personal notes for installing owfs from github - I hope it helps you - if you have the code you can of course skip the git-hub part >> In this notes I used some special parameters, which you do not have to use of course, but it illustrates that you have the ability to influence quite a number of things during configure >> >> additionally, you should not run anything as sudo - especially not untested patches - so Stefano indicated how to circumvent this easily with setting a symlink (see last line) >> >>> get owfs >>> >>> git clone git://git.code.sf.net/p/owfs/code owfs-code >>> >>> then cd into owfs-code >>> >>> ./bootstrap # an error appeared and I had to install packages >>> # ./bootstrap: 12: ./bootstrap: libtoolize: not found >>> # aclocal: not found >>> # pkg-config, libtool, automake >>> >>> ./configure >>> ./configure --disable-swig --prefix=/home/mnm/owfs/ --program-suffix=_test85C --with-systemdsystemunitdir=/home/mnm/owfs/systemd >>> >>> make >>> >>> make install >>> >>> ### no more running with sudo !!! ### >>> link owserver_<suffix> to dir /usr/bin so it can be found when executing it with sudo >>> >>> sudo ls -s /home/mnm/owfs/bin/owserver_<suffix /usr/bin/owserver_<suffix> >> >> >> On 16.08.20 21:59, Mick Sulley wrote: >>> First, I noticed a typo in my mail, the CRC value increases by 8, not 1, when I set /simultaneous/voltage. My code was setting /temperature then /voltage, I wondered if a delay between them may help, tried and it did not. I also tried setting /voltage first then /temperature but it still increased CRC on /voltage. >>> >>> Yes I do have a voltage device, a DS2437. I only have one, so setting /simultaneous/voltage is probably not going to save any time, but it seemed the right way to do it. >>> >>> I looked at issue 55, don't know if that is related on not. I am happy to test 3.2p4 but don't know how to do it. >>> >>> If I download from https://sourceforge.net/projects/owfs/ <https://sourceforge.net/projects/owfs/> I get 3.2p1 which is what I was running anyway. >>> >>> I download the .zip from https://github.com/owfs/owfs <https://github.com/owfs/owfs> unpacked into a new directory and tried to follow the instructions in INSTALL, this is what I got - >>> >>> pi@pi4B:~/owfs/owfs-master $ ls >>> acinclude.m4 COPYING Makefile.am RELEASE.md >>> AUTHORS COPYING.LIB man2md release.pl >>> autom4te.cache debian module src >>> bootstrap description-pak NEWS TODO >>> ChangeLog Dockerfile.release README.DEVELOPERS update_wiki_manpages >>> configure.ac INSTALL README.md >>> pi@pi4B:~/owfs/owfs-master $ ./configure >>> -bash: ./configure: No such file or directory >>> pi@pi4B:~/owfs/owfs-master $ >>> >>> I ran out of knowledge at this point. If you can tell me how to install it I will test it out. >>> >>> Thanks >>> >>> Mick >>> >>> >>> >>> On 16/08/2020 17:29, Stefano Miccoli via Owfs-developers wrote: >>>> The CRC16 error could be related to https://github.com/owfs/owfs/issues/55 <https://github.com/owfs/owfs/issues/55> >>>> >>>> The version on master is already patched, and will be released in 3.2p4. If possible check if the current version on master works as expected. >>>> >>>> Stefano >>>> >>>>> On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM... <mailto:Mar...@GM...>> wrote: >>>>> >>>>> I tested it and I can confirm that writing to /uncached/simultaneous/voltage increases the CRC16_error by one. >>>>> >>>>> Mick, do you have voltage devices on your network? (I hope it is not a stupid question) >>>>> I don't have such devices, so I cannot test this further... >>>>> >>>>> Greetings, >>>>> Marty >>>>> >>>>> On 13.08.20 01:04, Mick Sulley wrote: >>>>>> I have been doing some more testing and have a couple of issues. My code sets simultaneous/temperature, waits a couple of seconds then reads latesttemp from each sensor. >>>>>> >>>>>> Reading latesttemp generally takes 0.07 seconds BUT every 120 seconds every sensor takes 0.75 seconds for a single loop, then back to 0.07 seconds. (/settings/timeout/presence is set to 120) >>>>>> My understanding is that simultaneous/voltage works in the same way, however when I set it my CRC_errors increases by 8. Why is this? >>>>>> Cheers >>>>>> >>>>>> Mick >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Owfs-developers mailing list >>>>> Owf...@li... <mailto:Owf...@li...> >>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers <https://lists.sourceforge.net/lists/listinfo/owfs-developers> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Owfs-developers mailing list >>>> Owf...@li... <mailto:Owf...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers <https://lists.sourceforge.net/lists/listinfo/owfs-developers> >>> >>> >>> >>> _______________________________________________ >>> Owfs-developers mailing list >>> Owf...@li... <mailto:Owf...@li...> >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers <https://lists.sourceforge.net/lists/listinfo/owfs-developers> >> > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Stefano M. <mo...@ic...> - 2020-08-16 22:28:20
|
Thanks, but I just checked it myself, and I can confirm that it is not related to issue #55: $ echo $(owread /statistics/errors/CRC16_errors) 2 $ owwrite /simultaneous/voltage 1 $ echo $(owread /statistics/errors/CRC16_errors) 3 So writing to /simultaneous/voltage increases the CRC16 error count by one… also on the current master branch. Stefano PS: If you download from git, you have to run ./bootstrap before ./configure. > On 16 Aug 2020, at 21:59, Mick Sulley <mi...@su...> wrote: > > First, I noticed a typo in my mail, the CRC value increases by 8, not 1, when I set /simultaneous/voltage. My code was setting /temperature then /voltage, I wondered if a delay between them may help, tried and it did not. I also tried setting /voltage first then /temperature but it still increased CRC on /voltage. > > Yes I do have a voltage device, a DS2437. I only have one, so setting /simultaneous/voltage is probably not going to save any time, but it seemed the right way to do it. > > I looked at issue 55, don't know if that is related on not. I am happy to test 3.2p4 but don't know how to do it. > > If I download from https://sourceforge.net/projects/owfs/ <https://sourceforge.net/projects/owfs/> I get 3.2p1 which is what I was running anyway. > > I download the .zip from https://github.com/owfs/owfs <https://github.com/owfs/owfs> unpacked into a new directory and tried to follow the instructions in INSTALL, this is what I got - > > pi@pi4B:~/owfs/owfs-master $ ls > acinclude.m4 COPYING Makefile.am RELEASE.md > AUTHORS COPYING.LIB man2md release.pl > autom4te.cache debian module src > bootstrap description-pak NEWS TODO > ChangeLog Dockerfile.release README.DEVELOPERS update_wiki_manpages > configure.ac INSTALL README.md > pi@pi4B:~/owfs/owfs-master $ ./configure > -bash: ./configure: No such file or directory > pi@pi4B:~/owfs/owfs-master $ > > I ran out of knowledge at this point. If you can tell me how to install it I will test it out. > > Thanks > > Mick > > > > On 16/08/2020 17:29, Stefano Miccoli via Owfs-developers wrote: >> The CRC16 error could be related to https://github.com/owfs/owfs/issues/55 <https://github.com/owfs/owfs/issues/55> >> >> The version on master is already patched, and will be released in 3.2p4. If possible check if the current version on master works as expected. >> >> Stefano >> >>> On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM... <mailto:Mar...@GM...>> wrote: >>> >>> I tested it and I can confirm that writing to /uncached/simultaneous/voltage increases the CRC16_error by one. >>> >>> Mick, do you have voltage devices on your network? (I hope it is not a stupid question) >>> I don't have such devices, so I cannot test this further... >>> >>> Greetings, >>> Marty >>> >>> On 13.08.20 01:04, Mick Sulley wrote: >>>> I have been doing some more testing and have a couple of issues. My code sets simultaneous/temperature, waits a couple of seconds then reads latesttemp from each sensor. >>>> >>>> Reading latesttemp generally takes 0.07 seconds BUT every 120 seconds every sensor takes 0.75 seconds for a single loop, then back to 0.07 seconds. (/settings/timeout/presence is set to 120) >>>> My understanding is that simultaneous/voltage works in the same way, however when I set it my CRC_errors increases by 8. Why is this? >>>> Cheers >>>> >>>> Mick >>>> >>>> >>> >>> _______________________________________________ >>> Owfs-developers mailing list >>> Owf...@li... <mailto:Owf...@li...> >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers <https://lists.sourceforge.net/lists/listinfo/owfs-developers> >> >> >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... <mailto:Owf...@li...> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers <https://lists.sourceforge.net/lists/listinfo/owfs-developers> > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Mick S. <mi...@su...> - 2020-08-16 22:23:20
|
OK I have installed it, I had to use sudo make install as it complained that it didn't have permission to created in /opt, but I think it is installed now, however.... pi@pi4B:~ $ owdir -bash: owdir: command not found pi@pi4B:~ $ /opt/owfs/bin/owserver --ver /opt/owfs/bin/owserver version: 3.2p2 libow version: 3.2p2 pi@pi4B:~ $ Is 3.2p2 the correct version? I thought it should be 3.2p4. Also I cannot get owdir to work pi@pi4B:~ $ owdir -bash: owdir: command not found pi@pi4B:~ $ /opt/owfs/bin/owdir pi@pi4B:~ $ I have sensors connected and they were working, have I missed something? I tried starting the service - pi@pi4B:~ $ sudo systemctl start owserver Failed to start owserver.service: Unit owserver.service is masked. pi@pi4B:~ $ sudo service owserver start Failed to start owserver.service: Unit owserver.service is masked. pi@pi4B:~ $ On 16/08/2020 21:46, Martin Patzak wrote: > My CRC16 value goes only up by one for setting /simultanous/voltage to '1' > I only tested with setting this once and read the CRC16 back right > away without delay. > > Here is my personal notes for installing owfs from github - I hope it > helps you - if you have the code you can of course skip the git-hub part > In this notes I used some special parameters, which you do not have to > use of course, but it illustrates that you have the ability to > influence quite a number of things during configure > > additionally, you should not run anything as sudo - especially not > untested patches - so Stefano indicated how to circumvent this easily > with setting a symlink (see last line) > >> get owfs >> >> git clone git://git.code.sf.net/p/owfs/code owfs-code >> >> then cd into owfs-code >> >> ./bootstrap # an error appeared and I had to install packages >> # ./bootstrap: 12: ./bootstrap: libtoolize: not found >> # aclocal: not found >> # pkg-config, libtool, automake >> >> ./configure >> ./configure --disable-swig --prefix=/home/mnm/owfs/ >> --program-suffix=_test85C >> --with-systemdsystemunitdir=/home/mnm/owfs/systemd >> >> make >> >> make install >> >> ### no more running with sudo !!! ### >> link owserver_<suffix> to dir /usr/bin so it can be found when >> executing it with sudo >> >> sudo ls -s /home/mnm/owfs/bin/owserver_<suffix >> /usr/bin/owserver_<suffix> > > > On 16.08.20 21:59, Mick Sulley wrote: >> >> First, I noticed a typo in my mail, the CRC value increases by 8, not >> 1, when I set /simultaneous/voltage. My code was setting >> /temperature then /voltage, I wondered if a delay between them may >> help, tried and it did not. I also tried setting /voltage first then >> /temperature but it still increased CRC on /voltage. >> >> Yes I do have a voltage device, a DS2437. I only have one, so >> setting /simultaneous/voltage is probably not going to save any time, >> but it seemed the right way to do it. >> >> I looked at issue 55, don't know if that is related on not. I am >> happy to test 3.2p4 but don't know how to do it. >> >> If I download from https://sourceforge.net/projects/owfs/ I get 3.2p1 >> which is what I was running anyway. >> >> I download the .zip from https://github.com/owfs/owfs unpacked into a >> new directory and tried to follow the instructions in INSTALL, this >> is what I got - >> >> pi@pi4B:~/owfs/owfs-master $ ls >> acinclude.m4 COPYING Makefile.am RELEASE.md >> AUTHORS COPYING.LIB man2md release.pl >> autom4te.cache debian module src >> bootstrap description-pak NEWS TODO >> ChangeLog Dockerfile.release README.DEVELOPERS >> update_wiki_manpages >> configure.ac INSTALL README.md >> pi@pi4B:~/owfs/owfs-master $ ./configure >> -bash: ./configure: No such file or directory >> pi@pi4B:~/owfs/owfs-master $ >> >> I ran out of knowledge at this point. If you can tell me how to >> install it I will test it out. >> >> Thanks >> >> Mick >> >> >> On 16/08/2020 17:29, Stefano Miccoli via Owfs-developers wrote: >>> The CRC16 error could be related to >>> https://github.com/owfs/owfs/issues/55 >>> >>> The version on master is already patched, and will be released in >>> 3.2p4. If possible check if the current version on master works as >>> expected. >>> >>> Stefano >>> >>>> On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM... >>>> <mailto:Mar...@GM...>> wrote: >>>> >>>> I tested it and I can confirm that writing to >>>> /uncached/simultaneous/voltage increases the CRC16_error by one. >>>> >>>> Mick, do you have voltage devices on your network? (I hope it is >>>> not a stupid question) >>>> I don't have such devices, so I cannot test this further... >>>> >>>> Greetings, >>>> Marty >>>> >>>> On 13.08.20 01:04, Mick Sulley wrote: >>>>> >>>>> I have been doing some more testing and have a couple of issues. >>>>> My code sets simultaneous/temperature, waits a couple of seconds >>>>> then reads latesttemp from each sensor. >>>>> >>>>> 1. Reading latesttemp generally takes 0.07 seconds BUT every 120 >>>>> seconds every sensor takes 0.75 seconds for a single loop, >>>>> then back to 0.07 seconds. (/settings/timeout/presence is set >>>>> to 120) >>>>> 2. My understanding is that simultaneous/voltage works in the >>>>> same way, however when I set it my CRC_errors increases by 8. >>>>> Why is this? >>>>> >>>>> Cheers >>>>> >>>>> Mick >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Owfs-developers mailing list >>>> Owf...@li... >>>> <mailto:Owf...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >>> >>> >>> >>> _______________________________________________ >>> Owfs-developers mailing list >>> Owf...@li... >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > |
From: Martin P. <Mar...@GM...> - 2020-08-16 20:59:37
|
here is my code to write /simultaneous/voltage which increases CRC16 by one only waiting for one or two seconds did not change that. It increases CRC16 only by one. Should the write not being re-tried automatically? Like any other failed read or write? Confused... > from pyownet import protocol > import time > > op = protocol.proxy() > > try: > > x = op.read('/statistics/errors/CRC16_errors') > print 'CRC16_errors',x > > op.write('/uncached/simultaneous/voltage','1') > > # time.sleep(1) > > x = op.read('/statistics/errors/CRC16_errors') > print 'CRC16_errors',x > > > except Exception as e: > print str(e) On 16.08.20 21:59, Mick Sulley wrote: > > First, I noticed a typo in my mail, the CRC value increases by 8, not > 1, when I set /simultaneous/voltage. My code was setting /temperature > then /voltage, I wondered if a delay between them may help, tried and > it did not. I also tried setting /voltage first then /temperature but > it still increased CRC on /voltage. > > Yes I do have a voltage device, a DS2437. I only have one, so setting > /simultaneous/voltage is probably not going to save any time, but it > seemed the right way to do it. > > I looked at issue 55, don't know if that is related on not. I am > happy to test 3.2p4 but don't know how to do it. > > If I download from https://sourceforge.net/projects/owfs/ I get 3.2p1 > which is what I was running anyway. > > I download the .zip from https://github.com/owfs/owfs unpacked into a > new directory and tried to follow the instructions in INSTALL, this is > what I got - > > pi@pi4B:~/owfs/owfs-master $ ls > acinclude.m4 COPYING Makefile.am RELEASE.md > AUTHORS COPYING.LIB man2md release.pl > autom4te.cache debian module src > bootstrap description-pak NEWS TODO > ChangeLog Dockerfile.release README.DEVELOPERS > update_wiki_manpages > configure.ac INSTALL README.md > pi@pi4B:~/owfs/owfs-master $ ./configure > -bash: ./configure: No such file or directory > pi@pi4B:~/owfs/owfs-master $ > > I ran out of knowledge at this point. If you can tell me how to > install it I will test it out. > > Thanks > > Mick > > > On 16/08/2020 17:29, Stefano Miccoli via Owfs-developers wrote: >> The CRC16 error could be related >> to https://github.com/owfs/owfs/issues/55 >> >> The version on master is already patched, and will be released in >> 3.2p4. If possible check if the current version on master works as >> expected. >> >> Stefano >> >>> On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM... >>> <mailto:Mar...@GM...>> wrote: >>> >>> I tested it and I can confirm that writing to >>> /uncached/simultaneous/voltage increases the CRC16_error by one. >>> >>> Mick, do you have voltage devices on your network? (I hope it is not >>> a stupid question) >>> I don't have such devices, so I cannot test this further... >>> >>> Greetings, >>> Marty >>> >>> On 13.08.20 01:04, Mick Sulley wrote: >>>> >>>> I have been doing some more testing and have a couple of issues. >>>> My code sets simultaneous/temperature, waits a couple of seconds >>>> then reads latesttemp from each sensor. >>>> >>>> 1. Reading latesttemp generally takes 0.07 seconds BUT every 120 >>>> seconds every sensor takes 0.75 seconds for a single loop, then >>>> back to 0.07 seconds. (/settings/timeout/presence is set to 120) >>>> 2. My understanding is that simultaneous/voltage works in the same >>>> way, however when I set it my CRC_errors increases by 8. Why >>>> is this? >>>> >>>> Cheers >>>> >>>> Mick >>>> >>>> >>> >>> _______________________________________________ >>> Owfs-developers mailing list >>> Owf...@li... >>> <mailto:Owf...@li...> >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Martin P. <Mar...@GM...> - 2020-08-16 20:47:17
|
My CRC16 value goes only up by one for setting /simultanous/voltage to '1' I only tested with setting this once and read the CRC16 back right away without delay. Here is my personal notes for installing owfs from github - I hope it helps you - if you have the code you can of course skip the git-hub part In this notes I used some special parameters, which you do not have to use of course, but it illustrates that you have the ability to influence quite a number of things during configure additionally, you should not run anything as sudo - especially not untested patches - so Stefano indicated how to circumvent this easily with setting a symlink (see last line) > get owfs > > git clone git://git.code.sf.net/p/owfs/code owfs-code > > then cd into owfs-code > > ./bootstrap # an error appeared and I had to install packages > # ./bootstrap: 12: ./bootstrap: libtoolize: not found > # aclocal: not found > # pkg-config, libtool, automake > > ./configure > ./configure --disable-swig --prefix=/home/mnm/owfs/ > --program-suffix=_test85C > --with-systemdsystemunitdir=/home/mnm/owfs/systemd > > make > > make install > > ### no more running with sudo !!! ### > link owserver_<suffix> to dir /usr/bin so it can be found when > executing it with sudo > > sudo ls -s /home/mnm/owfs/bin/owserver_<suffix > /usr/bin/owserver_<suffix> On 16.08.20 21:59, Mick Sulley wrote: > > First, I noticed a typo in my mail, the CRC value increases by 8, not > 1, when I set /simultaneous/voltage. My code was setting /temperature > then /voltage, I wondered if a delay between them may help, tried and > it did not. I also tried setting /voltage first then /temperature but > it still increased CRC on /voltage. > > Yes I do have a voltage device, a DS2437. I only have one, so setting > /simultaneous/voltage is probably not going to save any time, but it > seemed the right way to do it. > > I looked at issue 55, don't know if that is related on not. I am > happy to test 3.2p4 but don't know how to do it. > > If I download from https://sourceforge.net/projects/owfs/ I get 3.2p1 > which is what I was running anyway. > > I download the .zip from https://github.com/owfs/owfs unpacked into a > new directory and tried to follow the instructions in INSTALL, this is > what I got - > > pi@pi4B:~/owfs/owfs-master $ ls > acinclude.m4 COPYING Makefile.am RELEASE.md > AUTHORS COPYING.LIB man2md release.pl > autom4te.cache debian module src > bootstrap description-pak NEWS TODO > ChangeLog Dockerfile.release README.DEVELOPERS > update_wiki_manpages > configure.ac INSTALL README.md > pi@pi4B:~/owfs/owfs-master $ ./configure > -bash: ./configure: No such file or directory > pi@pi4B:~/owfs/owfs-master $ > > I ran out of knowledge at this point. If you can tell me how to > install it I will test it out. > > Thanks > > Mick > > > On 16/08/2020 17:29, Stefano Miccoli via Owfs-developers wrote: >> The CRC16 error could be related >> to https://github.com/owfs/owfs/issues/55 >> >> The version on master is already patched, and will be released in >> 3.2p4. If possible check if the current version on master works as >> expected. >> >> Stefano >> >>> On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM... >>> <mailto:Mar...@GM...>> wrote: >>> >>> I tested it and I can confirm that writing to >>> /uncached/simultaneous/voltage increases the CRC16_error by one. >>> >>> Mick, do you have voltage devices on your network? (I hope it is not >>> a stupid question) >>> I don't have such devices, so I cannot test this further... >>> >>> Greetings, >>> Marty >>> >>> On 13.08.20 01:04, Mick Sulley wrote: >>>> >>>> I have been doing some more testing and have a couple of issues. >>>> My code sets simultaneous/temperature, waits a couple of seconds >>>> then reads latesttemp from each sensor. >>>> >>>> 1. Reading latesttemp generally takes 0.07 seconds BUT every 120 >>>> seconds every sensor takes 0.75 seconds for a single loop, then >>>> back to 0.07 seconds. (/settings/timeout/presence is set to 120) >>>> 2. My understanding is that simultaneous/voltage works in the same >>>> way, however when I set it my CRC_errors increases by 8. Why >>>> is this? >>>> >>>> Cheers >>>> >>>> Mick >>>> >>>> >>> >>> _______________________________________________ >>> Owfs-developers mailing list >>> Owf...@li... >>> <mailto:Owf...@li...> >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Mick S. <mi...@su...> - 2020-08-16 20:04:39
|
First, I noticed a typo in my mail, the CRC value increases by 8, not 1, when I set /simultaneous/voltage. My code was setting /temperature then /voltage, I wondered if a delay between them may help, tried and it did not. I also tried setting /voltage first then /temperature but it still increased CRC on /voltage. Yes I do have a voltage device, a DS2437. I only have one, so setting /simultaneous/voltage is probably not going to save any time, but it seemed the right way to do it. I looked at issue 55, don't know if that is related on not. I am happy to test 3.2p4 but don't know how to do it. If I download from https://sourceforge.net/projects/owfs/ I get 3.2p1 which is what I was running anyway. I download the .zip from https://github.com/owfs/owfs unpacked into a new directory and tried to follow the instructions in INSTALL, this is what I got - pi@pi4B:~/owfs/owfs-master $ ls acinclude.m4 COPYING Makefile.am RELEASE.md AUTHORS COPYING.LIB man2md release.pl autom4te.cache debian module src bootstrap description-pak NEWS TODO ChangeLog Dockerfile.release README.DEVELOPERS update_wiki_manpages configure.ac INSTALL README.md pi@pi4B:~/owfs/owfs-master $ ./configure -bash: ./configure: No such file or directory pi@pi4B:~/owfs/owfs-master $ I ran out of knowledge at this point. If you can tell me how to install it I will test it out. Thanks Mick On 16/08/2020 17:29, Stefano Miccoli via Owfs-developers wrote: > The CRC16 error could be related to > https://github.com/owfs/owfs/issues/55 > > The version on master is already patched, and will be released in > 3.2p4. If possible check if the current version on master works as > expected. > > Stefano > >> On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM... >> <mailto:Mar...@GM...>> wrote: >> >> I tested it and I can confirm that writing to >> /uncached/simultaneous/voltage increases the CRC16_error by one. >> >> Mick, do you have voltage devices on your network? (I hope it is not >> a stupid question) >> I don't have such devices, so I cannot test this further... >> >> Greetings, >> Marty >> >> On 13.08.20 01:04, Mick Sulley wrote: >>> >>> I have been doing some more testing and have a couple of issues. My >>> code sets simultaneous/temperature, waits a couple of seconds then >>> reads latesttemp from each sensor. >>> >>> 1. Reading latesttemp generally takes 0.07 seconds BUT every 120 >>> seconds every sensor takes 0.75 seconds for a single loop, then >>> back to 0.07 seconds. (/settings/timeout/presence is set to 120) >>> 2. My understanding is that simultaneous/voltage works in the same >>> way, however when I set it my CRC_errors increases by 8. Why is >>> this? >>> >>> Cheers >>> >>> Mick >>> >>> >> >> _______________________________________________ >> Owfs-developers mailing list >> Owf...@li... >> <mailto:Owf...@li...> >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Stefano M. <mo...@ic...> - 2020-08-16 16:30:09
|
The CRC16 error could be related to https://github.com/owfs/owfs/issues/55 <https://github.com/owfs/owfs/issues/55> The version on master is already patched, and will be released in 3.2p4. If possible check if the current version on master works as expected. Stefano > On 16 Aug 2020, at 18:22, Martin Patzak <Mar...@GM...> wrote: > > I tested it and I can confirm that writing to /uncached/simultaneous/voltage increases the CRC16_error by one. > > Mick, do you have voltage devices on your network? (I hope it is not a stupid question) > I don't have such devices, so I cannot test this further... > > Greetings, > Marty > > On 13.08.20 01:04, Mick Sulley wrote: >> I have been doing some more testing and have a couple of issues. My code sets simultaneous/temperature, waits a couple of seconds then reads latesttemp from each sensor. >> >> Reading latesttemp generally takes 0.07 seconds BUT every 120 seconds every sensor takes 0.75 seconds for a single loop, then back to 0.07 seconds. (/settings/timeout/presence is set to 120) >> My understanding is that simultaneous/voltage works in the same way, however when I set it my CRC_errors increases by 8. Why is this? >> Cheers >> >> Mick >> >> > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Martin P. <Mar...@GM...> - 2020-08-16 16:22:55
|
I tested it and I can confirm that writing to /uncached/simultaneous/voltage increases the CRC16_error by one. Mick, do you have voltage devices on your network? (I hope it is not a stupid question) I don't have such devices, so I cannot test this further... Greetings, Marty On 13.08.20 01:04, Mick Sulley wrote: > > I have been doing some more testing and have a couple of issues. My > code sets simultaneous/temperature, waits a couple of seconds then > reads latesttemp from each sensor. > > 1. Reading latesttemp generally takes 0.07 seconds BUT every 120 > seconds every sensor takes 0.75 seconds for a single loop, then > back to 0.07 seconds. (/settings/timeout/presence is set to 120) > 2. My understanding is that simultaneous/voltage works in the same > way, however when I set it my CRC_errors increases by 8. Why is this? > > Cheers > > Mick > > |
From: Mick S. <mi...@su...> - 2020-08-12 23:04:46
|
I have been doing some more testing and have a couple of issues. My code sets simultaneous/temperature, waits a couple of seconds then reads latesttemp from each sensor. 1. Reading latesttemp generally takes 0.07 seconds BUT every 120 seconds every sensor takes 0.75 seconds for a single loop, then back to 0.07 seconds. (/settings/timeout/presence is set to 120) 2. My understanding is that simultaneous/voltage works in the same way, however when I set it my CRC_errors increases by 8. Why is this? Cheers Mick |
From: Jan K. <jj...@gm...> - 2020-08-12 12:43:35
|
Am 12.08.20 um 10:50 schrieb Stefano Miccoli via Owfs-developers: > > Having some spare time in may staycation, I’m drafting owfs release 3.2p4. > Thank you so much, Stefano. Kind regards Jan |
From: Stefano M. <mo...@ic...> - 2020-08-12 08:50:22
|
Hi all, Having some spare time in may staycation, I’m drafting owfs release 3.2p4. After some testing I implemented GitHub Actions <https://github.com/owfs/owfs/blob/master/.github/workflows/build.yml <https://github.com/owfs/owfs/blob/master/.github/workflows/build.yml>> and dropped MacOs from TravisCi <https://github.com/owfs/owfs/blob/master/.travis.yml <https://github.com/owfs/owfs/blob/master/.travis.yml>> which was generating false negatives and was very slow. I setup a milestone <https://github.com/owfs/owfs/milestone/1 <https://github.com/owfs/owfs/milestone/1>> with the issues and PRs that, in my opinion, should go in owwfs 3.2p4. Please feel free to add items to the milestone, or, if you do not have write permissions, add comments to the Issues which should be candidates for the new release. Stefano |
From: Stefano M. <mo...@ic...> - 2020-08-09 10:22:36
|
Things I would try, in random order. - Try an ‘owdir /uncached ’ command before writing to simultaneous, just to refresh the owserver view of the devices on the bus. Maybe a single owdir command is faster that querying the sensors one at a time. - Do not use owserver aliases, use only bus addresses (this is just my personal dislike, and some troubles in having a stable working setup with aliases in the past) - Nuclear option: enable the owserver verbose output and try to pinpoint what’s going on when the loop slows down. Just for reference, here are some stats form my tiny home owserver, with a LinkUSB host adapter and two Link multi sensors. (I’m using walk.py, which you can find here: https://github.com/miccoli/pyownet/blob/dev/examples/walk.py <https://github.com/miccoli/pyownet/blob/dev/examples/walk.py> ) $ python walk.py /statistics/read/ /statistics/read/bytes b' 2442834' /statistics/read/cachebytes b' 0' /statistics/read/cachesuccess b' 0' /statistics/read/calls b' 99461' /statistics/read/success b' 198136' /statistics/read/tries.ALL b' 99464, 0, 0' /statistics/read/tries.0 b' 99465' /statistics/read/tries.1 b' 0' /statistics/read/tries.2 b' 0' $ walk.py /statistics/errors/ /statistics/errors/BUS_bit_errors b' 0' /statistics/errors/BUS_byte_errors b' 0' /statistics/errors/BUS_detect_errors b' 0' /statistics/errors/BUS_echo_errors b' 0' /statistics/errors/BUS_level_errors b' 0' /statistics/errors/BUS_next_alarm_errors b' 0' /statistics/errors/BUS_next_errors b' 0' /statistics/errors/BUS_readin_data_errors b' 0' /statistics/errors/BUS_status_errors b' 0' /statistics/errors/BUS_tcsetattr_errors b' 0' /statistics/errors/CRC16_errors b' 0' /statistics/errors/CRC16_tries b' 0' /statistics/errors/CRC8_errors b' 0' /statistics/errors/CRC8_tries b' 197398' /statistics/errors/DS2480_level_docheck_errors b' 0' /statistics/errors/DS2480_read_fd_isset b' 0' /statistics/errors/DS2480_read_null b' 0' /statistics/errors/DS2480_read_read b' 0' /statistics/errors/NET_accept_errors b' 0' /statistics/errors/NET_connection_errors b' 0' /statistics/errors/NET_read_errors b' 1' /statistics/errors/max_delay b' 0' > On 9 Aug 2020, at 11:38, Martin Patzak <Mar...@GM...> wrote: > > > > On 09.08.20 11:34, Mick Sulley wrote: >> >> CRC16_tries 11768 >> CRC16_errors 11768 >> > you should not have near that amount of CRC errors > read the errors after every module reading or writing to find out what > causes those errors >> >> Time to do some reading of the docs....... >> > yeah, enjoy and good luck :-) > > > > _______________________________________________ > Owfs-developers mailing list > Owf...@li... > https://lists.sourceforge.net/lists/listinfo/owfs-developers |
From: Martin P. <Mar...@GM...> - 2020-08-09 09:39:00
|
On 09.08.20 11:34, Mick Sulley wrote: > > CRC16_tries 11768 > CRC16_errors 11768 > you should not have near that amount of CRC errors read the errors after every module reading or writing to find out what causes those errors > > Time to do some reading of the docs....... > yeah, enjoy and good luck :-) |
From: Mick S. <mi...@su...> - 2020-08-09 09:34:23
|
Thanks for that, I just ran your code on my test system - pi@pi4B:~/v12_5 $ python3 read_stats.py temp is 24.625 success 934310 tries.0 470429 tries.1 0 tries.2 0 CRC16_tries 11768 CRC16_errors 11768 pi@pi4B:~/v12_5 $ Time to do some reading of the docs....... Mick On 09/08/2020 10:21, Martin Patzak wrote: > here is a quick python code to read some /statistics > > and yes, the owserver has been running for a looong time :-D > >> from pyownet import protocol >> import time >> >> op = protocol.proxy() >> >> try: >> #x = op.read('/uncached/29.1CBF0E000000/sensed.ALL') >> #print 'sensed is',x >> x = op.read('/uncached/28.CFB920060000/latesttemp') >> print 'temp is',x >> >> x = op.read('/statistics/read/success') >> print 'success',x >> >> x = op.read('/statistics/read/tries.0') >> print 'tries.0',x >> >> x = op.read('/statistics/read/tries.1') >> print 'tries.1',x >> >> x = op.read('/statistics/read/tries.2') >> print 'tries.2',x >> >> x = op.read('/statistics/errors/CRC16_tries') >> print 'CRC16_tries',x >> >> x = op.read('/statistics/errors/CRC16_errors') >> print 'CRC16_errors',x >> >> >> except Exception as e: >> print str(e) >> >> > > temp is 57.9375 > success 219962160 (why is success higher than tries.0? I do > not know...) > tries.0 139228047 > tries.1 1077 (one thousand re-tries in a couple > of years reading 25 sensors every 30 seconds) > tries.2 6 (six second re-tries... not > bad ey? ;-) > CRC16_tries 81858524 > CRC16_errors 1351 (some CRC16 errors were cause by > writes, hence the discrepancy) > > > > > On 09.08.20 10:52, Martin Patzak wrote: >> here is some documentation about the values in /statistics: >> >> http://owfs.sourceforge.net/statistics.html >> >> I do not know if there is more about that within the owfs project... >> >> there should be more at Maxim's website about the interface protocol >> which owfs is based upon. >> >> On 08.08.20 19:07, Mick Sulley wrote: >>> >>> I have just run it again, sleep for 3 seconds after the >>> simultaneous/temperature write and sleep 25 seconds at the end of >>> the loop. Presence is at 120 and I see a delay every 130 seconds or >>> so. The delay is on reading whichever parameter is first, so if I >>> read present first then that is the 0.7 scan, the other parameters >>> are < 0.1, but If I read type first then that is 0.7 sec, etc >>> >>> I am also reading CR16_errors and CR16_tries, these are the same and >>> both increase by 8 each loop. Is that normal? Is there any >>> documentation on this stuff, I can't find anything. >>> >>> Mick >>> >>> On 08/08/2020 08:46, Martin Patzak wrote: >>>> Thanks Mick, great summary. >>>> >>>> Let me add to 4), that you only see the 0.7 sec delay, because you >>>> read in a busy loop. >>>> I read only every 30 seconds and I never see a delay. >>>> >>>> But timing your reads is a good practice because this way you catch >>>> retries and maybe bus or sensor problems. >>>> Additionally you can have a look in /statistics for retries and errors >>>> >>>> On 08.08.20 01:04, Mick Sulley wrote: >>>>> Update on test findings. Test setup was 19 - DS18B20 temperature, >>>>> 2 - DS2413 IO and 1 - DS2437 Voltage, Raspberry Pi4 with Sheepwalk >>>>> RPi3 Adapter >>>>> >>>>> 1) /simultaneous/temperature does work, best to read latesttemp. >>>>> >>>>> 2) /settings/timeout/presence cannot be set or read via the >>>>> owhttpd web page, you must use owwrite & owread >>>>> >>>>> 3) Reading values (after setting simultaneous) normally takes < >>>>> 0.1 seconds >>>>> >>>>> 4) After the /settings/timeout/presence interval the next read for >>>>> every device will take around 0.7 seconds. Note if you read >>>>> multiple fields it is only the first one which takes the increased >>>>> time. >>>>> >>>>> 5) The increased time after /settings/timeout/presence interval >>>>> applies to all devices, not just temperature >>>>> >>>>> >>>>> Mick >>>> >> > |