activate_scenario.sh
Sun Dec 15 18:34:01 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/15/_0.log)

vorher: 18:34:02.057

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

nachher: 18:34:02.108
Dauer: 51 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 18:34:02.032
nachher: 18:34:02.114
Dauer : 82 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/15//scene_pcON_20241215_183401.txt'


syslog

Dec 15 18:31:01 srv4hai CRON[21165]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 18:31:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21172, secured, session=
Dec 15 18:31:04 srv4hai dovecot: imap(miglincit)<21172>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 15 18:31:15 srv4hai systemd[1]: Started Run anacron jobs.
Dec 15 18:31:15 srv4hai common[21175]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 15 18:31:15 srv4hai anacron[21178]: Anacron 2.3 started on 2024-12-15
Dec 15 18:31:15 srv4hai anacron[21178]: Normal exit (0 jobs run)
Dec 15 18:31:15 srv4hai systemd[1]: anacron.service: Succeeded.
Dec 15 18:31:25 srv4hai bt_scan[21175]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 15 18:31:25 srv4hai bt_scan[21175]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Dec 15 18:31:30 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 18:31:30 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 18:31:49 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734283909 - 'ping_SP_1'
Dec 15 18:31:49 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 15 18:32:01 srv4hai CRON[21249]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 18:32:10 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734283930 - 'ping_SP_0'
Dec 15 18:32:10 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 18:32:17 srv4hai postfix/smtpd[21270]: connect from unknown[154.203.197.56]
Dec 15 18:32:17 srv4hai postfix/smtpd[21270]: warning: unknown[154.203.197.56]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 15 18:32:17 srv4hai postfix/smtpd[21270]: lost connection after AUTH from unknown[154.203.197.56]
Dec 15 18:32:17 srv4hai postfix/smtpd[21270]: disconnect from unknown[154.203.197.56] ehlo=1 auth=0/1 commands=1/2
Dec 15 18:32:24 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 18:32:24 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 18:33:01 srv4hai CRON[21292]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 18:33:02 srv4hai postfix/smtpd[21270]: connect from unknown[80.94.95.239]
Dec 15 18:33:03 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734283983 - 'ping_SP_1'
Dec 15 18:33:03 srv4hai ping_SP[13571]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 15 18:33:05 srv4hai postfix/smtpd[21270]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 15 18:33:06 srv4hai postfix/smtpd[21270]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 15 18:33:22 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 15 18:33:22 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 15 18:33:24 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734284004 - 'ping_SP_0'
Dec 15 18:33:24 srv4hai ping_SP[21917]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 15 18:33:57 srv4hai dhcpd[4995]: DHCPRELEASE of 192.168.12.2 from 24:5a:4c:1c:1e:f4 via enp2s0 (not found)
Dec 15 18:33:58 srv4hai dhcpd[4995]: DHCPDISCOVER from 24:5a:4c:1c:1e:f4 via enp2s0
Dec 15 18:33:58 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0
Dec 15 18:33:58 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 15 18:33:58 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.2
Dec 15 18:33:58 srv4hai dhcpd[4995]: execute_statement argv[2] = ap2hai
Dec 15 18:33:58 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.2 (192.168.12.252) from 24:5a:4c:1c:1e:f4 via enp2s0
Dec 15 18:33:58 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#52949/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap2hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#33747/key rndc-key: signer "rndc-key" approved
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#33747/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' TXT
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#33747/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' TXT "31a0d441667de220424b7789941807db7d"
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#33747/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' A
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#33747/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' A 192.168.12.2
Dec 15 18:33:58 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.2'(2) device 'ap2hai'
Dec 15 18:33:58 srv4hai dhcpd[4995]: Added new forward map from ap2hai.viehai.at to 192.168.12.2
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#55789/key rndc-key: signer "rndc-key" approved
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#55789/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '2.12.168.192.in-addr.arpa' PTR
Dec 15 18:33:58 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#55789/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 15 18:33:58 srv4hai dhcpd[4995]: Added reverse map from 2.12.168.192.in-addr.arpa. to ap2hai.viehai.at
Dec 15 18:33:58 srv4hai dhcpcommit.sh: SHELLY device 'ap2hai' known and accepted
Dec 15 18:34:01 srv4hai CRON[21348]: (root) CMD (/etc/linetest/linetest.sh)
Dec 15 18:34:01 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 15 18:34:01 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Dec 15 18:34:01 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Dec 15 18:34:01 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Dec 15 18:34:01 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#35089/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#58695/key rndc-key: signer "rndc-key" approved
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#58695/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#58695/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#58695/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#58695/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Dec 15 18:34:01 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Dec 15 18:34:01 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#39945/key rndc-key: signer "rndc-key" approved
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#39945/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Dec 15 18:34:01 srv4hai named[30406]: client @0x7f932c04c990 192.168.12.252#39945/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.
Dec 15 18:34:01 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Dec 15 18:34:01 srv4hai activate_scenario[21358]: SHELLY scenario: 'pcON(pcon)' started
Dec 15 18:34:01 srv4hai activate_scenario[21358]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished