activate_scenario.sh
Thu Aug 22 11:57:56 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/08/22/_0.log)

vorher: 11:57:56.503

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: 11:57:56.533
Dauer: 30 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 11:57:56.457
nachher: 11:57:56.540
Dauer : 85 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/22//scene_vorraumOn_20240822_115756.txt'


syslog

Aug 22 11:54:01 srv4hai CRON[17893]: (root) CMD (/etc/linetest/linetest.sh)
Aug 22 11:54:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17909, secured, session=
Aug 22 11:54:49 srv4hai dovecot: imap(miglincit)<17909>: Logged out in=744 out=53904 deleted=0 expunged=0 trashed=0 hdr_count=59 hdr_bytes=25269 body_count=0 body_bytes=0
Aug 22 11:55:01 srv4hai CRON[17911]: (root) CMD (/etc/linetest/linetest.sh)
Aug 22 11:56:01 srv4hai CRON[17924]: (root) CMD (/etc/linetest/linetest.sh)
Aug 22 11:56:12 srv4hai postfix/anvil[17850]: statistics: max connection rate 1/60s for (smtp:185.208.158.123) at Aug 22 11:51:45
Aug 22 11:56:12 srv4hai postfix/anvil[17850]: statistics: max connection count 1 for (smtp:185.208.158.123) at Aug 22 11:51:45
Aug 22 11:56:12 srv4hai postfix/anvil[17850]: statistics: max cache size 1 at Aug 22 11:51:45
Aug 22 11:56:45 srv4hai nmbd[2172]: [2024/08/22 11:56:45.072744,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Aug 22 11:56:45 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Aug 22 11:56:45 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Aug 22 11:56:45 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Aug 22 11:57:01 srv4hai CRON[17934]: (root) CMD (/etc/linetest/linetest.sh)
Aug 22 11:57:20 srv4hai named[30406]: resolver priming query complete
Aug 22 11:57:28 srv4hai named[30406]: resolver priming query complete
Aug 22 11:57:39 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Aug 22 11:57:45 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Aug 22 11:57:45 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 22 11:57:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Aug 22 11:57:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Aug 22 11:57:45 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Aug 22 11:57:45 srv4hai common[17945]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Aug 22 11:57:45 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Aug 22 11:57:45 srv4hai common[17959]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Aug 22 11:57:45 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Aug 22 11:57:45 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#49125/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50371/key rndc-key: signer "rndc-key" approved
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50371/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50371/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50371/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#50371/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Aug 22 11:57:45 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#36905/key rndc-key: signer "rndc-key" approved
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#36905/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Aug 22 11:57:45 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#36905/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Aug 22 11:57:45 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Aug 22 11:57:45 srv4hai ping_SP[17959]: SHELLY ping_SP.sh started from smartphone, user:'root'
Aug 22 11:57:47 srv4hai named[30406]: resolver priming query complete
Aug 22 11:57:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17982, secured, session=<2TP6sEIgCIgAAAAAAAAAAAAAAAAAAAAB>
Aug 22 11:57:49 srv4hai dovecot: imap(miglincit)<17982><2TP6sEIgCIgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=569 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 22 11:57:53 srv4hai named[30406]: resolver priming query complete
Aug 22 11:57:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 22 11:57:54 srv4hai fetchmail[1651]: 50551 messages (50551 seen) for tmiglinci at mail.akis.at (-108555436 octets).
Aug 22 11:57:55 srv4hai fetchmail[1651]: 10611 messages (10611 seen) for srozum at mail.akis.at (1280056535 octets).
Aug 22 11:57:55 srv4hai common[17994]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 22 11:57:55 srv4hai fetchmail[1651]: 25446 messages (25446 seen) for mrozum at mail.akis.at (147845526 octets).
Aug 22 11:57:56 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Aug 22 11:57:56 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 22 11:57:56 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=-
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Aug 22 11:57:56 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Aug 22 11:57:56 srv4hai check_presence[17994]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Aug 22 11:57:56 srv4hai activate_scenario[18099]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Aug 22 11:57:56 srv4hai activate_scenario[18099]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished