activate_scenario.sh
Sat Apr 20 08:13:58 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

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

vorher: 08:13:58.826

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

nachher: 08:13:58.870
Dauer: 44 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 08:13:58.805
nachher: 08:13:58.877
Dauer : 71 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/20//scene_sekr_UM_20240420_081358.txt'


syslog

Apr 20 08:10:01 srv4hai CRON[15696]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 08:10:01 srv4hai CRON[15697]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 20 08:10:01 srv4hai common[15698]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 20 08:10:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 20 08:10:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 20 08:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 20 08:10:04 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713593404 - 'ping_SP_0'
Apr 20 08:10:04 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 08:10:10 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 08:10:10 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 20 08:10:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 20 08:10:10 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 20 08:10:10 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 20 08:10:10 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 20 08:10:13 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 08:10:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16375, secured, session=
Apr 20 08:10:15 srv4hai dovecot: imap(rozumm)<16375>: Logged out in=93 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 08:10:16 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 08:10:16 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 20 08:10:16 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 20 08:10:16 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 20 08:10:16 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 20 08:10:16 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 20 08:10:18 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 20 08:10:19 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 20 08:10:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 08:10:22 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 20 08:10:22 srv4hai common[15698]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 20 08:10:22 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1713593422-1713593419
Apr 20 08:10:22 srv4hai check_presence[15698]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 20 08:10:22 srv4hai check_presence[15698]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 20 08:10:22 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1713593422-1713593419
Apr 20 08:10:22 srv4hai check_presence[15698]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 20 08:10:22 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1713593422-1713593419
Apr 20 08:10:22 srv4hai check_presence[15698]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 20 08:10:22 srv4hai check_presence[15698]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 20 08:10:22 srv4hai check_presence[15698]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 20 08:10:22 srv4hai common[15698]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 20 08:10:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_kommen'
Apr 20 08:10:22 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Apr 20 08:10:22 srv4hai meter.sh: SHELLY meter.sh ended
Apr 20 08:10:22 srv4hai postfix/pickup[6091]: E11FA6022F: uid=33 from=
Apr 20 08:10:22 srv4hai postfix/cleanup[16768]: E11FA6022F: message-id=<20240420061022.E11FA6022F@mail.viehai.at>
Apr 20 08:10:22 srv4hai postfix/qmgr[15291]: E11FA6022F: from=, size=645, nrcpt=1 (queue active)
Apr 20 08:10:22 srv4hai postfix/local[16770]: E11FA6022F: to=, orig_to=, relay=local, delay=0.05, delays=0.02/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 20 08:10:22 srv4hai postfix/qmgr[15291]: E11FA6022F: removed
Apr 20 08:11:01 srv4hai CRON[16777]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 08:11:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16790, secured, session=
Apr 20 08:11:15 srv4hai dovecot: imap(rozumm)<16790>: Logged out in=93 out=1063 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 08:11:17 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713593477 - 'ping_SP_0'
Apr 20 08:11:17 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 08:11:56 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 20 08:11:57 srv4hai fetchmail[1651]: 42512 messages (42511 seen) for tmiglinci at mail.akis.at (-753501795 octets).
Apr 20 08:11:57 srv4hai postfix/smtpd[16807]: connect from localhost[127.0.0.1]
Apr 20 08:11:57 srv4hai postfix/smtpd[16807]: 907B66022E: client=localhost[127.0.0.1]
Apr 20 08:11:57 srv4hai postfix/cleanup[16768]: 907B66022E: message-id=
Apr 20 08:11:57 srv4hai postfix/qmgr[15291]: 907B66022E: from=, size=47462, nrcpt=1 (queue active)
Apr 20 08:11:57 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42512 of 42512 (47137 octets) not flushed
Apr 20 08:11:57 srv4hai postfix/smtpd[16807]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 20 08:11:57 srv4hai postfix/local[16770]: 907B66022E: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 20 08:11:57 srv4hai postfix/qmgr[15291]: 907B66022E: removed
Apr 20 08:11:58 srv4hai fetchmail[1651]: 10155 messages (10155 seen) for srozum at mail.akis.at (1226389168 octets).
Apr 20 08:11:58 srv4hai fetchmail[1651]: 22986 messages (22985 seen) for mrozum at mail.akis.at (-311651667 octets).
Apr 20 08:11:58 srv4hai postfix/smtpd[16807]: connect from localhost[127.0.0.1]
Apr 20 08:11:58 srv4hai postfix/smtpd[16807]: 98AA56022E: client=localhost[127.0.0.1]
Apr 20 08:11:58 srv4hai postfix/cleanup[16768]: 98AA56022E: message-id=
Apr 20 08:11:58 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:22986 of 22986 (47319 octets) not flushed
Apr 20 08:11:58 srv4hai postfix/qmgr[15291]: 98AA56022E: from=, size=47639, nrcpt=1 (queue active)
Apr 20 08:11:58 srv4hai postfix/smtpd[16807]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 20 08:11:58 srv4hai postfix/local[16770]: 98AA56022E: to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 20 08:11:58 srv4hai postfix/qmgr[15291]: 98AA56022E: removed
Apr 20 08:11:58 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 20 08:12:01 srv4hai CRON[16812]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 08:12:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16819, secured, session=<+ZT5FYEWbrEAAAAAAAAAAAAAAAAAAAAB>
Apr 20 08:12:15 srv4hai dovecot: imap(rozumm)<16819><+ZT5FYEWbrEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=93 out=1079 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 08:12:30 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713593550 - 'ping_SP_0'
Apr 20 08:12:30 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 08:12:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16843, secured, session=
Apr 20 08:12:37 srv4hai dovecot: imap(miglincit)<16843>: Logged out in=560 out=42338 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18182 body_count=0 body_bytes=0
Apr 20 08:13:01 srv4hai CRON[16846]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 08:13:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16853, secured, session=
Apr 20 08:13:16 srv4hai dovecot: imap(rozumm)<16853>: Logged out in=93 out=1079 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 08:13:43 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713593623 - 'ping_SP_0'
Apr 20 08:13:43 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 08:13:58 srv4hai activate_scenario[16886]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Apr 20 08:13:58 srv4hai activate_scenario[16886]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished