activate_scenario.sh
Tue Sep 17 22:02:09 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

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

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/09/17/_0.log)

vorher: 22:02:09.613

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

nachher: 22:02:09.878
Dauer: 265 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/17/_1.log)

vorher: 22:02:09.642

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

nachher: 22:02:09.721
Dauer: 79 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 22:02:09.553
nachher: 22:02:09.886
Dauer : 335 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/17//scene_buero_UM_20240917_220209.txt'


syslog

Sep 17 21:59:01 srv4hai CRON[4023]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 21:59:14 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726603154 - 'ping_SP_1'
Sep 17 21:59:14 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 17 21:59:18 srv4hai postfix/smtpd[4054]: connect from unknown[185.196.9.190]
Sep 17 21:59:18 srv4hai postfix/smtpd[4054]: warning: unknown[185.196.9.190]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 17 21:59:18 srv4hai postfix/smtpd[4054]: disconnect from unknown[185.196.9.190] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 17 21:59:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 17 21:59:47 srv4hai fetchmail[1651]: 52542 messages (52542 seen) for tmiglinci at mail.akis.at (28181273 octets).
Sep 17 21:59:47 srv4hai fetchmail[1651]: 10732 messages (10732 seen) for srozum at mail.akis.at (1302590189 octets).
Sep 17 21:59:48 srv4hai fetchmail[1651]: 25986 messages (25986 seen) for mrozum at mail.akis.at (228271236 octets).
Sep 17 21:59:49 srv4hai fetchmail[1651]: 1143 messages (1143 seen) for admin@bastelstube.wien at pop3.world4you.com (51639660 octets).
Sep 17 22:00:01 srv4hai CRON[4091]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 22:00:01 srv4hai CRON[4092]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 17 22:00:01 srv4hai common[4094]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 17 22:00:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 17 22:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 17 22:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 17 22:00:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 17 22:00:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 17 22:00:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 17 22:00:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 17 22:00:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 17 22:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 17 22:00:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 17 22:00:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 17 22:00:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 17 22:00:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 17 22:00:15 srv4hai common[5036]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 17 22:00:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Sep 17 22:00:15 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 17 22:00:15 srv4hai meter.sh: SHELLY meter.sh ended
Sep 17 22:00:28 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726603228 - 'ping_SP_1'
Sep 17 22:00:28 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 17 22:01:01 srv4hai CRON[5105]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 22:01:38 srv4hai common[5146]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 17 22:01:41 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726603301 - 'ping_SP_1'
Sep 17 22:01:41 srv4hai ping_SP[22308]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 17 22:01:48 srv4hai bt_scan[5146]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 17 22:01:48 srv4hai bt_scan[5146]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 17 22:01:48 srv4hai common[5198]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 17 22:01:49 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726603309-1726603298
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 17 22:01:49 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1726603309-1726603298
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 17 22:01:49 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726603309-1726603298
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Sep 17 22:01:49 srv4hai check_presence[5198]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 17 22:01:59 srv4hai activate_scenario[5353]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 17 22:01:59 srv4hai activate_scenario[5353]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 17 22:01:59 srv4hai activate_scenario[5353]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 17 22:01:59 srv4hai postfix/pickup[25140]: 9155C63463: uid=33 from=
Sep 17 22:01:59 srv4hai postfix/cleanup[5406]: 9155C63463: message-id=<20240917200159.9155C63463@mail.viehai.at>
Sep 17 22:01:59 srv4hai postfix/qmgr[8566]: 9155C63463: from=, size=8195, nrcpt=1 (queue active)
Sep 17 22:01:59 srv4hai activate_scenario[5353]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 17 22:01:59 srv4hai proc_url[5424]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/17/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 17 22:01:59 srv4hai postfix/local[5419]: 9155C63463: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 17 22:01:59 srv4hai postfix/cleanup[5406]: 9747463464: message-id=<20240917200159.9747463464@mail.viehai.at>
Sep 17 22:01:59 srv4hai postfix/bounce[5420]: 9155C63463: sender non-delivery notification: 9747463464
Sep 17 22:01:59 srv4hai postfix/qmgr[8566]: 9747463464: from=<>, size=10117, nrcpt=1 (queue active)
Sep 17 22:01:59 srv4hai postfix/qmgr[8566]: 9155C63463: removed
Sep 17 22:01:59 srv4hai activate_scenario[5353]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 17 22:01:59 srv4hai postfix/local[5419]: 9747463464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 17 22:01:59 srv4hai postfix/qmgr[8566]: 9747463464: removed
Sep 17 22:01:59 srv4hai proc_url[5436]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/17/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 17 22:01:59 srv4hai activate_scenario[5353]: SHELLY scenario: 'buero_UM(buero_um)' took 93 msec, shelly-40:'Thomas Büro Licht'
Sep 17 22:02:01 srv4hai CRON[5477]: (root) CMD (/etc/linetest/linetest.sh)
Sep 17 22:02:09 srv4hai activate_scenario[5491]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 17 22:02:09 srv4hai activate_scenario[5491]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished