activate_scenario.sh
Sat Jul 20 23:49:18 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112
vorher: 23:49:18.514
http://192.168.12.107/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 23:49:18.543
Dauer: 29 msec
phName: 'shelly-12:'Schlafzimmer Licht''
urls : 1
vorher : 23:49:18.488
nachher: 23:49:18.550
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_bedlight_tom_20240720_234918.txt'
Jul 20 23:46:01 srv4hai CRON[23917]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 23:46:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721511962 - 'ping_SP_1' Jul 20 23:46:02 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 20 23:46:21 srv4hai named[30406]: connection refused resolving 'alibaba.com/DS/IN': 95.129.202.2#53 Jul 20 23:46:47 srv4hai common[23942]: SHELLY common.sh inkludiert von ./bt_scan.sh Jul 20 23:46:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23959, secured, session= Jul 20 23:46:50 srv4hai dovecot: imap(miglincit)<23959> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 20 23:46:57 srv4hai bt_scan[23942]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No' Jul 20 23:46:57 srv4hai bt_scan[23942]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence Jul 20 23:46:57 srv4hai common[23984]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jul 20 23:46:58 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'11'=1721512018-1721512007 Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Jul 20 23:46:58 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1721512018-1721512007 Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Jul 20 23:46:58 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721512018-1721512007 Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(BT/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_library_UM) - sceneOFF(offAll) Jul 20 23:46:58 srv4hai check_presence[23984]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll Jul 20 23:47:01 srv4hai CRON[24132]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 23:47:03 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721512023 - 'ping_SP_0' Jul 20 23:47:03 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 20 23:47:16 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721512036 - 'ping_SP_1' Jul 20 23:47:16 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 20 23:47:19 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0 Jul 20 23:47:19 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0 Jul 20 23:47:19 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 20 23:47:19 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.125 Jul 20 23:47:19 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-25 Jul 20 23:47:19 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0 Jul 20 23:47:19 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0 Jul 20 23:47:19 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#39793/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 20 23:47:19 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#33023/key rndc-key: signer "rndc-key" approved Jul 20 23:47:19 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#33023/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT Jul 20 23:47:19 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#33023/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae" Jul 20 23:47:19 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#33023/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A Jul 20 23:47:19 srv4hai named[30406]: client @0x7f932c05b620 192.168.12.252#33023/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125 Jul 20 23:47:19 srv4hai dhcpd[30731]: Added new forward map from shelly-25.viehai.at to 192.168.12.125 Jul 20 23:47:19 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#48863/key rndc-key: signer "rndc-key" approved Jul 20 23:47:19 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#48863/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR Jul 20 23:47:19 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#48863/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at. Jul 20 23:47:19 srv4hai dhcpd[30731]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at Jul 20 23:47:19 srv4hai common[24176]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 20 23:47:19 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' perform:'conf' Jul 20 23:47:21 srv4hai mosquitto[18551]: New connection from 192.168.12.125 on port 1883. Jul 20 23:47:21 srv4hai mosquitto[18551]: Client shelly1-98CDAC2DB6DB already connected, closing old connection. Jul 20 23:47:21 srv4hai mosquitto[18551]: Socket error on client shelly1-98CDAC2DB6DB, disconnecting. Jul 20 23:47:21 srv4hai mosquitto[18551]: New client connected from 192.168.12.125 as shelly1-98CDAC2DB6DB (c1, k60, u'shmqtt'). Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-25' - shIP/2:'192.168.12.125' Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125' Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING Jul 20 23:47:21 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING Jul 20 23:48:01 srv4hai CRON[24320]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 23:48:16 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1721512096 - 'ping_SP_0' Jul 20 23:48:16 srv4hai ping_SP[30744]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 20 23:48:29 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1721512109 - 'ping_SP_1' Jul 20 23:48:29 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 20 23:49:01 srv4hai CRON[24374]: (root) CMD (/etc/linetest/linetest.sh) Jul 20 23:49:07 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:1e:39:5f via enp2s0 Jul 20 23:49:07 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.114 to 98:cd:ac:1e:39:5f via enp2s0 Jul 20 23:49:07 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 20 23:49:07 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.114 Jul 20 23:49:07 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-14 Jul 20 23:49:07 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.114 (192.168.12.252) from 98:cd:ac:1e:39:5f via enp2s0 Jul 20 23:49:07 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.114 to 98:cd:ac:1e:39:5f via enp2s0 Jul 20 23:49:07 srv4hai named[30406]: client @0x7f933001df50 192.168.12.252#33349/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-14.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#51375/key rndc-key: signer "rndc-key" approved Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#51375/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-14.viehai.at' TXT Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#51375/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-14.viehai.at' TXT "001691a966cf4dd6d72071525ebef5ee4e" Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#51375/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-14.viehai.at' A Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#51375/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-14.viehai.at' A 192.168.12.114 Jul 20 23:49:07 srv4hai dhcpd[30731]: Added new forward map from shelly-14.viehai.at to 192.168.12.114 Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#53637/key rndc-key: signer "rndc-key" approved Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#53637/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '114.12.168.192.in-addr.arpa' PTR Jul 20 23:49:07 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#53637/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '114.12.168.192.in-addr.arpa' PTR shelly-14.viehai.at. Jul 20 23:49:07 srv4hai dhcpd[30731]: Added reverse map from 114.12.168.192.in-addr.arpa. to shelly-14.viehai.at Jul 20 23:49:07 srv4hai common[24380]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 20 23:49:07 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-14' - shIP/2:'' perform:'conf' Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-14' - shIP/2:'192.168.12.114' Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY: usage/name 'AUS-Schalter' already set for '192.168.12.114' Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY:'shelly-14' 'conf(0)' - allready transmitted - skipping Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY:'shelly-14' 'conf(1)' - allready transmitted - skipping Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY:'shelly-14' 'conf(2)' - allready transmitted - skipping Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY:'shelly-14' 'conf(3)' - allready transmitted - skipping Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY:'shelly-14' 'conf(4)' - allready transmitted - skipping Jul 20 23:49:08 srv4hai conf_shelly.sh: SHELLY:'shelly-14' 'conf(5)' - allready transmitted - skipping Jul 20 23:49:08 srv4hai ag: grab_shelly.sh SHELLY shelly-14 - (shelly-BTN): 0% - 2.22V Jul 20 23:49:18 srv4hai activate_scenario[24524]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started Jul 20 23:49:18 srv4hai activate_scenario[24524]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
finished