activate_scenario.sh
Mon Apr 8 22:03:42 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/08/_0.log)

vorher: 22:03:42.758

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

nachher: 22:03:42.794
Dauer: 36 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:03:42.735
nachher: 22:03:42.800
Dauer : 65 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/08//scene_bedlight_tom_20240408_220342.txt'


syslog

Apr  8 22:00:00 srv4hai activate_scenario[3943]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  8 22:00:00 srv4hai activate_scenario[3943]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr  8 22:00:00 srv4hai activate_scenario[3943]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr  8 22:00:00 srv4hai postfix/pickup[25092]: B346A60245: uid=33 from=
Apr  8 22:00:00 srv4hai postfix/cleanup[3996]: B346A60245: message-id=<20240408200000.B346A60245@mail.viehai.at>
Apr  8 22:00:00 srv4hai activate_scenario[3943]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Apr  8 22:00:00 srv4hai proc_url[4012]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/08/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr  8 22:00:00 srv4hai activate_scenario[3943]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Apr  8 22:00:00 srv4hai proc_url[4023]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/08/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr  8 22:00:00 srv4hai postfix/qmgr[15291]: B346A60245: from=, size=7538, nrcpt=1 (queue active)
Apr  8 22:00:00 srv4hai postfix/local[4028]: B346A60245: to=, orig_to=, relay=local, delay=0.08, delays=0.06/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  8 22:00:00 srv4hai postfix/cleanup[3996]: C42F660248: message-id=<20240408200000.C42F660248@mail.viehai.at>
Apr  8 22:00:00 srv4hai postfix/bounce[4029]: B346A60245: sender non-delivery notification: C42F660248
Apr  8 22:00:00 srv4hai postfix/qmgr[15291]: C42F660248: from=<>, size=9460, nrcpt=1 (queue active)
Apr  8 22:00:00 srv4hai postfix/qmgr[15291]: B346A60245: removed
Apr  8 22:00:00 srv4hai postfix/local[4028]: C42F660248: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  8 22:00:00 srv4hai postfix/qmgr[15291]: C42F660248: removed
Apr  8 22:00:01 srv4hai activate_scenario[3943]: SHELLY scenario: 'buero_UM(buero_um)' took 294 msec, shelly-40:'Thomas Büro Licht'
Apr  8 22:00:01 srv4hai CRON[4068]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 22:00:01 srv4hai CRON[4069]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  8 22:00:01 srv4hai common[4071]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr  8 22:00:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  8 22:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  8 22:00:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  8 22:00:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  8 22:00:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  8 22:00:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  8 22:00:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  8 22:00:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  8 22:00:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  8 22:00:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  8 22:00:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  8 22:00:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  8 22:00:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  8 22:00:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  8 22:00:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  8 22:00:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr  8 22:00:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  8 22:00:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  8 22:00:17 srv4hai common[4071]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr  8 22:00:17 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1712606417-1712606413
Apr  8 22:00:17 srv4hai check_presence[4071]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr  8 22:00:17 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'4'=1712606417-1712606413
Apr  8 22:00:17 srv4hai check_presence[4071]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr  8 22:00:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1712606417-1712606413
Apr  8 22:00:17 srv4hai check_presence[4071]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  8 22:00:17 srv4hai check_presence[4071]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  8 22:00:17 srv4hai check_presence[4071]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr  8 22:00:17 srv4hai common[4071]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr  8 22:00:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Apr  8 22:00:17 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs
Apr  8 22:00:17 srv4hai meter.sh: SHELLY meter.sh ended
Apr  8 22:00:17 srv4hai postfix/pickup[25092]: A36CD60245: uid=33 from=
Apr  8 22:00:17 srv4hai postfix/cleanup[3996]: A36CD60245: message-id=<20240408200017.A36CD60245@mail.viehai.at>
Apr  8 22:00:17 srv4hai postfix/qmgr[15291]: A36CD60245: from=, size=641, nrcpt=1 (queue active)
Apr  8 22:00:17 srv4hai postfix/local[4028]: A36CD60245: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  8 22:00:17 srv4hai postfix/qmgr[15291]: A36CD60245: removed
Apr  8 22:00:22 srv4hai activate_scenario[5168]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  8 22:00:22 srv4hai activate_scenario[5168]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr  8 22:00:22 srv4hai activate_scenario[5168]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr  8 22:00:22 srv4hai postfix/pickup[25092]: E1A3B60245: uid=33 from=
Apr  8 22:00:22 srv4hai postfix/cleanup[3996]: E1A3B60245: message-id=<20240408200022.E1A3B60245@mail.viehai.at>
Apr  8 22:00:22 srv4hai postfix/qmgr[15291]: E1A3B60245: from=, size=15215, nrcpt=1 (queue active)
Apr  8 22:00:22 srv4hai postfix/local[4028]: E1A3B60245: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr  8 22:00:22 srv4hai postfix/cleanup[3996]: E580F60248: message-id=<20240408200022.E580F60248@mail.viehai.at>
Apr  8 22:00:22 srv4hai postfix/bounce[4029]: E1A3B60245: sender non-delivery notification: E580F60248
Apr  8 22:00:22 srv4hai postfix/qmgr[15291]: E580F60248: from=<>, size=17137, nrcpt=1 (queue active)
Apr  8 22:00:22 srv4hai postfix/qmgr[15291]: E1A3B60245: removed
Apr  8 22:00:22 srv4hai postfix/local[4028]: E580F60248: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  8 22:00:22 srv4hai postfix/qmgr[15291]: E580F60248: removed
Apr  8 22:00:22 srv4hai activate_scenario[5168]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Apr  8 22:00:22 srv4hai proc_url[5236]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/08/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr  8 22:00:23 srv4hai activate_scenario[5168]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Apr  8 22:00:23 srv4hai proc_url[5247]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/08/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr  8 22:00:23 srv4hai activate_scenario[5168]: SHELLY scenario: 'buero_UM(buero_um)' took 107 msec, shelly-40:'Thomas Büro Licht'
Apr  8 22:01:01 srv4hai CRON[5310]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 22:01:11 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712606471 - 'ping_SP_0'
Apr  8 22:01:11 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 22:02:01 srv4hai CRON[5349]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 22:02:24 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712606544 - 'ping_SP_0'
Apr  8 22:02:24 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 22:03:01 srv4hai CRON[5391]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 22:03:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  8 22:03:03 srv4hai fetchmail[1651]: 41589 messages (41589 seen) for tmiglinci at mail.akis.at (-838357466 octets).
Apr  8 22:03:04 srv4hai fetchmail[1651]: 10110 messages (10110 seen) for srozum at mail.akis.at (1221862059 octets).
Apr  8 22:03:04 srv4hai fetchmail[1651]: 22745 messages (22745 seen) for mrozum at mail.akis.at (-364880678 octets).
Apr  8 22:03:05 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  8 22:03:20 srv4hai postfix/smtpd[5405]: warning: hostname mail.yiff.ltd does not resolve to address 193.222.96.5: Name or service not known
Apr  8 22:03:20 srv4hai postfix/smtpd[5405]: connect from unknown[193.222.96.5]
Apr  8 22:03:20 srv4hai postfix/smtpd[5405]: warning: unknown[193.222.96.5]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr  8 22:03:20 srv4hai postfix/smtpd[5405]: disconnect from unknown[193.222.96.5] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Apr  8 22:03:35 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5417, secured, session=<7QH5TJsVVL4AAAAAAAAAAAAAAAAAAAAB>
Apr  8 22:03:35 srv4hai dovecot: imap(miglincit)<5417><7QH5TJsVVL4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=422 out=1337 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  8 22:03:37 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712606617 - 'ping_SP_0'
Apr  8 22:03:37 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 22:03:42 srv4hai activate_scenario[5435]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Apr  8 22:03:42 srv4hai activate_scenario[5435]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished