Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
18.08.2018, 14:47
(This post was last modified: 18.08.2018, 15:08 by Ruslan25.)
Hello
Is it possible to send from KNX GPS receiver to W4K the actual time, date and GPS coordinates ? I dont have internet connection to W4K.
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
Hi,
Try this:
Code: date = grp.getvalue('date_object')
time = grp.getvalue('time_object')
cmd = string.format("date -s '%d-%d-%d %d:%d:%d'", date.year, date.month, date.day, time.hour, time.minute, time.second)
os.execute(cmd)
BR,
Erwin
Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
19.08.2018, 04:34
(This post was last modified: 19.08.2018, 04:34 by Ruslan25.)
(18.08.2018, 20:37)Erwin van der Zwart Wrote: Hi,
Try this:
Code: date = grp.getvalue('date_object')
time = grp.getvalue('time_object')
cmd = string.format("date -s '%d-%d-%d %d:%d:%d'", date.year, date.month, date.day, time.hour, time.minute, time.second)
os.execute(cmd)
BR,
Erwin Thanks
Is it only for time and date? What will happen if I use astro time switch function without internet connection?
Skickat från min S41 via Tapatalk
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
Hi,
There is no need for internet when using astro functions, just set the correct timezone in the time settings and alternative set the lon-lat in the time settings to have a slightly better precision on the location.
BR,
Erwin
Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
19.08.2018, 11:02
(This post was last modified: 19.08.2018, 11:03 by Ruslan25.)
(19.08.2018, 07:02)Erwin van der Zwart Wrote: Hi,
There is no need for internet when using astro functions, just set the correct timezone in the time settings and alternative set the lon-lat in the time settings to have a slightly better precision on the location.
BR,
Erwin I have one more question:
Is it possible to have the same visualisation on the knx panel or other panel as on w4k without internet connection?
Skickat från min S41 via Tapatalk
Posts: 4646
Threads: 24
Joined: Aug 2017
Reputation:
207
Hi
As long it is on the same local network then yes.
BR
------------------------------
Ctrl+F5
Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
(20.08.2018, 07:30)Daniel. Wrote: Hi
As long it is on the same local network then yes.
BR Its mean I need panel with rj45 connection. Does anybody have some idea?
Skickat från min S41 via Tapatalk
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
20.08.2018, 09:37
(This post was last modified: 20.08.2018, 09:39 by Erwin van der Zwart.)
Hi,
You can use a 100% KNX based panel, but then the project configuration is done by the panel itself and KNX (TP) will control and update the status of your buttons.
If you want to use the embedded web based visu from the controller then yes you will off course need to connect it over IP.
BR,
Erwin
Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
(20.08.2018, 09:37)Erwin van der Zwart Wrote: Hi,
You can use a 100% KNX based panel, but then the project configuration is done by the panel itself and KNX (TP) will control and update the status of your buttons.
If you want to use the embedded web based visu from the controller then yes you will off course need to connect it over IP.
BR,
Erwin Exactly, I want want to use the embedded web based visu from the controller. But it's difficult to find panel with rj45 connection.
I want control all astro/time switches from panel. The normal knx panel have own time switch function and w4k have own. How to sync between devices?
Skickat från min S41 via Tapatalk
Posts: 1764
Threads: 6
Joined: Jul 2015
Reputation:
117
Hi,
There are plenty panels with IP connection, any PC panel can be used as long as it supports a HTML5 browser.. You can also use panels with WiFi connection like iPad or Android Tablets in combination with a WiFi access point.
I don't think you can sync the KNX schedulers from a KNX panel to the controller and vice versa..
Depending on the panel there might be options but mostly it's closed in the panel system.
BR,
Erwin
Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
(20.08.2018, 12:19)Erwin van der Zwart Wrote: Hi,
There are plenty panels with IP connection, any PC panel can be used as long as it supports a HTML5 browser.. You can also use panels with WiFi connection like iPad or Android Tablets in combination with a WiFi access point.
I don't think you can sync the KNX schedulers from a KNX panel to the controller and vice versa..
Depending on the panel there might be options but mostly it's closed in the panel system.
BR,
Erwin Thanks a lot for all answers. I forgot to say that even WiFi its not allowed
Skickat från min S41 via Tapatalk
Posts: 17
Threads: 3
Joined: Jun 2018
Reputation:
0
Hi again
Is it possible to send the right time and date to Knx bus from wiser?
Skickat från min S41 via Tapatalk
Posts: 4646
Threads: 24
Joined: Aug 2017
Reputation:
207
(16.10.2018, 08:16)Ruslan25 Wrote: Hi again
Is it possible to send the right time and date to Knx bus from wiser?
Skickat från min S41 via Tapatalk
Copy paste from w4k manuals
Code: -- get current data as table
now = os.date('*t')
-- system week day starts from sunday, convert it to knx format
wday = now.wday == 1 and 7 or now.wday - 1
-- time table
time = {
day = wday,
hour = now.hour,
minute = now.min,
second = now.sec,
}
-- date table
date = {
day = now.day,
month = now.month,
year = now.year,
}
-- write to bus
grp.write('1/1/2', time, dt.time)
grp.write('1/1/1', date, dt.date)
------------------------------
Ctrl+F5
|