activate_scenario.sh
Sun Sep 1 12:37:42 CEST 2024
scenario: vorraumOn
phoneName: 1

'day' <--> 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/01/_0.log)

vorher: 12:37:42.131

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: 12:37:42.224
Dauer: 94 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 12:37:42.113
nachher: 12:37:42.231
Dauer : 118 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/01//scene_vorraumOn_20240901_123742.txt'


syslog

Sep  1 12:34:01 srv4hai CRON[19991]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 12:35:01 srv4hai CRON[20017]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 12:35:08 srv4hai postfix/smtpd[20024]: connect from unknown[94.141.120.155]
Sep  1 12:35:08 srv4hai postfix/smtpd[20024]: warning: unknown[94.141.120.155]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep  1 12:35:08 srv4hai postfix/smtpd[20024]: lost connection after AUTH from unknown[94.141.120.155]
Sep  1 12:35:08 srv4hai postfix/smtpd[20024]: disconnect from unknown[94.141.120.155] ehlo=1 auth=0/1 commands=1/2
Sep  1 12:35:30 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20031, secured, session=
Sep  1 12:35:30 srv4hai dovecot: imap(miglincit)<20031>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  1 12:35:40 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep  1 12:36:01 srv4hai CRON[20035]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 12:37:01 srv4hai CRON[20046]: (root) CMD (/etc/linetest/linetest.sh)
Sep  1 12:37:31 srv4hai common[20055]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  1 12:37:31 srv4hai common[20069]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  1 12:37:31 srv4hai bt_scan[20055]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep  1 12:37:31 srv4hai bt_scan[20055]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep  1 12:37:31 srv4hai common[20100]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep  1 12:37:31 srv4hai ping_SP[20100]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep  1 12:37:31 srv4hai common[20122]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep  1 12:37:31 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1725187051-1725187051
Sep  1 12:37:31 srv4hai check_presence[20122]: 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  1 12:37:31 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1725187051-1725187051
Sep  1 12:37:31 srv4hai check_presence[20122]: 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
Sep  1 12:37:31 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1725187051-1725187051
Sep  1 12:37:31 srv4hai check_presence[20122]: 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  1 12:37:31 srv4hai check_presence[20122]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Sep  1 12:37:31 srv4hai postfix/pickup[14254]: F3D0F6345B: uid=33 from=
Sep  1 12:37:32 srv4hai postfix/cleanup[20226]: F3D0F6345B: message-id=<20240901103731.F3D0F6345B@mail.viehai.at>
Sep  1 12:37:32 srv4hai postfix/qmgr[8566]: F3D0F6345B: from=, size=3567, nrcpt=1 (queue active)
Sep  1 12:37:32 srv4hai check_presence[20122]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep  1 12:37:32 srv4hai check_presence[20122]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn
Sep  1 12:37:32 srv4hai ping_SP[20100]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Sep  1 12:37:32 srv4hai ping_SP[20100]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1725187052
Sep  1 12:37:33 srv4hai postfix/relay/smtp[20233]: F3D0F6345B: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.3, delays=0.03/0.01/0.95/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 09C84601C6)
Sep  1 12:37:33 srv4hai postfix/qmgr[8566]: F3D0F6345B: removed
Sep  1 12:37:41 srv4hai bt_scan[20069]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep  1 12:37:41 srv4hai bt_scan[20069]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Sep  1 12:37:41 srv4hai common[20287]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep  1 12:37:41 srv4hai ping_SP[20287]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep  1 12:37:41 srv4hai common[20308]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep  1 12:37:41 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1725187061-1725187058
Sep  1 12:37:41 srv4hai check_presence[20308]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep  1 12:37:41 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1725187061-1725187058
Sep  1 12:37:41 srv4hai check_presence[20308]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep  1 12:37:41 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1725187061-1725187058
Sep  1 12:37:41 srv4hai check_presence[20308]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep  1 12:37:41 srv4hai check_presence[20308]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/__) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep  1 12:37:42 srv4hai check_presence[20308]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Sep  1 12:37:42 srv4hai check_presence[20308]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Sep  1 12:37:42 srv4hai activate_scenario[20454]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep  1 12:37:42 srv4hai activate_scenario[20454]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished