activate_scenario.sh
Thu Feb 22 18:27:03 CET 2024
scenario: pcOFF
source: 192.168.12.10

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/02/22/_0.log)

vorher: 18:27:04.071

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 18:27:04.110
Dauer: 38 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 18:27:04.025
nachher: 18:27:04.116
Dauer : 93 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/22//scene_pcOFF_20240222_182703.txt'


syslog

Feb 22 18:24:01 srv4hai CRON[32202]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 18:24:11 srv4hai ping_SP[31634]: SHELLY (2)- ping 192.168.12.63 5 not answered (1) @~1708622651 - 'ping_SP_2'
Feb 22 18:24:11 srv4hai ping_SP[31634]: SHELLY (2)- ping 192.168.12.63 5 not answered - abort (31634) @~1708622651 - rm 'ping_SP_2'
Feb 22 18:24:11 srv4hai common[32227]: SHELLY common.sh inkludiert
Feb 22 18:24:11 srv4hai check_presence[32227]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 22 18:24:11 srv4hai check_presence[32227]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 22 18:24:11 srv4hai check_presence[32227]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 22 18:24:11 srv4hai check_presence[32227]: SHELLY (ping_SP__NO_ping)-(2) what: 'presence' - persPresent: '(__/__) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 22 18:24:11 srv4hai check_presence[32227]: SHELLY (ping_SP__NO_ping)-(2)-presence: NOT activate_scenario.shtml: offAll
Feb 22 18:24:16 srv4hai postfix/smtpd[32279]: warning: hostname apzg-0721o-063.stretchoid.com does not resolve to address 192.241.201.89
Feb 22 18:24:16 srv4hai postfix/smtpd[32279]: connect from unknown[192.241.201.89]
Feb 22 18:24:16 srv4hai postfix/smtpd[32279]: lost connection after UNKNOWN from unknown[192.241.201.89]
Feb 22 18:24:16 srv4hai postfix/smtpd[32279]: disconnect from unknown[192.241.201.89] unknown=0/1 commands=0/1
Feb 22 18:24:26 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708622666 - 'ping_SP_1'
Feb 22 18:24:26 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 18:24:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32315, secured, session=<4FATuPsR/JMAAAAAAAAAAAAAAAAAAAAB>
Feb 22 18:24:43 srv4hai dovecot: imap(rozumm)<32315><4FATuPsR/JMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 18:25:01 srv4hai sntp[32323]: sntp 4.2.8p12@1.3728-o (1)
Feb 22 18:25:01 srv4hai sntp[32323]: Send to [2001:4860:4806::]:123 failed, Network is unreachable
Feb 22 18:25:01 srv4hai sntp[32323]: 2024-02-22 18:25:01.280844 (-0100) +0.003344 +/- 0.002336 time.google.com 216.239.35.8 s1 no-leap
Feb 22 18:25:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32328, secured, session=
Feb 22 18:25:01 srv4hai dovecot: imap(miglincit)<32328>: Logged out in=700 out=44198 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=20488 body_count=0 body_bytes=0
Feb 22 18:25:01 srv4hai CRON[32330]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 18:25:30 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708622730 - 'ping_SP_1'
Feb 22 18:25:30 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 18:25:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32374, secured, session=<0winu/sRNpQAAAAAAAAAAAAAAAAAAAAB>
Feb 22 18:25:43 srv4hai dovecot: imap(rozumm)<32374><0winu/sRNpQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 18:25:45 srv4hai postfix/smtpd[32279]: connect from unknown[194.33.191.90]
Feb 22 18:25:46 srv4hai postfix/smtpd[32279]: warning: unknown[194.33.191.90]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 22 18:25:46 srv4hai postfix/smtpd[32279]: disconnect from unknown[194.33.191.90] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 22 18:25:59 srv4hai common[32383]: SHELLY common.sh inkludiert
Feb 22 18:25:59 srv4hai bt_scan[32383]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'No'
Feb 22 18:25:59 srv4hai bt_scan[32383]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Feb 22 18:25:59 srv4hai common[32412]: SHELLY common.sh inkludiert
Feb 22 18:25:59 srv4hai check_presence[32412]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 22 18:25:59 srv4hai check_presence[32412]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 22 18:25:59 srv4hai check_presence[32412]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 22 18:25:59 srv4hai check_presence[32412]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/__) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 22 18:25:59 srv4hai check_presence[32412]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Feb 22 18:26:01 srv4hai CRON[32463]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 18:26:13 srv4hai dhcpd[5037]: DHCPDISCOVER from 00:22:61:78:ac:78 via enp2s0
Feb 22 18:26:13 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 22 18:26:13 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 22 18:26:13 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.25
Feb 22 18:26:13 srv4hai dhcpd[5037]: execute_statement argv[2] = RadioKueche
Feb 22 18:26:13 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.25 (192.168.12.252) from 00:22:61:78:ac:78 via enp2s0
Feb 22 18:26:13 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.25 to 00:22:61:78:ac:78 via enp2s0
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#39381/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: RadioKueche.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc32405ba30 192.168.12.252#59991/key rndc-key: signer "rndc-key" approved
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc32405ba30 192.168.12.252#59991/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'RadioKueche.viehai.at' TXT
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc32405ba30 192.168.12.252#59991/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'RadioKueche.viehai.at' TXT "00ea454d9e8190f8e991b9433de6ed5bf8"
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc32405ba30 192.168.12.252#59991/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'RadioKueche.viehai.at' A
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc32405ba30 192.168.12.252#59991/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'RadioKueche.viehai.at' A 192.168.12.25
Feb 22 18:26:13 srv4hai dhcpd[5037]: Added new forward map from RadioKueche.viehai.at to 192.168.12.25
Feb 22 18:26:13 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.25'(25) device 'RadioKueche'
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc31400b700 192.168.12.252#36103/key rndc-key: signer "rndc-key" approved
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc31400b700 192.168.12.252#36103/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '25.12.168.192.in-addr.arpa' PTR
Feb 22 18:26:13 srv4hai named[14530]: client @0x7fc31400b700 192.168.12.252#36103/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '25.12.168.192.in-addr.arpa' PTR RadioKueche.viehai.at.
Feb 22 18:26:13 srv4hai dhcpd[5037]: Added reverse map from 25.12.168.192.in-addr.arpa. to RadioKueche.viehai.at
Feb 22 18:26:13 srv4hai dhcpcommit.sh: SHELLY device 'RadioKueche' known and accepted
Feb 22 18:26:33 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708622793 - 'ping_SP_1'
Feb 22 18:26:33 srv4hai ping_SP[21651]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 22 18:26:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32515, secured, session=
Feb 22 18:26:43 srv4hai dovecot: imap(rozumm)<32515>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 18:26:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32518, secured, session=
Feb 22 18:26:51 srv4hai dovecot: imap(miglincit)<32518>: Logged out in=478 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 22 18:27:01 srv4hai CRON[32522]: (root) CMD (/etc/linetest/linetest.sh)
Feb 22 18:27:03 srv4hai dovecot: imap(miglincit)<23002>: Logged out in=4559 out=3251906 deleted=0 expunged=0 trashed=0 hdr_count=8 hdr_bytes=2831 body_count=8 body_bytes=3163809
Feb 22 18:27:03 srv4hai activate_scenario[32528]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 22 18:27:03 srv4hai activate_scenario[32528]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished