activate_scenario.sh
Wed Jun 19 21:38:02 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 21:38:02.810
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: 21:38:02.893
Dauer: 82 msec
phName: 'phoneName:'0''
urls : 1
vorher : 21:38:02.791
nachher: 21:38:02.899
Dauer : 109 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/19//scene_vorraumOn_20240619_213802.txt'
Jun 19 21:35:01 srv4hai CRON[9819]: (root) CMD (/etc/linetest/linetest.sh) Jun 19 21:35:58 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1718825758 - 'ping_SP_1' Jun 19 21:35:58 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 19 21:36:01 srv4hai CRON[9865]: (root) CMD (/etc/linetest/linetest.sh) Jun 19 21:36:15 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:15 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:15 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:15 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 19 21:36:15 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 19 21:36:15 srv4hai common[9875]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 19 21:36:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:25 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:25 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 19 21:36:25 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 19 21:36:25 srv4hai common[9899]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:35 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 19 21:36:35 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:35 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:35 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:35 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 19 21:36:35 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 19 21:36:35 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 19 21:36:35 srv4hai common[9922]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:45 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 19 21:36:45 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:45 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 19 21:36:45 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 19 21:36:45 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 19 21:36:45 srv4hai named[30406]: client @0x7f93100d8ab0 192.168.12.252#42575/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 19 21:36:45 srv4hai common[9944]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 19 21:36:48 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Jun 19 21:36:55 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 19 21:36:55 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:55 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 19 21:36:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 19 21:36:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 19 21:36:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 19 21:36:55 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 19 21:36:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 19 21:36:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: signer "rndc-key" approved Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 19 21:36:55 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#50231/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Jun 19 21:36:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 19 21:36:55 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 19 21:37:01 srv4hai CRON[9974]: (root) CMD (/etc/linetest/linetest.sh) Jun 19 21:37:01 srv4hai common[9979]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 19 21:37:09 srv4hai activate_scenario[10002]: SHELLY scenario: 'sekr_UM(sekr_um)' started Jun 19 21:37:09 srv4hai activate_scenario[10002]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch' Jun 19 21:37:09 srv4hai activate_scenario[10002]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch' Jun 19 21:37:09 srv4hai postfix/pickup[6304]: F2C0B60197: uid=33 from=Jun 19 21:37:10 srv4hai postfix/cleanup[10055]: F2C0B60197: message-id=<20240619193709.F2C0B60197@mail.viehai.at> Jun 19 21:37:10 srv4hai postfix/qmgr[31004]: F2C0B60197: from= , size=12435, nrcpt=1 (queue active) Jun 19 21:37:10 srv4hai postfix/local[10068]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 19 21:37:10 srv4hai activate_scenario[10002]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle' Jun 19 21:37:10 srv4hai postfix/local[10068]: F2C0B60197: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Jun 19 21:37:10 srv4hai postfix/cleanup[10055]: 0449C601BE: message-id=<20240619193710.0449C601BE@mail.viehai.at> Jun 19 21:37:10 srv4hai proc_url[10073]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/19/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch'' Jun 19 21:37:10 srv4hai postfix/bounce[10069]: F2C0B60197: sender non-delivery notification: 0449C601BE Jun 19 21:37:10 srv4hai postfix/qmgr[31004]: 0449C601BE: from=<>, size=14317, nrcpt=1 (queue active) Jun 19 21:37:10 srv4hai postfix/qmgr[31004]: F2C0B60197: removed Jun 19 21:37:10 srv4hai postfix/local[10068]: 0449C601BE: to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jun 19 21:37:10 srv4hai postfix/qmgr[31004]: 0449C601BE: removed Jun 19 21:37:10 srv4hai activate_scenario[10002]: SHELLY scenario: 'sekr_UM(sekr_um)' took 64 msec, shelly-01:'Wandlicht beim Esstisch' Jun 19 21:37:11 srv4hai bt_scan[9979]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Jun 19 21:37:11 srv4hai bt_scan[9979]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jun 19 21:37:11 srv4hai common[10118]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 19 21:37:12 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1718825832-1718825822 Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 19 21:37:12 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1718825832-1718825822 Jun 19 21:37:12 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1718825832 - 'ping_SP_1' Jun 19 21:37:12 srv4hai ping_SP[2171]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Jun 19 21:37:12 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1718825832-1718825822 Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_sekr_UM) - sceneOFF(offAll) Jun 19 21:37:12 srv4hai check_presence[10118]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Jun 19 21:37:52 srv4hai common[10288]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 19 21:38:01 srv4hai CRON[10305]: (root) CMD (/etc/linetest/linetest.sh) Jun 19 21:38:02 srv4hai bt_scan[10288]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Jun 19 21:38:02 srv4hai bt_scan[10288]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Jun 19 21:38:02 srv4hai common[10327]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 19 21:38:02 srv4hai ping_SP[10327]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Jun 19 21:38:02 srv4hai common[10348]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 19 21:38:02 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'10'=1718825882-1718825872 Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Jun 19 21:38:02 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1718825882-1718825872 Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 19 21:38:02 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1718825882-1718825872 Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_sekr_UM) - sceneONsmall(vorraumOn) Jun 19 21:38:02 srv4hai check_presence[10348]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 19 21:38:02 srv4hai activate_scenario[10494]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 19 21:38:02 srv4hai activate_scenario[10494]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished