activate_scenario.sh
Thu Oct 3 12:15:14 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

vorher: 12:15:14.651

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: 12:15:14.757
Dauer: 107 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


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

urls : 1
vorher : 12:15:14.631
nachher: 12:15:14.763
Dauer : 133 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/03//scene_sekr_UM_20241003_121514.txt'


syslog

Oct  3 12:12:01 srv4hai CRON[25826]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 12:12:14 srv4hai nmbd[2172]: [2024/10/03 12:12:14.585859,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Oct  3 12:12:14 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Oct  3 12:12:14 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Oct  3 12:12:14 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Oct  3 12:13:01 srv4hai CRON[25838]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 12:13:22 srv4hai common[25845]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct  3 12:13:22 srv4hai bt_scan[25845]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Oct  3 12:13:22 srv4hai bt_scan[25845]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Oct  3 12:13:22 srv4hai common[25876]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Oct  3 12:13:22 srv4hai ping_SP[25876]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Oct  3 12:13:22 srv4hai common[25897]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct  3 12:13:23 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1727950403-1727950403
Oct  3 12:13:23 srv4hai check_presence[25897]: 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
Oct  3 12:13:23 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1727950403-1727950403
Oct  3 12:13:23 srv4hai check_presence[25897]: 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
Oct  3 12:13:23 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1727950403-1727950403
Oct  3 12:13:23 srv4hai check_presence[25897]: 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
Oct  3 12:13:23 srv4hai check_presence[25897]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Oct  3 12:13:23 srv4hai postfix/pickup[16187]: 6323663463: uid=33 from=
Oct  3 12:13:23 srv4hai postfix/cleanup[26002]: 6323663463: message-id=<20241003101323.6323663463@mail.viehai.at>
Oct  3 12:13:23 srv4hai postfix/qmgr[8566]: 6323663463: from=, size=6732, nrcpt=1 (queue active)
Oct  3 12:13:23 srv4hai check_presence[25897]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Oct  3 12:13:23 srv4hai check_presence[25897]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Oct  3 12:13:23 srv4hai ping_SP[25876]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Oct  3 12:13:23 srv4hai ping_SP[25876]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1727950403
Oct  3 12:13:24 srv4hai postfix/relay/smtp[26009]: 6323663463: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=1.1, delays=0.02/0.01/0.78/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 426DC80013)
Oct  3 12:13:24 srv4hai postfix/qmgr[8566]: 6323663463: removed
Oct  3 12:13:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Oct  3 12:13:39 srv4hai ping_SP[25876]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1727950419 - 'ping_SP_0'
Oct  3 12:13:40 srv4hai fetchmail[1651]: 53703 messages (53702 seen) for tmiglinci at mail.akis.at (109329648 octets).
Oct  3 12:13:40 srv4hai postfix/smtpd[26059]: connect from localhost[127.0.0.1]
Oct  3 12:13:40 srv4hai postfix/smtpd[26059]: 933396004E: client=localhost[127.0.0.1]
Oct  3 12:13:40 srv4hai postfix/cleanup[26002]: 933396004E: message-id=<20241003101323.6323663463@mail.viehai.at>
Oct  3 12:13:40 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53703 of 53703 (7711 octets) not flushed
Oct  3 12:13:40 srv4hai postfix/qmgr[8566]: 933396004E: from=, size=8004, nrcpt=1 (queue active)
Oct  3 12:13:40 srv4hai postfix/local[26061]: 933396004E: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Oct  3 12:13:40 srv4hai postfix/qmgr[8566]: 933396004E: removed
Oct  3 12:13:40 srv4hai postfix/smtpd[26059]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Oct  3 12:13:41 srv4hai fetchmail[1651]: 10798 messages (10798 seen) for srozum at mail.akis.at (1308840840 octets).
Oct  3 12:13:41 srv4hai fetchmail[1651]: 26330 messages (26330 seen) for mrozum at mail.akis.at (273584171 octets).
Oct  3 12:13:42 srv4hai fetchmail[1651]: 1147 messages (1147 seen) for admin@bastelstube.wien at pop3.world4you.com (51928753 octets).
Oct  3 12:13:49 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:13:49 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:13:49 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:13:49 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  3 12:13:49 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  3 12:13:49 srv4hai common[26068]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:13:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26086, secured, session=<3u4X0I8jEs0AAAAAAAAAAAAAAAAAAAAB>
Oct  3 12:13:58 srv4hai dovecot: imap(miglincit)<26086><3u4X0I8jEs0AAAAAAAAAAAAAAAAAAAAB>: Logged out in=737 out=49185 deleted=0 expunged=0 trashed=0 hdr_count=63 hdr_bytes=19493 body_count=0 body_bytes=0
Oct  3 12:13:59 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  3 12:13:59 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:13:59 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:13:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:13:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  3 12:13:59 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  3 12:13:59 srv4hai common[26095]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:14:01 srv4hai CRON[26108]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 12:14:05 srv4hai ping_SP[25876]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1727950445 - 'ping_SP_0'
Oct  3 12:14:09 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  3 12:14:09 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:14:09 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:14:09 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:14:09 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  3 12:14:09 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  3 12:14:09 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  3 12:14:09 srv4hai common[26137]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:14:20 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  3 12:14:20 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:14:20 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:14:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:14:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct  3 12:14:20 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct  3 12:14:20 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#54445/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  3 12:14:20 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  3 12:14:20 srv4hai common[26163]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct  3 12:14:28 srv4hai ping_SP[25876]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1727950468 - 'ping_SP_0'
Oct  3 12:14:28 srv4hai ping_SP[25876]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct  3 12:14:30 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Oct  3 12:14:30 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:14:30 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/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.
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/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.
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/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.
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: signer "rndc-key" approved
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Oct  3 12:14:30 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#53617/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.
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  3 12:14:30 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Oct  3 12:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 51 to 52
Oct  3 12:15:01 srv4hai CRON[26200]: (root) CMD (/etc/linetest/linetest.sh)
Oct  3 12:15:14 srv4hai activate_scenario[26206]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Oct  3 12:15:14 srv4hai activate_scenario[26206]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished