activate_scenario.sh
Sun Apr 7 09:02:18 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 : 09:02:18.144
nachher: 09:02:18.149
Dauer : 4 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/07//scene_LOG_kommen_20240407_090218.txt'


syslog

Apr  7 08:59:01 srv4hai CRON[7953]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 08:59:21 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712473161 - 'ping_SP_0'
Apr  7 08:59:21 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 08:59:22 srv4hai nmbd[30864]: [2024/04/07 08:59:22.097002,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr  7 08:59:22 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr  7 08:59:22 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr  7 08:59:22 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr  7 08:59:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7984, secured, session=
Apr  7 08:59:41 srv4hai dovecot: imap(miglincit)<7984>: 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  7 09:00:01 srv4hai CRON[7988]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:00:01 srv4hai CRON[7989]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  7 09:00:01 srv4hai common[7991]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  7 09:00:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  7 09:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  7 09:00:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  7 09:00:05 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 09:00:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  7 09:00:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  7 09:00:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  7 09:00:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  7 09:00:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  7 09:00:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 09:00:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 09:00:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  7 09:00:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  7 09:00:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  7 09:00:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  7 09:00:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  7 09:00:16 srv4hai dhcpd[28085]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Apr  7 09:00:16 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  7 09:00:16 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  7 09:00:16 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.123
Apr  7 09:00:16 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-23
Apr  7 09:00:16 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Apr  7 09:00:16 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#38381/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#45527/key rndc-key: signer "rndc-key" approved
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#45527/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#45527/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#45527/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#45527/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Apr  7 09:00:16 srv4hai dhcpd[28085]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#44411/key rndc-key: signer "rndc-key" approved
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#44411/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Apr  7 09:00:16 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#44411/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Apr  7 09:00:16 srv4hai dhcpd[28085]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Apr  7 09:00:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  7 09:00:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Apr  7 09:00:17 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Apr  7 09:00:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  7 09:00:22 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  7 09:00:22 srv4hai common[7991]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  7 09:00:22 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'12'=1712473222-1712473210
Apr  7 09:00:22 srv4hai check_presence[7991]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr  7 09:00:22 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'12'=1712473222-1712473210
Apr  7 09:00:22 srv4hai check_presence[7991]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  7 09:00:22 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'12'=1712473222-1712473210
Apr  7 09:00:22 srv4hai check_presence[7991]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  7 09:00:22 srv4hai check_presence[7991]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  7 09:00:22 srv4hai check_presence[7991]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr  7 09:00:22 srv4hai common[7991]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr  7 09:00:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Apr  7 09:00:22 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Apr  7 09:00:22 srv4hai meter.sh: SHELLY meter.sh ended
Apr  7 09:00:22 srv4hai postfix/pickup[5004]: D01C860245: uid=33 from=
Apr  7 09:00:22 srv4hai postfix/cleanup[9161]: D01C860245: message-id=<20240407070022.D01C860245@mail.viehai.at>
Apr  7 09:00:22 srv4hai postfix/qmgr[15291]: D01C860245: from=, size=675, nrcpt=1 (queue active)
Apr  7 09:00:22 srv4hai postfix/local[9163]: D01C860245: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  7 09:00:22 srv4hai postfix/qmgr[15291]: D01C860245: removed
Apr  7 09:00:34 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712473234 - 'ping_SP_0'
Apr  7 09:00:34 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:01:01 srv4hai CRON[9188]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:01:15 srv4hai common[9195]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  7 09:01:25 srv4hai bt_scan[9195]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Apr  7 09:01:25 srv4hai bt_scan[9195]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  7 09:01:25 srv4hai common[9225]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  7 09:01:26 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712473286-1712473276
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  7 09:01:26 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712473286-1712473276
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr  7 09:01:26 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712473286-1712473276
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr  7 09:01:26 srv4hai check_presence[9225]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  7 09:01:33 srv4hai common[9336]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr  7 09:01:44 srv4hai bt_scan[9336]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Apr  7 09:01:44 srv4hai bt_scan[9336]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr  7 09:01:48 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712473308 - 'ping_SP_0'
Apr  7 09:01:48 srv4hai ping_SP[27672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 09:02:01 srv4hai CRON[9390]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 09:02:18 srv4hai activate_scenario[9397]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr  7 09:02:18 srv4hai activate_scenario[9397]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished