activate_scenario.sh
Mon Feb 10 19:10:01 CET 2025
scenario: vorraumOn
phoneName: 1

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

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

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/10/_0.log)

vorher: 19:10:02.022

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": "input"

nachher: 19:10:02.081
Dauer: 58 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 19:10:01.997
nachher: 19:10:02.087
Dauer : 90 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/10//scene_vorraumOn_20250210_191001.txt'


syslog

Feb 10 19:07:00 srv4hai common[27807]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:07:01 srv4hai CRON[27832]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 19:07:27 srv4hai common[27842]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Feb 10 19:07:27 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Feb 10 19:07:27 srv4hai check_shelly.sh: SHELLY found '3' active shelly outputs
Feb 10 19:07:27 srv4hai common[27865]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Feb 10 19:07:28 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'15'=1739210848-1739210833
Feb 10 19:07:28 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'15'=1739210848-1739210833
Feb 10 19:07:31 srv4hai common[27923]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:07:31 srv4hai common[27947]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:07:50 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739210870 - 'ping_SP_0'
Feb 10 19:07:50 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 19:07:59 srv4hai common[27993]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:07:59 srv4hai common[28027]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:08:00 srv4hai common[28051]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:08:01 srv4hai CRON[28085]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 19:08:16 srv4hai common[28092]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 10 19:08:27 srv4hai bt_scan[28092]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Feb 10 19:08:27 srv4hai bt_scan[28092]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb 10 19:08:27 srv4hai common[28154]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 10 19:08:27 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1739210907-1739210897
Feb 10 19:08:27 srv4hai check_presence[28154]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb 10 19:08:27 srv4hai check_presence[28154]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Feb 10 19:08:27 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1739210907-1739210897
Feb 10 19:08:27 srv4hai check_presence[28154]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb 10 19:08:27 srv4hai check_presence[28154]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 10 19:08:27 srv4hai check_presence[28154]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Feb 10 19:08:27 srv4hai check_presence[28154]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb 10 19:08:28 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Feb 10 19:08:31 srv4hai common[28308]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:08:31 srv4hai common[28332]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:08:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28375, secured, session=
Feb 10 19:08:54 srv4hai dovecot: imap(miglincit)<28375>: Logged out in=1899 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 19:08:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 10 19:08:56 srv4hai fetchmail[1651]: 63348 messages (63347 seen) for tmiglinci at mail.akis.at (899203592 octets).
Feb 10 19:08:56 srv4hai postfix/smtpd[28376]: connect from localhost[127.0.0.1]
Feb 10 19:08:56 srv4hai postfix/smtpd[28376]: 27D916004E: client=localhost[127.0.0.1]
Feb 10 19:08:56 srv4hai postfix/cleanup[28380]: 27D916004E: message-id=<20250210190525.88734@newsletter.falter.at>
Feb 10 19:08:56 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:63348 of 63348 (81503 octets) not flushed
Feb 10 19:08:56 srv4hai postfix/qmgr[8566]: 27D916004E: from=, size=81775, nrcpt=1 (queue active)
Feb 10 19:08:56 srv4hai postfix/smtpd[28376]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 10 19:08:56 srv4hai postfix/local[28383]: 27D916004E: to=, relay=local, delay=0.08, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 19:08:56 srv4hai postfix/qmgr[8566]: 27D916004E: removed
Feb 10 19:08:56 srv4hai fetchmail[1651]: 11526 messages (11526 seen) for srozum at mail.akis.at (1368931349 octets).
Feb 10 19:08:57 srv4hai fetchmail[1651]: 28855 messages (28855 seen) for mrozum at mail.akis.at (647974845 octets).
Feb 10 19:08:57 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb 10 19:09:00 srv4hai common[28396]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:09:00 srv4hai common[28427]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:09:00 srv4hai common[28451]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:09:01 srv4hai CRON[28477]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 19:09:01 srv4hai CRON[28478]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 10 19:09:01 srv4hai systemd[1]: Starting Clean php session files...
Feb 10 19:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 10 19:09:01 srv4hai systemd[1]: Started Clean php session files.
Feb 10 19:09:03 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739210943 - 'ping_SP_0'
Feb 10 19:09:03 srv4hai ping_SP[26553]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 19:09:16 srv4hai postfix/anvil[27131]: statistics: max connection rate 1/60s for (smtp:92.118.39.63) at Feb 10 19:02:53
Feb 10 19:09:16 srv4hai postfix/anvil[27131]: statistics: max connection count 1 for (smtp:92.118.39.63) at Feb 10 19:02:53
Feb 10 19:09:16 srv4hai postfix/anvil[27131]: statistics: max cache size 2 at Feb 10 19:02:55
Feb 10 19:09:31 srv4hai common[28591]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:09:31 srv4hai common[28615]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:09:32 srv4hai postfix/smtpd[28376]: warning: hostname 192-3-62-196-host.colocrossing.com does not resolve to address 192.3.62.196: Name or service not known
Feb 10 19:09:32 srv4hai postfix/smtpd[28376]: connect from unknown[192.3.62.196]
Feb 10 19:09:35 srv4hai common[28643]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 10 19:09:37 srv4hai postfix/smtpd[28376]: warning: unknown[192.3.62.196]: SASL PLAIN authentication failed: 
Feb 10 19:09:37 srv4hai postfix/smtpd[28376]: disconnect from unknown[192.3.62.196] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 19:09:45 srv4hai bt_scan[28643]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Feb 10 19:09:45 srv4hai bt_scan[28643]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb 10 19:09:51 srv4hai common[28680]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 10 19:09:59 srv4hai common[28694]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:09:59 srv4hai common[28718]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:10:00 srv4hai common[28742]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 10 19:10:01 srv4hai bt_scan[28680]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Feb 10 19:10:01 srv4hai bt_scan[28680]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Feb 10 19:10:01 srv4hai common[28784]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 10 19:10:01 srv4hai ping_SP[28784]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Feb 10 19:10:01 srv4hai common[28805]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 10 19:10:01 srv4hai CRON[28820]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 19:10:01 srv4hai CRON[28821]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 10 19:10:01 srv4hai common[28823]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 10 19:10:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 10 19:10:01 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1739211001-1739210991
Feb 10 19:10:01 srv4hai check_presence[28805]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 10 19:10:01 srv4hai check_presence[28805]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Feb 10 19:10:01 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1739211001-1739210991
Feb 10 19:10:01 srv4hai check_presence[28805]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 10 19:10:01 srv4hai check_presence[28805]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Feb 10 19:10:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 10 19:10:01 srv4hai check_presence[28805]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Feb 10 19:10:01 srv4hai check_presence[28805]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Feb 10 19:10:01 srv4hai activate_scenario[29034]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 10 19:10:01 srv4hai activate_scenario[29034]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished