activate_scenario.sh
Fri Sep 27 20:17:31 CEST 2024
scenario: vorraumOn
phoneName: 0

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/27/_0.log)

vorher: 20:17:31.622

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 20:17:31.668
Dauer: 46 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 20:17:31.602
nachher: 20:17:31.675
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/27//scene_vorraumOn_20240927_201731.txt'


syslog

Sep 27 20:14:01 srv4hai CRON[16575]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 20:14:01 srv4hai systemd[1]: Starting Certbot...
Sep 27 20:14:02 srv4hai systemd[1]: certbot.service: Succeeded.
Sep 27 20:14:02 srv4hai systemd[1]: Started Certbot.
Sep 27 20:15:01 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 107 to 106
Sep 27 20:15:01 srv4hai CRON[16598]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 20:15:08 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727460908 - 'ping_SP_1'
Sep 27 20:15:08 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 27 20:15:54 srv4hai postfix/anvil[16480]: statistics: max connection rate 1/60s for (smtp:94.156.177.35) at Sep 27 20:11:24
Sep 27 20:15:54 srv4hai postfix/anvil[16480]: statistics: max connection count 1 for (smtp:94.156.177.35) at Sep 27 20:11:24
Sep 27 20:15:54 srv4hai postfix/anvil[16480]: statistics: max cache size 1 at Sep 27 20:11:24
Sep 27 20:16:01 srv4hai CRON[16622]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 20:16:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16635, secured, session=
Sep 27 20:16:13 srv4hai dovecot: imap(miglincit)<16635>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 20:16:21 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727460981 - 'ping_SP_1'
Sep 27 20:16:21 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 27 20:16:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16653, secured, session=
Sep 27 20:16:48 srv4hai dovecot: imap(miglincit)<16653>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 20:16:54 srv4hai dovecot: imap(miglincit)<8057><+zwfMB0jaM/AqAwK>: Logged out in=546773 out=5686628 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=2 body_bytes=200180
Sep 27 20:16:54 srv4hai dovecot: imap(miglincit)<8062>: Logged out in=544070 out=6517871 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 20:16:54 srv4hai dovecot: imap(miglincit)<8059>: Logged out in=544710 out=5398335 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=895 body_count=0 body_bytes=0
Sep 27 20:16:54 srv4hai dovecot: imap(miglincit)<8061>: Logged out in=548359 out=5943173 deleted=0 expunged=0 trashed=0 hdr_count=2 hdr_bytes=1587 body_count=2 body_bytes=210554
Sep 27 20:16:54 srv4hai dovecot: imap(miglincit)<8063>: Logged out in=10036 out=2365070 deleted=0 expunged=0 trashed=0 hdr_count=59 hdr_bytes=17950 body_count=60 body_bytes=2226752
Sep 27 20:16:55 srv4hai activate_scenario[16655]: SHELLY scenario: 'pcOFF(pcoff)' started
Sep 27 20:16:55 srv4hai activate_scenario[16655]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Sep 27 20:16:55 srv4hai activate_scenario[16655]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Sep 27 20:16:55 srv4hai postfix/pickup[10830]: B933063463: uid=33 from=
Sep 27 20:16:55 srv4hai postfix/cleanup[16722]: B933063463: message-id=<20240927181655.B933063463@mail.viehai.at>
Sep 27 20:16:55 srv4hai postfix/qmgr[8566]: B933063463: from=, size=4921, nrcpt=1 (queue active)
Sep 27 20:16:55 srv4hai activate_scenario[16655]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Sep 27 20:16:55 srv4hai proc_url[16740]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/27/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Sep 27 20:16:55 srv4hai postfix/local[16735]: B933063463: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 27 20:16:55 srv4hai postfix/cleanup[16722]: BF2B863465: message-id=<20240927181655.BF2B863465@mail.viehai.at>
Sep 27 20:16:55 srv4hai postfix/bounce[16736]: B933063463: sender non-delivery notification: BF2B863465
Sep 27 20:16:55 srv4hai postfix/qmgr[8566]: BF2B863465: from=<>, size=6803, nrcpt=1 (queue active)
Sep 27 20:16:55 srv4hai postfix/qmgr[8566]: B933063463: removed
Sep 27 20:16:55 srv4hai postfix/local[16735]: BF2B863465: to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 27 20:16:55 srv4hai postfix/qmgr[8566]: BF2B863465: removed
Sep 27 20:16:55 srv4hai activate_scenario[16655]: SHELLY scenario: 'pcOFF(pcoff)' took 64 msec, shelly-0:''
Sep 27 20:16:59 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 27 20:16:59 srv4hai fetchmail[1651]: 53275 messages (53274 seen) for tmiglinci at mail.akis.at (77964689 octets).
Sep 27 20:16:59 srv4hai postfix/smtpd[16770]: connect from localhost[127.0.0.1]
Sep 27 20:16:59 srv4hai postfix/smtpd[16770]: C7BC2631BE: client=localhost[127.0.0.1]
Sep 27 20:16:59 srv4hai postfix/cleanup[16722]: C7BC2631BE: message-id=<0.0.28.BE2.1DB1109525FCABE.0@d17c.emsend2.com>
Sep 27 20:16:59 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:53275 of 53275 (68321 octets) not flushed
Sep 27 20:16:59 srv4hai postfix/qmgr[8566]: C7BC2631BE: from=, size=68569, nrcpt=1 (queue active)
Sep 27 20:16:59 srv4hai postfix/local[16735]: C7BC2631BE: to=, relay=local, delay=0.1, delays=0.09/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 27 20:16:59 srv4hai postfix/qmgr[8566]: C7BC2631BE: removed
Sep 27 20:16:59 srv4hai postfix/smtpd[16770]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 27 20:17:00 srv4hai fetchmail[1651]: 10778 messages (10778 seen) for srozum at mail.akis.at (1306435026 octets).
Sep 27 20:17:00 srv4hai fetchmail[1651]: 26199 messages (26199 seen) for mrozum at mail.akis.at (251992840 octets).
Sep 27 20:17:01 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 27 20:17:01 srv4hai CRON[16775]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 20:17:01 srv4hai CRON[16776]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Sep 27 20:17:07 srv4hai activate_scenario[16783]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 27 20:17:07 srv4hai activate_scenario[16783]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Sep 27 20:17:07 srv4hai activate_scenario[16783]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Sep 27 20:17:07 srv4hai postfix/pickup[10830]: 40CFE63463: uid=33 from=
Sep 27 20:17:07 srv4hai postfix/cleanup[16722]: 40CFE63463: message-id=<20240927181707.40CFE63463@mail.viehai.at>
Sep 27 20:17:07 srv4hai postfix/qmgr[8566]: 40CFE63463: from=, size=7729, nrcpt=1 (queue active)
Sep 27 20:17:07 srv4hai postfix/local[16735]: 40CFE63463: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Sep 27 20:17:07 srv4hai postfix/cleanup[16722]: 42F5263465: message-id=<20240927181707.42F5263465@mail.viehai.at>
Sep 27 20:17:07 srv4hai postfix/bounce[16736]: 40CFE63463: sender non-delivery notification: 42F5263465
Sep 27 20:17:07 srv4hai postfix/qmgr[8566]: 42F5263465: from=<>, size=9651, nrcpt=1 (queue active)
Sep 27 20:17:07 srv4hai postfix/qmgr[8566]: 40CFE63463: removed
Sep 27 20:17:07 srv4hai postfix/local[16735]: 42F5263465: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 27 20:17:07 srv4hai postfix/qmgr[8566]: 42F5263465: removed
Sep 27 20:17:07 srv4hai activate_scenario[16783]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Sep 27 20:17:07 srv4hai proc_url[16851]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/27/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 27 20:17:07 srv4hai activate_scenario[16783]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Sep 27 20:17:07 srv4hai proc_url[16862]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/27/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Sep 27 20:17:07 srv4hai activate_scenario[16783]: SHELLY scenario: 'buero_UM(buero_um)' took 139 msec, shelly-40:'Thomas Büro Licht'
Sep 27 20:17:20 srv4hai common[16903]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 27 20:17:30 srv4hai bt_scan[16903]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 27 20:17:30 srv4hai bt_scan[16903]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 27 20:17:30 srv4hai common[16942]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 27 20:17:30 srv4hai ping_SP[16942]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 27 20:17:30 srv4hai common[16963]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 27 20:17:31 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1727461051-1727461051
Sep 27 20:17:31 srv4hai check_presence[16963]: 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
Sep 27 20:17:31 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1727461051-1727461051
Sep 27 20:17:31 srv4hai check_presence[16963]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 27 20:17:31 srv4hai check_presence[16963]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 27 20:17:31 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1727461051-1727461051
Sep 27 20:17:31 srv4hai check_presence[16963]: 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 27 20:17:31 srv4hai check_presence[16963]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 27 20:17:31 srv4hai check_presence[16963]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Sep 27 20:17:31 srv4hai check_presence[16963]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 27 20:17:31 srv4hai activate_scenario[17092]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 27 20:17:31 srv4hai activate_scenario[17092]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished