activate_scenario.sh
Mon Dec 23 14:42:17 CET 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 14:42:17.340
http://192.168.12.108/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 14:42:17.368
Dauer: 27 msec
phName: 'shelly-40:'TB Licht''
vorher: 14:42:17.354
http://192.168.12.140/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 14:42:17.440
Dauer: 87 msec
phName: 'shelly-40:'TB Licht''
urls : 2
vorher : 14:42:17.319
nachher: 14:42:17.447
Dauer : 127 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/23//scene_buero_UM_20241223_144217.txt'
Dec 23 14:39:01 srv4hai CRON[29984]: (root) CMD (/etc/linetest/linetest.sh) Dec 23 14:39:01 srv4hai CRON[29985]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Dec 23 14:39:01 srv4hai systemd[1]: Starting Clean php session files... Dec 23 14:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Dec 23 14:39:01 srv4hai systemd[1]: Started Clean php session files. Dec 23 14:39:08 srv4hai activate_scenario[30081]: SHELLY scenario: 'pcOFF(pcoff)' started Dec 23 14:39:08 srv4hai activate_scenario[30081]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:'' Dec 23 14:39:08 srv4hai activate_scenario[30081]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:'' Dec 23 14:39:08 srv4hai postfix/pickup[17951]: C102363463: uid=33 from=Dec 23 14:39:08 srv4hai postfix/cleanup[30134]: C102363463: message-id=<20241223133908.C102363463@mail.viehai.at> Dec 23 14:39:08 srv4hai postfix/qmgr[8566]: C102363463: from= , size=4584, nrcpt=1 (queue active) Dec 23 14:39:08 srv4hai activate_scenario[30081]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'TB Schreibtischlampe' --> '0?turn=off' Dec 23 14:39:08 srv4hai proc_url[30152]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/23/_0.log' - shellyUsage:'TB Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:''' Dec 23 14:39:08 srv4hai postfix/local[30147]: C102363463: to= , orig_to= , relay=local, delay=0.05, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Dec 23 14:39:08 srv4hai postfix/cleanup[30134]: C948863464: message-id=<20241223133908.C948863464@mail.viehai.at> Dec 23 14:39:08 srv4hai postfix/bounce[30148]: C102363463: sender non-delivery notification: C948863464 Dec 23 14:39:08 srv4hai postfix/qmgr[8566]: C948863464: from=<>, size=6463, nrcpt=1 (queue active) Dec 23 14:39:08 srv4hai postfix/qmgr[8566]: C102363463: removed Dec 23 14:39:08 srv4hai postfix/local[30147]: C948863464: to= , relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 23 14:39:08 srv4hai postfix/qmgr[8566]: C948863464: removed Dec 23 14:39:08 srv4hai activate_scenario[30081]: SHELLY scenario: 'pcOFF(pcoff)' took 56 msec, shelly-0:'' Dec 23 14:39:30 srv4hai common[30181]: SHELLY common.sh inkludiert von ./bt_scan.sh Dec 23 14:39:38 srv4hai activate_scenario[30197]: SHELLY scenario: 'buero_UM(buero_um)' started Dec 23 14:39:38 srv4hai activate_scenario[30197]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht' Dec 23 14:39:38 srv4hai activate_scenario[30197]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht' Dec 23 14:39:38 srv4hai postfix/pickup[17951]: 446C963463: uid=33 from= Dec 23 14:39:38 srv4hai postfix/cleanup[30134]: 446C963463: message-id=<20241223133938.446C963463@mail.viehai.at> Dec 23 14:39:38 srv4hai postfix/qmgr[8566]: 446C963463: from= , size=6673, nrcpt=1 (queue active) Dec 23 14:39:38 srv4hai postfix/local[30147]: 446C963463: to= , orig_to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Dec 23 14:39:38 srv4hai postfix/cleanup[30134]: 4717463464: message-id=<20241223133938.4717463464@mail.viehai.at> Dec 23 14:39:38 srv4hai postfix/bounce[30148]: 446C963463: sender non-delivery notification: 4717463464 Dec 23 14:39:38 srv4hai postfix/qmgr[8566]: 4717463464: from=<>, size=8552, nrcpt=1 (queue active) Dec 23 14:39:38 srv4hai postfix/qmgr[8566]: 446C963463: removed Dec 23 14:39:38 srv4hai postfix/local[30147]: 4717463464: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 23 14:39:38 srv4hai postfix/qmgr[8566]: 4717463464: removed Dec 23 14:39:38 srv4hai activate_scenario[30197]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle' Dec 23 14:39:38 srv4hai proc_url[30265]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/23/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Dec 23 14:39:38 srv4hai activate_scenario[30197]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle' Dec 23 14:39:38 srv4hai proc_url[30276]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/23/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Dec 23 14:39:38 srv4hai activate_scenario[30197]: SHELLY scenario: 'buero_UM(buero_um)' took 84 msec, shelly-40:'TB Licht' Dec 23 14:39:40 srv4hai bt_scan[30181]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Dec 23 14:39:40 srv4hai bt_scan[30181]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Dec 23 14:39:47 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 23 14:39:47 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 23 14:39:49 srv4hai ping_SP[27543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1734961189 - 'ping_SP_0' Dec 23 14:39:49 srv4hai ping_SP[27543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 23 14:40:01 srv4hai CRON[30358]: (root) CMD (/etc/linetest/linetest.sh) Dec 23 14:40:01 srv4hai CRON[30357]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Dec 23 14:40:01 srv4hai common[30360]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Dec 23 14:40:01 srv4hai meter.sh: SHELLY meter.sh started Dec 23 14:40:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring Dec 23 14:40:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring Dec 23 14:40:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Dec 23 14:40:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Dec 23 14:40:07 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring Dec 23 14:40:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Dec 23 14:40:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Dec 23 14:40:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring Dec 23 14:40:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Dec 23 14:40:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Dec 23 14:40:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring Dec 23 14:40:14 srv4hai postfix/smtpd[31340]: connect from unknown[154.203.197.233] Dec 23 14:40:14 srv4hai postfix/smtpd[31340]: warning: unknown[154.203.197.233]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 23 14:40:14 srv4hai postfix/smtpd[31340]: disconnect from unknown[154.203.197.233] ehlo=1 auth=0/1 quit=1 commands=2/3 Dec 23 14:40:15 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Dec 23 14:40:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Dec 23 14:40:15 srv4hai common[31375]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Dec 23 14:40:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM' Dec 23 14:40:16 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs Dec 23 14:40:16 srv4hai meter.sh: SHELLY meter.sh ended Dec 23 14:40:42 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 23 14:40:42 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 23 14:40:42 srv4hai dhcpd[4995]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found) Dec 23 14:40:42 srv4hai dhcpd[4995]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0 Dec 23 14:40:42 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0 Dec 23 14:40:42 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Dec 23 14:40:42 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.3 Dec 23 14:40:42 srv4hai dhcpd[4995]: execute_statement argv[2] = ap3hai Dec 23 14:40:42 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0 Dec 23 14:40:42 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0 Dec 23 14:40:42 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#56473/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 23 14:40:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39251/key rndc-key: signer "rndc-key" approved Dec 23 14:40:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT Dec 23 14:40:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028" Dec 23 14:40:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A Dec 23 14:40:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#39251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3 Dec 23 14:40:42 srv4hai dhcpd[4995]: Added new forward map from ap3hai.viehai.at to 192.168.12.3 Dec 23 14:40:42 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai' Dec 23 14:40:42 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35275/key rndc-key: signer "rndc-key" approved Dec 23 14:40:42 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35275/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR Dec 23 14:40:42 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#35275/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at. Dec 23 14:40:42 srv4hai dhcpd[4995]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at Dec 23 14:40:42 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted Dec 23 14:40:48 srv4hai dhcpd[4995]: DHCPRELEASE of 192.168.12.2 from 24:5a:4c:1c:1e:f4 via enp2s0 (not found) Dec 23 14:40:48 srv4hai dhcpd[4995]: DHCPDISCOVER from 24:5a:4c:1c:1e:f4 via enp2s0 Dec 23 14:40:48 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0 Dec 23 14:40:48 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Dec 23 14:40:48 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.2 Dec 23 14:40:48 srv4hai dhcpd[4995]: execute_statement argv[2] = ap2hai Dec 23 14:40:48 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.2 (192.168.12.252) from 24:5a:4c:1c:1e:f4 via enp2s0 Dec 23 14:40:48 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0 Dec 23 14:40:48 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#34315/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap2hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 23 14:40:48 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#36915/key rndc-key: signer "rndc-key" approved Dec 23 14:40:48 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#36915/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' TXT Dec 23 14:40:48 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#36915/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' TXT "31a0d441667de220424b7789941807db7d" Dec 23 14:40:48 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#36915/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' A Dec 23 14:40:48 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#36915/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' A 192.168.12.2 Dec 23 14:40:48 srv4hai dhcpd[4995]: Added new forward map from ap2hai.viehai.at to 192.168.12.2 Dec 23 14:40:48 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.2'(2) device 'ap2hai' Dec 23 14:40:48 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#40537/key rndc-key: signer "rndc-key" approved Dec 23 14:40:48 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#40537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '2.12.168.192.in-addr.arpa' PTR Dec 23 14:40:48 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#40537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '2.12.168.192.in-addr.arpa' PTR ap2hai.viehai.at. Dec 23 14:40:48 srv4hai dhcpd[4995]: Added reverse map from 2.12.168.192.in-addr.arpa. to ap2hai.viehai.at Dec 23 14:40:48 srv4hai dhcpcommit.sh: SHELLY device 'ap2hai' known and accepted Dec 23 14:41:01 srv4hai CRON[31426]: (root) CMD (/etc/linetest/linetest.sh) Dec 23 14:41:03 srv4hai ping_SP[27543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1734961263 - 'ping_SP_0' Dec 23 14:41:03 srv4hai ping_SP[27543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 23 14:41:37 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883. Dec 23 14:41:37 srv4hai mosquitto[29419]: Socket error on client , disconnecting. Dec 23 14:42:01 srv4hai CRON[31453]: (root) CMD (/etc/linetest/linetest.sh) Dec 23 14:42:04 srv4hai postfix/smtpd[31460]: connect from unknown[80.94.95.239] Dec 23 14:42:06 srv4hai postfix/smtpd[31460]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 23 14:42:06 srv4hai postfix/smtpd[31460]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Dec 23 14:42:08 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Dec 23 14:42:15 srv4hai fetchmail[1651]: 59963 messages (59963 seen) for tmiglinci at mail.akis.at (634973507 octets). Dec 23 14:42:16 srv4hai ping_SP[27543]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1734961336 - 'ping_SP_0' Dec 23 14:42:16 srv4hai ping_SP[27543]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 23 14:42:17 srv4hai activate_scenario[31480]: SHELLY scenario: 'buero_UM(buero_um)' started Dec 23 14:42:17 srv4hai activate_scenario[31480]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished