activate_scenario.sh
Fri Feb 14 22:27:17 CET 2025
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_0.log)

vorher: 22:27:17.924

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 22:27:17.946
Dauer: 21 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_1.log)

vorher: 22:27:17.942

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 22:27:17.977
Dauer: 35 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 22:27:17.878
nachher: 22:27:17.984
Dauer : 107 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/14//scene_nasszeile_um_20250214_222717.txt'


syslog

Feb 14 22:24:00 srv4hai common[20096]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:24:00 srv4hai common[20121]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:24:00 srv4hai common[20145]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:24:01 srv4hai CRON[20170]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 22:24:06 srv4hai postfix/smtpd[19948]: connect from unknown[92.118.39.65]
Feb 14 22:24:10 srv4hai postfix/smtpd[19948]: warning: unknown[92.118.39.65]: SASL PLAIN authentication failed: 
Feb 14 22:24:10 srv4hai postfix/smtpd[19948]: disconnect from unknown[92.118.39.65] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 14 22:24:22 srv4hai common[20180]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:24:22 srv4hai common[20204]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:24:59 srv4hai common[20235]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:24:59 srv4hai common[20259]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:25:00 srv4hai common[20283]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:25:01 srv4hai CRON[20308]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 22:25:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20316, secured, session=
Feb 14 22:25:08 srv4hai dovecot: imap(miglincit)<20316>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 14 22:25:22 srv4hai common[20326]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:25:22 srv4hai common[20350]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:25:59 srv4hai common[20381]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:25:59 srv4hai common[20405]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:26:00 srv4hai common[20429]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:26:01 srv4hai CRON[20454]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 22:26:22 srv4hai common[20464]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:26:22 srv4hai common[20488]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:26:45 srv4hai common[20519]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 14 22:26:45 srv4hai bt_scan[20519]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Feb 14 22:26:45 srv4hai bt_scan[20519]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 14 22:26:45 srv4hai common[20550]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 14 22:26:45 srv4hai ping_SP[20550]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Feb 14 22:26:45 srv4hai common[20571]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 14 22:26:45 srv4hai common[20585]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 14 22:26:45 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1739568405-1739568405
Feb 14 22:26:45 srv4hai check_presence[20571]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 14 22:26:45 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1739568405-1739568405
Feb 14 22:26:45 srv4hai check_presence[20571]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 14 22:26:45 srv4hai check_presence[20571]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Feb 14 22:26:45 srv4hai postfix/pickup[29451]: C200B63465: uid=33 from=
Feb 14 22:26:45 srv4hai postfix/cleanup[20661]: C200B63465: message-id=<20250214212645.C200B63465@mail.viehai.at>
Feb 14 22:26:45 srv4hai postfix/qmgr[8566]: C200B63465: from=, size=4968, nrcpt=1 (queue active)
Feb 14 22:26:45 srv4hai check_presence[20571]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Feb 14 22:26:45 srv4hai check_presence[20571]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Feb 14 22:26:45 srv4hai ping_SP[20550]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Feb 14 22:26:45 srv4hai ping_SP[20550]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1739568405
Feb 14 22:26:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 14 22:26:46 srv4hai postfix/smtpd[20700]: connect from unknown[92.118.39.61]
Feb 14 22:26:46 srv4hai postfix/relay/smtp[20668]: C200B63465: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.1, delays=0.03/0.01/0.8/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A9AE1601FA)
Feb 14 22:26:46 srv4hai postfix/qmgr[8566]: C200B63465: removed
Feb 14 22:26:47 srv4hai fetchmail[1651]: 63654 messages (63654 seen) for tmiglinci at mail.akis.at (925380756 octets).
Feb 14 22:26:47 srv4hai fetchmail[1651]: 11542 messages (11542 seen) for srozum at mail.akis.at (1369975716 octets).
Feb 14 22:26:47 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb 14 22:26:47 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 14 22:26:47 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 14 22:26:47 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 14 22:26:47 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 14 22:26:47 srv4hai common[20703]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 14 22:26:48 srv4hai fetchmail[1651]: 28967 messages (28966 seen) for mrozum at mail.akis.at (662870656 octets).
Feb 14 22:26:48 srv4hai postfix/smtpd[20716]: connect from localhost[127.0.0.1]
Feb 14 22:26:48 srv4hai postfix/smtpd[20716]: 579906004E: client=localhost[127.0.0.1]
Feb 14 22:26:48 srv4hai postfix/cleanup[20661]: 579906004E: message-id=
Feb 14 22:26:48 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28967 of 28967 (21477 octets) not flushed
Feb 14 22:26:48 srv4hai postfix/qmgr[8566]: 579906004E: from=, size=21739, nrcpt=1 (queue active)
Feb 14 22:26:48 srv4hai postfix/smtpd[20716]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 22:26:48 srv4hai postfix/local[20717]: 579906004E: to=, relay=local, delay=0.07, delays=0.06/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 14 22:26:48 srv4hai postfix/qmgr[8566]: 579906004E: removed
Feb 14 22:26:48 srv4hai fetchmail[1651]: 1163 messages (1163 seen) for admin@bastelstube.wien at pop3.world4you.com (52216311 octets).
Feb 14 22:26:50 srv4hai postfix/smtpd[20700]: warning: unknown[92.118.39.61]: SASL PLAIN authentication failed: 
Feb 14 22:26:50 srv4hai postfix/smtpd[20700]: disconnect from unknown[92.118.39.61] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 14 22:26:55 srv4hai bt_scan[20585]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Feb 14 22:26:55 srv4hai bt_scan[20585]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Feb 14 22:26:55 srv4hai common[20743]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 14 22:26:55 srv4hai ping_SP[20743]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Feb 14 22:26:55 srv4hai common[20764]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 14 22:26:55 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1739568415-1739568414
Feb 14 22:26:55 srv4hai check_presence[20764]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 14 22:26:55 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1739568415-1739568414
Feb 14 22:26:55 srv4hai check_presence[20764]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 14 22:26:55 srv4hai check_presence[20764]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Feb 14 22:26:55 srv4hai postfix/pickup[29451]: D3B5F63465: uid=33 from=
Feb 14 22:26:55 srv4hai postfix/cleanup[20661]: D3B5F63465: message-id=<20250214212655.D3B5F63465@mail.viehai.at>
Feb 14 22:26:55 srv4hai postfix/qmgr[8566]: D3B5F63465: from=, size=9831, nrcpt=1 (queue active)
Feb 14 22:26:55 srv4hai check_presence[20764]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Feb 14 22:26:55 srv4hai check_presence[20764]: SHELLY (ping_SP__bt_scan)-(1)-coming: NOT activate_scenario.shtml: vorraumOn
Feb 14 22:26:55 srv4hai ping_SP[20743]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Feb 14 22:26:55 srv4hai ping_SP[20743]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1739568415
Feb 14 22:26:56 srv4hai postfix/relay/smtp[20668]: D3B5F63465: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.88, delays=0.01/0/0.6/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 8866E601BB)
Feb 14 22:26:56 srv4hai postfix/qmgr[8566]: D3B5F63465: removed
Feb 14 22:26:57 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 14 22:26:57 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 14 22:26:57 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 14 22:26:57 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 14 22:26:57 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 14 22:26:57 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 14 22:26:57 srv4hai common[20881]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 14 22:26:59 srv4hai ping_SP[20550]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1739568419 - 'ping_SP_0'
Feb 14 22:27:00 srv4hai common[20909]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:27:00 srv4hai common[20933]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:27:00 srv4hai common[20957]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 22:27:01 srv4hai CRON[20982]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 22:27:07 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Feb 14 22:27:07 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb 14 22:27:07 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb 14 22:27:07 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb 14 22:27:07 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61
Feb 14 22:27:07 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas
Feb 14 22:27:07 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#59917/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 22:27:07 srv4hai common[20999]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Feb 14 22:27:12 srv4hai ping_SP[20743]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1739568432 - 'ping_SP_1'
Feb 14 22:27:17 srv4hai activate_scenario[21032]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 14 22:27:17 srv4hai activate_scenario[21032]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished