activate_scenario.sh
Sat Apr 13 12:47:06 CEST 2024
scenario: vorraumOn
phoneName: 2

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

vorher: 12:47:06.678

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": "input"

nachher: 12:47:06.814
Dauer: 136 msec phName: 'phoneName:'2''


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

urls : 1
vorher : 12:47:06.641
nachher: 12:47:06.820
Dauer : 180 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/13//scene_vorraumOn_20240413_124706.txt'


syslog

Apr 13 12:44:01 srv4hai CRON[21080]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 12:44:19 srv4hai postfix/anvil[20914]: statistics: max connection rate 1/60s for (smtp:87.121.105.109) at Apr 13 12:40:59
Apr 13 12:44:19 srv4hai postfix/anvil[20914]: statistics: max connection count 1 for (smtp:87.121.105.109) at Apr 13 12:40:59
Apr 13 12:44:19 srv4hai postfix/anvil[20914]: statistics: max cache size 1 at Apr 13 12:40:59
Apr 13 12:44:26 srv4hai nmbd[30864]: [2024/04/13 12:44:26.606890,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 13 12:44:26 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr 13 12:44:26 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 13 12:44:26 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr 13 12:44:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21100, secured, session=
Apr 13 12:44:53 srv4hai dovecot: imap(miglincit)<21100>: Logged out in=721 out=42434 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18264 body_count=0 body_bytes=0
Apr 13 12:45:01 srv4hai CRON[21116]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 12:45:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21124, secured, session=
Apr 13 12:45:06 srv4hai dovecot: imap(miglincit)<21124>: Logged out in=721 out=42442 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18264 body_count=0 body_bytes=0
Apr 13 12:45:10 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713005110 - 'ping_SP_1'
Apr 13 12:45:10 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 13 12:45:11 srv4hai ping_SP[10075]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713005111 - 'ping_SP_0'
Apr 13 12:45:11 srv4hai ping_SP[10075]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 13 12:45:57 srv4hai postfix/smtpd[21181]: connect from unknown[87.121.105.109]
Apr 13 12:45:58 srv4hai postfix/smtpd[21181]: warning: unknown[87.121.105.109]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 13 12:45:58 srv4hai postfix/smtpd[21181]: disconnect from unknown[87.121.105.109] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 13 12:46:01 srv4hai CRON[21187]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 12:46:24 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713005184 - 'ping_SP_1'
Apr 13 12:46:24 srv4hai ping_SP[22043]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 13 12:46:24 srv4hai ping_SP[10075]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713005184 - 'ping_SP_0'
Apr 13 12:46:24 srv4hai ping_SP[10075]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 13 12:46:41 srv4hai dhcpd[28085]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Apr 13 12:46:41 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Apr 13 12:46:41 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr 13 12:46:41 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.5
Apr 13 12:46:41 srv4hai dhcpd[28085]: execute_statement argv[2] = btscan1
Apr 13 12:46:41 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Apr 13 12:46:41 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f93080202a0 192.168.12.252#59321/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#54367/key rndc-key: signer "rndc-key" approved
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#54367/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#54367/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#54367/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f931007d0f0 192.168.12.252#54367/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Apr 13 12:46:41 srv4hai dhcpd[28085]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Apr 13 12:46:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f93140740a0 192.168.12.252#37013/key rndc-key: signer "rndc-key" approved
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f93140740a0 192.168.12.252#37013/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Apr 13 12:46:41 srv4hai named[15509]: client @0x7f93140740a0 192.168.12.252#37013/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.
Apr 13 12:46:41 srv4hai dhcpd[28085]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Apr 13 12:46:41 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Apr 13 12:46:55 srv4hai common[21266]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 13 12:46:55 srv4hai common[21276]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 13 12:47:01 srv4hai CRON[21297]: (root) CMD (/etc/linetest/linetest.sh)
Apr 13 12:47:05 srv4hai bt_scan[21266]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Apr 13 12:47:05 srv4hai bt_scan[21276]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
Apr 13 12:47:05 srv4hai bt_scan[21266]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Apr 13 12:47:05 srv4hai bt_scan[21276]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Apr 13 12:47:05 srv4hai common[21342]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 13 12:47:05 srv4hai ping_SP[21342]: SHELLY ping_SP.sh started from bt_scan
Apr 13 12:47:05 srv4hai common[21360]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 13 12:47:06 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713005226-1713005216
Apr 13 12:47:06 srv4hai check_presence[21360]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 13 12:47:06 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1713005226-1713005216
Apr 13 12:47:06 srv4hai check_presence[21360]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 13 12:47:06 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'10'=1713005226-1713005216
Apr 13 12:47:06 srv4hai check_presence[21360]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Apr 13 12:47:06 srv4hai check_presence[21360]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 13 12:47:06 srv4hai check_presence[21360]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
Apr 13 12:47:06 srv4hai activate_scenario[21478]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 13 12:47:06 srv4hai activate_scenario[21478]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'

finished