activate_scenario.sh
Sat Jul 20 12:14:06 CEST 2024
scenario: vorraumOn
phoneName: 0

'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/07/20/_0.log)

vorher: 12:14:06.273

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: 12:14:06.301
Dauer: 28 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 12:14:06.239
nachher: 12:14:06.308
Dauer : 71 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_vorraumOn_20240720_121406.txt'


syslog

Jul 20 12:11:01 srv4hai CRON[30599]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:11:20 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721470280 - 'ping_SP_1'
Jul 20 12:11:20 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 12:11:22 srv4hai nmbd[2172]: [2024/07/20 12:11:22.906901,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 20 12:11:22 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 20 12:11:22 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 20 12:11:22 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 20 12:12:01 srv4hai CRON[30633]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:12:34 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721470354 - 'ping_SP_1'
Jul 20 12:12:34 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 12:13:01 srv4hai CRON[30670]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:13:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 12:13:11 srv4hai fetchmail[1651]: 49044 messages (49044 seen) for tmiglinci at mail.akis.at (-234670470 octets).
Jul 20 12:13:11 srv4hai fetchmail[1651]: 10479 messages (10479 seen) for srozum at mail.akis.at (1261747211 octets).
Jul 20 12:13:12 srv4hai fetchmail[1651]: 24846 messages (24846 seen) for mrozum at mail.akis.at (54018452 octets).
Jul 20 12:13:12 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 12:13:47 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721470427 - 'ping_SP_1'
Jul 20 12:13:47 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 12:13:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30702, secured, session=
Jul 20 12:13:50 srv4hai dovecot: imap(miglincit)<30702>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 20 12:13:55 srv4hai common[30704]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 12:14:01 srv4hai CRON[30720]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 12:14:05 srv4hai bt_scan[30704]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 20 12:14:05 srv4hai bt_scan[30704]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 20 12:14:05 srv4hai common[30744]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 20 12:14:05 srv4hai ping_SP[30744]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 20 12:14:05 srv4hai common[30765]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 12:14:05 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1721470445-1721470441
Jul 20 12:14:05 srv4hai check_presence[30765]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul 20 12:14:05 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1721470445-1721470441
Jul 20 12:14:05 srv4hai check_presence[30765]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 20 12:14:05 srv4hai check_presence[30765]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 20 12:14:06 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1721470445-1721470441
Jul 20 12:14:06 srv4hai check_presence[30765]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 20 12:14:06 srv4hai check_presence[30765]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 12:14:06 srv4hai check_presence[30765]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 20 12:14:06 srv4hai check_presence[30765]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 20 12:14:06 srv4hai activate_scenario[30918]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 20 12:14:06 srv4hai activate_scenario[30918]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished