activate_scenario.sh
Fri May 31 14:55:11 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/05/31/_0.log)

vorher: 14:55:11.740

http://192.168.12.123/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 14:55:11.767
Dauer: 27 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 14:55:11.717
nachher: 14:55:11.774
Dauer : 56 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/31//scene_sekr_UM_20240531_145511.txt'


syslog

May 31 14:52:01 srv4hai common[17113]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:01 srv4hai CRON[17123]: (root) CMD (/etc/linetest/linetest.sh)
May 31 14:52:01 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:01 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:01 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 117s ago - EXIT
May 31 14:52:06 srv4hai common[17146]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:06 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 122s ago - EXIT
May 31 14:52:11 srv4hai common[17171]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:11 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:11 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:11 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 127s ago - EXIT
May 31 14:52:21 srv4hai common[17198]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:21 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 137s ago - EXIT
May 31 14:52:26 srv4hai common[17223]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:26 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:26 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:26 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 142s ago - EXIT
May 31 14:52:27 srv4hai activate_scenario[17248]: SHELLY scenario: 'sekr_UM(sekr_um)' started
May 31 14:52:27 srv4hai activate_scenario[17248]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'
May 31 14:52:27 srv4hai activate_scenario[17248]: SHELLY scenario: 'sekr_UM(sekr_um)' TO BE EXECUTED, shelly-01:'Wandlicht beim Esstisch'
May 31 14:52:27 srv4hai postfix/pickup[9411]: 7273E631A0: uid=33 from=
May 31 14:52:27 srv4hai postfix/cleanup[14765]: 7273E631A0: message-id=<20240531125227.7273E631A0@mail.viehai.at>
May 31 14:52:27 srv4hai postfix/qmgr[31004]: 7273E631A0: from=, size=30335, nrcpt=1 (queue active)
May 31 14:52:27 srv4hai postfix/local[14778]: 7273E631A0: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
May 31 14:52:27 srv4hai postfix/cleanup[14765]: 77BE6631A1: message-id=<20240531125227.77BE6631A1@mail.viehai.at>
May 31 14:52:27 srv4hai postfix/bounce[14779]: 7273E631A0: sender non-delivery notification: 77BE6631A1
May 31 14:52:27 srv4hai postfix/qmgr[31004]: 77BE6631A1: from=<>, size=32217, nrcpt=1 (queue active)
May 31 14:52:27 srv4hai postfix/qmgr[31004]: 7273E631A0: removed
May 31 14:52:27 srv4hai postfix/local[14778]: 77BE6631A1: to=, relay=local, delay=0.02, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May 31 14:52:27 srv4hai postfix/qmgr[31004]: 77BE6631A1: removed
May 31 14:52:27 srv4hai activate_scenario[17248]: SHELLY: scenario: 'sekr_UM(sekr_um)'-'shelly-23'-'Licht Sekretär' --> '0?turn=toggle'
May 31 14:52:27 srv4hai proc_url[17316]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/05/31/_0.log' - shellyUsage:'Licht Sekretär' - scUrl:'http://192.168.12.123/relay/0?turn=toggle' - phName:'shelly-01:'Wandlicht beim Esstisch''
May 31 14:52:27 srv4hai activate_scenario[17248]: SHELLY scenario: 'sekr_UM(sekr_um)' took 103 msec, shelly-01:'Wandlicht beim Esstisch'
May 31 14:52:31 srv4hai common[17343]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:31 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:32 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:32 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 148s ago - EXIT
May 31 14:52:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May 31 14:52:32 srv4hai fetchmail[1651]: 45446 messages (45446 seen) for tmiglinci at mail.akis.at (-541925638 octets).
May 31 14:52:33 srv4hai fetchmail[1651]: 10277 messages (10277 seen) for srozum at mail.akis.at (1237639593 octets).
May 31 14:52:33 srv4hai fetchmail[1651]: 23805 messages (23805 seen) for mrozum at mail.akis.at (-183768412 octets).
May 31 14:52:34 srv4hai fetchmail[1651]: 80 messages (80 seen) for admin@bastelstube.wien at pop3.world4you.com (29300790 octets).
May 31 14:52:37 srv4hai common[17369]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:37 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:37 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:37 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 153s ago - EXIT
May 31 14:52:42 srv4hai common[17394]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:42 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:42 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:42 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 158s ago - EXIT
May 31 14:52:47 srv4hai common[17421]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:47 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:47 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:47 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 163s ago - EXIT
May 31 14:52:52 srv4hai common[17446]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:52 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:52 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:52 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 168s ago - EXIT
May 31 14:52:57 srv4hai common[17471]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:52:57 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:52:57 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:52:57 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 173s ago - EXIT
May 31 14:53:01 srv4hai CRON[17496]: (root) CMD (/etc/linetest/linetest.sh)
May 31 14:53:02 srv4hai common[17502]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 31 14:53:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=56&temp=24.25&id=shellyht-00B358
May 31 14:53:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240531.csv'
May 31 14:53:02 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240531.csv' modifed 178s ago - EXIT
May 31 14:53:42 srv4hai common[17531]: SHELLY common.sh inkludiert von ./bt_scan.sh
May 31 14:53:42 srv4hai bt_scan[17531]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
May 31 14:53:42 srv4hai bt_scan[17531]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
May 31 14:53:42 srv4hai common[17562]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May 31 14:53:42 srv4hai ping_SP[17562]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
May 31 14:53:42 srv4hai common[17583]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May 31 14:53:43 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1717160023-1717160022
May 31 14:53:43 srv4hai check_presence[17583]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
May 31 14:53:43 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1717160023-1717160022
May 31 14:53:43 srv4hai check_presence[17583]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May 31 14:53:43 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1717160023-1717160022
May 31 14:53:43 srv4hai check_presence[17583]: 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
May 31 14:53:43 srv4hai check_presence[17583]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
May 31 14:53:43 srv4hai postfix/pickup[9411]: 4F3A0631A0: uid=33 from=
May 31 14:53:43 srv4hai postfix/cleanup[14765]: 4F3A0631A0: message-id=<20240531125343.4F3A0631A0@mail.viehai.at>
May 31 14:53:43 srv4hai postfix/qmgr[31004]: 4F3A0631A0: from=, size=34927, nrcpt=1 (queue active)
May 31 14:53:43 srv4hai check_presence[17583]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_sekr_UM) - sceneONsmall(vorraumOn)
May 31 14:53:43 srv4hai check_presence[17583]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
May 31 14:53:43 srv4hai ping_SP[17562]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
May 31 14:53:43 srv4hai ping_SP[17562]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1717160023
May 31 14:53:44 srv4hai postfix/relay/smtp[17692]: 4F3A0631A0: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=1, delays=0.01/0.01/0.58/0.42, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as ED40780008)
May 31 14:53:44 srv4hai postfix/qmgr[31004]: 4F3A0631A0: removed
May 31 14:53:45 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
May 31 14:53:45 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 31 14:53:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 31 14:53:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
May 31 14:53:45 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
May 31 14:53:45 srv4hai common[17724]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 31 14:53:55 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May 31 14:53:55 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May 31 14:53:55 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 31 14:53:55 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 31 14:53:55 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
May 31 14:53:55 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
May 31 14:53:55 srv4hai common[17748]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 31 14:53:59 srv4hai ping_SP[17562]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1717160039 - 'ping_SP_0'
May 31 14:53:59 srv4hai mosquitto[18551]: Client shellyht-00B358 has exceeded timeout, disconnecting.
May 31 14:53:59 srv4hai mosquitto[18551]: Socket error on client shellyht-00B358, disconnecting.
May 31 14:54:01 srv4hai CRON[17775]: (root) CMD (/etc/linetest/linetest.sh)
May 31 14:54:05 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May 31 14:54:05 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May 31 14:54:05 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 31 14:54:05 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b04300
May 31 14:54:05 srv4hai dhcpd[30731]: Unable to add forward map from fpThomas.viehai.at to 192.168.12.61: operation canceled
May 31 14:54:05 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 31 14:54:05 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
May 31 14:54:05 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
May 31 14:54:05 srv4hai common[17788]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 31 14:54:15 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May 31 14:54:15 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May 31 14:54:15 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 31 14:54:15 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b448d0
May 31 14:54:15 srv4hai dhcpd[30731]: Unable to add forward map from fpThomas.viehai.at to 192.168.12.61: operation canceled
May 31 14:54:15 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
May 31 14:54:15 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
May 31 14:54:15 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
May 31 14:54:15 srv4hai common[17813]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
May 31 14:54:22 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717160062 - 'ping_SP_0'
May 31 14:54:22 srv4hai ping_SP[17562]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 31 14:54:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
May 31 14:54:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
May 31 14:54:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
May 31 14:54:25 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b04350
May 31 14:54:25 srv4hai dhcpd[30731]: Unable to add forward map from fpThomas.viehai.at to 192.168.12.61: operation canceled
May 31 14:54:25 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b44920
May 31 14:54:25 srv4hai dhcpd[30731]: Unable to add forward map from fpThomas.viehai.at to 192.168.12.61: operation canceled
May 31 14:55:01 srv4hai CRON[17856]: (root) CMD (/etc/linetest/linetest.sh)
May 31 14:55:11 srv4hai activate_scenario[17862]: SHELLY scenario: 'sekr_UM(sekr_um)' started
May 31 14:55:11 srv4hai activate_scenario[17862]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished