activate_scenario.sh
Tue Jun 18 21:29:40 CEST 2024
scenario: vorraumOn
phoneName: 1

'night' <--> 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/06/18/_0.log)

vorher: 21:29:40.789

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": "input"

nachher: 21:29:40.817
Dauer: 29 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 21:29:40.742
nachher: 21:29:40.824
Dauer : 83 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/18//scene_vorraumOn_20240618_212940.txt'


syslog

Jun 18 21:26:01 srv4hai CRON[9715]: (root) CMD (/etc/linetest/linetest.sh)
Jun 18 21:26:01 srv4hai nmbd[2172]: [2024/06/18 21:26:01.772207,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jun 18 21:26:01 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jun 18 21:26:01 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jun 18 21:26:01 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jun 18 21:26:18 srv4hai ping_SP[9385]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718738778 - 'ping_SP_0'
Jun 18 21:26:18 srv4hai ping_SP[9385]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 18 21:26:40 srv4hai activate_scenario[9754]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jun 18 21:26:40 srv4hai activate_scenario[9754]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
Jun 18 21:26:40 srv4hai activate_scenario[9754]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch'
Jun 18 21:26:40 srv4hai postfix/pickup[3374]: 358AF60197: uid=33 from=
Jun 18 21:26:40 srv4hai postfix/cleanup[9807]: 358AF60197: message-id=<20240618192640.358AF60197@mail.viehai.at>
Jun 18 21:26:40 srv4hai postfix/qmgr[31004]: 358AF60197: from=, size=16640, nrcpt=1 (queue active)
Jun 18 21:26:40 srv4hai activate_scenario[9754]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle'
Jun 18 21:26:40 srv4hai proc_url[9824]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/18/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch''
Jun 18 21:26:40 srv4hai postfix/local[9823]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 18 21:26:40 srv4hai postfix/local[9823]: 358AF60197: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jun 18 21:26:40 srv4hai postfix/cleanup[9807]: 3DA2C601BE: message-id=<20240618192640.3DA2C601BE@mail.viehai.at>
Jun 18 21:26:40 srv4hai postfix/bounce[9829]: 358AF60197: sender non-delivery notification: 3DA2C601BE
Jun 18 21:26:40 srv4hai postfix/qmgr[31004]: 3DA2C601BE: from=<>, size=18522, nrcpt=1 (queue active)
Jun 18 21:26:40 srv4hai postfix/qmgr[31004]: 358AF60197: removed
Jun 18 21:26:40 srv4hai postfix/local[9823]: 3DA2C601BE: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 18 21:26:40 srv4hai postfix/qmgr[31004]: 3DA2C601BE: removed
Jun 18 21:26:40 srv4hai activate_scenario[9754]: SHELLY scenario: 'sekr_UM(sekr_um)' took 98 msec, shelly-01:'Wandlicht beim Esstisch'
Jun 18 21:26:49 srv4hai common[9861]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 18 21:26:59 srv4hai bt_scan[9861]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 18 21:26:59 srv4hai bt_scan[9861]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 18 21:26:59 srv4hai common[9898]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 18 21:27:00 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1718738820-1718738809
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun 18 21:27:00 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1718738820-1718738809
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 18 21:27:00 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718738820-1718738809
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_sekr_UM) - sceneOFF(offAll)
Jun 18 21:27:00 srv4hai check_presence[9898]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 18 21:27:01 srv4hai CRON[10045]: (root) CMD (/etc/linetest/linetest.sh)
Jun 18 21:27:32 srv4hai ping_SP[9385]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718738852 - 'ping_SP_0'
Jun 18 21:27:32 srv4hai ping_SP[9385]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 18 21:27:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=10096, secured, session=<7pJLFC8b5p8AAAAAAAAAAAAAAAAAAAAB>
Jun 18 21:27:58 srv4hai dovecot: imap(miglincit)<10096><7pJLFC8b5p8AAAAAAAAAAAAAAAAAAAAB>: 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 18 21:28:01 srv4hai CRON[10100]: (root) CMD (/etc/linetest/linetest.sh)
Jun 18 21:28:13 srv4hai common[10108]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 18 21:28:23 srv4hai bt_scan[10108]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 18 21:28:23 srv4hai bt_scan[10108]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun 18 21:28:41 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jun 18 21:28:41 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun 18 21:28:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun 18 21:28:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jun 18 21:28:41 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jun 18 21:28:41 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jun 18 21:28:41 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#35741/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57751/key rndc-key: signer "rndc-key" approved
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57751/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57751/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57751/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#57751/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jun 18 21:28:41 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#48005/key rndc-key: signer "rndc-key" approved
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#48005/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jun 18 21:28:41 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#48005/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 18 21:28:41 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jun 18 21:28:41 srv4hai common[10159]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun 18 21:28:41 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jun 18 21:28:41 srv4hai common[10172]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 18 21:28:41 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=27.900000&hum=48.900000&id=C049EF8AC9D8&batt=100&volt=6.810000
Jun 18 21:28:41 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240618.csv'
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun 18 21:28:41 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 18 21:28:41 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 18 21:28:41 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 18 21:28:41 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 18 21:28:41 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun 18 21:28:41 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun 18 21:28:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 27.9° - 48.9%
Jun 18 21:28:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 27.9°/28.4° - 48.9%/48.3% - SAVED
Jun 18 21:28:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jun 18 21:28:42 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-18T19:28:42.036Z",#012    "content": {#012      "temp": 27.9,#012      "hum": 48.9,#012      "batt": 100,#012      "csvF": "shelly-39_20240618.csv"#012    },#012    "transaction": "daf1ee9b-eadf-4a12-b391-258a321011ba"#012  }#012}'°
Jun 18 21:28:45 srv4hai ping_SP[9385]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718738925 - 'ping_SP_0'
Jun 18 21:28:45 srv4hai ping_SP[9385]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 18 21:28:57 srv4hai activate_scenario[10345]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Jun 18 21:28:57 srv4hai activate_scenario[10345]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Jun 18 21:28:57 srv4hai activate_scenario[10345]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Jun 18 21:28:57 srv4hai postfix/pickup[3374]: 5AE7E60197: uid=33 from=
Jun 18 21:28:57 srv4hai postfix/cleanup[10400]: 5AE7E60197: message-id=<20240618192857.5AE7E60197@mail.viehai.at>
Jun 18 21:28:57 srv4hai postfix/qmgr[31004]: 5AE7E60197: from=, size=21481, nrcpt=1 (queue active)
Jun 18 21:28:57 srv4hai postfix/local[10413]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 18 21:28:57 srv4hai activate_scenario[10345]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Jun 18 21:28:57 srv4hai proc_url[10417]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/18/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Jun 18 21:28:57 srv4hai postfix/local[10413]: 5AE7E60197: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jun 18 21:28:57 srv4hai postfix/cleanup[10400]: 633B5601BE: message-id=<20240618192857.633B5601BE@mail.viehai.at>
Jun 18 21:28:57 srv4hai activate_scenario[10345]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Jun 18 21:28:57 srv4hai proc_url[10429]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/18/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Jun 18 21:28:57 srv4hai postfix/bounce[10418]: 5AE7E60197: sender non-delivery notification: 633B5601BE
Jun 18 21:28:57 srv4hai postfix/qmgr[31004]: 633B5601BE: from=<>, size=23363, nrcpt=1 (queue active)
Jun 18 21:28:57 srv4hai postfix/qmgr[31004]: 5AE7E60197: removed
Jun 18 21:28:57 srv4hai postfix/local[10413]: 633B5601BE: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 18 21:28:57 srv4hai postfix/qmgr[31004]: 633B5601BE: removed
Jun 18 21:28:57 srv4hai activate_scenario[10345]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 177 msec, shelly-28:'Schalter Nasszeile'
Jun 18 21:29:01 srv4hai CRON[10476]: (root) CMD (/etc/linetest/linetest.sh)
Jun 18 21:29:19 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0
Jun 18 21:29:19 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jun 18 21:29:19 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 18 21:29:19 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Jun 18 21:29:19 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Jun 18 21:29:19 srv4hai common[10496]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 18 21:29:21 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 18 21:29:22 srv4hai fetchmail[1651]: 46732 messages (46731 seen) for tmiglinci at mail.akis.at (-438518136 octets).
Jun 18 21:29:22 srv4hai postfix/smtpd[10508]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 18 21:29:22 srv4hai postfix/smtpd[10508]: connect from localhost[127.0.0.1]
Jun 18 21:29:22 srv4hai postfix/smtpd[10508]: 7E7C76018A: client=localhost[127.0.0.1]
Jun 18 21:29:22 srv4hai postfix/cleanup[10400]: 7E7C76018A: message-id=<20240618192426.269EC60197@mail.viehai.at>
Jun 18 21:29:22 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:46732 of 46732 (5055 octets) not flushed
Jun 18 21:29:22 srv4hai postfix/qmgr[31004]: 7E7C76018A: from=, size=5346, nrcpt=1 (queue active)
Jun 18 21:29:22 srv4hai postfix/smtpd[10508]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 18 21:29:22 srv4hai postfix/local[10413]: 7E7C76018A: to=, relay=local, delay=0.07, delays=0.05/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 18 21:29:22 srv4hai postfix/qmgr[31004]: 7E7C76018A: removed
Jun 18 21:29:23 srv4hai fetchmail[1651]: 10342 messages (10342 seen) for srozum at mail.akis.at (1245410084 octets).
Jun 18 21:29:23 srv4hai fetchmail[1651]: 24197 messages (24197 seen) for mrozum at mail.akis.at (-87585623 octets).
Jun 18 21:29:24 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 18 21:29:29 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Jun 18 21:29:29 srv4hai common[10517]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 18 21:29:29 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Jun 18 21:29:29 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jun 18 21:29:29 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 18 21:29:29 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Jun 18 21:29:29 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Jun 18 21:29:29 srv4hai common[10530]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 18 21:29:29 srv4hai ping_SP[10517]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 18 21:29:39 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1'
Jun 18 21:29:39 srv4hai common[10563]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 18 21:29:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0
Jun 18 21:29:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0
Jun 18 21:29:39 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 18 21:29:39 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62
Jun 18 21:29:39 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20
Jun 18 21:29:39 srv4hai common[10573]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 18 21:29:39 srv4hai named[30406]: client @0x7f93300a3990 192.168.12.252#54499/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 18 21:29:39 srv4hai common[10582]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 18 21:29:39 srv4hai ping_SP[10563]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 18 21:29:40 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'22'=1718738980-1718738958
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 18 21:29:40 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'22'=1718738980-1718738958
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun 18 21:29:40 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'22'=1718738980-1718738958
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Jun 18 21:29:40 srv4hai check_presence[10573]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn
Jun 18 21:29:40 srv4hai activate_scenario[10748]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 18 21:29:40 srv4hai activate_scenario[10748]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished