activate_scenario.sh
Wed Feb 14 17:16:16 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'

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

vorher: 17:16:16.134

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: 17:16:16.177
Dauer: 43 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 17:16:16.084
nachher: 17:16:16.184
Dauer : 101 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/14//scene_pcON_20240214_171616.txt'


syslog

Feb 14 17:13:01 srv4hai CRON[28614]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 17:13:06 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 14 17:13:06 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 14 17:13:06 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 14 17:13:06 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 14 17:13:06 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb 14 17:13:06 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb 14 17:13:06 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 17:13:06 srv4hai named[14530]: client @0x7fc328693a30 192.168.12.252#43335/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 17:13:06 srv4hai common[28626]: SHELLY common.sh inkludiert
Feb 14 17:13:16 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 14 17:13:16 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 14 17:13:16 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: signer "rndc-key" approved
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 14 17:13:16 srv4hai named[14530]: client @0x7fc3140255c0 192.168.12.252#33385/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 14 17:13:16 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 14 17:13:30 srv4hai named[14530]: resolver priming query complete
Feb 14 17:13:44 srv4hai nmbd[30864]: [2024/02/14 17:13:44.174503,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 14 17:13:44 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 14 17:13:44 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 14 17:13:44 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 14 17:13:54 srv4hai named[14530]: resolver priming query complete
Feb 14 17:14:01 srv4hai CRON[28668]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 17:14:12 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707927252 - 'ping_SP_0'
Feb 14 17:14:12 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 17:14:29 srv4hai named[14530]: resolver priming query complete
Feb 14 17:14:41 srv4hai named[14530]: resolver priming query complete
Feb 14 17:15:01 srv4hai CRON[28713]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 17:15:25 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707927325 - 'ping_SP_0'
Feb 14 17:15:25 srv4hai ping_SP[28229]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 17:15:52 srv4hai named[14530]: resolver priming query complete
Feb 14 17:16:01 srv4hai CRON[28753]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 17:16:04 srv4hai activate_scenario[28759]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 14 17:16:04 srv4hai activate_scenario[28759]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Feb 14 17:16:04 srv4hai activate_scenario[28759]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Feb 14 17:16:04 srv4hai postfix/pickup[22634]: 4F6E960245: uid=33 from=
Feb 14 17:16:04 srv4hai postfix/cleanup[28812]: 4F6E960245: message-id=<20240214161604.4F6E960245@mail.viehai.at>
Feb 14 17:16:04 srv4hai postfix/qmgr[28610]: 4F6E960245: from=, size=10518, nrcpt=1 (queue active)
Feb 14 17:16:04 srv4hai activate_scenario[28759]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Feb 14 17:16:04 srv4hai proc_url[28830]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/14/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Feb 14 17:16:04 srv4hai postfix/local[28825]: 4F6E960245: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 14 17:16:04 srv4hai postfix/cleanup[28812]: 574EB60248: message-id=<20240214161604.574EB60248@mail.viehai.at>
Feb 14 17:16:04 srv4hai activate_scenario[28759]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Feb 14 17:16:04 srv4hai postfix/bounce[28828]: 4F6E960245: sender non-delivery notification: 574EB60248
Feb 14 17:16:04 srv4hai postfix/qmgr[28610]: 574EB60248: from=<>, size=12437, nrcpt=1 (queue active)
Feb 14 17:16:04 srv4hai postfix/qmgr[28610]: 4F6E960245: removed
Feb 14 17:16:04 srv4hai proc_url[28841]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/14/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Feb 14 17:16:04 srv4hai postfix/local[28825]: 574EB60248: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 14 17:16:04 srv4hai postfix/qmgr[28610]: 574EB60248: removed
Feb 14 17:16:04 srv4hai activate_scenario[28759]: SHELLY scenario: 'buero_UM(buero_um)' took 137 msec, shelly-40:'Thomas Büro Licht'
Feb 14 17:16:11 srv4hai postfix/smtpd[28883]: connect from unknown[193.222.96.116]
Feb 14 17:16:11 srv4hai postfix/smtpd[28883]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Feb 14 17:16:13 srv4hai named[14530]: resolver priming query complete
Feb 14 17:16:15 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 14 17:16:15 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Feb 14 17:16:15 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Feb 14 17:16:16 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 14 17:16:16 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc308046120 192.168.12.252#38279/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#41033/key rndc-key: signer "rndc-key" approved
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#41033/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#41033/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#41033/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc31403baf0 192.168.12.252#41033/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 14 17:16:16 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 14 17:16:16 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#59393/key rndc-key: signer "rndc-key" approved
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#59393/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 14 17:16:16 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#59393/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.
Feb 14 17:16:16 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 14 17:16:16 srv4hai activate_scenario[28894]: SHELLY scenario: 'pcON(pcon)' started
Feb 14 17:16:16 srv4hai activate_scenario[28894]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished