[Owfs-developers] DS1921 time linux vs windows

2018-08-22 Thread Ben Oliver
Windows, it reads exactly 1 month behind. So if I set the clock to today, 20180822, the windows machine sees it as 20180722. We are having an issue the other way around. Windows user syncs the clock to their system time, which is correct. I read the probe: cat clock/date And it comes back

Re: [Owfs-developers] DS1921 time linux vs windows

2018-08-22 Thread Jan Kandziora
Am 22.08.2018 um 16:16 schrieb Ben Oliver: > I'm having issues with clock settings on a DS1921 going from windows to > owfs on linux, and vice-versa. > > I (on owfs) set the time like this: > >    echo "$(date +%s)" > "clock/udate" > Which version of owfs do you use? $ owfs --version Owlib (

Re: [Owfs-developers] DS1921 time linux vs windows

2018-08-22 Thread Ben Oliver
On 18-08-22 19:50:41, Jan Kandziora wrote: Am 22.08.2018 um 16:16 schrieb Ben Oliver: I'm having issues with clock settings on a DS1921 going from windows to owfs on linux, and vice-versa. I (on owfs) set the time like this:    echo "$(date +%s)" > "clock/udate" Which version of owfs do you

Re: [Owfs-developers] DS1921 time linux vs windows

2018-08-22 Thread Stefano Miccoli via Owfs-developers
Docs at page 7 of https://datasheets.maximintegrated.com/en/ds/DS1921H-DS1921Z.pdf are not very clear, but I would bet that 1 = Jan 2 = Feb … so that conversions at https://github.com/owfs/owfs/blob/ba66022f115909396a4b939f37e8