activate_scenario.sh
Mon Mar 18 19:02:43 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/03/18/_0.log)

vorher: 19:02:43.121

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: 19:02:43.155
Dauer: 34 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 19:02:43.094
nachher: 19:02:43.161
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/18//scene_pcON_20240318_190243.txt'


syslog

Mar 18 18:59:01 srv4hai CRON[2027]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 18:59:08 srv4hai nmbd[30864]: [2024/03/18 18:59:08.018634,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Mar 18 18:59:08 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Mar 18 18:59:08 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Mar 18 18:59:08 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Mar 18 18:59:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2039, secured, session=
Mar 18 18:59:08 srv4hai dovecot: imap(miglincit)<2039>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 18 18:59:14 srv4hai ping_SP[32187]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710784754 - 'ping_SP_1'
Mar 18 18:59:14 srv4hai ping_SP[32187]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 18 19:00:01 srv4hai CRON[2060]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 19:00:01 srv4hai CRON[2061]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 18 19:00:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 18 19:00:04 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 18 19:00:04 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 18 19:00:04 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 18 19:00:04 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 18 19:00:04 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#43259/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#50319/key rndc-key: signer "rndc-key" approved
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#50319/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#50319/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#50319/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f931c688d80 192.168.12.252#50319/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 18 19:00:04 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 18 19:00:04 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#43665/key rndc-key: signer "rndc-key" approved
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#43665/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 18 19:00:04 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#43665/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Mar 18 19:00:04 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 18 19:00:04 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 18 19:00:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:15 srv4hai activate_scenario[2444]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 18 19:00:15 srv4hai activate_scenario[2444]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar 18 19:00:15 srv4hai activate_scenario[2444]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar 18 19:00:15 srv4hai postfix/pickup[29404]: B10BC602B8: uid=33 from=
Mar 18 19:00:15 srv4hai postfix/cleanup[2504]: B10BC602B8: message-id=<20240318180015.B10BC602B8@mail.viehai.at>
Mar 18 19:00:15 srv4hai postfix/qmgr[15291]: B10BC602B8: from=, size=8684, nrcpt=1 (queue active)
Mar 18 19:00:15 srv4hai activate_scenario[2444]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar 18 19:00:15 srv4hai postfix/local[2517]: B10BC602B8: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 18 19:00:15 srv4hai postfix/cleanup[2504]: B6EBE602B9: message-id=<20240318180015.B6EBE602B9@mail.viehai.at>
Mar 18 19:00:15 srv4hai proc_url[2525]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/18/_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 18 19:00:15 srv4hai postfix/bounce[2518]: B10BC602B8: sender non-delivery notification: B6EBE602B9
Mar 18 19:00:15 srv4hai postfix/qmgr[15291]: B6EBE602B9: from=<>, size=10603, nrcpt=1 (queue active)
Mar 18 19:00:15 srv4hai postfix/qmgr[15291]: B10BC602B8: removed
Mar 18 19:00:15 srv4hai postfix/local[2517]: B6EBE602B9: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 18 19:00:15 srv4hai postfix/qmgr[15291]: B6EBE602B9: removed
Mar 18 19:00:15 srv4hai activate_scenario[2444]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar 18 19:00:15 srv4hai proc_url[2537]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/18/_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 18 19:00:15 srv4hai activate_scenario[2444]: SHELLY scenario: 'buero_UM(buero_um)' took 181 msec, shelly-40:'Thomas Büro Licht'
Mar 18 19:00:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:27 srv4hai ping_SP[32187]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710784827 - 'ping_SP_1'
Mar 18 19:00:27 srv4hai ping_SP[32187]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 18 19:00:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:35 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:37 srv4hai common[2681]: SHELLY common.sh inkludiert
Mar 18 19:00:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:40 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:43 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:47 srv4hai bt_scan[2681]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / fixAddr: '192.168.12.62;' - found: 'No'
Mar 18 19:00:47 srv4hai bt_scan[2681]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Mar 18 19:00:47 srv4hai common[2775]: SHELLY common.sh inkludiert
Mar 18 19:00:47 srv4hai check_presence[2775]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Mar 18 19:00:47 srv4hai check_presence[2775]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar 18 19:00:47 srv4hai check_presence[2775]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar 18 19:00:47 srv4hai check_presence[2775]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(BT/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar 18 19:00:47 srv4hai check_presence[2775]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Mar 18 19:00:48 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:53 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 18 19:00:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar 18 19:00:59 srv4hai postfix/pickup[29404]: 17B7A602B8: uid=33 from=
Mar 18 19:00:59 srv4hai postfix/cleanup[2504]: 17B7A602B8: message-id=<20240318180059.17B7A602B8@mail.viehai.at>
Mar 18 19:00:59 srv4hai postfix/qmgr[15291]: 17B7A602B8: from=, size=654, nrcpt=1 (queue active)
Mar 18 19:00:59 srv4hai postfix/local[2517]: 17B7A602B8: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 18 19:00:59 srv4hai postfix/qmgr[15291]: 17B7A602B8: removed
Mar 18 19:01:01 srv4hai CRON[2853]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 19:01:10 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 18 19:01:10 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 18 19:01:10 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 18 19:01:10 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 18 19:01:10 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#34467/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#55821/key rndc-key: signer "rndc-key" approved
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#55821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#55821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#55821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#55821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 18 19:01:10 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#60571/key rndc-key: signer "rndc-key" approved
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#60571/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 18 19:01:10 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 18 19:01:10 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#60571/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Mar 18 19:01:10 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 18 19:01:10 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 18 19:01:41 srv4hai ping_SP[32187]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710784901 - 'ping_SP_1'
Mar 18 19:01:41 srv4hai ping_SP[32187]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 18 19:02:01 srv4hai CRON[2893]: (root) CMD (/etc/linetest/linetest.sh)
Mar 18 19:02:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2900, secured, session=
Mar 18 19:02:08 srv4hai dovecot: imap(miglincit)<2900>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 18 19:02:43 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 18 19:02:43 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar 18 19:02:43 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar 18 19:02:43 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 18 19:02:43 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#48649/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#49289/key rndc-key: signer "rndc-key" approved
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#49289/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#49289/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#49289/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#49289/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 18 19:02:43 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 18 19:02:43 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#51521/key rndc-key: signer "rndc-key" approved
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#51521/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 18 19:02:43 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#51521/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 18 19:02:43 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 18 19:02:43 srv4hai activate_scenario[2914]: SHELLY scenario: 'pcON(pcon)' started
Mar 18 19:02:43 srv4hai activate_scenario[2914]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished