activate_scenario.sh
Sat Mar 2 07:04:42 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'day' <--> 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/03/02/_0.log)

vorher: 07:04:42.838

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: 07:04:42.866
Dauer: 27 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 07:04:42.804
nachher: 07:04:42.872
Dauer : 69 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/02//scene_pcON_20240302_070442.txt'


syslog

Mar  2 07:01:00 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:01:00 srv4hai fetchmail[1651]: 39113 messages (39113 seen) for tmiglinci at mail.akis.at (-1062042101 octets).
Mar  2 07:01:01 srv4hai CRON[28591]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:01:01 srv4hai fetchmail[1651]: 9955 messages (9955 seen) for srozum at mail.akis.at (1202092031 octets).
Mar  2 07:01:02 srv4hai fetchmail[1651]: 21968 messages (21968 seen) for mrozum at mail.akis.at (-527850436 octets).
Mar  2 07:01:02 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  2 07:01:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  2 07:01:02 srv4hai meter.sh: SHELLY meter.sh ended
Mar  2 07:01:03 srv4hai postfix/pickup[21393]: 038AC60244: uid=33 from=
Mar  2 07:01:03 srv4hai postfix/cleanup[28612]: 038AC60244: message-id=<20240302060103.038AC60244@mail.viehai.at>
Mar  2 07:01:03 srv4hai postfix/qmgr[28610]: 038AC60244: from=, size=654, nrcpt=1 (queue active)
Mar  2 07:01:03 srv4hai postfix/local[28614]: 038AC60244: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  2 07:01:03 srv4hai postfix/qmgr[28610]: 038AC60244: removed
Mar  2 07:01:17 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709359277 - 'ping_SP_1'
Mar  2 07:01:17 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 07:01:45 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709359305 - 'ping_SP_0'
Mar  2 07:01:45 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  2 07:01:52 srv4hai postfix/smtpd[28664]: connect from unknown[193.222.96.116]
Mar  2 07:01:55 srv4hai postfix/smtpd[28664]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Mar  2 07:02:01 srv4hai CRON[28668]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:02:30 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709359350 - 'ping_SP_1'
Mar  2 07:02:30 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 07:02:58 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709359378 - 'ping_SP_0'
Mar  2 07:02:58 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  2 07:03:01 srv4hai CRON[28721]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:03:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28728, secured, session=
Mar  2 07:03:02 srv4hai dovecot: imap(miglincit)<28728>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  2 07:03:43 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709359423 - 'ping_SP_1'
Mar  2 07:03:43 srv4hai ping_SP[25235]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  2 07:03:55 srv4hai common[28763]: SHELLY common.sh inkludiert
Mar  2 07:04:01 srv4hai CRON[28777]: (root) CMD (/etc/linetest/linetest.sh)
Mar  2 07:04:05 srv4hai bt_scan[28763]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Mar  2 07:04:05 srv4hai bt_scan[28763]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Mar  2 07:04:11 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709359451 - 'ping_SP_0'
Mar  2 07:04:11 srv4hai ping_SP[21632]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  2 07:04:32 srv4hai activate_scenario[28825]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar  2 07:04:32 srv4hai activate_scenario[28825]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar  2 07:04:32 srv4hai activate_scenario[28825]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar  2 07:04:32 srv4hai postfix/pickup[21393]: A2D5760244: uid=33 from=
Mar  2 07:04:32 srv4hai postfix/cleanup[28878]: A2D5760244: message-id=<20240302060432.A2D5760244@mail.viehai.at>
Mar  2 07:04:32 srv4hai postfix/qmgr[28610]: A2D5760244: from=, size=4761, nrcpt=1 (queue active)
Mar  2 07:04:32 srv4hai activate_scenario[28825]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar  2 07:04:32 srv4hai proc_url[28896]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar  2 07:04:32 srv4hai postfix/local[28891]: A2D5760244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  2 07:04:32 srv4hai postfix/cleanup[28878]: A969A60245: message-id=<20240302060432.A969A60245@mail.viehai.at>
Mar  2 07:04:32 srv4hai postfix/bounce[28892]: A2D5760244: sender non-delivery notification: A969A60245
Mar  2 07:04:32 srv4hai postfix/qmgr[28610]: A969A60245: from=<>, size=6680, nrcpt=1 (queue active)
Mar  2 07:04:32 srv4hai postfix/qmgr[28610]: A2D5760244: removed
Mar  2 07:04:32 srv4hai postfix/local[28891]: A969A60245: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  2 07:04:32 srv4hai postfix/qmgr[28610]: A969A60245: removed
Mar  2 07:04:32 srv4hai activate_scenario[28825]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar  2 07:04:32 srv4hai proc_url[28908]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/02/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar  2 07:04:32 srv4hai activate_scenario[28825]: SHELLY scenario: 'buero_UM(buero_um)' took 72 msec, shelly-40:'Thomas Büro Licht'
Mar  2 07:04:42 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar  2 07:04:42 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar  2 07:04:42 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar  2 07:04:42 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar  2 07:04:42 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#57849/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#46985/key rndc-key: signer "rndc-key" approved
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#46985/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#46985/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#46985/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#46985/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar  2 07:04:42 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar  2 07:04:42 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3180354e0 192.168.12.252#46153/key rndc-key: signer "rndc-key" approved
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3180354e0 192.168.12.252#46153/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar  2 07:04:42 srv4hai named[14530]: client @0x7fc3180354e0 192.168.12.252#46153/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.
Mar  2 07:04:42 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar  2 07:04:42 srv4hai activate_scenario[28954]: SHELLY scenario: 'pcON(pcon)' started
Mar  2 07:04:42 srv4hai activate_scenario[28954]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished