activate_scenario.sh
Wed Mar 27 22:39:57 CET 2024
scenario: offDownstairs
source: 192.168.12.123

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

scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_0.log)

vorher: 22:39:57.288

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 22:39:57.448
Dauer: 159 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_1.log)

vorher: 22:39:57.305

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 22:39:57.334
Dauer: 28 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_2.log)

vorher: 22:39:57.323

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 22:39:57.354
Dauer: 31 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_3.log)

vorher: 22:39:57.340

http://192.168.12.105/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:39:57.428
Dauer: 89 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_4.log)

vorher: 22:39:57.357

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:39:57.420
Dauer: 62 msec phName: 'shelly-23:'Licht Sekretär''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_5.log)

vorher: 22:39:57.371

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

nachher: 22:39:57.479
Dauer: 109 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_6.log)

vorher: 22:39:57.383

http://192.168.12.116/white/0?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 12.24,
  "overpower": false

nachher: 22:39:57.429
Dauer: 45 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_7.log)

vorher: 22:39:57.395

http://192.168.12.116/white/1?turn=off&brightness=70
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 70,
  "transition": 0,
  "power": 12.24,
  "overpower": false

nachher: 22:39:57.430
Dauer: 35 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_8.log)

vorher: 22:39:57.408

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 22:39:57.461
Dauer: 52 msec phName: 'shelly-23:'Licht Sekretär''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_9.log)

vorher: 22:39:57.420

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 22:39:57.545
Dauer: 125 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_10.log)

vorher: 22:39:57.434

http://192.168.12.119/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:39:57.509
Dauer: 75 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_11.log)

vorher: 22:39:57.447

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 22:39:57.513
Dauer: 65 msec phName: 'shelly-23:'Licht Sekretär''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_12.log)

vorher: 22:39:57.461

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

nachher: 22:39:57.526
Dauer: 64 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/03/27/_13.log)

vorher: 22:39:57.475

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

nachher: 22:39:57.539
Dauer: 64 msec phName: 'shelly-23:'Licht Sekretär''


scenario: 'Licht Unten AUS-schalten' - 'offDownstairs' - 'offdownstairs'

urls : 14
vorher : 22:39:57.264
nachher: 22:39:57.555
Dauer : 291 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/27//scene_offDownstairs_20240327_223957.txt'


syslog

Mar 27 22:36:01 srv4hai CRON[3749]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 22:36:05 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 27 22:36:05 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 27 22:36:05 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 27 22:36:05 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 27 22:36:05 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f93100a9530 192.168.12.252#33437/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#42567/key rndc-key: signer "rndc-key" approved
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#42567/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#42567/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#42567/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f931c10f2a0 192.168.12.252#42567/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 27 22:36:05 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 27 22:36:05 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#40307/key rndc-key: signer "rndc-key" approved
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#40307/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 27 22:36:05 srv4hai named[15509]: client @0x7f930800b8b0 192.168.12.252#40307/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 27 22:36:05 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 27 22:36:05 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 27 22:36:25 srv4hai ping_SP[5931]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711575385 - 'ping_SP_1'
Mar 27 22:36:25 srv4hai ping_SP[5931]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 27 22:36:37 srv4hai ping_SP[29077]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711575397 - 'ping_SP_0'
Mar 27 22:36:37 srv4hai ping_SP[29077]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 27 22:36:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3810, secured, session=
Mar 27 22:36:47 srv4hai dovecot: imap(rozumm)<3810>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 22:37:01 srv4hai CRON[3814]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 22:37:32 srv4hai common[3831]: SHELLY common.sh inkludiert
Mar 27 22:37:38 srv4hai ping_SP[5931]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711575458 - 'ping_SP_1'
Mar 27 22:37:38 srv4hai ping_SP[5931]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 27 22:37:42 srv4hai bt_scan[3831]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Mar 27 22:37:42 srv4hai bt_scan[3831]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Mar 27 22:37:43 srv4hai common[3881]: SHELLY common.sh inkludiert
Mar 27 22:37:43 srv4hai check_presence[3881]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar 27 22:37:43 srv4hai check_presence[3881]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Mar 27 22:37:43 srv4hai check_presence[3881]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar 27 22:37:43 srv4hai check_presence[3881]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Mar 27 22:37:43 srv4hai check_presence[3881]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Mar 27 22:37:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3952, secured, session=
Mar 27 22:37:47 srv4hai dovecot: imap(rozumm)<3952>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 22:37:50 srv4hai ping_SP[29077]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711575470 - 'ping_SP_0'
Mar 27 22:37:50 srv4hai ping_SP[29077]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 27 22:38:01 srv4hai CRON[3970]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 22:38:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 27 22:38:20 srv4hai fetchmail[1651]: 40715 messages (40715 seen) for tmiglinci at mail.akis.at (-912247320 octets).
Mar 27 22:38:20 srv4hai fetchmail[1651]: 10059 messages (10059 seen) for srozum at mail.akis.at (1215407987 octets).
Mar 27 22:38:20 srv4hai fetchmail[1651]: 22507 messages (22507 seen) for mrozum at mail.akis.at (-393850569 octets).
Mar 27 22:38:21 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 27 22:38:40 srv4hai activate_scenario[3980]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Mar 27 22:38:40 srv4hai activate_scenario[3980]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
Mar 27 22:38:40 srv4hai activate_scenario[3980]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht'
Mar 27 22:38:40 srv4hai postfix/pickup[3480]: 5878F6027D: uid=33 from=
Mar 27 22:38:40 srv4hai postfix/cleanup[4034]: 5878F6027D: message-id=<20240327213840.5878F6027D@mail.viehai.at>
Mar 27 22:38:40 srv4hai postfix/qmgr[15291]: 5878F6027D: from=, size=7789, nrcpt=1 (queue active)
Mar 27 22:38:40 srv4hai activate_scenario[3980]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle'
Mar 27 22:38:40 srv4hai proc_url[4051]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/27/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht''
Mar 27 22:38:40 srv4hai postfix/local[4047]: 5878F6027D: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 27 22:38:40 srv4hai postfix/cleanup[4034]: 5FCBD602B8: message-id=<20240327213840.5FCBD602B8@mail.viehai.at>
Mar 27 22:38:40 srv4hai postfix/bounce[4052]: 5878F6027D: sender non-delivery notification: 5FCBD602B8
Mar 27 22:38:40 srv4hai postfix/qmgr[15291]: 5FCBD602B8: from=<>, size=9668, nrcpt=1 (queue active)
Mar 27 22:38:40 srv4hai postfix/qmgr[15291]: 5878F6027D: removed
Mar 27 22:38:40 srv4hai postfix/local[4047]: 5FCBD602B8: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 27 22:38:40 srv4hai postfix/qmgr[15291]: 5FCBD602B8: removed
Mar 27 22:38:40 srv4hai activate_scenario[3980]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 51 msec, shelly-12:'Schlafzimmer Licht'
Mar 27 22:38:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4084, secured, session=
Mar 27 22:38:48 srv4hai dovecot: imap(rozumm)<4084>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 22:38:52 srv4hai ping_SP[5931]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1711575532 - 'ping_SP_1'
Mar 27 22:38:52 srv4hai ping_SP[5931]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 27 22:39:01 srv4hai CRON[4107]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 27 22:39:01 srv4hai CRON[4108]: (root) CMD (/etc/linetest/linetest.sh)
Mar 27 22:39:01 srv4hai systemd[1]: Starting Clean php session files...
Mar 27 22:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar 27 22:39:01 srv4hai systemd[1]: Started Clean php session files.
Mar 27 22:39:03 srv4hai ping_SP[29077]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1711575543 - 'ping_SP_0'
Mar 27 22:39:03 srv4hai ping_SP[29077]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 27 22:39:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4227, secured, session=
Mar 27 22:39:48 srv4hai dovecot: imap(rozumm)<4227>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 27 22:39:57 srv4hai activate_scenario[4238]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Mar 27 22:39:57 srv4hai activate_scenario[4238]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished