activate_scenario.sh
Sun Jun 9 18:42:15 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 18:42:15.399
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: 18:42:15.425
Dauer: 27 msec
phName: 'phoneName:'0''
urls : 1
vorher : 18:42:15.378
nachher: 18:42:15.432
Dauer : 53 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/09//scene_vorraumOn_20240609_184215.txt'
Jun 9 18:39:01 srv4hai CRON[9585]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 18:39:01 srv4hai CRON[9586]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Jun 9 18:39:01 srv4hai systemd[1]: Starting Clean php session files... Jun 9 18:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Jun 9 18:39:02 srv4hai systemd[1]: Started Clean php session files. Jun 9 18:39:02 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717951142 - 'ping_SP_0' Jun 9 18:39:02 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 9 18:39:44 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 9 18:39:44 srv4hai fetchmail[1651]: 46048 messages (46048 seen) for tmiglinci at mail.akis.at (-496136072 octets). Jun 9 18:39:45 srv4hai fetchmail[1651]: 10311 messages (10311 seen) for srozum at mail.akis.at (1240103697 octets). Jun 9 18:39:45 srv4hai fetchmail[1651]: 23979 messages (23979 seen) for mrozum at mail.akis.at (-160215112 octets). Jun 9 18:39:45 srv4hai fetchmail[1651]: 105 messages (105 seen) for admin@bastelstube.wien at pop3.world4you.com (40278459 octets). Jun 9 18:39:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9710, secured, session= Jun 9 18:39:54 srv4hai dovecot: imap(miglincit)<9710> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 9 18:40:01 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1717951201 - 'ping_SP_1' Jun 9 18:40:01 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 9 18:40:01 srv4hai CRON[9727]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Jun 9 18:40:01 srv4hai CRON[9728]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 18:40:01 srv4hai common[9729]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Jun 9 18:40:01 srv4hai meter.sh: SHELLY meter.sh started Jun 9 18:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Jun 9 18:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Jun 9 18:40:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:05 srv4hai postfix/anvil[9293]: statistics: max connection rate 1/60s for (smtp:194.169.175.212) at Jun 9 18:36:45 Jun 9 18:40:05 srv4hai postfix/anvil[9293]: statistics: max connection count 1 for (smtp:194.169.175.212) at Jun 9 18:36:45 Jun 9 18:40:05 srv4hai postfix/anvil[9293]: statistics: max cache size 1 at Jun 9 18:36:45 Jun 9 18:40:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Jun 9 18:40:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Jun 9 18:40:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Jun 9 18:40:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Jun 9 18:40:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Jun 9 18:40:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:16 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717951216 - 'ping_SP_0' Jun 9 18:40:16 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 9 18:40:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Jun 9 18:40:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Jun 9 18:40:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Jun 9 18:40:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Jun 9 18:40:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Jun 9 18:40:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Jun 9 18:40:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 9 18:40:24 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Jun 9 18:40:24 srv4hai common[10613]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Jun 9 18:40:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM' Jun 9 18:40:24 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs Jun 9 18:40:24 srv4hai meter.sh: SHELLY meter.sh ended Jun 9 18:40:55 srv4hai nmbd[2172]: [2024/06/09 18:40:55.420426, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Jun 9 18:40:55 srv4hai nmbd[2172]: find_domain_master_name_query_fail: Jun 9 18:40:55 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Jun 9 18:40:55 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. Jun 9 18:41:01 srv4hai CRON[10646]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 18:41:14 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1717951274 - 'ping_SP_1' Jun 9 18:41:14 srv4hai ping_SP[22799]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 9 18:41:29 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717951289 - 'ping_SP_0' Jun 9 18:41:29 srv4hai ping_SP[27059]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 9 18:41:44 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:41:44 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:41:44 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 18:41:44 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 18:41:44 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 18:41:44 srv4hai common[10696]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 18:41:54 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 18:41:54 srv4hai common[10711]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 9 18:41:54 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:41:54 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:41:54 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 18:41:54 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 18:41:54 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 18:41:54 srv4hai common[10724]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 18:41:54 srv4hai ping_SP[10711]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 9 18:42:01 srv4hai CRON[10745]: (root) CMD (/etc/linetest/linetest.sh) Jun 9 18:42:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 18:42:04 srv4hai common[10758]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 9 18:42:04 srv4hai common[10767]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 9 18:42:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:42:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:42:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 18:42:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 18:42:04 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 18:42:04 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#48911/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 18:42:04 srv4hai common[10778]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 18:42:04 srv4hai ping_SP[10758]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 9 18:42:05 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'12'=1717951325-1717951313 Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 9 18:42:05 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'12'=1717951325-1717951313 Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 9 18:42:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'12'=1717951325-1717951313 Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_sekr_UM) - sceneONsmall(vorraumOn) Jun 9 18:42:05 srv4hai check_presence[10767]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 9 18:42:05 srv4hai activate_scenario[10941]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 9 18:42:05 srv4hai activate_scenario[10941]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Jun 9 18:42:05 srv4hai activate_scenario[10941]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jun 9 18:42:05 srv4hai postfix/pickup[31764]: 4611960197: uid=33 from= Jun 9 18:42:05 srv4hai postfix/cleanup[10991]: 4611960197: message-id=<20240609164205.4611960197@mail.viehai.at> Jun 9 18:42:05 srv4hai postfix/qmgr[31004]: 4611960197: from= , size=12425, nrcpt=1 (queue active) Jun 9 18:42:05 srv4hai activate_scenario[10941]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jun 9 18:42:05 srv4hai proc_url[11008]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/09/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jun 9 18:42:05 srv4hai activate_scenario[10941]: SHELLY scenario: 'vorraumOn(vorraumon)' took 50 msec, phoneName:'0' Jun 9 18:42:05 srv4hai ping_SP[10711]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jun 9 18:42:06 srv4hai postfix/relay/smtp[11004]: 4611960197: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=0.78, delays=0.02/0.01/0.5/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D6B0420144) Jun 9 18:42:06 srv4hai postfix/qmgr[31004]: 4611960197: removed Jun 9 18:42:07 srv4hai ping_SP[10711]: SHELLY - running process-id(10711): '10711 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01210758 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01210778 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01227059 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Jun 9 18:42:14 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 9 18:42:14 srv4hai common[11050]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 9 18:42:14 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:42:14 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 9 18:42:14 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 9 18:42:14 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 9 18:42:14 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 9 18:42:14 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#48911/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 18:42:14 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#44571/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 9 18:42:14 srv4hai common[11067]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 9 18:42:14 srv4hai common[11070]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 9 18:42:14 srv4hai ping_SP[11050]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 9 18:42:15 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1717951335-1717951330 Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 9 18:42:15 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1717951335-1717951330 Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 9 18:42:15 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1717951335-1717951330 Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jun 9 18:42:15 srv4hai check_presence[11067]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 9 18:42:15 srv4hai activate_scenario[11236]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 9 18:42:15 srv4hai activate_scenario[11236]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished