activate_scenario.sh
Tue Sep 24 07:29:05 CEST 2024
scenario: vorraumOn
phoneName: 1

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/24/_0.log)

vorher: 07:29:05.768

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 07:29:05.816
Dauer: 47 msec phName: 'phoneName:'1''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 07:29:05.711
nachher: 07:29:05.822
Dauer : 113 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/24//scene_vorraumOn_20240924_072905.txt'


syslog

Sep 24 07:26:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25706, secured, session=
Sep 24 07:26:00 srv4hai dovecot: imap(rozumm)<25706>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 24 07:26:01 srv4hai CRON[25708]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 07:26:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 24 07:26:51 srv4hai fetchmail[1651]: 52943 messages (52943 seen) for tmiglinci at mail.akis.at (55147805 octets).
Sep 24 07:26:59 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727155619 - 'ping_SP_0'
Sep 24 07:26:59 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 24 07:27:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25748, secured, session=
Sep 24 07:27:00 srv4hai dovecot: imap(rozumm)<25748>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 24 07:27:01 srv4hai fetchmail[1651]: 10763 messages (10763 seen) for srozum at mail.akis.at (1305088778 octets).
Sep 24 07:27:01 srv4hai CRON[25751]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 07:27:08 srv4hai nmbd[2172]: [2024/09/24 07:27:08.274042,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 24 07:27:08 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 24 07:27:08 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 24 07:27:08 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 24 07:27:20 srv4hai fetchmail[1651]: 26103 messages (26103 seen) for mrozum at mail.akis.at (243101102 octets).
Sep 24 07:27:20 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets).
Sep 24 07:27:35 srv4hai activate_scenario[25769]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 24 07:27:35 srv4hai activate_scenario[25769]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 24 07:27:35 srv4hai activate_scenario[25769]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 24 07:27:35 srv4hai postfix/pickup[15978]: 5FDA763463: uid=33 from=
Sep 24 07:27:35 srv4hai postfix/cleanup[25822]: 5FDA763463: message-id=<20240924052735.5FDA763463@mail.viehai.at>
Sep 24 07:27:35 srv4hai postfix/qmgr[8566]: 5FDA763463: from=, size=4353, nrcpt=1 (queue active)
Sep 24 07:27:35 srv4hai activate_scenario[25769]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 24 07:27:35 srv4hai proc_url[25840]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/24/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 24 07:27:35 srv4hai postfix/local[25835]: 5FDA763463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 24 07:27:35 srv4hai postfix/cleanup[25822]: 66C5063464: message-id=<20240924052735.66C5063464@mail.viehai.at>
Sep 24 07:27:35 srv4hai activate_scenario[25769]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 24 07:27:35 srv4hai postfix/bounce[25839]: 5FDA763463: sender non-delivery notification: 66C5063464
Sep 24 07:27:35 srv4hai postfix/qmgr[8566]: 66C5063464: from=<>, size=6275, nrcpt=1 (queue active)
Sep 24 07:27:35 srv4hai postfix/qmgr[8566]: 5FDA763463: removed
Sep 24 07:27:35 srv4hai proc_url[25851]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/24/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 24 07:27:35 srv4hai postfix/local[25835]: 66C5063464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 24 07:27:35 srv4hai postfix/qmgr[8566]: 66C5063464: removed
Sep 24 07:27:35 srv4hai activate_scenario[25769]: SHELLY scenario: 'buero_UM(buero_um)' took 97 msec, shelly-40:'Thomas Büro Licht'
Sep 24 07:28:00 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 24 07:28:00 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 24 07:28:00 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 24 07:28:00 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep 24 07:28:00 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep 24 07:28:00 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep 24 07:28:00 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#34593/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57189/key rndc-key: signer "rndc-key" approved
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57189/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57189/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep 24 07:28:00 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#44579/key rndc-key: signer "rndc-key" approved
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#44579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep 24 07:28:00 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep 24 07:28:00 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#44579/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Sep 24 07:28:00 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep 24 07:28:00 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep 24 07:28:01 srv4hai CRON[25911]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 07:28:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25917, secured, session=
Sep 24 07:28:01 srv4hai dovecot: imap(rozumm)<25917>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 24 07:28:12 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727155692 - 'ping_SP_0'
Sep 24 07:28:12 srv4hai ping_SP[5582]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 24 07:28:54 srv4hai common[25953]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 24 07:29:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25971, secured, session=
Sep 24 07:29:01 srv4hai dovecot: imap(rozumm)<25971>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 24 07:29:01 srv4hai CRON[25973]: (root) CMD (/etc/linetest/linetest.sh)
Sep 24 07:29:04 srv4hai bt_scan[25953]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 24 07:29:04 srv4hai bt_scan[25953]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Sep 24 07:29:04 srv4hai common[25996]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 24 07:29:04 srv4hai ping_SP[25996]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 24 07:29:04 srv4hai common[26017]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 24 07:29:05 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1727155745-1727155741
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 24 07:29:05 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'4'=1727155745-1727155741
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 24 07:29:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1727155745-1727155741
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Sep 24 07:29:05 srv4hai check_presence[26017]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Sep 24 07:29:05 srv4hai activate_scenario[26165]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 24 07:29:05 srv4hai activate_scenario[26165]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished