activate_scenario.sh
Mon Feb 19 18:24:58 CET 2024
scenario: LOG_kommen
source: 192.168.12.103

'night' <--> 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 : 18:24:58.435
nachher: 18:24:58.440
Dauer : 5 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/19//scene_LOG_kommen_20240219_182458.txt'


syslog

Feb 19 18:21:01 srv4hai CRON[1078]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 18:22:01 srv4hai CRON[1094]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 18:22:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1105, secured, session=
Feb 19 18:22:33 srv4hai dovecot: imap(miglincit)<1105>: Logged out in=658 out=40413 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=16767 body_count=0 body_bytes=0
Feb 19 18:23:01 srv4hai CRON[1111]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 18:23:29 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 19 18:23:29 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 19 18:23:31 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 19 18:23:31 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 19 18:23:31 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 19 18:23:31 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 19 18:23:31 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 19 18:23:31 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 19 18:23:31 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#49775/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc3200246f0 192.168.12.252#46123/key rndc-key: signer "rndc-key" approved
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc3200246f0 192.168.12.252#46123/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc3200246f0 192.168.12.252#46123/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc3200246f0 192.168.12.252#46123/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc3200246f0 192.168.12.252#46123/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 19 18:23:31 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#37981/key rndc-key: signer "rndc-key" approved
Feb 19 18:23:31 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#37981/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 18:23:31 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#37981/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 18:23:31 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 19 18:23:31 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 19 18:23:32 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 19 18:23:32 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 19 18:23:32 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 19 18:23:32 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.5° - 41%
Feb 19 18:23:32 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.5°/22.62° - 41%/41% - SAVED
Feb 19 18:23:32 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 19 18:23:33 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-19T17:23:33.384Z",#012    "content": {#012      "temp": 22.5,#012      "hum": 41,#012      "batt": 91#012    },#012    "transaction": "05e9d932-7950-408d-b267-9d0d4d023e77"#012  }#012}'°
Feb 19 18:23:37 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 19 18:23:37 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 18:23:37 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 5s ago - EXIT
Feb 19 18:23:42 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 19 18:23:42 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 18:23:42 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 10s ago - EXIT
Feb 19 18:23:47 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 19 18:23:47 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 18:23:47 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 15s ago - EXIT
Feb 19 18:23:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 19 18:23:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 18:23:53 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 21s ago - EXIT
Feb 19 18:23:58 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 19 18:23:58 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv'
Feb 19 18:23:58 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240219.csv' modifed 26s ago - EXIT
Feb 19 18:24:01 srv4hai CRON[1451]: (root) CMD (/etc/linetest/linetest.sh)
Feb 19 18:24:58 srv4hai common[1462]: SHELLY common.sh inkludiert
Feb 19 18:24:58 srv4hai bt_scan[1462]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 19 18:24:58 srv4hai bt_scan[1462]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 19 18:24:58 srv4hai common[1491]: SHELLY common.sh inkludiert
Feb 19 18:24:58 srv4hai ping_SP[1491]: SHELLY ping_SP.sh started from bt_scan
Feb 19 18:24:58 srv4hai common[1501]: SHELLY common.sh inkludiert
Feb 19 18:24:58 srv4hai check_presence[1501]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 19 18:24:58 srv4hai check_presence[1501]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 19 18:24:58 srv4hai check_presence[1501]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Feb 19 18:24:58 srv4hai check_presence[1501]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 19 18:24:58 srv4hai check_presence[1501]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY scenario: 'welcomeLight(welcomelight)' TO BE EXECUTED, phoneName:'0'
Feb 19 18:24:58 srv4hai postfix/pickup[22482]: 3084D60244: uid=33 from=
Feb 19 18:24:58 srv4hai postfix/cleanup[1602]: 3084D60244: message-id=<20240219172458.3084D60244@mail.viehai.at>
Feb 19 18:24:58 srv4hai postfix/qmgr[28610]: 3084D60244: from=, size=10131, nrcpt=1 (queue active)
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Feb 19 18:24:58 srv4hai proc_url[1619]: 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:'0''
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=on&brightness=50'
Feb 19 18:24:58 srv4hai proc_url[1630]: 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:'0''
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=on&brightness=50'
Feb 19 18:24:58 srv4hai proc_url[1641]: 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:'0''
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=on&brightness=50'
Feb 19 18:24:58 srv4hai proc_url[1653]: 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:'0''
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY: scenario: 'welcomeLight(welcomelight)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=on&brightness=50'
Feb 19 18:24:58 srv4hai proc_url[1664]: 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:'0''
Feb 19 18:24:58 srv4hai activate_scenario[1552]: SHELLY scenario: 'welcomeLight(welcomelight)' took 150 msec, phoneName:'0'
Feb 19 18:24:58 srv4hai activate_scenario[1739]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb 19 18:24:58 srv4hai activate_scenario[1739]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished