activate_scenario.sh
Sat Jul 20 00:09:45 CEST 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/07/20/_0.log)

vorher: 00:09:45.587

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: 00:09:45.631
Dauer: 43 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_1.log)

vorher: 00:09:45.600

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: 00:09:45.641
Dauer: 40 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_2.log)

vorher: 00:09:45.613

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": "http"

nachher: 00:09:45.754
Dauer: 141 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_3.log)

vorher: 00:09:45.625

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: 00:09:45.654
Dauer: 29 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_4.log)

vorher: 00:09:45.638

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

nachher: 00:09:45.662
Dauer: 24 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:09:45.650

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: 00:09:45.746
Dauer: 96 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:09:45.665

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": 0,
  "overpower": false

nachher: 00:09:45.691
Dauer: 25 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:09:45.679

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": 0,
  "overpower": false

nachher: 00:09:45.729
Dauer: 50 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:09:45.691

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: 00:09:45.753
Dauer: 62 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:09:45.705

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: 00:09:45.766
Dauer: 61 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_10.log)

vorher: 00:09:45.720

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: 00:09:45.752
Dauer: 32 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_11.log)

vorher: 00:09:45.732

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: 00:09:45.760
Dauer: 28 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 00:09:45.746

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: 00:09:45.778
Dauer: 31 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_13.log)

vorher: 00:09:45.765

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: 00:09:45.832
Dauer: 68 msec phName: 'shelly-23:'Licht Sekretär''


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

urls : 14
vorher : 00:09:45.568
nachher: 00:09:45.840
Dauer : 271 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_offDownstairs_20240720_000945.txt'


syslog

Jul 20 00:06:01 srv4hai CRON[13013]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 00:06:16 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721426776 - 'ping_SP_1'
Jul 20 00:06:16 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 00:06:35 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721426795 - 'ping_SP_0'
Jul 20 00:06:35 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 00:06:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 00:06:47 srv4hai fetchmail[1651]: 49030 messages (49029 seen) for tmiglinci at mail.akis.at (-235112210 octets).
Jul 20 00:06:47 srv4hai postfix/smtpd[13103]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 00:06:47 srv4hai postfix/smtpd[13103]: connect from localhost[127.0.0.1]
Jul 20 00:06:47 srv4hai postfix/smtpd[13103]: 9A7AE6000F: client=localhost[127.0.0.1]
Jul 20 00:06:47 srv4hai postfix/cleanup[13106]: 9A7AE6000F: message-id=<20240719220442.BC3606018A@mail.viehai.at>
Jul 20 00:06:47 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49030 of 49030 (5815 octets) not flushed
Jul 20 00:06:47 srv4hai postfix/qmgr[8566]: 9A7AE6000F: from=, size=6108, nrcpt=1 (queue active)
Jul 20 00:06:47 srv4hai postfix/smtpd[13103]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 20 00:06:47 srv4hai postfix/local[13107]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 00:06:47 srv4hai postfix/local[13107]: 9A7AE6000F: to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 20 00:06:47 srv4hai postfix/qmgr[8566]: 9A7AE6000F: removed
Jul 20 00:06:48 srv4hai fetchmail[1651]: 10478 messages (10478 seen) for srozum at mail.akis.at (1261656634 octets).
Jul 20 00:06:48 srv4hai fetchmail[1651]: 24838 messages (24838 seen) for mrozum at mail.akis.at (48298580 octets).
Jul 20 00:06:49 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 00:07:02 srv4hai CRON[13124]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 00:07:29 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721426849 - 'ping_SP_1'
Jul 20 00:07:29 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 00:07:48 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721426868 - 'ping_SP_0'
Jul 20 00:07:48 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 00:07:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13207, secured, session=
Jul 20 00:07:50 srv4hai dovecot: imap(miglincit)<13207>: Logged out in=632 out=50748 deleted=0 expunged=0 trashed=0 hdr_count=54 hdr_bytes=23529 body_count=0 body_bytes=0
Jul 20 00:08:01 srv4hai CRON[13221]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 00:08:42 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721426922 - 'ping_SP_1'
Jul 20 00:08:42 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 00:08:57 srv4hai common[13294]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 00:09:00 srv4hai systemd[1]: Starting Clean php session files...
Jul 20 00:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 20 00:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul 20 00:09:01 srv4hai CRON[13403]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 20 00:09:01 srv4hai CRON[13404]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 00:09:01 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721426941 - 'ping_SP_0'
Jul 20 00:09:01 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 00:09:07 srv4hai bt_scan[13294]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 20 00:09:07 srv4hai bt_scan[13294]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 20 00:09:07 srv4hai common[13443]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 00:09:08 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721426948-1721426937
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 20 00:09:08 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1721426948-1721426937
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 20 00:09:08 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721426948-1721426937
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jul 20 00:09:08 srv4hai check_presence[13443]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 20 00:09:45 srv4hai activate_scenario[13625]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Jul 20 00:09:45 srv4hai activate_scenario[13625]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished