activate_scenario.sh
Mon Sep 30 19:57:42 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/09/30/_0.log)

vorher: 19:57:42.266

http://192.168.12.123/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 19:57:42.292
Dauer: 27 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 19:57:42.246
nachher: 19:57:42.299
Dauer : 52 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/30//scene_sekr_UM_20240930_195742.txt'


syslog

Sep 30 19:54:01 srv4hai CRON[18246]: (root) CMD (/etc/linetest/linetest.sh)
Sep 30 19:55:01 srv4hai CRON[18260]: (root) CMD (/etc/linetest/linetest.sh)
Sep 30 19:55:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18273, secured, session=
Sep 30 19:55:41 srv4hai dovecot: imap(miglincit)<18273>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 30 19:56:01 srv4hai CRON[18279]: (root) CMD (/etc/linetest/linetest.sh)
Sep 30 19:56:10 srv4hai common[18286]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 30 19:56:10 srv4hai bt_scan[18286]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 30 19:56:10 srv4hai bt_scan[18286]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 30 19:56:10 srv4hai common[18317]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 30 19:56:10 srv4hai ping_SP[18317]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 30 19:56:10 srv4hai common[18338]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 30 19:56:10 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1727718970-1727718970
Sep 30 19:56:10 srv4hai check_presence[18338]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 30 19:56:10 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1727718970-1727718970
Sep 30 19:56:10 srv4hai check_presence[18338]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 30 19:56:10 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1727718970-1727718970
Sep 30 19:56:11 srv4hai check_presence[18338]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 30 19:56:11 srv4hai check_presence[18338]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Sep 30 19:56:11 srv4hai postfix/pickup[13957]: 0F1AB63463: uid=33 from=
Sep 30 19:56:11 srv4hai postfix/cleanup[18442]: 0F1AB63463: message-id=<20240930175611.0F1AB63463@mail.viehai.at>
Sep 30 19:56:11 srv4hai postfix/qmgr[8566]: 0F1AB63463: from=, size=2925, nrcpt=1 (queue active)
Sep 30 19:56:11 srv4hai check_presence[18338]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 30 19:56:11 srv4hai check_presence[18338]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Sep 30 19:56:11 srv4hai ping_SP[18317]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Sep 30 19:56:11 srv4hai ping_SP[18317]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1727718971
Sep 30 19:56:12 srv4hai postfix/relay/smtp[18449]: 0F1AB63463: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.1, delays=0.05/0.01/0.76/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E42926001E)
Sep 30 19:56:12 srv4hai postfix/qmgr[8566]: 0F1AB63463: removed
Sep 30 19:56:20 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 30 19:56:20 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 30 19:56:20 srv4hai common[18484]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:27 srv4hai ping_SP[18317]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1727718987 - 'ping_SP_0'
Sep 30 19:56:30 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 30 19:56:30 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:30 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:30 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:30 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 30 19:56:30 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 30 19:56:30 srv4hai common[18520]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:40 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 30 19:56:40 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:40 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:40 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:40 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 30 19:56:40 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 30 19:56:40 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 30 19:56:40 srv4hai common[18542]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:45 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 30 19:56:46 srv4hai fetchmail[1651]: 53487 messages (53486 seen) for tmiglinci at mail.akis.at (90277012 octets).
Sep 30 19:56:46 srv4hai postfix/smtpd[18558]: connect from localhost[127.0.0.1]
Sep 30 19:56:46 srv4hai postfix/smtpd[18558]: 716B66000F: client=localhost[127.0.0.1]
Sep 30 19:56:46 srv4hai postfix/cleanup[18442]: 716B66000F: message-id=<20240930175611.0F1AB63463@mail.viehai.at>
Sep 30 19:56:46 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53487 of 53487 (3910 octets) not flushed
Sep 30 19:56:46 srv4hai postfix/qmgr[8566]: 716B66000F: from=, size=4199, nrcpt=1 (queue active)
Sep 30 19:56:46 srv4hai postfix/local[18560]: 716B66000F: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 30 19:56:46 srv4hai postfix/qmgr[8566]: 716B66000F: removed
Sep 30 19:56:46 srv4hai postfix/smtpd[18558]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 30 19:56:46 srv4hai fetchmail[1651]: 10788 messages (10788 seen) for srozum at mail.akis.at (1307039250 octets).
Sep 30 19:56:47 srv4hai fetchmail[1651]: 26260 messages (26260 seen) for mrozum at mail.akis.at (265354926 octets).
Sep 30 19:56:48 srv4hai fetchmail[1651]: 1146 messages (1146 seen) for admin@bastelstube.wien at pop3.world4you.com (51923571 octets).
Sep 30 19:56:50 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 30 19:56:50 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:50 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:56:50 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:50 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 30 19:56:50 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 30 19:56:50 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 30 19:56:50 srv4hai named[30406]: client @0x7f934c09fdf0 192.168.12.252#38203/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 30 19:56:50 srv4hai common[18570]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 30 19:56:50 srv4hai ping_SP[18317]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727719010 - 'ping_SP_0'
Sep 30 19:56:50 srv4hai ping_SP[18317]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 30 19:57:00 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 30 19:57:00 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:57:00 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/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.
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/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.
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/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.
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: signer "rndc-key" approved
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Sep 30 19:57:00 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#55251/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.
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 30 19:57:00 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Sep 30 19:57:01 srv4hai CRON[18609]: (root) CMD (/etc/linetest/linetest.sh)
Sep 30 19:57:12 srv4hai nmbd[2172]: [2024/09/30 19:57:12.756971,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 30 19:57:12 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 30 19:57:12 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 30 19:57:12 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 30 19:57:42 srv4hai activate_scenario[18622]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Sep 30 19:57:42 srv4hai activate_scenario[18622]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished