activate_scenario.sh
Mon Oct 14 21:27:09 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/10/14/_0.log)

vorher: 21:27:09.307

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: 21:27:09.336
Dauer: 28 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:27:09.283
nachher: 21:27:09.344
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/14//scene_vorraumOn_20241014_212709.txt'


syslog

Oct 14 21:24:01 srv4hai CRON[4046]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 21:24:51 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4063, secured, session=
Oct 14 21:24:51 srv4hai dovecot: imap(miglincit)<4063>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 21:25:01 srv4hai CRON[4069]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 21:25:01 srv4hai ping_SP[24612]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1728933901 - 'ping_SP_1'
Oct 14 21:25:01 srv4hai ping_SP[24612]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct 14 21:25:03 srv4hai postfix/anvil[2995]: statistics: max connection rate 1/60s for (smtp:188.190.10.145) at Oct 14 21:19:54
Oct 14 21:25:03 srv4hai postfix/anvil[2995]: statistics: max connection count 1 for (smtp:188.190.10.145) at Oct 14 21:19:54
Oct 14 21:25:03 srv4hai postfix/anvil[2995]: statistics: max cache size 1 at Oct 14 21:19:54
Oct 14 21:26:01 srv4hai CRON[4096]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 21:26:01 srv4hai postfix/smtpd[4092]: warning: hostname 188-190-10-145.clevhosting.com does not resolve to address 188.190.10.145: Name or service not known
Oct 14 21:26:01 srv4hai postfix/smtpd[4092]: connect from unknown[188.190.10.145]
Oct 14 21:26:02 srv4hai postfix/smtpd[4092]: warning: unknown[188.190.10.145]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct 14 21:26:02 srv4hai postfix/smtpd[4092]: disconnect from unknown[188.190.10.145] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct 14 21:26:14 srv4hai ping_SP[24612]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1728933974 - 'ping_SP_1'
Oct 14 21:26:14 srv4hai ping_SP[24612]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Oct 14 21:26:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4126, secured, session=
Oct 14 21:26:24 srv4hai dovecot: imap(miglincit)<4126>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 21:26:26 srv4hai common[4128]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct 14 21:26:36 srv4hai bt_scan[4128]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Oct 14 21:26:36 srv4hai bt_scan[4128]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Oct 14 21:26:36 srv4hai common[4160]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct 14 21:26:37 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1728933997-1728933987
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Oct 14 21:26:37 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1728933997-1728933987
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Oct 14 21:26:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1728933997-1728933987
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_sekr_UM) - sceneOFF(offAll)
Oct 14 21:26:37 srv4hai check_presence[4160]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Oct 14 21:26:58 srv4hai common[4321]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct 14 21:27:01 srv4hai CRON[4336]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 21:27:08 srv4hai bt_scan[4321]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Oct 14 21:27:08 srv4hai bt_scan[4321]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Oct 14 21:27:08 srv4hai common[4362]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Oct 14 21:27:08 srv4hai ping_SP[4362]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Oct 14 21:27:08 srv4hai common[4383]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct 14 21:27:08 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1728934028-1728934028
Oct 14 21:27:08 srv4hai check_presence[4383]: 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
Oct 14 21:27:09 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1728934029-1728934028
Oct 14 21:27:09 srv4hai check_presence[4383]: 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
Oct 14 21:27:09 srv4hai check_presence[4383]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Oct 14 21:27:09 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1728934029-1728934028
Oct 14 21:27:09 srv4hai check_presence[4383]: 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
Oct 14 21:27:09 srv4hai check_presence[4383]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Oct 14 21:27:09 srv4hai check_presence[4383]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_sekr_UM) - sceneONsmall(vorraumOn)
Oct 14 21:27:09 srv4hai check_presence[4383]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Oct 14 21:27:09 srv4hai activate_scenario[4545]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Oct 14 21:27:09 srv4hai activate_scenario[4545]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished