activate_scenario.sh
Mon Apr 8 22:00:22 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/04/08/_0.log)

vorher: 22:00:22.988

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:00:23.021
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 22:00:23.005

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:00:23.046
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 22:00:22.947
nachher: 22:00:23.052
Dauer : 107 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/08//scene_buero_UM_20240408_220022.txt'


syslog

Apr  8 21:57:01 srv4hai CRON[3603]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 21:57:04 srv4hai ping_SP[3348]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1712606224 - 'ping_SP_1'
Apr  8 21:57:30 srv4hai ping_SP[3348]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1712606250 - 'ping_SP_1'
Apr  8 21:57:32 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712606252 - 'ping_SP_0'
Apr  8 21:57:32 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 21:57:56 srv4hai ping_SP[3348]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1712606276 - 'ping_SP_1'
Apr  8 21:57:59 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  8 21:58:00 srv4hai fetchmail[1651]: 41589 messages (41586 seen) for tmiglinci at mail.akis.at (-838357466 octets).
Apr  8 21:58:00 srv4hai postfix/smtpd[3696]: connect from localhost[127.0.0.1]
Apr  8 21:58:00 srv4hai postfix/smtpd[3696]: AB5D06011D: client=localhost[127.0.0.1]
Apr  8 21:58:00 srv4hai postfix/cleanup[3521]: AB5D06011D: message-id=<20240408195247.56E3060245@mail.viehai.at>
Apr  8 21:58:00 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41587 of 41589 (25694 octets) not flushed
Apr  8 21:58:00 srv4hai postfix/qmgr[15291]: AB5D06011D: from=, size=26063, nrcpt=1 (queue active)
Apr  8 21:58:00 srv4hai postfix/local[3698]: AB5D06011D: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  8 21:58:00 srv4hai postfix/qmgr[15291]: AB5D06011D: removed
Apr  8 21:58:00 srv4hai postfix/smtpd[3696]: BF1C36011D: client=localhost[127.0.0.1]
Apr  8 21:58:00 srv4hai postfix/cleanup[3521]: BF1C36011D: message-id=<20240408195257.46F7560245@mail.viehai.at>
Apr  8 21:58:00 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41588 of 41589 (28873 octets) not flushed
Apr  8 21:58:00 srv4hai postfix/qmgr[15291]: BF1C36011D: from=, size=29252, nrcpt=1 (queue active)
Apr  8 21:58:00 srv4hai postfix/local[3698]: BF1C36011D: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  8 21:58:00 srv4hai postfix/qmgr[15291]: BF1C36011D: removed
Apr  8 21:58:00 srv4hai postfix/smtpd[3696]: D5D226011D: client=localhost[127.0.0.1]
Apr  8 21:58:00 srv4hai postfix/cleanup[3521]: D5D226011D: message-id=<20240408195621.E924060245@mail.viehai.at>
Apr  8 21:58:00 srv4hai postfix/qmgr[15291]: D5D226011D: from=, size=30564, nrcpt=1 (queue active)
Apr  8 21:58:00 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41589 of 41589 (30209 octets) not flushed
Apr  8 21:58:00 srv4hai postfix/smtpd[3696]: disconnect from localhost[127.0.0.1] ehlo=1 mail=3 rcpt=3 data=3 quit=1 commands=11
Apr  8 21:58:00 srv4hai postfix/local[3698]: D5D226011D: to=, relay=local, delay=0.11, delays=0.09/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  8 21:58:00 srv4hai postfix/qmgr[15291]: D5D226011D: removed
Apr  8 21:58:01 srv4hai CRON[3703]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 21:58:01 srv4hai fetchmail[1651]: 10110 messages (10110 seen) for srozum at mail.akis.at (1221862059 octets).
Apr  8 21:58:01 srv4hai fetchmail[1651]: 22745 messages (22745 seen) for mrozum at mail.akis.at (-364880678 octets).
Apr  8 21:58:02 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  8 21:58:22 srv4hai ping_SP[3348]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1712606302 - 'ping_SP_1'
Apr  8 21:58:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3736, secured, session=
Apr  8 21:58:25 srv4hai dovecot: imap(miglincit)<3736>: Logged out in=644 out=44615 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=20485 body_count=0 body_bytes=0
Apr  8 21:58:45 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712606325 - 'ping_SP_0'
Apr  8 21:58:45 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  8 21:58:46 srv4hai ping_SP[3348]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1712606326 - 'ping_SP_1'
Apr  8 21:58:46 srv4hai ping_SP[3348]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (3348) @~1712606326 - rm 'ping_SP_1'
Apr  8 21:58:46 srv4hai common[3781]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr  8 21:58:46 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1712606326-1712606321
Apr  8 21:58:46 srv4hai check_presence[3781]: 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 21:58:46 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1712606326-1712606321
Apr  8 21:58:46 srv4hai check_presence[3781]: 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 21:58:46 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1712606326-1712606321
Apr  8 21:58:46 srv4hai check_presence[3781]: 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 21:58:46 srv4hai check_presence[3781]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(BT/IP) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  8 21:58:46 srv4hai check_presence[3781]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
Apr  8 21:59:01 srv4hai CRON[3897]: (root) CMD (/etc/linetest/linetest.sh)
Apr  8 21:59:23 srv4hai nmbd[30864]: [2024/04/08 21:59:23.250686,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr  8 21:59:23 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Apr  8 21:59:23 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr  8 21:59:23 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Apr  8 21:59:58 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712606398 - 'ping_SP_0'
Apr  8 21:59:58 srv4hai ping_SP[2196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
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'

finished