activate_scenario.sh
Sun Jun 16 09:58:08 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 09:58:08.235
http://192.168.12.103/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 09:58:08.274
Dauer: 38 msec
phName: 'phoneName:'0''
urls : 1
vorher : 09:58:08.184
nachher: 09:58:08.280
Dauer : 97 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/16//scene_vorraumOn_20240616_095808.txt'
Jun 16 09:55:01 srv4hai CRON[4697]: (root) CMD (/etc/linetest/linetest.sh) Jun 16 09:55:02 srv4hai ping_SP[26288]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1718524502 - 'ping_SP_1' Jun 16 09:55:02 srv4hai ping_SP[26288]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 16 09:55:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4719, secured, session=<0GsVLP0aGJoAAAAAAAAAAAAAAAAAAAAB> Jun 16 09:55:28 srv4hai dovecot: imap(miglincit)<4719><0GsVLP0aGJoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=276 out=1692 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 16 09:55:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 16 09:55:33 srv4hai fetchmail[1651]: 46512 messages (46512 seen) for tmiglinci at mail.akis.at (-456900815 octets). Jun 16 09:55:33 srv4hai fetchmail[1651]: 10335 messages (10335 seen) for srozum at mail.akis.at (1244937008 octets). Jun 16 09:55:33 srv4hai fetchmail[1651]: 24125 messages (24125 seen) for mrozum at mail.akis.at (-130297381 octets). Jun 16 09:55:34 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets). Jun 16 09:55:53 srv4hai ping_SP[25799]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1718524553 - 'ping_SP_0' Jun 16 09:55:53 srv4hai ping_SP[25799]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 16 09:56:00 srv4hai nmbd[2172]: [2024/06/16 09:56:00.122236, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Jun 16 09:56:00 srv4hai nmbd[2172]: find_domain_master_name_query_fail: Jun 16 09:56:00 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Jun 16 09:56:00 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. Jun 16 09:56:01 srv4hai CRON[4746]: (root) CMD (/etc/linetest/linetest.sh) Jun 16 09:56:15 srv4hai ping_SP[26288]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1718524575 - 'ping_SP_1' Jun 16 09:56:15 srv4hai ping_SP[26288]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 16 09:57:01 srv4hai CRON[4780]: (root) CMD (/etc/linetest/linetest.sh) Jun 16 09:57:06 srv4hai ping_SP[25799]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1718524626 - 'ping_SP_0' Jun 16 09:57:06 srv4hai ping_SP[25799]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 16 09:57:14 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jun 16 09:57:14 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 16 09:57:14 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jun 16 09:57:14 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jun 16 09:57:14 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jun 16 09:57:14 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jun 16 09:57:14 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 16 09:57:14 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#34923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#50209/key rndc-key: signer "rndc-key" approved Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#50209/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#50209/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#50209/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93480bd120 192.168.12.252#50209/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jun 16 09:57:14 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#53827/key rndc-key: signer "rndc-key" approved Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#53827/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jun 16 09:57:14 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#53827/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. Jun 16 09:57:14 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jun 16 09:57:14 srv4hai common[4801]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jun 16 09:57:14 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jun 16 09:57:16 srv4hai grab_shelly.sh: SHELLY 'shelly-39': OFFLINE, resp. not answering within timeout 1.500000s Jun 16 09:57:24 srv4hai common[4823]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 16 09:57:24 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=20.700000&hum=64.300000&id=C049EF8AC9D8&batt=100&volt=6.740000 Jun 16 09:57:24 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240616.csv' Jun 16 09:57:24 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jun 16 09:57:24 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jun 16 09:57:24 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}' Jun 16 09:57:24 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 '.'' Jun 16 09:57:24 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jun 16 09:57:24 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jun 16 09:57:24 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 20.7° - 64.3% Jun 16 09:57:24 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 20.7°/20.2° - 64.3%/64.7% - SAVED Jun 16 09:57:24 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jun 16 09:57:25 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-06-16T07:57:25.306Z",#012 "content": {#012 "temp": 20.7,#012 "hum": 64.3,#012 "batt": 100,#012 "csvF": "shelly-39_20240616.csv"#012 },#012 "transaction": "5e5ced6a-5028-41d1-952b-33ff6f58c096"#012 }#012}'° Jun 16 09:57:29 srv4hai ping_SP[26288]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1718524649 - 'ping_SP_1' Jun 16 09:57:29 srv4hai ping_SP[26288]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 16 09:57:37 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:57:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:57:37 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 16 09:57:37 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 16 09:57:37 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 16 09:57:37 srv4hai common[4936]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 16 09:57:47 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 16 09:57:47 srv4hai common[4953]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 16 09:57:47 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:57:47 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:57:47 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 16 09:57:47 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 16 09:57:47 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 16 09:57:47 srv4hai common[4966]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 16 09:57:47 srv4hai ping_SP[4953]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 16 09:57:57 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 16 09:57:57 srv4hai common[4992]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 16 09:57:57 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:57:57 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:57:57 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 16 09:57:57 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 16 09:57:57 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 16 09:57:57 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#48047/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 16 09:57:57 srv4hai common[5009]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 16 09:57:57 srv4hai common[5013]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 16 09:57:57 srv4hai ping_SP[4992]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 16 09:57:57 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1718524677-1718524668 Jun 16 09:57:57 srv4hai check_presence[5009]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 16 09:57:57 srv4hai check_presence[5009]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 16 09:57:57 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1718524677-1718524668 Jun 16 09:57:57 srv4hai check_presence[5009]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 16 09:57:57 srv4hai check_presence[5009]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 16 09:57:57 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1718524677-1718524668 Jun 16 09:57:57 srv4hai check_presence[5009]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 16 09:57:57 srv4hai check_presence[5009]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 16 09:57:58 srv4hai check_presence[5009]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jun 16 09:57:58 srv4hai check_presence[5009]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 16 09:57:58 srv4hai activate_scenario[5177]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 16 09:57:58 srv4hai activate_scenario[5177]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Jun 16 09:57:58 srv4hai activate_scenario[5177]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jun 16 09:57:58 srv4hai postfix/pickup[21963]: 23CF760197: uid=33 from= Jun 16 09:57:58 srv4hai postfix/cleanup[5227]: 23CF760197: message-id=<20240616075758.23CF760197@mail.viehai.at> Jun 16 09:57:58 srv4hai postfix/qmgr[31004]: 23CF760197: from= , size=13014, nrcpt=1 (queue active) Jun 16 09:57:58 srv4hai activate_scenario[5177]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jun 16 09:57:58 srv4hai proc_url[5244]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/16/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jun 16 09:57:58 srv4hai activate_scenario[5177]: SHELLY scenario: 'vorraumOn(vorraumon)' took 58 msec, phoneName:'0' Jun 16 09:57:58 srv4hai ping_SP[4953]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jun 16 09:57:59 srv4hai postfix/relay/smtp[5240]: 23CF760197: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=1, delays=0.02/0.01/0.74/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as EDA56801CE) Jun 16 09:57:59 srv4hai postfix/qmgr[31004]: 23CF760197: removed Jun 16 09:58:00 srv4hai ping_SP[4953]: SHELLY - running process-id(4953): '4953 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0124992 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0125013 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01225799 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Jun 16 09:58:01 srv4hai CRON[5280]: (root) CMD (/etc/linetest/linetest.sh) Jun 16 09:58:07 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 16 09:58:07 srv4hai common[5294]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 16 09:58:07 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:58:07 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 16 09:58:07 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 16 09:58:07 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 16 09:58:07 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 16 09:58:07 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#34135/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 16 09:58:07 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#48047/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 16 09:58:07 srv4hai common[5310]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 16 09:58:07 srv4hai common[5315]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 16 09:58:07 srv4hai ping_SP[5294]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 16 09:58:07 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1718524687-1718524685 Jun 16 09:58:07 srv4hai check_presence[5310]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 16 09:58:07 srv4hai check_presence[5310]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 16 09:58:07 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1718524687-1718524685 Jun 16 09:58:07 srv4hai check_presence[5310]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 16 09:58:07 srv4hai check_presence[5310]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 16 09:58:07 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1718524687-1718524685 Jun 16 09:58:07 srv4hai check_presence[5310]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 16 09:58:07 srv4hai check_presence[5310]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 16 09:58:08 srv4hai check_presence[5310]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jun 16 09:58:08 srv4hai check_presence[5310]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 16 09:58:08 srv4hai activate_scenario[5478]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 16 09:58:08 srv4hai activate_scenario[5478]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished