On 11/18/2016 08:11 PM, Jan Kandziora wrote: > Am 18.11.2016 um 10:45 schrieb Arne Raaen: >> Hi, >> >> I have a HobbyBoards relay card based on DS2408, used with LinkUSB >> >> I used a routine (unconditionally) updating PIO.0 through PIO.5 every >> minute. >> >> I observed that PIO.6 and PIO.7 would be activated at random intervals, >> typically a few times per day or less. >> > You cannot set single PIOs on the DS2408, owfs has to set them all as > one. That's why owfs maintains the last state written to the PIO byte. > As you found out the byte stored within owfs may be incorrect for > circumstances we have yet to check. Well, that is rather news to me. I do set single PIOs on two DS2408 in my application. I NEVER expirienced a problem with random switching IOs - I run my heating system since 2010 with owfs, so I don't think I have been lucky all this time ;)
Would be interesting to know what exact system and environment the random switching appears in. I can write up my system or answer more detailed questions if it might help. Just ask. Cheers Martin > > In the meantime, store the desired output pattern within your > application and write PIO.ALL (or PIO.BYTE) instead of individual bits. > That should make your problem go away immediately. > > Kind regards > > Jan > > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers