activate_scenario.sh
Sun Aug 11 21:04:20 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/08/11/_0.log)

vorher: 21:04:20.770

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: 21:04:20.797
Dauer: 28 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 21:04:20.746
nachher: 21:04:20.805
Dauer : 59 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/11//scene_pcON_20240811_210420.txt'


syslog

Aug 11 21:01:01 srv4hai CRON[15612]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 21:01:08 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723402868 - 'ping_SP_0'
Aug 11 21:01:08 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 11 21:01:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15643, secured, session=
Aug 11 21:01:46 srv4hai dovecot: imap(rozumm)<15643>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 21:02:01 srv4hai CRON[15650]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 21:02:21 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723402941 - 'ping_SP_0'
Aug 11 21:02:21 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 11 21:02:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15682, secured, session=
Aug 11 21:02:46 srv4hai dovecot: imap(rozumm)<15682>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 21:03:01 srv4hai CRON[15686]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 21:03:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15694, secured, session=
Aug 11 21:03:04 srv4hai dovecot: imap(miglincit)<15694>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 21:03:34 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723403014 - 'ping_SP_0'
Aug 11 21:03:34 srv4hai ping_SP[12602]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 11 21:03:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15722, secured, session=
Aug 11 21:03:47 srv4hai dovecot: imap(rozumm)<15722>: Logged out in=92 out=1068 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 11 21:04:01 srv4hai CRON[15733]: (root) CMD (/etc/linetest/linetest.sh)
Aug 11 21:04:09 srv4hai activate_scenario[15739]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug 11 21:04:09 srv4hai activate_scenario[15739]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Aug 11 21:04:09 srv4hai activate_scenario[15739]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Aug 11 21:04:09 srv4hai postfix/pickup[4176]: 7CC386345B: uid=33 from=
Aug 11 21:04:09 srv4hai postfix/cleanup[15792]: 7CC386345B: message-id=<20240811190409.7CC386345B@mail.viehai.at>
Aug 11 21:04:09 srv4hai postfix/qmgr[8566]: 7CC386345B: from=, size=3338, nrcpt=1 (queue active)
Aug 11 21:04:09 srv4hai postfix/local[15805]: 7CC386345B: to=, orig_to=, relay=local, delay=0.05, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Aug 11 21:04:09 srv4hai postfix/cleanup[15792]: 83EDC63460: message-id=<20240811190409.83EDC63460@mail.viehai.at>
Aug 11 21:04:09 srv4hai activate_scenario[15739]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Aug 11 21:04:09 srv4hai postfix/bounce[15806]: 7CC386345B: sender non-delivery notification: 83EDC63460
Aug 11 21:04:09 srv4hai postfix/qmgr[8566]: 83EDC63460: from=<>, size=5260, nrcpt=1 (queue active)
Aug 11 21:04:09 srv4hai postfix/qmgr[8566]: 7CC386345B: removed
Aug 11 21:04:09 srv4hai proc_url[15810]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/11/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug 11 21:04:09 srv4hai postfix/local[15805]: 83EDC63460: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug 11 21:04:09 srv4hai postfix/qmgr[8566]: 83EDC63460: removed
Aug 11 21:04:09 srv4hai activate_scenario[15739]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Aug 11 21:04:09 srv4hai proc_url[15823]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/11/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug 11 21:04:09 srv4hai activate_scenario[15739]: SHELLY scenario: 'buero_UM(buero_um)' took 84 msec, shelly-40:'Thomas Büro Licht'
Aug 11 21:04:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Aug 11 21:04:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Aug 11 21:04:20 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Aug 11 21:04:20 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Aug 11 21:04:20 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f931c09e790 192.168.12.252#60971/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#49911/key rndc-key: signer "rndc-key" approved
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#49911/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#49911/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#49911/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#49911/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Aug 11 21:04:20 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Aug 11 21:04:20 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#36729/key rndc-key: signer "rndc-key" approved
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#36729/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Aug 11 21:04:20 srv4hai named[30406]: client @0x7f93480026a0 192.168.12.252#36729/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.
Aug 11 21:04:20 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Aug 11 21:04:20 srv4hai activate_scenario[15904]: SHELLY scenario: 'pcON(pcon)' started
Aug 11 21:04:20 srv4hai activate_scenario[15904]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished