activate_scenario.sh
Mon Jun 10 22:53:35 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/06/10/_0.log)

vorher: 22:53:35.201

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:53:35.232
Dauer: 31 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:53:35.153
nachher: 22:53:35.239
Dauer : 87 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/10//scene_bedlight_tom_20240610_225335.txt'


syslog

Jun 10 22:50:01 srv4hai CRON[23870]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:50:01 srv4hai CRON[23871]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 10 22:50:01 srv4hai common[23872]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 10 22:50:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 10 22:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 10 22:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 10 22:50:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:09 srv4hai postfix/smtpd[24133]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 10 22:50:09 srv4hai postfix/smtpd[24133]: connect from unknown[185.196.10.27]
Jun 10 22:50:09 srv4hai postfix/smtpd[24133]: warning: unknown[185.196.10.27]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun 10 22:50:09 srv4hai postfix/smtpd[24133]: disconnect from unknown[185.196.10.27] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun 10 22:50:09 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718052609 - 'ping_SP_0'
Jun 10 22:50:09 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 22:50:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 10 22:50:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 10 22:50:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 10 22:50:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 10 22:50:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 10 22:50:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 10 22:50:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 10 22:50:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 10 22:50:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 10 22:50:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 10 22:50:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 10 22:50:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 10 22:50:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 10 22:50:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 10 22:50:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 10 22:50:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 10 22:50:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 10 22:50:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 10 22:50:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 10 22:50:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 10 22:50:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 10 22:50:23 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 10 22:50:23 srv4hai common[24761]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 10 22:50:23 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Jun 10 22:50:23 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jun 10 22:50:23 srv4hai meter.sh: SHELLY meter.sh ended
Jun 10 22:51:01 srv4hai CRON[24794]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:51:02 srv4hai common[24800]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 10 22:51:12 srv4hai bt_scan[24800]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 10 22:51:12 srv4hai bt_scan[24800]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 10 22:51:12 srv4hai common[24839]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 10 22:51:13 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1718052673-1718052662
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun 10 22:51:13 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1718052673-1718052662
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 10 22:51:13 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718052673-1718052662
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Jun 10 22:51:13 srv4hai check_presence[24839]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 10 22:51:18 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 10 22:51:19 srv4hai fetchmail[1651]: 46126 messages (46126 seen) for tmiglinci at mail.akis.at (-490781839 octets).
Jun 10 22:51:19 srv4hai fetchmail[1651]: 10315 messages (10315 seen) for srozum at mail.akis.at (1240326212 octets).
Jun 10 22:51:20 srv4hai fetchmail[1651]: 23999 messages (23999 seen) for mrozum at mail.akis.at (-153283661 octets).
Jun 10 22:51:20 srv4hai fetchmail[1651]: 111 messages (111 seen) for admin@bastelstube.wien at pop3.world4you.com (45088512 octets).
Jun 10 22:51:22 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718052682 - 'ping_SP_0'
Jun 10 22:51:22 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 22:52:01 srv4hai CRON[25015]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:52:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25021, secured, session=
Jun 10 22:52:01 srv4hai dovecot: imap(miglincit)<25021>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 10 22:52:35 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718052755 - 'ping_SP_0'
Jun 10 22:52:35 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 22:53:01 srv4hai CRON[25063]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:53:05 srv4hai common[25069]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 10 22:53:15 srv4hai bt_scan[25069]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 10 22:53:15 srv4hai bt_scan[25069]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun 10 22:53:24 srv4hai activate_scenario[25105]: SHELLY scenario: 'buero_UM(buero_um)' started
Jun 10 22:53:24 srv4hai activate_scenario[25105]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jun 10 22:53:24 srv4hai activate_scenario[25105]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jun 10 22:53:24 srv4hai postfix/pickup[10791]: 1285B60197: uid=33 from=
Jun 10 22:53:24 srv4hai postfix/cleanup[25158]: 1285B60197: message-id=<20240610205324.1285B60197@mail.viehai.at>
Jun 10 22:53:24 srv4hai postfix/qmgr[31004]: 1285B60197: from=, size=9301, nrcpt=1 (queue active)
Jun 10 22:53:24 srv4hai postfix/local[25171]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jun 10 22:53:24 srv4hai activate_scenario[25105]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jun 10 22:53:24 srv4hai proc_url[25176]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/10/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jun 10 22:53:24 srv4hai postfix/local[25171]: 1285B60197: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jun 10 22:53:24 srv4hai postfix/cleanup[25158]: 1A4B7601BE: message-id=<20240610205324.1A4B7601BE@mail.viehai.at>
Jun 10 22:53:24 srv4hai postfix/bounce[25172]: 1285B60197: sender non-delivery notification: 1A4B7601BE
Jun 10 22:53:24 srv4hai postfix/qmgr[31004]: 1A4B7601BE: from=<>, size=11223, nrcpt=1 (queue active)
Jun 10 22:53:24 srv4hai postfix/qmgr[31004]: 1285B60197: removed
Jun 10 22:53:24 srv4hai activate_scenario[25105]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jun 10 22:53:24 srv4hai proc_url[25188]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/10/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jun 10 22:53:24 srv4hai postfix/local[25171]: 1A4B7601BE: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 10 22:53:24 srv4hai postfix/qmgr[31004]: 1A4B7601BE: removed
Jun 10 22:53:24 srv4hai activate_scenario[25105]: SHELLY scenario: 'buero_UM(buero_um)' took 81 msec, shelly-40:'Thomas Büro Licht'
Jun 10 22:53:29 srv4hai postfix/anvil[24135]: statistics: max connection rate 1/60s for (smtp:185.196.10.27) at Jun 10 22:50:09
Jun 10 22:53:29 srv4hai postfix/anvil[24135]: statistics: max connection count 1 for (smtp:185.196.10.27) at Jun 10 22:50:09
Jun 10 22:53:29 srv4hai postfix/anvil[24135]: statistics: max cache size 1 at Jun 10 22:50:09
Jun 10 22:53:32 srv4hai activate_scenario[25231]: SHELLY scenario: 'buero_UM(buero_um)' started
Jun 10 22:53:32 srv4hai activate_scenario[25231]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jun 10 22:53:32 srv4hai activate_scenario[25231]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jun 10 22:53:32 srv4hai postfix/pickup[10791]: 2542460197: uid=33 from=
Jun 10 22:53:32 srv4hai postfix/cleanup[25158]: 2542460197: message-id=<20240610205332.2542460197@mail.viehai.at>
Jun 10 22:53:32 srv4hai postfix/qmgr[31004]: 2542460197: from=, size=12232, nrcpt=1 (queue active)
Jun 10 22:53:32 srv4hai postfix/local[25171]: 2542460197: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Jun 10 22:53:32 srv4hai postfix/cleanup[25158]: 2B2AD601BE: message-id=<20240610205332.2B2AD601BE@mail.viehai.at>
Jun 10 22:53:32 srv4hai postfix/bounce[25172]: 2542460197: sender non-delivery notification: 2B2AD601BE
Jun 10 22:53:32 srv4hai postfix/qmgr[31004]: 2B2AD601BE: from=<>, size=14154, nrcpt=1 (queue active)
Jun 10 22:53:32 srv4hai postfix/qmgr[31004]: 2542460197: removed
Jun 10 22:53:32 srv4hai postfix/local[25171]: 2B2AD601BE: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jun 10 22:53:32 srv4hai postfix/qmgr[31004]: 2B2AD601BE: removed
Jun 10 22:53:32 srv4hai activate_scenario[25231]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jun 10 22:53:32 srv4hai proc_url[25299]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/10/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jun 10 22:53:32 srv4hai activate_scenario[25231]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jun 10 22:53:32 srv4hai proc_url[25310]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/10/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jun 10 22:53:32 srv4hai activate_scenario[25231]: SHELLY scenario: 'buero_UM(buero_um)' took 176 msec, shelly-40:'Thomas Büro Licht'
Jun 10 22:53:35 srv4hai activate_scenario[25353]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jun 10 22:53:35 srv4hai activate_scenario[25353]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished