activate_scenario.sh
Mon Feb 19 17:21:14 CET 2024
scenario: LOG_gehen
source: 192.168.12.103

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

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

scenario: 'LOG_AUS' - 'LOG_gehen' - 'log_gehen'

urls : 0
vorher : 17:21:14.334
nachher: 17:21:14.340
Dauer : 6 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/19//scene_LOG_gehen_20240219_172114.txt'


syslog

Feb 19 17:18:01 srv4hai CRON[20208]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 17:19:01 srv4hai CRON[20227]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 17:19:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20242, secured, session=
Feb 19 17:19:33 srv4hai dovecot: imap(miglincit)<20242>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 19 17:19:34 srv4hai postfix/anvil[20176]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 19 17:16:14
Feb 19 17:19:34 srv4hai postfix/anvil[20176]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 19 17:16:14
Feb 19 17:19:34 srv4hai postfix/anvil[20176]: statistics: max cache size 1 at Feb 19 17:16:14
Feb 19 17:19:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 19 17:19:42 srv4hai fetchmail[1651]: 38413 messages (38413 seen) for tmiglinci at mail.akis.at (-1130159774 octets).
Feb 19 17:19:42 srv4hai fetchmail[1651]: 9912 messages (9912 seen) for srozum at mail.akis.at (1195857241 octets).
Feb 19 17:19:43 srv4hai fetchmail[1651]: 21745 messages (21745 seen) for mrozum at mail.akis.at (-572910378 octets).
Feb 19 17:19:43 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 19 17:20:01 srv4hai CRON[20256]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 19 17:20:01 srv4hai CRON[20257]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 17:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 19 17:20:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:13 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:15 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:18 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:20 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:26 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:28 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:31 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:33 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:36 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:37 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 19 17:20:37 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 19 17:20:37 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 19 17:20:37 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 19 17:20:37 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 19 17:20:37 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 19 17:20:37 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc32407a810 192.168.12.252#39275/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#60899/key rndc-key: signer "rndc-key" approved
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#60899/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#60899/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#60899/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31803cbb0 192.168.12.252#60899/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 19 17:20:37 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#43683/key rndc-key: signer "rndc-key" approved
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#43683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 19 17:20:37 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#43683/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb 19 17:20:37 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 19 17:20:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 19 17:20:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:20:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:20:38 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 488s ago - EXIT
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 19 17:20:38 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 19 17:20:38 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:41 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:20:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:20:43 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 493s ago - EXIT
Feb 19 17:20:43 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:46 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:20:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:20:48 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 498s ago - EXIT
Feb 19 17:20:49 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:51 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:20:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:20:53 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 503s ago - EXIT
Feb 19 17:20:54 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:57 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:20:58 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:20:58 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:20:58 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 508s ago - EXIT
Feb 19 17:20:59 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:21:01 srv4hai CRON[20938]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 17:21:02 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 19 17:21:02 srv4hai meter.sh: SHELLY meter.sh ended
Feb 19 17:21:02 srv4hai postfix/pickup[11466]: 2E03360244: uid=33 from=
Feb 19 17:21:02 srv4hai postfix/cleanup[20956]: 2E03360244: message-id=<20240219162102.2E03360244@mail.viehai.at>
Feb 19 17:21:02 srv4hai postfix/qmgr[28610]: 2E03360244: from=, size=654, nrcpt=1 (queue active)
Feb 19 17:21:02 srv4hai postfix/local[20958]: 2E03360244: to=, orig_to=, relay=local, delay=0.06, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 19 17:21:02 srv4hai postfix/qmgr[28610]: 2E03360244: removed
Feb 19 17:21:03 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:21:03 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:21:03 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 513s ago - EXIT
Feb 19 17:21:08 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:21:08 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:21:08 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 518s ago - EXIT
Feb 19 17:21:10 srv4hai common[20998]: SHELLY common.sh inkludiert
Feb 19 17:21:10 srv4hai bt_scan[20998]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / fixAddr: '192.168.12.63;' - found: 'Yes'
Feb 19 17:21:10 srv4hai bt_scan[20998]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Feb 19 17:21:10 srv4hai common[21027]: SHELLY common.sh inkludiert
Feb 19 17:21:10 srv4hai ping_SP[21027]: SHELLY ping_SP.sh started from bt_scan
Feb 19 17:21:10 srv4hai common[21037]: SHELLY common.sh inkludiert
Feb 19 17:21:10 srv4hai check_presence[21037]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 19 17:21:10 srv4hai check_presence[21037]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 19 17:21:10 srv4hai check_presence[21037]: SHELLY (2) found  and /srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Feb 19 17:21:10 srv4hai check_presence[21037]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/__) (__/__) (BT/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 19 17:21:10 srv4hai check_presence[21037]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: welcomeLight
Feb 19 17:21:10 srv4hai activate_scenario[21088]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 19 17:21:10 srv4hai activate_scenario[21088]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'2'
Feb 19 17:21:10 srv4hai activate_scenario[21088]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'2'
Feb 19 17:21:10 srv4hai postfix/pickup[11466]: EEBB760244: uid=33 from=
Feb 19 17:21:10 srv4hai postfix/cleanup[20956]: EEBB760244: message-id=<20240219162110.EEBB760244@mail.viehai.at>
Feb 19 17:21:10 srv4hai postfix/qmgr[28610]: EEBB760244: from=, size=13575, nrcpt=1 (queue active)
Feb 19 17:21:10 srv4hai activate_scenario[21088]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb 19 17:21:11 srv4hai proc_url[21153]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/19/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'2''
Feb 19 17:21:11 srv4hai activate_scenario[21088]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb 19 17:21:11 srv4hai proc_url[21164]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/19/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=on&brightness=50' - phName:'phoneName:'2''
Feb 19 17:21:11 srv4hai activate_scenario[21088]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb 19 17:21:11 srv4hai proc_url[21175]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/19/_2.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=on&brightness=50' - phName:'phoneName:'2''
Feb 19 17:21:11 srv4hai activate_scenario[21088]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb 19 17:21:11 srv4hai proc_url[21186]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/19/_3.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=on&brightness=50' - phName:'phoneName:'2''
Feb 19 17:21:11 srv4hai activate_scenario[21088]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb 19 17:21:11 srv4hai proc_url[21197]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/19/_4.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=on&brightness=50' - phName:'phoneName:'2''
Feb 19 17:21:11 srv4hai activate_scenario[21253]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 19 17:21:11 srv4hai activate_scenario[21253]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb 19 17:21:11 srv4hai activate_scenario[21253]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb 19 17:21:11 srv4hai activate_scenario[21253]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 5 msec, shelly-03:'Licht Vorzimmer'
Feb 19 17:21:12 srv4hai activate_scenario[21088]: SHELLY scenario: 'welcomeLight(welcomelight)' took 1104 msec, phoneName:'2'
Feb 19 17:21:12 srv4hai postfix/relay/smtp[21141]: EEBB760244: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=1.2, delays=0.01/0.01/0.78/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CEC51200AC)
Feb 19 17:21:12 srv4hai postfix/qmgr[28610]: EEBB760244: removed
Feb 19 17:21:12 srv4hai ping_SP[21027]: SHELLY check_presence.sh coming 2 ping_SP__bt_scan
Feb 19 17:21:12 srv4hai ping_SP[21027]: SHELLY - new process for '192.168.12.63' - '/srv/www/viehai/shelly//meter/ping_SP_2' @~1708359672
Feb 19 17:21:13 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=24.00&id=shellyht-00B358
Feb 19 17:21:13 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 17:21:13 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 523s ago - EXIT
Feb 19 17:21:14 srv4hai activate_scenario[21376]: SHELLY scenario: 'LOG_gehen(log_gehen)' started
Feb 19 17:21:14 srv4hai activate_scenario[21376]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished