activate_scenario.sh
Fri Mar 8 22:41:36 CET 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/03/08/_0.log)

vorher: 22:41:36.635

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:41:36.669
Dauer: 35 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:41:36.598
nachher: 22:41:36.676
Dauer : 79 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/08//scene_bedlight_tom_20240308_224136.txt'


syslog

Mar  8 22:38:01 srv4hai CRON[32613]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 22:38:45 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  8 22:38:46 srv4hai fetchmail[1651]: 39538 messages (39538 seen) for tmiglinci at mail.akis.at (-1025559201 octets).
Mar  8 22:38:47 srv4hai fetchmail[1651]: 9981 messages (9981 seen) for srozum at mail.akis.at (1209953790 octets).
Mar  8 22:38:47 srv4hai fetchmail[1651]: 22123 messages (22123 seen) for mrozum at mail.akis.at (-475211734 octets).
Mar  8 22:38:47 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  8 22:38:56 srv4hai ping_SP[25292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709933936 - 'ping_SP_0'
Mar  8 22:38:56 srv4hai ping_SP[25292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 22:38:58 srv4hai ping_SP[31227]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709933938 - 'ping_SP_1'
Mar  8 22:38:58 srv4hai ping_SP[31227]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  8 22:39:01 srv4hai systemd[1]: Starting Clean php session files...
Mar  8 22:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  8 22:39:01 srv4hai systemd[1]: Started Clean php session files.
Mar  8 22:39:01 srv4hai CRON[335]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  8 22:39:01 srv4hai CRON[336]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 22:39:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=350, secured, session=<+1XkBS0TxuoAAAAAAAAAAAAAAAAAAAAB>
Mar  8 22:39:13 srv4hai dovecot: imap(miglincit)<350><+1XkBS0TxuoAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  8 22:39:31 srv4hai activate_scenario[368]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar  8 22:39:31 srv4hai activate_scenario[368]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar  8 22:39:31 srv4hai activate_scenario[368]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar  8 22:39:31 srv4hai postfix/pickup[26159]: C412A602B8: uid=33 from=
Mar  8 22:39:31 srv4hai postfix/cleanup[421]: C412A602B8: message-id=<20240308213931.C412A602B8@mail.viehai.at>
Mar  8 22:39:31 srv4hai postfix/qmgr[15291]: C412A602B8: from=, size=4528, nrcpt=1 (queue active)
Mar  8 22:39:31 srv4hai activate_scenario[368]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar  8 22:39:31 srv4hai proc_url[439]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/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''
Mar  8 22:39:31 srv4hai postfix/local[434]: C412A602B8: to=, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Mar  8 22:39:31 srv4hai postfix/cleanup[421]: D06C5602B9: message-id=<20240308213931.D06C5602B9@mail.viehai.at>
Mar  8 22:39:31 srv4hai activate_scenario[368]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar  8 22:39:31 srv4hai proc_url[450]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/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''
Mar  8 22:39:31 srv4hai postfix/bounce[435]: C412A602B8: sender non-delivery notification: D06C5602B9
Mar  8 22:39:31 srv4hai postfix/qmgr[15291]: D06C5602B9: from=<>, size=6447, nrcpt=1 (queue active)
Mar  8 22:39:31 srv4hai postfix/qmgr[15291]: C412A602B8: removed
Mar  8 22:39:31 srv4hai postfix/local[434]: D06C5602B9: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  8 22:39:31 srv4hai postfix/qmgr[15291]: D06C5602B9: removed
Mar  8 22:39:31 srv4hai activate_scenario[368]: SHELLY scenario: 'buero_UM(buero_um)' took 121 msec, shelly-40:'Thomas Büro Licht'
Mar  8 22:39:37 srv4hai postfix/anvil[32443]: statistics: max connection rate 1/60s for (smtp:193.222.96.70) at Mar  8 22:36:17
Mar  8 22:39:37 srv4hai postfix/anvil[32443]: statistics: max connection count 1 for (smtp:193.222.96.70) at Mar  8 22:36:17
Mar  8 22:39:37 srv4hai postfix/anvil[32443]: statistics: max cache size 1 at Mar  8 22:36:17
Mar  8 22:40:01 srv4hai CRON[531]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 22:40:01 srv4hai CRON[532]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  8 22:40:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  8 22:40:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:09 srv4hai ping_SP[25292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709934009 - 'ping_SP_0'
Mar  8 22:40:09 srv4hai ping_SP[25292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 22:40:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:12 srv4hai ping_SP[31227]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709934012 - 'ping_SP_1'
Mar  8 22:40:12 srv4hai ping_SP[31227]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  8 22:40:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:14 srv4hai common[930]: SHELLY common.sh inkludiert
Mar  8 22:40:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:24 srv4hai bt_scan[930]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar  8 22:40:24 srv4hai bt_scan[930]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar  8 22:40:24 srv4hai common[1044]: SHELLY common.sh inkludiert
Mar  8 22:40:24 srv4hai check_presence[1044]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar  8 22:40:24 srv4hai check_presence[1044]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar  8 22:40:24 srv4hai check_presence[1044]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar  8 22:40:24 srv4hai check_presence[1044]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar  8 22:40:24 srv4hai check_presence[1044]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar  8 22:40:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 22:40:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar  8 22:40:59 srv4hai postfix/pickup[26159]: CE33B602B8: uid=33 from=
Mar  8 22:40:59 srv4hai postfix/cleanup[421]: CE33B602B8: message-id=<20240308214059.CE33B602B8@mail.viehai.at>
Mar  8 22:40:59 srv4hai postfix/qmgr[15291]: CE33B602B8: from=, size=654, nrcpt=1 (queue active)
Mar  8 22:40:59 srv4hai postfix/local[434]: CE33B602B8: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar  8 22:40:59 srv4hai postfix/qmgr[15291]: CE33B602B8: removed
Mar  8 22:41:01 srv4hai CRON[1233]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 22:41:22 srv4hai ping_SP[25292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709934082 - 'ping_SP_0'
Mar  8 22:41:22 srv4hai ping_SP[25292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 22:41:23 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar  8 22:41:23 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar  8 22:41:23 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar  8 22:41:23 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar  8 22:41:23 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#51245/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#59221/key rndc-key: signer "rndc-key" approved
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#59221/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#59221/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#59221/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931406e6c0 192.168.12.252#59221/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar  8 22:41:23 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar  8 22:41:23 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#55201/key rndc-key: signer "rndc-key" approved
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#55201/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar  8 22:41:23 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#55201/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Mar  8 22:41:23 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar  8 22:41:23 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar  8 22:41:25 srv4hai ping_SP[31227]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709934085 - 'ping_SP_1'
Mar  8 22:41:25 srv4hai ping_SP[31227]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar  8 22:41:36 srv4hai activate_scenario[1314]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Mar  8 22:41:36 srv4hai activate_scenario[1314]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished