activate_scenario.sh
Fri May 24 20:40:03 CEST 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'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/05/24/_0.log)

vorher: 20:40:03.755

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: 20:40:03.808
Dauer: 53 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 20:40:03.731
nachher: 20:40:03.815
Dauer : 84 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/24//scene_pcON_20240524_204003.txt'


syslog

May 24 20:37:01 srv4hai CRON[2831]: (root) CMD (/etc/linetest/linetest.sh)
May 24 20:37:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2839, secured, session=
May 24 20:37:02 srv4hai dovecot: imap(miglincit)<2839>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 24 20:37:42 srv4hai postfix/qmgr[15291]: C3C2A631BE: from=, size=21799, nrcpt=1 (queue active)
May 24 20:37:42 srv4hai postfix/qmgr[15291]: 6C02C631F6: from=, size=21705, nrcpt=1 (queue active)
May 24 20:37:42 srv4hai postfix/qmgr[15291]: 04741631B3: from=, size=21730, nrcpt=1 (queue active)
May 24 20:37:42 srv4hai named[15509]: REFUSED unexpected RCODE resolving 'boredomtherapy.com/MX/IN': 97.74.111.53#53
May 24 20:37:42 srv4hai named[15509]: REFUSED unexpected RCODE resolving 'boredomtherapy.com/MX/IN': 173.201.79.53#53
May 24 20:37:42 srv4hai postfix/smtp[2850]: 04741631B3: to=, relay=none, delay=239886, delays=239885/0.01/0.65/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=boredomtherapy.com type=MX: Host not found, try again)
May 24 20:37:43 srv4hai postfix/smtp[2848]: C3C2A631BE: host copperstate-com01e.mail.protection.outlook.com[52.101.9.11] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BL6PEPF0001AB4E.namprd04.prod.outlook.com 2024-05-24T18:37:43.170Z 08DC7732D36C8B4E] (in reply to end of DATA command)
May 24 20:37:43 srv4hai postfix/smtp[2849]: 6C02C631F6: host allegient-com.mail.protection.outlook.com[52.101.11.9] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [SN1PEPF00026368.namprd02.prod.outlook.com 2024-05-24T18:37:43.439Z 08DC7A38E2736E29] (in reply to end of DATA command)
May 24 20:37:44 srv4hai postfix/smtp[2848]: C3C2A631BE: to=, relay=copperstate-com01e.mail.protection.outlook.com[52.101.194.19]:25, delay=176987, delays=176985/0.01/1.5/0.65, dsn=4.4.4, status=deferred (host copperstate-com01e.mail.protection.outlook.com[52.101.194.19] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [CH2PEPF0000013C.namprd02.prod.outlook.com 2024-05-24T18:37:44.183Z 08DC77047F63DD97] (in reply to end of DATA command))
May 24 20:37:44 srv4hai postfix/smtp[2849]: 6C02C631F6: to=, relay=allegient-com.mail.protection.outlook.com[52.101.9.24]:25, delay=176929, delays=176926/0.01/1.8/0.8, dsn=4.4.4, status=deferred (host allegient-com.mail.protection.outlook.com[52.101.9.24] said: 451 4.4.4 Mail received as unauthenticated, incoming to a recipient domain configured in a hosted tenant which has no mail-enabled subscriptions. ATTR5 [BL6PEPF00022574.namprd02.prod.outlook.com 2024-05-24T18:37:44.571Z 08DC76F8C2730D9E] (in reply to end of DATA command))
May 24 20:37:44 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716575864 - 'ping_SP_0'
May 24 20:37:44 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 20:38:01 srv4hai CRON[2869]: (root) CMD (/etc/linetest/linetest.sh)
May 24 20:38:07 srv4hai common[2876]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 24 20:38:17 srv4hai bt_scan[2876]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
May 24 20:38:17 srv4hai bt_scan[2876]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
May 24 20:38:17 srv4hai common[2909]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 24 20:38:18 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1716575898-1716575887
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May 24 20:38:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1716575898-1716575887
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 24 20:38:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1716575898-1716575887
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcOFF) - sceneOFF(offAll)
May 24 20:38:18 srv4hai check_presence[2909]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
May 24 20:38:48 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 24 20:38:49 srv4hai fetchmail[1651]: 44976 messages (44976 seen) for tmiglinci at mail.akis.at (-573506930 octets).
May 24 20:38:50 srv4hai fetchmail[1651]: 10254 messages (10254 seen) for srozum at mail.akis.at (1235481036 octets).
May 24 20:38:50 srv4hai fetchmail[1651]: 23680 messages (23680 seen) for mrozum at mail.akis.at (-201776669 octets).
May 24 20:38:51 srv4hai fetchmail[1651]: 64 messages (64 seen) for admin@bastelstube.wien at pop3.world4you.com (17609334 octets).
May 24 20:38:58 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1716575938 - 'ping_SP_0'
May 24 20:38:58 srv4hai ping_SP[7923]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 24 20:39:01 srv4hai CRON[3078]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 24 20:39:01 srv4hai CRON[3079]: (root) CMD (/etc/linetest/linetest.sh)
May 24 20:39:01 srv4hai systemd[1]: Starting Clean php session files...
May 24 20:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
May 24 20:39:01 srv4hai systemd[1]: Started Clean php session files.
May 24 20:39:31 srv4hai common[3179]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 24 20:39:41 srv4hai bt_scan[3179]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
May 24 20:39:41 srv4hai bt_scan[3179]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
May 24 20:40:01 srv4hai CRON[3217]: (root) CMD (/etc/linetest/linetest.sh)
May 24 20:40:01 srv4hai CRON[3218]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May 24 20:40:01 srv4hai common[3220]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May 24 20:40:01 srv4hai meter.sh: SHELLY meter.sh started
May 24 20:40:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May 24 20:40:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May 24 20:40:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3498, secured, session=
May 24 20:40:02 srv4hai dovecot: imap(miglincit)<3498>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 24 20:40:03 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
May 24 20:40:03 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.10
May 24 20:40:03 srv4hai dhcpd[22856]: execute_statement argv[2] = pchai7x
May 24 20:40:03 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
May 24 20:40:03 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
May 24 20:40:03 srv4hai named[15509]: client @0x7f931c6fb140 192.168.12.252#58231/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May 24 20:40:03 srv4hai named[15509]: client @0x7f9318106800 192.168.12.252#60383/key rndc-key: signer "rndc-key" approved
May 24 20:40:03 srv4hai named[15509]: client @0x7f9318106800 192.168.12.252#60383/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
May 24 20:40:03 srv4hai named[15509]: client @0x7f9318106800 192.168.12.252#60383/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
May 24 20:40:03 srv4hai named[15509]: client @0x7f9318106800 192.168.12.252#60383/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
May 24 20:40:03 srv4hai named[15509]: client @0x7f9318106800 192.168.12.252#60383/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
May 24 20:40:03 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
May 24 20:40:03 srv4hai dhcpd[22856]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
May 24 20:40:03 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#47813/key rndc-key: signer "rndc-key" approved
May 24 20:40:03 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#47813/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
May 24 20:40:03 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#47813/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.
May 24 20:40:03 srv4hai dhcpd[22856]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
May 24 20:40:03 srv4hai activate_scenario[3569]: SHELLY scenario: 'pcON(pcon)' started
May 24 20:40:03 srv4hai activate_scenario[3569]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished