activate_scenario.sh
Wed Feb 12 16:45:44 CET 2025
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/02/12/_0.log)

vorher: 16:45:44.958

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

nachher: 16:45:44.987
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/12/_1.log)

vorher: 16:45:44.978

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

nachher: 16:45:45.019
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 16:45:44.931
nachher: 16:45:45.025
Dauer : 95 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/12//scene_buero_UM_20250212_164544.txt'


syslog

Feb 12 16:42:00 srv4hai common[27101]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:42:00 srv4hai common[27125]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:42:00 srv4hai common[27149]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:42:01 srv4hai CRON[27174]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 16:42:27 srv4hai common[27184]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:42:27 srv4hai common[27208]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:42:57 srv4hai postfix/smtpd[27234]: connect from unknown[195.211.191.55]
Feb 12 16:42:57 srv4hai postfix/smtpd[27234]: warning: unknown[195.211.191.55]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 12 16:42:57 srv4hai postfix/smtpd[27234]: disconnect from unknown[195.211.191.55] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 12 16:43:00 srv4hai common[27236]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:43:00 srv4hai common[27261]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:43:00 srv4hai common[27285]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:43:01 srv4hai CRON[27310]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 16:43:27 srv4hai common[27318]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:43:27 srv4hai common[27342]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:43:44 srv4hai nmbd[2172]: [2025/02/12 16:43:44.192511,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 12 16:43:44 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Feb 12 16:43:44 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 12 16:43:44 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Feb 12 16:43:59 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:43:59 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:43:59 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:43:59 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 12 16:43:59 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 12 16:43:59 srv4hai common[27378]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:43:59 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 12 16:43:59 srv4hai common[27393]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 12 16:43:59 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:43:59 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f932c079890 192.168.12.252#42451/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#59441/key rndc-key: signer "rndc-key" approved
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#59441/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#59441/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#59441/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#59441/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb 12 16:43:59 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#35117/key rndc-key: signer "rndc-key" approved
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#35117/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb 12 16:43:59 srv4hai named[30406]: client @0x7f935064b690 192.168.12.252#35117/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.
Feb 12 16:43:59 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb 12 16:43:59 srv4hai common[27408]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 12 16:43:59 srv4hai ping_SP[27393]: SHELLY ping_SP.sh started from smartphone, user:'root'
Feb 12 16:44:00 srv4hai common[27429]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:44:00 srv4hai common[27453]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:44:00 srv4hai common[27477]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:44:01 srv4hai CRON[27503]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 16:44:09 srv4hai bt_scan[27408]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Feb 12 16:44:09 srv4hai common[27526]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 12 16:44:09 srv4hai bt_scan[27408]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb 12 16:44:10 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1739375050-1739375046
Feb 12 16:44:10 srv4hai check_presence[27526]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 12 16:44:10 srv4hai check_presence[27526]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb 12 16:44:10 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1739375050-1739375046
Feb 12 16:44:10 srv4hai check_presence[27526]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 12 16:44:10 srv4hai check_presence[27526]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 12 16:44:10 srv4hai check_presence[27526]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Feb 12 16:44:10 srv4hai check_presence[27526]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb 12 16:44:10 srv4hai activate_scenario[27656]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 12 16:44:10 srv4hai activate_scenario[27656]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Feb 12 16:44:10 srv4hai activate_scenario[27656]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Feb 12 16:44:10 srv4hai postfix/pickup[4556]: BCAB563465: uid=33 from=
Feb 12 16:44:10 srv4hai postfix/cleanup[27707]: BCAB563465: message-id=<20250212154410.BCAB563465@mail.viehai.at>
Feb 12 16:44:10 srv4hai postfix/qmgr[8566]: BCAB563465: from=, size=9055, nrcpt=1 (queue active)
Feb 12 16:44:10 srv4hai activate_scenario[27656]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'VZ Licht' --> '0?turn=on'
Feb 12 16:44:10 srv4hai proc_url[27724]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/12/_0.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Feb 12 16:44:10 srv4hai activate_scenario[27656]: SHELLY scenario: 'vorraumOn(vorraumon)' took 56 msec, phoneName:'0'
Feb 12 16:44:10 srv4hai ping_SP[27393]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Feb 12 16:44:12 srv4hai postfix/relay/smtp[27720]: BCAB563465: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=1.4, delays=0.02/0.01/0.69/0.69, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 853538010E)
Feb 12 16:44:12 srv4hai postfix/qmgr[8566]: BCAB563465: removed
Feb 12 16:44:12 srv4hai ping_SP[27393]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1739375052
Feb 12 16:44:26 srv4hai ping_SP[27393]: SHELLY (0) - ping 192.168.12.61 0 sucessfully  @~1739375066 - 'ping_SP_0'
Feb 12 16:44:26 srv4hai ping_SP[27393]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 12 16:44:27 srv4hai common[27787]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:44:27 srv4hai common[27812]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:44:37 srv4hai postfix/smtpd[27839]: connect from unknown[195.178.110.215]
Feb 12 16:44:41 srv4hai postfix/smtpd[27839]: warning: unknown[195.178.110.215]: SASL PLAIN authentication failed: 
Feb 12 16:44:41 srv4hai postfix/smtpd[27839]: disconnect from unknown[195.178.110.215] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 12 16:45:00 srv4hai common[27842]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:45:00 srv4hai common[27866]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:45:00 srv4hai common[27890]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:45:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 53 to 52
Feb 12 16:45:01 srv4hai CRON[27915]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 16:45:22 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:45:22 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:45:22 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:45:22 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 12 16:45:22 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 12 16:45:22 srv4hai common[27923]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:45:23 srv4hai postfix/smtpd[27839]: connect from unknown[195.211.191.55]
Feb 12 16:45:23 srv4hai postfix/smtpd[27839]: warning: unknown[195.211.191.55]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 12 16:45:23 srv4hai postfix/smtpd[27839]: disconnect from unknown[195.211.191.55] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 12 16:45:27 srv4hai common[27939]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:45:27 srv4hai common[27963]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 16:45:32 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 12 16:45:32 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:45:32 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:45:32 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:45:32 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 12 16:45:32 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 12 16:45:32 srv4hai common[28004]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:45:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 12 16:45:37 srv4hai fetchmail[1651]: 63483 messages (63482 seen) for tmiglinci at mail.akis.at (912073788 octets).
Feb 12 16:45:37 srv4hai postfix/smtpd[27839]: connect from localhost[127.0.0.1]
Feb 12 16:45:37 srv4hai postfix/smtpd[27839]: 396FB631BE: client=localhost[127.0.0.1]
Feb 12 16:45:37 srv4hai postfix/cleanup[27707]: 396FB631BE: message-id=<20250212154410.BCAB563465@mail.viehai.at>
Feb 12 16:45:37 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63483 of 63483 (10029 octets) not flushed
Feb 12 16:45:37 srv4hai postfix/qmgr[8566]: 396FB631BE: from=, size=10325, nrcpt=1 (queue active)
Feb 12 16:45:37 srv4hai postfix/smtpd[27839]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 12 16:45:37 srv4hai postfix/local[28018]: 396FB631BE: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 12 16:45:37 srv4hai postfix/qmgr[8566]: 396FB631BE: removed
Feb 12 16:45:37 srv4hai fetchmail[1651]: 11536 messages (11536 seen) for srozum at mail.akis.at (1369516287 octets).
Feb 12 16:45:38 srv4hai fetchmail[1651]: 28908 messages (28908 seen) for mrozum at mail.akis.at (654511812 octets).
Feb 12 16:45:38 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb 12 16:45:42 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 12 16:45:42 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:45:42 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 12 16:45:42 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:45:42 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 12 16:45:42 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 12 16:45:42 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#56275/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 12 16:45:42 srv4hai common[28031]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 12 16:45:44 srv4hai activate_scenario[28045]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 12 16:45:44 srv4hai activate_scenario[28045]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished