activate_scenario.sh
Wed Jul 31 18:29:20 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 18:29:20.205
http://192.168.12.101/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 18:29:20.289
Dauer: 83 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.218
http://192.168.12.102/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 18:29:20.292
Dauer: 76 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.230
http://192.168.12.103/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 18:29:20.288
Dauer: 59 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.245
http://192.168.12.105/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:29:20.270
Dauer: 25 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.257
http://192.168.12.106/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 18:29:20.434
Dauer: 178 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.273
http://192.168.12.107/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:29:20.301
Dauer: 29 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.286
http://192.168.12.108/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:29:20.332
Dauer: 46 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.304
http://192.168.12.109/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 18:29:20.423
Dauer: 120 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.318
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 18:29:20.423
Dauer: 104 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.333
http://192.168.12.140/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:29:20.405
Dauer: 72 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.346
http://192.168.12.112/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 18:29:20.418
Dauer: 73 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.362
http://192.168.12.116/white/0?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 0, "overpower": false |
nachher: 18:29:20.495
Dauer: 132 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.376
http://192.168.12.116/white/1?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 0, "overpower": false |
nachher: 18:29:20.495
Dauer: 119 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.388
http://192.168.12.117/white/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 18:29:20.535
Dauer: 147 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.403
http://192.168.12.117/white/1?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 18:29:20.543
Dauer: 139 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.420
http://192.168.12.119/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 18:29:20.460
Dauer: 40 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.437
http://192.168.12.123/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:29:20.467
Dauer: 29 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.452
http://192.168.12.124/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 18:29:20.484
Dauer: 32 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 18:29:20.467
http://192.168.12.125/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 18:29:20.527
Dauer: 60 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 18:29:20.186
nachher: 18:29:20.554
Dauer : 367 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/31//scene_homeOffice_20240731_182920.txt'
Jul 31 18:26:01 srv4hai CRON[31017]: (root) CMD (/etc/linetest/linetest.sh) Jul 31 18:26:30 srv4hai nmbd[2172]: [2024/07/31 18:26:30.566710, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Jul 31 18:26:30 srv4hai nmbd[2172]: find_domain_master_name_query_fail: Jul 31 18:26:30 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Jul 31 18:26:30 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. Jul 31 18:27:00 srv4hai ping_SP[21729]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722443220 - 'ping_SP_0' Jul 31 18:27:00 srv4hai ping_SP[21729]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 31 18:27:01 srv4hai CRON[31052]: (root) CMD (/etc/linetest/linetest.sh) Jul 31 18:27:38 srv4hai dhcpd[30731]: DHCPDISCOVER from f4:cf:a2:e3:b2:94 via enp2s0 Jul 31 18:27:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0 Jul 31 18:27:38 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 31 18:27:38 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.101 Jul 31 18:27:38 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-01 Jul 31 18:27:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from f4:cf:a2:e3:b2:94 via enp2s0 Jul 31 18:27:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.101 to f4:cf:a2:e3:b2:94 via enp2s0 Jul 31 18:27:38 srv4hai named[30406]: client @0x7f935010f2a0 192.168.12.252#48517/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 31 18:27:38 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#45109/key rndc-key: signer "rndc-key" approved Jul 31 18:27:38 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#45109/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT Jul 31 18:27:38 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#45109/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "00c768089445c9f8f8e0a9ab6d602edfb6" Jul 31 18:27:38 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#45109/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A Jul 31 18:27:38 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#45109/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101 Jul 31 18:27:38 srv4hai dhcpd[30731]: Added new forward map from shelly-01.viehai.at to 192.168.12.101 Jul 31 18:27:38 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#43429/key rndc-key: signer "rndc-key" approved Jul 31 18:27:38 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#43429/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR Jul 31 18:27:38 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#43429/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at. Jul 31 18:27:38 srv4hai dhcpd[30731]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at Jul 31 18:27:38 srv4hai common[31063]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 31 18:27:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf' Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-01' - shIP/2:'192.168.12.101' Jul 31 18:27:39 srv4hai mosquitto[18551]: New connection from 192.168.12.101 on port 1883. Jul 31 18:27:39 srv4hai mosquitto[18551]: New client connected from 192.168.12.101 as shelly1pm-F4CFA2E3B294 (c1, k60, u'shmqtt'). Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wandlicht beim Esstisch' already set for '192.168.12.101' Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(3)' - allready transmitted - skipping Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(4)' - allready transmitted - skipping Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(5)' - allready transmitted - skipping Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 ON : MISSING Jul 31 18:27:39 srv4hai conf_shelly.sh: SHELLY:'shelly-01' out:0 OFF: MISSING Jul 31 18:27:47 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jul 31 18:27:48 srv4hai fetchmail[1651]: 49777 messages (49777 seen) for tmiglinci at mail.akis.at (-180468876 octets). Jul 31 18:27:49 srv4hai fetchmail[1651]: 10534 messages (10534 seen) for srozum at mail.akis.at (1266603971 octets). Jul 31 18:27:49 srv4hai fetchmail[1651]: 25053 messages (25053 seen) for mrozum at mail.akis.at (79774077 octets). Jul 31 18:27:50 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Jul 31 18:27:54 srv4hai common[31209]: SHELLY common.sh inkludiert von ./bt_scan.sh Jul 31 18:28:01 srv4hai CRON[31226]: (root) CMD (/etc/linetest/linetest.sh) Jul 31 18:28:04 srv4hai bt_scan[31209]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Jul 31 18:28:04 srv4hai bt_scan[31209]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jul 31 18:28:04 srv4hai common[31252]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jul 31 18:28:05 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1722443285-1722443274 Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Jul 31 18:28:05 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1722443285-1722443274 Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jul 31 18:28:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1722443285-1722443274 Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll) Jul 31 18:28:05 srv4hai check_presence[31252]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Jul 31 18:28:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Jul 31 18:28:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10 Jul 31 18:28:12 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x Jul 31 18:28:12 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0 Jul 31 18:28:12 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0 Jul 31 18:28:12 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#35729/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 31 18:28:12 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#50477/key rndc-key: signer "rndc-key" approved Jul 31 18:28:12 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#50477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT Jul 31 18:28:12 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#50477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52" Jul 31 18:28:12 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#50477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A Jul 31 18:28:12 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#50477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10 Jul 31 18:28:12 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10 Jul 31 18:28:12 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x' Jul 31 18:28:12 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#36797/key rndc-key: signer "rndc-key" approved Jul 31 18:28:12 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#36797/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR Jul 31 18:28:12 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#36797/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at. Jul 31 18:28:12 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at Jul 31 18:28:12 srv4hai activate_scenario[31406]: SHELLY scenario: 'pcON(pcon)' started Jul 31 18:28:12 srv4hai activate_scenario[31406]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x' Jul 31 18:28:12 srv4hai activate_scenario[31406]: SHELLY scenario: 'pcON(pcon)' TO BE EXECUTED, origin:'dhcpcommit.sh-pchai7x' Jul 31 18:28:12 srv4hai postfix/pickup[17425]: 9F9936018A: uid=33 from=Jul 31 18:28:12 srv4hai postfix/cleanup[31456]: 9F9936018A: message-id=<20240731162812.9F9936018A@mail.viehai.at> Jul 31 18:28:12 srv4hai postfix/qmgr[8566]: 9F9936018A: from= , size=11143, nrcpt=1 (queue active) Jul 31 18:28:12 srv4hai postfix/local[31466]: warning: database /etc/aliases.db is older than source file /etc/aliases Jul 31 18:28:12 srv4hai activate_scenario[31406]: SHELLY: scenario: 'pcON(pcon)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=on' Jul 31 18:28:12 srv4hai proc_url[31474]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/31/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=on' - phName:'origin:'dhcpcommit.sh-pchai7x'' Jul 31 18:28:12 srv4hai postfix/local[31466]: 9F9936018A: to= , orig_to= , relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Jul 31 18:28:12 srv4hai postfix/cleanup[31456]: A7D526018B: message-id=<20240731162812.A7D526018B@mail.viehai.at> Jul 31 18:28:12 srv4hai postfix/bounce[31470]: 9F9936018A: sender non-delivery notification: A7D526018B Jul 31 18:28:12 srv4hai postfix/qmgr[8566]: A7D526018B: from=<>, size=13025, nrcpt=1 (queue active) Jul 31 18:28:12 srv4hai postfix/qmgr[8566]: 9F9936018A: removed Jul 31 18:28:12 srv4hai postfix/local[31466]: A7D526018B: to= , relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jul 31 18:28:12 srv4hai postfix/qmgr[8566]: A7D526018B: removed Jul 31 18:28:12 srv4hai activate_scenario[31406]: SHELLY scenario: 'pcON(pcon)' took 80 msec, origin:'dhcpcommit.sh-pchai7x' Jul 31 18:28:13 srv4hai ping_SP[21729]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1722443293 - 'ping_SP_0' Jul 31 18:28:13 srv4hai ping_SP[21729]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 31 18:28:20 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=192.168.12.10, lip=192.168.12.252, mpid=31519, TLS, session= Jul 31 18:28:40 srv4hai named[30406]: connection refused resolving 'alicdn.com/DS/IN': 95.129.202.2#53 Jul 31 18:28:41 srv4hai named[30406]: connection refused resolving 'aliexpress.com/DS/IN': 95.129.202.2#53 Jul 31 18:28:41 srv4hai named[30406]: connection refused resolving 'alibabadns.com/DS/IN': 95.129.202.2#53 Jul 31 18:29:01 srv4hai CRON[31527]: (root) CMD (/etc/linetest/linetest.sh) Jul 31 18:29:20 srv4hai activate_scenario[31542]: SHELLY scenario: 'homeOffice(homeoffice)' started Jul 31 18:29:20 srv4hai activate_scenario[31542]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished