activate_scenario.sh
Mon Apr 29 22:40:32 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

'night' <--> 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/29/_0.log)

vorher: 22:40:32.294

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

nachher: 22:40:32.401
Dauer: 107 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


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

urls : 1
vorher : 22:40:32.260
nachher: 22:40:32.407
Dauer : 149 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/29//scene_sekr_UM_20240429_224032.txt'


syslog

Apr 29 22:37:01 srv4hai CRON[14216]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 22:37:04 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714423024 - 'ping_SP_0'
Apr 29 22:37:04 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 29 22:37:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14249, secured, session=
Apr 29 22:37:18 srv4hai dovecot: imap(miglincit)<14249>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 29 22:38:01 srv4hai CRON[14281]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 22:38:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 29 22:38:06 srv4hai fetchmail[1651]: 43135 messages (43133 seen) for tmiglinci at mail.akis.at (-700813589 octets).
Apr 29 22:38:06 srv4hai postfix/smtpd[14289]: connect from localhost[127.0.0.1]
Apr 29 22:38:06 srv4hai postfix/smtpd[14289]: 227076004E: client=localhost[127.0.0.1]
Apr 29 22:38:06 srv4hai postfix/cleanup[14292]: 227076004E: message-id=
Apr 29 22:38:06 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43134 of 43135 (8981 octets) not flushed
Apr 29 22:38:06 srv4hai postfix/qmgr[15291]: 227076004E: from=, size=9214, nrcpt=1 (queue active)
Apr 29 22:38:06 srv4hai postfix/local[14293]: 227076004E: to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 29 22:38:06 srv4hai postfix/qmgr[15291]: 227076004E: removed
Apr 29 22:38:06 srv4hai postfix/smtpd[14289]: 37F126004E: client=localhost[127.0.0.1]
Apr 29 22:38:06 srv4hai postfix/cleanup[14292]: 37F126004E: message-id=<2121553373.12473811.1714422985674@inform.wtwhmedia.com>
Apr 29 22:38:06 srv4hai postfix/qmgr[15291]: 37F126004E: from=, size=46196, nrcpt=1 (queue active)
Apr 29 22:38:06 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43135 of 43135 (45953 octets) not flushed
Apr 29 22:38:06 srv4hai postfix/smtpd[14289]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Apr 29 22:38:06 srv4hai postfix/local[14293]: 37F126004E: to=, relay=local, delay=0.09, delays=0.06/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 29 22:38:06 srv4hai postfix/qmgr[15291]: 37F126004E: removed
Apr 29 22:38:06 srv4hai fetchmail[1651]: 10183 messages (10183 seen) for srozum at mail.akis.at (1228518637 octets).
Apr 29 22:38:07 srv4hai fetchmail[1651]: 23186 messages (23186 seen) for mrozum at mail.akis.at (-289690480 octets).
Apr 29 22:38:07 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets).
Apr 29 22:38:17 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714423097 - 'ping_SP_0'
Apr 29 22:38:17 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 29 22:39:00 srv4hai systemd[1]: Starting Clean php session files...
Apr 29 22:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 29 22:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr 29 22:39:01 srv4hai CRON[14437]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 29 22:39:01 srv4hai CRON[14438]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 22:39:30 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714423170 - 'ping_SP_0'
Apr 29 22:39:30 srv4hai ping_SP[5456]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 29 22:39:32 srv4hai postfix/anvil[14176]: statistics: max connection rate 1/60s for (smtp:87.121.105.221) at Apr 29 22:36:12
Apr 29 22:39:32 srv4hai postfix/anvil[14176]: statistics: max connection count 1 for (smtp:87.121.105.221) at Apr 29 22:36:12
Apr 29 22:39:32 srv4hai postfix/anvil[14176]: statistics: max cache size 1 at Apr 29 22:36:12
Apr 29 22:40:01 srv4hai CRON[14500]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 29 22:40:01 srv4hai CRON[14501]: (root) CMD (/etc/linetest/linetest.sh)
Apr 29 22:40:01 srv4hai common[14502]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 29 22:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 29 22:40:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 29 22:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 29 22:40:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 22:40:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 29 22:40:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 29 22:40:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 29 22:40:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 29 22:40:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 29 22:40:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 22:40:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 22:40:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 29 22:40:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 29 22:40:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 29 22:40:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 29 22:40:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 29 22:40:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 22:40:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 29 22:40:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 29 22:40:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 29 22:40:18 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15380, secured, session=
Apr 29 22:40:18 srv4hai dovecot: imap(miglincit)<15380>: Logged out in=532 out=40088 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15817 body_count=0 body_bytes=0
Apr 29 22:40:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 29 22:40:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 29 22:40:20 srv4hai common[14502]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 29 22:40:20 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'7'=1714423220-1714423213
Apr 29 22:40:20 srv4hai check_presence[14502]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 29 22:40:20 srv4hai check_presence[14502]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 29 22:40:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'7'=1714423220-1714423213
Apr 29 22:40:20 srv4hai check_presence[14502]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 29 22:40:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1714423220-1714423213
Apr 29 22:40:20 srv4hai check_presence[14502]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 29 22:40:20 srv4hai check_presence[14502]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 29 22:40:20 srv4hai check_presence[14502]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 29 22:40:20 srv4hai common[14502]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 29 22:40:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOff'
Apr 29 22:40:20 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Apr 29 22:40:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr 29 22:40:20 srv4hai postfix/pickup[13875]: E1308631A0: uid=33 from=
Apr 29 22:40:20 srv4hai postfix/cleanup[15553]: E1308631A0: message-id=<20240429204020.E1308631A0@mail.viehai.at>
Apr 29 22:40:20 srv4hai postfix/qmgr[15291]: E1308631A0: from=, size=644, nrcpt=1 (queue active)
Apr 29 22:40:20 srv4hai postfix/local[15560]: E1308631A0: to=, orig_to=, relay=local, delay=0.06, delays=0.03/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 29 22:40:20 srv4hai postfix/qmgr[15291]: E1308631A0: removed
Apr 29 22:40:26 srv4hai nmbd[2172]: [2024/04/29 22:40:26.695828,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 29 22:40:26 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr 29 22:40:26 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 29 22:40:26 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr 29 22:40:32 srv4hai activate_scenario[15586]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Apr 29 22:40:32 srv4hai activate_scenario[15586]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished