activate_scenario.sh
Tue Apr 9 06:46:56 CEST 2024
scenario: LOG_kommen
source: 192.168.12.103

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

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

urls : 0
vorher : 06:46:56.404
nachher: 06:46:56.410
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/09//scene_LOG_kommen_20240409_064656.txt'


syslog

Apr  9 06:43:01 srv4hai CRON[9482]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:43:23 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  9 06:43:23 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.28
Apr  9 06:43:23 srv4hai dhcpd[28085]: execute_statement argv[2] = harmonyhub
Apr  9 06:43:23 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Apr  9 06:43:23 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f930c096d80 192.168.12.252#52473/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#37865/key rndc-key: signer "rndc-key" approved
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#37865/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#37865/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#37865/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f931c65d6a0 192.168.12.252#37865/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Apr  9 06:43:23 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Apr  9 06:43:23 srv4hai dhcpd[28085]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#49273/key rndc-key: signer "rndc-key" approved
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#49273/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Apr  9 06:43:23 srv4hai named[15509]: client @0x7f93040065c0 192.168.12.252#49273/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Apr  9 06:43:23 srv4hai dhcpd[28085]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Apr  9 06:43:23 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Apr  9 06:43:52 srv4hai dhcpd[28085]: DHCPDISCOVER from e0:98:06:a9:f3:81 via enp2s0
Apr  9 06:43:52 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0
Apr  9 06:43:52 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  9 06:43:52 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.104
Apr  9 06:43:52 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-04
Apr  9 06:43:52 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.104 (192.168.12.252) from e0:98:06:a9:f3:81 via enp2s0
Apr  9 06:43:52 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.104 to e0:98:06:a9:f3:81 via enp2s0
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f931c12c1c0 192.168.12.252#55247/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-04.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#57295/key rndc-key: signer "rndc-key" approved
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#57295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' TXT
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#57295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' TXT "008d1b202806eda236ba1bc6f43dd868cf"
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#57295/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-04.viehai.at' A
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#57295/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-04.viehai.at' A 192.168.12.104
Apr  9 06:43:52 srv4hai dhcpd[28085]: Added new forward map from shelly-04.viehai.at to 192.168.12.104
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#35133/key rndc-key: signer "rndc-key" approved
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#35133/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '104.12.168.192.in-addr.arpa' PTR
Apr  9 06:43:52 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#35133/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '104.12.168.192.in-addr.arpa' PTR shelly-04.viehai.at.
Apr  9 06:43:52 srv4hai dhcpd[28085]: Added reverse map from 104.12.168.192.in-addr.arpa. to shelly-04.viehai.at
Apr  9 06:43:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-04' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-04' - shIP/2:'192.168.12.104'
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY: usage/name 'Badezimmer' already set for '192.168.12.104'
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(0)' - allready transmitted - skipping
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(1)' - allready transmitted - skipping
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(2)' - allready transmitted - skipping
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(3)' - allready transmitted - skipping
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(4)' - allready transmitted - skipping
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' 'conf(5)' - allready transmitted - skipping
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 ON : MISSING
Apr  9 06:43:53 srv4hai conf_shelly.sh: SHELLY:'shelly-04' out:0 OFF: MISSING
Apr  9 06:43:55 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712637835 - 'ping_SP_0'
Apr  9 06:43:55 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 06:44:01 srv4hai CRON[9672]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:44:11 srv4hai common[9681]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  9 06:44:21 srv4hai bt_scan[9681]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Apr  9 06:44:21 srv4hai bt_scan[9681]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  9 06:44:21 srv4hai common[9711]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  9 06:44:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712637861-1712637851
Apr  9 06:44:21 srv4hai check_presence[9711]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  9 06:44:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1712637861-1712637851
Apr  9 06:44:21 srv4hai check_presence[9711]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr  9 06:44:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712637861-1712637851
Apr  9 06:44:21 srv4hai check_presence[9711]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  9 06:44:21 srv4hai check_presence[9711]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  9 06:44:21 srv4hai check_presence[9711]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  9 06:44:23 srv4hai nmbd[30864]: [2024/04/09 06:44:23.475714,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr  9 06:44:23 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr  9 06:44:23 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr  9 06:44:23 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr  9 06:45:01 srv4hai CRON[9832]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:45:09 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712637909 - 'ping_SP_0'
Apr  9 06:45:09 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 06:45:21 srv4hai common[9855]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  9 06:45:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9870, secured, session=<2xBRl6IVPOMAAAAAAAAAAAAAAAAAAAAB>
Apr  9 06:45:27 srv4hai dovecot: imap(miglincit)<9870><2xBRl6IVPOMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  9 06:45:31 srv4hai bt_scan[9855]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Apr  9 06:45:31 srv4hai bt_scan[9855]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr  9 06:46:01 srv4hai CRON[9896]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:46:22 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712637982 - 'ping_SP_0'
Apr  9 06:46:22 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 06:46:56 srv4hai activate_scenario[9928]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr  9 06:46:56 srv4hai activate_scenario[9928]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished