activate_scenario.sh
Tue Apr 30 16:57:25 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/04/30/_0.log)

vorher: 16:57:25.279

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: 16:57:25.371
Dauer: 92 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 16:57:25.251
nachher: 16:57:25.378
Dauer : 126 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/30//scene_vorraumOn_20240430_165725.txt'


syslog

Apr 30 16:54:01 srv4hai CRON[3860]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 16:54:24 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714488864 - 'ping_SP_1'
Apr 30 16:54:24 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 16:54:46 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 30 16:55:00 srv4hai fetchmail[1651]: 43202 messages (43201 seen) for tmiglinci at mail.akis.at (-694003338 octets).
Apr 30 16:55:01 srv4hai postfix/smtpd[3893]: connect from localhost[127.0.0.1]
Apr 30 16:55:01 srv4hai postfix/smtpd[3893]: 0A46E6319A: client=localhost[127.0.0.1]
Apr 30 16:55:01 srv4hai postfix/cleanup[3896]: 0A46E6319A: message-id=<678kzbh6csix.1jmte0xr8sm5j@kanzlei.st>
Apr 30 16:55:01 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43202 of 43202 (52102 octets) not flushed
Apr 30 16:55:01 srv4hai postfix/qmgr[15291]: 0A46E6319A: from=, size=52381, nrcpt=1 (queue active)
Apr 30 16:55:01 srv4hai postfix/smtpd[3893]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 30 16:55:01 srv4hai postfix/local[3897]: 0A46E6319A: to=, relay=local, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 30 16:55:01 srv4hai postfix/qmgr[15291]: 0A46E6319A: removed
Apr 30 16:55:01 srv4hai CRON[3900]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 16:55:06 srv4hai fetchmail[1651]: 10187 messages (10187 seen) for srozum at mail.akis.at (1228784824 octets).
Apr 30 16:55:17 srv4hai fetchmail[1651]: 23206 messages (23206 seen) for mrozum at mail.akis.at (-287570972 octets).
Apr 30 16:55:17 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets).
Apr 30 16:55:27 srv4hai nmbd[2172]: [2024/04/30 16:55:27.237886,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 30 16:55:27 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr 30 16:55:27 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 30 16:55:27 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr 30 16:55:37 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714488937 - 'ping_SP_1'
Apr 30 16:55:37 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 16:56:01 srv4hai CRON[3938]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 16:56:41 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr 30 16:56:51 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714489011 - 'ping_SP_1'
Apr 30 16:56:51 srv4hai ping_SP[13680]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 30 16:57:01 srv4hai CRON[3971]: (root) CMD (/etc/linetest/linetest.sh)
Apr 30 16:57:10 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Apr 30 16:57:10 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 30 16:57:10 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 30 16:57:10 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
Apr 30 16:57:10 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
Apr 30 16:57:10 srv4hai common[3976]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 30 16:57:14 srv4hai common[3991]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 30 16:57:20 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Apr 30 16:57:20 srv4hai common[4007]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 30 16:57:20 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Apr 30 16:57:20 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Apr 30 16:57:20 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Apr 30 16:57:20 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61
Apr 30 16:57:20 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas
Apr 30 16:57:20 srv4hai common[4020]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Apr 30 16:57:20 srv4hai ping_SP[4007]: SHELLY ping_SP.sh started from smartphone, user:'root'
Apr 30 16:57:24 srv4hai bt_scan[3991]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 30 16:57:24 srv4hai bt_scan[3991]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Apr 30 16:57:24 srv4hai common[4058]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 30 16:57:24 srv4hai ping_SP[4058]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 30 16:57:24 srv4hai common[4079]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 30 16:57:25 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1714489045-1714489042
Apr 30 16:57:25 srv4hai check_presence[4079]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 30 16:57:25 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1714489045-1714489042
Apr 30 16:57:25 srv4hai check_presence[4079]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 30 16:57:25 srv4hai check_presence[4079]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Apr 30 16:57:25 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1714489045-1714489042
Apr 30 16:57:25 srv4hai check_presence[4079]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 30 16:57:25 srv4hai check_presence[4079]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 30 16:57:25 srv4hai check_presence[4079]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Apr 30 16:57:25 srv4hai activate_scenario[4204]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 30 16:57:25 srv4hai activate_scenario[4204]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished