activate_scenario.sh
Thu Jul 18 22:28:23 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_0.log)

vorher: 22:28:23.760

http://192.168.12.107/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:28:23.788
Dauer: 28 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:28:23.740
nachher: 22:28:23.794
Dauer : 55 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/18//scene_bedlight_tom_20240718_222823.txt'


syslog

Jul 18 22:25:01 srv4hai CRON[30577]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 22:25:21 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30585, secured, session=<6kq+YIsdxLwAAAAAAAAAAAAAAAAAAAAB>
Jul 18 22:25:21 srv4hai dovecot: imap(miglincit)<30585><6kq+YIsdxLwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 18 22:25:36 srv4hai common[30594]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 18 22:25:44 srv4hai ping_SP[31734]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721334344 - 'ping_SP_1'
Jul 18 22:25:44 srv4hai ping_SP[31734]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 18 22:25:46 srv4hai bt_scan[30594]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Jul 18 22:25:46 srv4hai bt_scan[30594]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Jul 18 22:25:46 srv4hai common[30639]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 18 22:25:46 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1721334346-1721334336
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 18 22:25:46 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1721334346-1721334336
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 18 22:25:46 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1721334346-1721334336
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcOFF) - sceneOFF(offAll)
Jul 18 22:25:46 srv4hai check_presence[30639]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Jul 18 22:25:58 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 18 22:25:58 srv4hai fetchmail[1651]: 48956 messages (48956 seen) for tmiglinci at mail.akis.at (-240468256 octets).
Jul 18 22:25:59 srv4hai fetchmail[1651]: 10472 messages (10472 seen) for srozum at mail.akis.at (1261149426 octets).
Jul 18 22:25:59 srv4hai fetchmail[1651]: 24817 messages (24817 seen) for mrozum at mail.akis.at (44653861 octets).
Jul 18 22:26:00 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 18 22:26:01 srv4hai CRON[30796]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 22:26:03 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721334363 - 'ping_SP_0'
Jul 18 22:26:03 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 22:26:21 srv4hai nmbd[2172]: [2024/07/18 22:26:21.698026,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 18 22:26:21 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 18 22:26:21 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 18 22:26:21 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 18 22:26:27 srv4hai common[30822]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 18 22:26:37 srv4hai bt_scan[30822]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jul 18 22:26:37 srv4hai bt_scan[30822]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Jul 18 22:26:57 srv4hai ping_SP[31734]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721334417 - 'ping_SP_1'
Jul 18 22:26:57 srv4hai ping_SP[31734]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 18 22:27:01 srv4hai CRON[30876]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 22:27:17 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721334437 - 'ping_SP_0'
Jul 18 22:27:17 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 22:28:01 srv4hai CRON[30910]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 22:28:11 srv4hai ping_SP[31734]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721334491 - 'ping_SP_1'
Jul 18 22:28:11 srv4hai ping_SP[31734]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 18 22:28:21 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30937, secured, session=
Jul 18 22:28:21 srv4hai dovecot: imap(miglincit)<30937>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 18 22:28:23 srv4hai activate_scenario[30939]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul 18 22:28:23 srv4hai activate_scenario[30939]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished