activate_scenario.sh
Sat Sep 28 15:36:06 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128

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

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

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/28/_0.log)

vorher: 15:36:06.443

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: 15:36:06.504
Dauer: 61 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/28/_1.log)

vorher: 15:36:06.460

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: 15:36:06.498
Dauer: 38 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 15:36:06.419
nachher: 15:36:06.512
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/28//scene_nasszeile_um_20240928_153606.txt'


syslog

Sep 28 15:33:01 srv4hai CRON[22153]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 15:33:58 srv4hai common[22165]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 15:33:58 srv4hai bt_scan[22165]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 28 15:33:58 srv4hai bt_scan[22165]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Sep 28 15:33:58 srv4hai common[22196]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 28 15:33:58 srv4hai ping_SP[22196]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 28 15:33:58 srv4hai common[22217]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 28 15:33:59 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1727530439-1727530439
Sep 28 15:33:59 srv4hai check_presence[22217]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 28 15:33:59 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1727530439-1727530439
Sep 28 15:33:59 srv4hai check_presence[22217]: 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
Sep 28 15:33:59 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1727530439-1727530439
Sep 28 15:33:59 srv4hai check_presence[22217]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 28 15:33:59 srv4hai check_presence[22217]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Sep 28 15:33:59 srv4hai postfix/pickup[17672]: 9AF8463463: uid=33 from=
Sep 28 15:33:59 srv4hai postfix/cleanup[22321]: 9AF8463463: message-id=<20240928133359.9AF8463463@mail.viehai.at>
Sep 28 15:33:59 srv4hai postfix/qmgr[8566]: 9AF8463463: from=, size=10249, nrcpt=1 (queue active)
Sep 28 15:33:59 srv4hai check_presence[22217]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep 28 15:33:59 srv4hai check_presence[22217]: SHELLY (ping_SP__bt_scan)-(1)-coming: NOT activate_scenario.shtml: vorraumOn
Sep 28 15:33:59 srv4hai ping_SP[22196]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Sep 28 15:33:59 srv4hai ping_SP[22196]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1727530439
Sep 28 15:34:00 srv4hai postfix/relay/smtp[22328]: 9AF8463463: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.9, delays=0.03/0.01/0.57/0.29, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5152D6009F)
Sep 28 15:34:00 srv4hai postfix/qmgr[8566]: 9AF8463463: removed
Sep 28 15:34:01 srv4hai CRON[22361]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 15:34:12 srv4hai ping_SP[22196]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1727530452 - 'ping_SP_1'
Sep 28 15:34:12 srv4hai ping_SP[22196]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 15:34:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22385, secured, session=
Sep 28 15:34:13 srv4hai dovecot: imap(miglincit)<22385>: Logged out in=352 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 28 15:35:01 srv4hai CRON[22391]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 15:35:15 srv4hai postfix/smtpd[22398]: connect from unknown[94.141.120.236]
Sep 28 15:35:15 srv4hai postfix/smtpd[22398]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 28 15:35:15 srv4hai postfix/smtpd[22398]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 28 15:35:26 srv4hai ping_SP[22196]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727530526 - 'ping_SP_1'
Sep 28 15:35:26 srv4hai ping_SP[22196]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 15:35:36 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 28 15:35:37 srv4hai fetchmail[1651]: 53323 messages (53322 seen) for tmiglinci at mail.akis.at (79870193 octets).
Sep 28 15:35:37 srv4hai postfix/smtpd[22398]: connect from localhost[127.0.0.1]
Sep 28 15:35:37 srv4hai postfix/smtpd[22398]: F23F66004E: client=localhost[127.0.0.1]
Sep 28 15:35:38 srv4hai postfix/cleanup[22321]: F23F66004E: message-id=<20240928133359.9AF8463463@mail.viehai.at>
Sep 28 15:35:38 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53323 of 53323 (11220 octets) not flushed
Sep 28 15:35:38 srv4hai postfix/qmgr[8566]: F23F66004E: from=, size=11523, nrcpt=1 (queue active)
Sep 28 15:35:38 srv4hai postfix/smtpd[22398]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 28 15:35:38 srv4hai postfix/local[22420]: F23F66004E: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 28 15:35:38 srv4hai postfix/qmgr[8566]: F23F66004E: removed
Sep 28 15:35:38 srv4hai fetchmail[1651]: 10779 messages (10779 seen) for srozum at mail.akis.at (1306563778 octets).
Sep 28 15:35:39 srv4hai fetchmail[1651]: 26213 messages (26213 seen) for mrozum at mail.akis.at (253412433 octets).
Sep 28 15:35:39 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 28 15:35:48 srv4hai common[22423]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 15:35:58 srv4hai bt_scan[22423]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Sep 28 15:35:58 srv4hai bt_scan[22423]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Sep 28 15:35:58 srv4hai common[22455]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 28 15:35:58 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1727530558-1727530548
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 28 15:35:58 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1727530558-1727530548
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 28 15:35:58 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1727530558-1727530548
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Sep 28 15:35:58 srv4hai check_presence[22455]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Sep 28 15:36:01 srv4hai CRON[22602]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 15:36:06 srv4hai activate_scenario[22608]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Sep 28 15:36:06 srv4hai activate_scenario[22608]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished