activate_scenario.sh
Wed Sep 11 06:28:37 CEST 2024
scenario: vorraumOn
phoneName: 0

'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/11/_0.log)

vorher: 06:28:37.376

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: 06:28:37.443
Dauer: 66 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 06:28:37.357
nachher: 06:28:37.449
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_vorraumOn_20240911_062837.txt'


syslog

Sep 11 06:25:01 srv4hai CRON[20299]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Sep 11 06:25:01 srv4hai CRON[20300]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:25:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 11 06:25:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.11
Sep 11 06:25:04 srv4hai dhcpd[30731]: execute_statement argv[2] = laptom2wl
Sep 11 06:25:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.11 from f8:34:41:e9:36:d5 via enp2s0
Sep 11 06:25:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.11 to f8:34:41:e9:36:d5 via enp2s0
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#43927/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: laptom2wl.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#56137/key rndc-key: signer "rndc-key" approved
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#56137/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'laptom2wl.viehai.at' TXT
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#56137/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'laptom2wl.viehai.at' TXT "31606528b75ae6389861fa66bc2efd8086"
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#56137/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'laptom2wl.viehai.at' A
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#56137/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'laptom2wl.viehai.at' A 192.168.12.11
Sep 11 06:25:04 srv4hai dhcpd[30731]: Added new forward map from laptom2wl.viehai.at to 192.168.12.11
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#59575/key rndc-key: signer "rndc-key" approved
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#59575/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '11.12.168.192.in-addr.arpa' PTR
Sep 11 06:25:04 srv4hai named[30406]: client @0x7f93380d8d80 192.168.12.252#59575/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '11.12.168.192.in-addr.arpa' PTR laptom2wl.viehai.at.
Sep 11 06:25:04 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.11'(11) device 'laptom2wl'
Sep 11 06:25:04 srv4hai dhcpd[30731]: Added reverse map from 11.12.168.192.in-addr.arpa. to laptom2wl.viehai.at
Sep 11 06:25:04 srv4hai dhcpcommit.sh: SHELLY device 'laptom2wl' known and accepted
Sep 11 06:25:08 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726028708 - 'ping_SP_1'
Sep 11 06:25:08 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:25:50 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726028750 - 'ping_SP_0'
Sep 11 06:25:50 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:26:01 srv4hai CRON[20366]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:26:22 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726028782 - 'ping_SP_1'
Sep 11 06:26:22 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:26:58 srv4hai nmbd[2172]: [2024/09/11 06:26:58.933359,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Sep 11 06:26:58 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Sep 11 06:26:58 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Sep 11 06:26:58 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Sep 11 06:27:01 srv4hai CRON[20407]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:27:03 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726028823 - 'ping_SP_0'
Sep 11 06:27:03 srv4hai ping_SP[3012]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 06:27:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20431, secured, session=
Sep 11 06:27:16 srv4hai dovecot: imap(miglincit)<20431>: Logged out in=401 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 06:27:35 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726028855 - 'ping_SP_1'
Sep 11 06:27:35 srv4hai ping_SP[32675]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 06:27:40 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 11 06:27:41 srv4hai fetchmail[1651]: 52041 messages (52041 seen) for tmiglinci at mail.akis.at (-12527644 octets).
Sep 11 06:27:42 srv4hai fetchmail[1651]: 10703 messages (10703 seen) for srozum at mail.akis.at (1291857175 octets).
Sep 11 06:27:42 srv4hai fetchmail[1651]: 25823 messages (25823 seen) for mrozum at mail.akis.at (199451871 octets).
Sep 11 06:27:43 srv4hai fetchmail[1651]: 1142 messages (1142 seen) for admin@bastelstube.wien at pop3.world4you.com (51614275 octets).
Sep 11 06:28:01 srv4hai CRON[20465]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 06:28:09 srv4hai common[20477]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:28:19 srv4hai bt_scan[20477]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 11 06:28:19 srv4hai bt_scan[20477]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 11 06:28:19 srv4hai common[20517]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 06:28:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1726028900-1726028890
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 11 06:28:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1726028900-1726028890
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 11 06:28:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1726028900-1726028890
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Sep 11 06:28:20 srv4hai check_presence[20517]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 11 06:28:26 srv4hai ping_SP[3012]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1726028906 - 'ping_SP_0'
Sep 11 06:28:26 srv4hai common[20678]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 06:28:36 srv4hai bt_scan[20678]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 06:28:36 srv4hai bt_scan[20678]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 06:28:36 srv4hai common[20718]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 11 06:28:36 srv4hai ping_SP[20718]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 11 06:28:36 srv4hai common[20739]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 06:28:37 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'11'=1726028917-1726028906
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 11 06:28:37 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1726028917-1726028906
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 11 06:28:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726028917-1726028906
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 11 06:28:37 srv4hai check_presence[20739]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 11 06:28:37 srv4hai activate_scenario[20896]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 11 06:28:37 srv4hai activate_scenario[20896]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished