activate_scenario.sh
Tue Aug 20 11:04:16 CEST 2024
scenario: library_UM
source: 192.168.12.124
vorher: 11:04:16.141
http://192.168.12.110/relay/0?turn=toggle |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 11:04:16.169
Dauer: 27 msec
phName: 'shelly-24:'Licht Empore''
urls : 1
vorher : 11:04:16.122
nachher: 11:04:16.175
Dauer : 52 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/20//scene_library_UM_20240820_110416.txt'
Aug 20 11:01:01 srv4hai CRON[15330]: (root) CMD (/etc/linetest/linetest.sh) Aug 20 11:01:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15337, secured, session= Aug 20 11:01:15 srv4hai dovecot: imap(miglincit)<15337> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 20 11:01:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=15339, secured, session= Aug 20 11:01:15 srv4hai dovecot: imap(rozumm)<15339>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 20 11:01:35 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1724144495 - 'ping_SP_1' Aug 20 11:01:35 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Aug 20 11:01:39 srv4hai postfix/anvil[14332]: statistics: max connection rate 1/60s for (smtp:178.215.236.137) at Aug 20 10:58:19 Aug 20 11:01:39 srv4hai postfix/anvil[14332]: statistics: max connection count 1 for (smtp:178.215.236.137) at Aug 20 10:58:19 Aug 20 11:01:39 srv4hai postfix/anvil[14332]: statistics: max cache size 1 at Aug 20 10:58:19 Aug 20 11:02:01 srv4hai CRON[15373]: (root) CMD (/etc/linetest/linetest.sh) Aug 20 11:02:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=15380, secured, session= Aug 20 11:02:15 srv4hai dovecot: imap(rozumm)<15380> : Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Aug 20 11:02:23 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Aug 20 11:02:23 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Aug 20 11:02:23 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Aug 20 11:02:23 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Aug 20 11:02:23 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#50523/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: signer "rndc-key" approved Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Aug 20 11:02:23 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59121/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Aug 20 11:02:23 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Aug 20 11:02:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#42529/key rndc-key: signer "rndc-key" approved Aug 20 11:02:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#42529/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Aug 20 11:02:23 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#42529/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at. Aug 20 11:02:23 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Aug 20 11:02:23 srv4hai common[15385]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Aug 20 11:02:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.'' Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Aug 20 11:02:23 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Aug 20 11:02:26 srv4hai common[15436]: SHELLY common.sh inkludiert von ./ht_shelly.sh Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=24&hum=65.100000&id=C049EF8AC9D8&batt=100&volt=6.610000 Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/08/shelly-39_20240820.csv' Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.'' Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Aug 20 11:02:26 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 24° - 65.1% Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 24°/23.5° - 65.1%/66.2% - SAVED Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Aug 20 11:02:26 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-39",#012 "created": "2024-08-20T09:02:26.912Z",#012 "content": {#012 "temp": 24,#012 "hum": 65.1,#012 "batt": 100,#012 "csvF": "shelly-39_20240820.csv"#012 },#012 "transaction": "6352a2b5-b195-4cc9-9295-641b66d6156b"#012 }#012}'° Aug 20 11:02:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Aug 20 11:02:33 srv4hai fetchmail[1651]: 50371 messages (50371 seen) for tmiglinci at mail.akis.at (-126682768 octets). Aug 20 11:02:34 srv4hai fetchmail[1651]: 10600 messages (10600 seen) for srozum at mail.akis.at (1279029270 octets). Aug 20 11:02:34 srv4hai fetchmail[1651]: 25403 messages (25403 seen) for mrozum at mail.akis.at (140635727 octets). Aug 20 11:02:35 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets). Aug 20 11:02:38 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1724144558 - 'ping_SP_1' Aug 20 11:02:38 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Aug 20 11:03:01 srv4hai CRON[15575]: (root) CMD (/etc/linetest/linetest.sh) Aug 20 11:03:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=15587, secured, session=<2l8pshkg4uQAAAAAAAAAAAAAAAAAAAAB> Aug 20 11:03:15 srv4hai dovecot: imap(rozumm)<15587><2l8pshkg4uQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 20 11:03:42 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1724144622 - 'ping_SP_1' Aug 20 11:03:42 srv4hai ping_SP[31134]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Aug 20 11:04:01 srv4hai CRON[15622]: (root) CMD (/etc/linetest/linetest.sh) Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY scenario: 'offDownstairs(offdownstairs)' TO BE EXECUTED, shelly-23:'Licht Sekretär' Aug 20 11:04:13 srv4hai postfix/pickup[8166]: B238C63460: uid=33 from= Aug 20 11:04:13 srv4hai postfix/cleanup[15685]: B238C63460: message-id=<20240820090413.B238C63460@mail.viehai.at> Aug 20 11:04:13 srv4hai postfix/qmgr[8566]: B238C63460: from= , size=10109, nrcpt=1 (queue active) Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-01'-'Wandlicht beim Esstisch' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15703]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_0.log' - shellyUsage:'Wandlicht beim Esstisch' - scUrl:'http://192.168.12.101/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai postfix/local[15698]: B238C63460: to= , orig_to= , relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Aug 20 11:04:13 srv4hai postfix/cleanup[15685]: B89C563461: message-id=<20240820090413.B89C563461@mail.viehai.at> Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-02'-'Balkon-Licht' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15714]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_1.log' - shellyUsage:'Balkon-Licht' - scUrl:'http://192.168.12.102/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai postfix/bounce[15701]: B238C63460: sender non-delivery notification: B89C563461 Aug 20 11:04:13 srv4hai postfix/qmgr[8566]: B89C563461: from=<>, size=12031, nrcpt=1 (queue active) Aug 20 11:04:13 srv4hai postfix/qmgr[8566]: B238C63460: removed Aug 20 11:04:13 srv4hai postfix/local[15698]: B89C563461: to= , relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Aug 20 11:04:13 srv4hai postfix/qmgr[8566]: B89C563461: removed Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15726]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_2.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-05'-'Stehlampe Anne hell' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15739]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_3.log' - shellyUsage:'Stehlampe Anne hell' - scUrl:'http://192.168.12.105/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-06'-'Fernsehlampe klein' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15768]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_4.log' - shellyUsage:'Fernsehlampe klein' - scUrl:'http://192.168.12.106/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-10'-'WZ Bücherregal' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15786]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_5.log' - shellyUsage:'WZ Bücherregal' - scUrl:'http://192.168.12.110/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=off&brightness=70' Aug 20 11:04:13 srv4hai proc_url[15810]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_6.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=off&brightness=70' Aug 20 11:04:13 srv4hai proc_url[15823]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_7.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=off&brightness=70' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=off&brightness=50' Aug 20 11:04:13 srv4hai proc_url[15834]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_8.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=off&brightness=50' Aug 20 11:04:13 srv4hai proc_url[15859]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_9.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=off&brightness=50' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-19'-'Fernsehlampe groß' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15926]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_10.log' - shellyUsage:'Fernsehlampe groß' - scUrl:'http://192.168.12.119/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-22'-'WC' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15941]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_11.log' - shellyUsage:'WC' - scUrl:'http://192.168.12.122/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-23'-'Licht Sekretär' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15964]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_12.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY: scenario: 'offDownstairs(offdownstairs)'-'shelly-25'-'Küchenlicht' --> '0?turn=off' Aug 20 11:04:13 srv4hai proc_url[15979]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/20/_13.log' - shellyUsage:'Küchenlicht' - scUrl:'http://192.168.12.125/relay/0?turn=off' - phName:'shelly-23:'Licht Sekretär'' Aug 20 11:04:13 srv4hai activate_scenario[15628]: SHELLY scenario: 'offDownstairs(offdownstairs)' took 256 msec, shelly-23:'Licht Sekretär' Aug 20 11:04:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=16089, secured, session= Aug 20 11:04:15 srv4hai dovecot: imap(miglincit)<16089> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 20 11:04:15 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=16091, secured, session= Aug 20 11:04:15 srv4hai dovecot: imap(rozumm)<16091> : Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Aug 20 11:04:16 srv4hai activate_scenario[16093]: SHELLY scenario: 'library_UM(library_um)' started Aug 20 11:04:16 srv4hai activate_scenario[16093]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-24:'Licht Empore'
finished