activate_scenario.sh
Thu Apr 25 21:50:37 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/04/25/_0.log)

vorher: 21:50:37.799

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

nachher: 21:50:37.837
Dauer: 38 msec phName: 'shelly-23:'Licht Sekretär''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_1.log)

vorher: 21:50:37.813

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

nachher: 21:50:37.860
Dauer: 47 msec phName: 'shelly-23:'Licht Sekretär''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_2.log)

vorher: 21:50:37.827

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: 21:50:37.865
Dauer: 37 msec phName: 'shelly-23:'Licht Sekretär''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_3.log)

vorher: 21:50:37.843

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: 21:50:39.966
Dauer: 2123 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_4.log)

vorher: 21:50:37.858

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: 21:50:38.001
Dauer: 143 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:50:37.874

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: 21:50:37.988
Dauer: 114 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:50:37.884

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: 21:50:37.998
Dauer: 114 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:50:37.896

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: 21:50:37.995
Dauer: 99 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:50:37.908

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: 21:50:38.003
Dauer: 95 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:50:37.920

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: 21:50:38.030
Dauer: 111 msec phName: 'shelly-23:'Licht Sekretär''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_10.log)

vorher: 21:50:37.933

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: 21:50:38.006
Dauer: 73 msec phName: 'shelly-23:'Licht Sekretär''


WC (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_11.log)

vorher: 21:50:37.946

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: 21:50:38.011
Dauer: 66 msec phName: 'shelly-23:'Licht Sekretär''


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

vorher: 21:50:37.958

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: 21:50:38.024
Dauer: 66 msec phName: 'shelly-23:'Licht Sekretär''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/25/_13.log)

vorher: 21:50:37.972

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

nachher: 21:50:38.031
Dauer: 60 msec phName: 'shelly-23:'Licht Sekretär''


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

urls : 14
vorher : 21:50:37.778
nachher: 21:50:39.983
Dauer : 2205 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/25//scene_offDownstairs_20240425_215037.txt'


syslog

Apr 25 21:47:01 srv4hai CRON[29717]: (root) CMD (/etc/linetest/linetest.sh)
Apr 25 21:47:03 srv4hai ping_SP[15959]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714074423 - 'ping_SP_0'
Apr 25 21:47:03 srv4hai ping_SP[15959]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 25 21:47:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 25 21:47:42 srv4hai fetchmail[1651]: 42906 messages (42906 seen) for tmiglinci at mail.akis.at (-715594255 octets).
Apr 25 21:47:42 srv4hai fetchmail[1651]: 10170 messages (10170 seen) for srozum at mail.akis.at (1227461427 octets).
Apr 25 21:47:43 srv4hai fetchmail[1651]: 23100 messages (23100 seen) for mrozum at mail.akis.at (-298640484 octets).
Apr 25 21:47:43 srv4hai fetchmail[1651]: 48 messages (48 seen) for admin@bastelstube.wien at pop3.world4you.com (12070443 octets).
Apr 25 21:47:58 srv4hai ping_SP[28476]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714074478 - 'ping_SP_1'
Apr 25 21:47:58 srv4hai ping_SP[28476]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 25 21:48:01 srv4hai CRON[29772]: (root) CMD (/etc/linetest/linetest.sh)
Apr 25 21:48:02 srv4hai postfix/smtpd[29776]: connect from unknown[45.88.90.157]
Apr 25 21:48:02 srv4hai postfix/smtpd[29776]: warning: unknown[45.88.90.157]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 25 21:48:02 srv4hai postfix/smtpd[29776]: disconnect from unknown[45.88.90.157] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 25 21:48:16 srv4hai ping_SP[15959]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714074496 - 'ping_SP_0'
Apr 25 21:48:16 srv4hai ping_SP[15959]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 25 21:49:01 srv4hai CRON[29814]: (root) CMD (/etc/linetest/linetest.sh)
Apr 25 21:49:11 srv4hai ping_SP[28476]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714074551 - 'ping_SP_1'
Apr 25 21:49:11 srv4hai ping_SP[28476]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 25 21:49:29 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29845, secured, session=
Apr 25 21:49:29 srv4hai dovecot: imap(miglincit)<29845>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 25 21:49:29 srv4hai ping_SP[15959]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714074569 - 'ping_SP_0'
Apr 25 21:49:29 srv4hai ping_SP[15959]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 25 21:50:01 srv4hai CRON[29865]: (root) CMD (/etc/linetest/linetest.sh)
Apr 25 21:50:01 srv4hai CRON[29866]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 25 21:50:01 srv4hai common[29868]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 25 21:50:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 25 21:50:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 25 21:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 25 21:50:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 25 21:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 25 21:50:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 25 21:50:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 25 21:50:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 25 21:50:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 25 21:50:10 srv4hai common[30488]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 25 21:50:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 25 21:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 25 21:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 25 21:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 25 21:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 25 21:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 25 21:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 25 21:50:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 25 21:50:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 25 21:50:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 25 21:50:19 srv4hai common[29868]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 25 21:50:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1714074620-1714074610
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 25 21:50:20 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1714074620-1714074610
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 25 21:50:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1714074620-1714074610
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 25 21:50:20 srv4hai check_presence[29868]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 25 21:50:20 srv4hai common[29868]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 25 21:50:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Apr 25 21:50:20 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Apr 25 21:50:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr 25 21:50:20 srv4hai postfix/pickup[15247]: 384966022F: uid=33 from=
Apr 25 21:50:20 srv4hai postfix/cleanup[30918]: 384966022F: message-id=<20240425195020.384966022F@mail.viehai.at>
Apr 25 21:50:20 srv4hai postfix/qmgr[15291]: 384966022F: from=, size=716, nrcpt=1 (queue active)
Apr 25 21:50:20 srv4hai postfix/local[30920]: 384966022F: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 25 21:50:20 srv4hai postfix/qmgr[15291]: 384966022F: removed
Apr 25 21:50:20 srv4hai bt_scan[30488]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 25 21:50:20 srv4hai bt_scan[30488]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 25 21:50:20 srv4hai common[30940]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 25 21:50:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1714074621-1714074610
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 25 21:50:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1714074621-1714074610
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 25 21:50:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1714074621-1714074610
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 25 21:50:21 srv4hai check_presence[30940]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 25 21:50:25 srv4hai ping_SP[28476]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714074625 - 'ping_SP_1'
Apr 25 21:50:25 srv4hai ping_SP[28476]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 25 21:50:37 srv4hai activate_scenario[31085]: SHELLY scenario: 'offDownstairs(offdownstairs)' started
Apr 25 21:50:37 srv4hai activate_scenario[31085]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-23:'Licht Sekretär'

finished