Comments (5)
Have you set the time zone correctly? It uses system time, so if you don’t have that set correctly in the OS it defaults to UTC.
from aqualinkd.
System time and zone is set correctly and confirmed with timedatectl or date.
from aqualinkd.
Make sure you have it accurate for the user running AqualinkD process.
https://community.intersystems.com/post/setting-tz-environment-variable-linux
AqualinkD uses a gnu localtime() function to read time, that depends on the systems TZ setting.
since you compiled this yourself, did you modify the Makefile?
from aqualinkd.
Everything seems to be correct, here is the output from the terminal while running as root and as you can see, it's way off ( not even UTC time:
# timedatectl status
Local time: Wed 2021-05-26 23:53:10 PDT
Universal time: Thu 2021-05-27 06:53:10 UTC
RTC time: Thu 2021-05-27 06:53:11
Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: yes
NTP service: inactive
RTC in local TZ: no
# hwclock -r
2021-05-26 23:53:17.388520-07:00
# ./aqualinkd -d -c /etc/aqualinkd.conf
Notice: Panl Prog: Programming: Get iAqualink Touch Setpoints, 31
Notice: RS Allbtn: RS time is NOT accurate '1:46 AM 05/14/21 Fri', re-setting on controller!
Notice: iAQ Touch: IAQ Touch Freeze Protection setpoint 38
Notice: Panl Prog: Programming: Set iAqualink Set Time, 37
Notice: iAQ Touch: Set date to 05/26/21
Notice: iAQ Touch: Set time to 11:54
from aqualinkd.
This can be closed. After re-applying the TZ settings and rebooting the server (Pine64 LTS) time is showing correctly now.
from aqualinkd.
Related Issues (20)
- SWG percentage HOT 1
- Saltwater cell - 0%-> programmed % -> 0% (bouncing) when AqualinkD service is started HOT 4
- compiler warnings seen after bullseye update (other than mongoose)
- Jandy TCX Support
- Can't run on raspberry pi 4 model B with os 64bit HOT 6
- Increase syslog level limit HOT 3
- Pentair / J&J Lights Not Working
- AqualinkD Controlled Color Lights Not Working
- Read RS485 bus from ESP32 HOT 6
- Build broken by commit 77c8e29 HOT 4
- Not seeing Pentair VS Pump speed HOT 15
- make clean broken on windows HOT 6
- make clean make fails on Pi HOT 2
- aqualinkd.c:1772:8: error: too few arguments to function ‘serial_logger’ HOT 5
- High salt warning error HOT 15
- Pentair VS pump speed Error: One Touch: Can't set Pump RPM/GPM until type is known HOT 17
- 2.3.1 Segmentation Fault Error on startup HOT 1
- Jandy ePump on PDA not collecting correct RPMs HOT 8
- Can't change name of Aux 1 on web UI HOT 2
- Max spa temp is currently 96 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aqualinkd.