activate_scenario.sh
Fri Aug 2 11:49:16 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/08/02/_0.log)

vorher: 11:49:16.473

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: 11:49:16.551
Dauer: 77 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 11:49:16.421
nachher: 11:49:16.557
Dauer : 138 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/02//scene_vorraumOn_20240802_114916.txt'


syslog

Aug  2 11:46:01 srv4hai CRON[30936]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 11:46:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30944, secured, session=
Aug  2 11:46:11 srv4hai dovecot: imap(rozumm)<30944>: 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  2 11:46:14 srv4hai fetchmail[1651]: 49907 messages (49907 seen) for tmiglinci at mail.akis.at (-170253493 octets).
Aug  2 11:46:23 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722591983 - 'ping_SP_1'
Aug  2 11:46:23 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  2 11:46:25 srv4hai fetchmail[1651]: 10538 messages (10538 seen) for srozum at mail.akis.at (1266967945 octets).
Aug  2 11:46:42 srv4hai fetchmail[1651]: 25092 messages (25092 seen) for mrozum at mail.akis.at (83296186 octets).
Aug  2 11:46:43 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Aug  2 11:46:44 srv4hai postfix/smtpd[30973]: warning: database /etc/aliases.db is older than source file /etc/aliases
Aug  2 11:46:44 srv4hai postfix/smtpd[30973]: connect from unknown[178.215.236.216]
Aug  2 11:46:44 srv4hai postfix/smtpd[30973]: warning: unknown[178.215.236.216]: SASL LOGIN authentication failed: Invalid authentication mechanism
Aug  2 11:46:44 srv4hai postfix/smtpd[30973]: disconnect from unknown[178.215.236.216] ehlo=1 auth=0/1 quit=1 commands=2/3
Aug  2 11:46:49 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722592009 - 'ping_SP_0'
Aug  2 11:46:49 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  2 11:46:50 srv4hai postfix/smtpd[30973]: connect from host.maryhendersoncoaching.com[67.225.137.17]
Aug  2 11:46:51 srv4hai postfix/smtpd[30973]: 00E166004D: client=host.maryhendersoncoaching.com[67.225.137.17]
Aug  2 11:46:51 srv4hai postfix/cleanup[30991]: 00E166004D: message-id=<729e4e9610855a3eebc80f4776633030@lightscamerasandaction.com>
Aug  2 11:46:51 srv4hai postfix/qmgr[8566]: 00E166004D: from=, size=22791, nrcpt=1 (queue active)
Aug  2 11:46:51 srv4hai postfix/smtpd[30973]: disconnect from host.maryhendersoncoaching.com[67.225.137.17] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Aug  2 11:46:51 srv4hai postfix/local[30992]: warning: database /etc/aliases.db is older than source file /etc/aliases
Aug  2 11:46:51 srv4hai postfix/local[30992]: 00E166004D: to=, orig_to=, relay=local, delay=0.31, delays=0.29/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug  2 11:46:51 srv4hai postfix/qmgr[8566]: 00E166004D: removed
Aug  2 11:46:52 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 11:46:52 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 11:46:52 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Aug  2 11:46:52 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Aug  2 11:46:52 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Aug  2 11:46:52 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 11:46:52 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#53057/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#45077/key rndc-key: signer "rndc-key" approved
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#45077/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#45077/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#45077/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#45077/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Aug  2 11:46:52 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#46471/key rndc-key: signer "rndc-key" approved
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#46471/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Aug  2 11:46:52 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#46471/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  2 11:46:52 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Aug  2 11:46:52 srv4hai common[30995]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Aug  2 11:46:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Aug  2 11:46:52 srv4hai common[31007]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Aug  2 11:46:52 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=26.500000&hum=61.800000&id=C049EF8AC9D8&batt=100&volt=6.740000
Aug  2 11:46:52 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/08/shelly-39_20240802.csv'
Aug  2 11:46:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug  2 11:46:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Aug  2 11:46:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug  2 11:46:52 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  2 11:46:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Aug  2 11:46:52 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  2 11:46:52 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug  2 11:46:52 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  2 11:46:52 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug  2 11:46:52 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  2 11:46:52 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Aug  2 11:46:52 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.5° - 61.8%
Aug  2 11:46:52 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.5°/25.9° - 61.8%/63.5% - SAVED
Aug  2 11:46:52 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Aug  2 11:46:52 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Aug  2 11:46:53 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-02T09:46:53.370Z",#012    "content": {#012      "temp": 26.5,#012      "hum": 61.8,#012      "batt": 100,#012      "csvF": "shelly-39_20240802.csv"#012    },#012    "transaction": "09e32d59-f89b-42e7-9f54-6b0c761f6042"#012  }#012}'°
Aug  2 11:47:01 srv4hai CRON[31165]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 11:47:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31172, secured, session=<8/gjNrAeaOkAAAAAAAAAAAAAAAAAAAAB>
Aug  2 11:47:11 srv4hai dovecot: imap(rozumm)<31172><8/gjNrAeaOkAAAAAAAAAAAAAAAAAAAAB>: 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  2 11:47:37 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722592057 - 'ping_SP_1'
Aug  2 11:47:37 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  2 11:48:01 srv4hai CRON[31209]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 11:48:02 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722592082 - 'ping_SP_0'
Aug  2 11:48:02 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  2 11:48:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31231, secured, session=
Aug  2 11:48:11 srv4hai dovecot: imap(rozumm)<31231>: 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  2 11:48:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31234, secured, session=
Aug  2 11:48:19 srv4hai dovecot: imap(miglincit)<31234>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug  2 11:48:26 srv4hai common[31237]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug  2 11:48:35 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:48:35 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:48:35 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:48:35 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug  2 11:48:35 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug  2 11:48:35 srv4hai common[31250]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:48:36 srv4hai bt_scan[31237]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug  2 11:48:36 srv4hai bt_scan[31237]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug  2 11:48:36 srv4hai common[31280]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  2 11:48:37 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1722592117-1722592106
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug  2 11:48:37 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1722592117-1722592106
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Aug  2 11:48:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1722592117-1722592106
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Aug  2 11:48:37 srv4hai check_presence[31280]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug  2 11:48:45 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug  2 11:48:45 srv4hai common[31436]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug  2 11:48:45 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:48:45 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:48:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:48:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug  2 11:48:45 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug  2 11:48:45 srv4hai common[31449]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:48:45 srv4hai ping_SP[31436]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug  2 11:48:50 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722592130 - 'ping_SP_1'
Aug  2 11:48:50 srv4hai ping_SP[14422]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug  2 11:48:55 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug  2 11:48:55 srv4hai common[31492]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug  2 11:48:55 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:48:55 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:48:55 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:48:55 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug  2 11:48:55 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug  2 11:48:55 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  2 11:48:55 srv4hai common[31503]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  2 11:48:55 srv4hai common[31511]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:48:55 srv4hai ping_SP[31492]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug  2 11:48:55 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1722592135-1722592125
Aug  2 11:48:55 srv4hai check_presence[31503]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  2 11:48:55 srv4hai check_presence[31503]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug  2 11:48:55 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1722592135-1722592125
Aug  2 11:48:55 srv4hai check_presence[31503]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  2 11:48:56 srv4hai check_presence[31503]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Aug  2 11:48:56 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1722592136-1722592125
Aug  2 11:48:56 srv4hai check_presence[31503]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  2 11:48:56 srv4hai check_presence[31503]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  2 11:48:56 srv4hai check_presence[31503]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Aug  2 11:48:56 srv4hai check_presence[31503]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug  2 11:48:56 srv4hai activate_scenario[31678]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug  2 11:48:56 srv4hai activate_scenario[31678]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Aug  2 11:48:56 srv4hai activate_scenario[31678]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Aug  2 11:48:56 srv4hai postfix/pickup[27417]: 34B106018A: uid=33 from=
Aug  2 11:48:56 srv4hai postfix/cleanup[31728]: 34B106018A: message-id=<20240802094856.34B106018A@mail.viehai.at>
Aug  2 11:48:56 srv4hai postfix/qmgr[8566]: 34B106018A: from=, size=19244, nrcpt=1 (queue active)
Aug  2 11:48:56 srv4hai activate_scenario[31678]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Aug  2 11:48:56 srv4hai proc_url[31745]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/02/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Aug  2 11:48:56 srv4hai activate_scenario[31678]: SHELLY scenario: 'vorraumOn(vorraumon)' took 273 msec, phoneName:'0'
Aug  2 11:48:56 srv4hai ping_SP[31436]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Aug  2 11:48:57 srv4hai postfix/relay/smtp[31741]: 34B106018A: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=0.85, delays=0.04/0.01/0.44/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B8C7080060)
Aug  2 11:48:57 srv4hai postfix/qmgr[8566]: 34B106018A: removed
Aug  2 11:48:58 srv4hai ping_SP[31436]: SHELLY - running process-id(31436): '30079 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231436 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231492 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231511 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Aug  2 11:49:01 srv4hai CRON[31781]: (root) CMD (/etc/linetest/linetest.sh)
Aug  2 11:49:05 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug  2 11:49:05 srv4hai common[31795]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug  2 11:49:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:49:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:49:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:49:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug  2 11:49:05 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug  2 11:49:05 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  2 11:49:05 srv4hai named[30406]: client @0x7f93380d6d20 192.168.12.252#40805/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  2 11:49:05 srv4hai common[31810]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  2 11:49:05 srv4hai common[31816]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug  2 11:49:05 srv4hai ping_SP[31795]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug  2 11:49:06 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'3'=1722592146-1722592143
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug  2 11:49:06 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1722592146-1722592143
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Aug  2 11:49:06 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1722592146-1722592143
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Aug  2 11:49:06 srv4hai check_presence[31810]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug  2 11:49:06 srv4hai activate_scenario[31984]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug  2 11:49:06 srv4hai activate_scenario[31984]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Aug  2 11:49:06 srv4hai activate_scenario[31984]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Aug  2 11:49:06 srv4hai postfix/pickup[27417]: 56E356018A: uid=33 from=
Aug  2 11:49:06 srv4hai postfix/cleanup[31728]: 56E356018A: message-id=<20240802094906.56E356018A@mail.viehai.at>
Aug  2 11:49:06 srv4hai postfix/qmgr[8566]: 56E356018A: from=, size=22742, nrcpt=1 (queue active)
Aug  2 11:49:06 srv4hai activate_scenario[31984]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Aug  2 11:49:06 srv4hai proc_url[32048]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/02/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Aug  2 11:49:06 srv4hai activate_scenario[31984]: SHELLY scenario: 'vorraumOn(vorraumon)' took 108 msec, phoneName:'0'
Aug  2 11:49:06 srv4hai ping_SP[31492]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Aug  2 11:49:07 srv4hai postfix/relay/smtp[31741]: 56E356018A: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.76, delays=0.02/0/0.35/0.39, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as C143F80029)
Aug  2 11:49:07 srv4hai postfix/qmgr[8566]: 56E356018A: removed
Aug  2 11:49:08 srv4hai ping_SP[31492]: SHELLY - running process-id(31492): '30079 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231492 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231795 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231816 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Aug  2 11:49:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32084, secured, session=
Aug  2 11:49:12 srv4hai dovecot: imap(rozumm)<32084>: 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  2 11:49:15 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug  2 11:49:15 srv4hai common[32090]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug  2 11:49:15 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:49:15 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/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.
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/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.
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/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.
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: signer "rndc-key" approved
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug  2 11:49:15 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#52143/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.
Aug  2 11:49:15 srv4hai common[32108]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug  2 11:49:15 srv4hai ping_SP[32090]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug  2 11:49:15 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722592155 - 'ping_SP_0'
Aug  2 11:49:15 srv4hai ping_SP[30079]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug  2 11:49:15 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug  2 11:49:16 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1722592156-1722592155
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug  2 11:49:16 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1722592156-1722592155
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Aug  2 11:49:16 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1722592156-1722592155
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Aug  2 11:49:16 srv4hai check_presence[32108]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug  2 11:49:16 srv4hai activate_scenario[32263]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug  2 11:49:16 srv4hai activate_scenario[32263]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished