activate_scenario.sh
Tue Jul 2 22:10:35 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/07/02/_0.log)

vorher: 22:10:37.636

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

nachher: 22:10:37.890
Dauer: 255 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/02/_1.log)

vorher: 22:10:37.649

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

nachher: 22:10:37.694
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 22:10:37.616
nachher: 22:10:37.898
Dauer : 281 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/02//scene_buero_UM_20240702_221035.txt'


syslog

Jul  2 22:07:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6351, secured, session=
Jul  2 22:07:00 srv4hai dovecot: imap(pilsc)<6351>: Logged out in=70 out=915 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 22:07:01 srv4hai CRON[6355]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 22:07:57 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719950877 - 'ping_SP_1'
Jul  2 22:07:57 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  2 22:08:01 srv4hai CRON[6405]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 22:08:10 srv4hai ping_SP[22580]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719950890 - 'ping_SP_0'
Jul  2 22:08:10 srv4hai ping_SP[22580]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  2 22:08:25 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6434, secured, session=
Jul  2 22:08:25 srv4hai dovecot: imap(miglincit)<6434>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 22:08:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=6445, secured, session=
Jul  2 22:08:45 srv4hai dovecot: imap(pilsc)<6445>: Logged out in=50 out=532 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  2 22:09:00 srv4hai systemd[1]: Starting Clean php session files...
Jul  2 22:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul  2 22:09:00 srv4hai systemd[1]: Started Clean php session files.
Jul  2 22:09:01 srv4hai CRON[6549]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul  2 22:09:01 srv4hai CRON[6550]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 22:09:10 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719950950 - 'ping_SP_1'
Jul  2 22:09:10 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  2 22:09:23 srv4hai ping_SP[22580]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719950963 - 'ping_SP_0'
Jul  2 22:09:23 srv4hai ping_SP[22580]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  2 22:09:53 srv4hai activate_scenario[6606]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul  2 22:09:53 srv4hai activate_scenario[6606]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
Jul  2 22:09:55 srv4hai activate_scenario[6606]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'Schlafzimmer Licht'
Jul  2 22:09:55 srv4hai postfix/pickup[1396]: 5A5D1601BE: uid=33 from=
Jul  2 22:09:55 srv4hai postfix/cleanup[6663]: 5A5D1601BE: message-id=<20240702200955.5A5D1601BE@mail.viehai.at>
Jul  2 22:09:55 srv4hai postfix/qmgr[8566]: 5A5D1601BE: from=, size=3946, nrcpt=1 (queue active)
Jul  2 22:09:55 srv4hai postfix/local[6676]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  2 22:09:55 srv4hai activate_scenario[6606]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'Nachtkästchen Lampe Thomas' --> '0?turn=toggle'
Jul  2 22:09:55 srv4hai proc_url[6681]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/02/_0.log' - shellyUsage:'Nachtkästchen Lampe Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'Schlafzimmer Licht''
Jul  2 22:09:55 srv4hai postfix/local[6676]: 5A5D1601BE: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul  2 22:09:55 srv4hai postfix/cleanup[6663]: 619B8601BF: message-id=<20240702200955.619B8601BF@mail.viehai.at>
Jul  2 22:09:55 srv4hai postfix/bounce[6678]: 5A5D1601BE: sender non-delivery notification: 619B8601BF
Jul  2 22:09:55 srv4hai postfix/qmgr[8566]: 619B8601BF: from=<>, size=5828, nrcpt=1 (queue active)
Jul  2 22:09:55 srv4hai postfix/qmgr[8566]: 5A5D1601BE: removed
Jul  2 22:09:55 srv4hai postfix/local[6676]: 619B8601BF: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  2 22:09:55 srv4hai postfix/qmgr[8566]: 619B8601BF: removed
Jul  2 22:09:55 srv4hai activate_scenario[6606]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 57 msec, shelly-12:'Schlafzimmer Licht'
Jul  2 22:10:00 srv4hai activate_scenario[6709]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  2 22:10:00 srv4hai activate_scenario[6709]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul  2 22:10:01 srv4hai CRON[6755]: (root) CMD (/etc/linetest/linetest.sh)
Jul  2 22:10:01 srv4hai CRON[6756]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul  2 22:10:01 srv4hai common[6758]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul  2 22:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul  2 22:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul  2 22:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul  2 22:10:02 srv4hai activate_scenario[6709]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Jul  2 22:10:02 srv4hai postfix/pickup[1396]: C84C9601BE: uid=33 from=
Jul  2 22:10:02 srv4hai postfix/cleanup[6663]: C84C9601BE: message-id=<20240702201002.C84C9601BE@mail.viehai.at>
Jul  2 22:10:02 srv4hai postfix/qmgr[8566]: C84C9601BE: from=, size=6202, nrcpt=1 (queue active)
Jul  2 22:10:02 srv4hai postfix/local[6676]: C84C9601BE: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Jul  2 22:10:02 srv4hai postfix/cleanup[6663]: CB164601BF: message-id=<20240702201002.CB164601BF@mail.viehai.at>
Jul  2 22:10:02 srv4hai postfix/bounce[6678]: C84C9601BE: sender non-delivery notification: CB164601BF
Jul  2 22:10:02 srv4hai postfix/qmgr[8566]: CB164601BF: from=<>, size=8124, nrcpt=1 (queue active)
Jul  2 22:10:02 srv4hai postfix/qmgr[8566]: C84C9601BE: removed
Jul  2 22:10:02 srv4hai postfix/local[6676]: CB164601BF: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  2 22:10:02 srv4hai postfix/qmgr[8566]: CB164601BF: removed
Jul  2 22:10:02 srv4hai activate_scenario[6709]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Jul  2 22:10:02 srv4hai proc_url[7034]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/02/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul  2 22:10:02 srv4hai activate_scenario[6709]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Jul  2 22:10:02 srv4hai proc_url[7045]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/02/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Jul  2 22:10:02 srv4hai activate_scenario[6709]: SHELLY scenario: 'buero_UM(buero_um)' took 82 msec, shelly-40:'Thomas Büro Licht'
Jul  2 22:10:05 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 22:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul  2 22:10:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul  2 22:10:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul  2 22:10:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul  2 22:10:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul  2 22:10:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 22:10:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 22:10:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul  2 22:10:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul  2 22:10:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul  2 22:10:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul  2 22:10:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul  2 22:10:14 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  2 22:10:15 srv4hai fetchmail[1651]: 47836 messages (47836 seen) for tmiglinci at mail.akis.at (-345468506 octets).
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 22:10:15 srv4hai fetchmail[1651]: 10395 messages (10395 seen) for srozum at mail.akis.at (1249337049 octets).
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul  2 22:10:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul  2 22:10:15 srv4hai fetchmail[1651]: 24515 messages (24515 seen) for mrozum at mail.akis.at (-1687197 octets).
Jul  2 22:10:16 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets).
Jul  2 22:10:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  2 22:10:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul  2 22:10:20 srv4hai common[7733]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul  2 22:10:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Jul  2 22:10:20 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Jul  2 22:10:20 srv4hai meter.sh: SHELLY meter.sh ended
Jul  2 22:10:23 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719951023 - 'ping_SP_1'
Jul  2 22:10:23 srv4hai ping_SP[25570]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  2 22:10:35 srv4hai activate_scenario[7779]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  2 22:10:35 srv4hai activate_scenario[7779]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Jul  2 22:10:36 srv4hai ping_SP[22580]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719951036 - 'ping_SP_0'
Jul  2 22:10:36 srv4hai ping_SP[22580]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'

finished