activate_scenario.sh
Tue Aug 20 22:18:56 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/08/20/_0.log)

vorher: 22:19:06.080

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:19:06.123
Dauer: 43 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:19:06.060
nachher: 22:19:06.129
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/20//scene_bedlight_tom_20240820_221856.txt'


syslog

Aug 20 22:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 45 to 46
Aug 20 22:15:01 srv4hai CRON[6982]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 22:15:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 20 22:15:02 srv4hai fetchmail[1651]: 50424 messages (50424 seen) for tmiglinci at mail.akis.at (-117611789 octets).
Aug 20 22:15:03 srv4hai fetchmail[1651]: 10604 messages (10604 seen) for srozum at mail.akis.at (1279560177 octets).
Aug 20 22:15:03 srv4hai fetchmail[1651]: 25418 messages (25418 seen) for mrozum at mail.akis.at (143839239 octets).
Aug 20 22:15:04 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Aug 20 22:16:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7001, secured, session=
Aug 20 22:16:01 srv4hai dovecot: imap(miglincit)<7001>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 22:16:01 srv4hai CRON[7003]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 22:16:10 srv4hai ping_SP[22505]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724184970 - 'ping_SP_0'
Aug 20 22:16:10 srv4hai ping_SP[22505]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 20 22:16:11 srv4hai ping_SP[29041]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724184971 - 'ping_SP_1'
Aug 20 22:16:11 srv4hai ping_SP[29041]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 22:17:01 srv4hai CRON[7050]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Aug 20 22:17:01 srv4hai CRON[7051]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 22:17:21 srv4hai postfix/anvil[6929]: statistics: max connection rate 1/60s for (smtp:178.215.236.137) at Aug 20 22:14:01
Aug 20 22:17:21 srv4hai postfix/anvil[6929]: statistics: max connection count 1 for (smtp:178.215.236.137) at Aug 20 22:14:01
Aug 20 22:17:21 srv4hai postfix/anvil[6929]: statistics: max cache size 1 at Aug 20 22:14:01
Aug 20 22:17:23 srv4hai ping_SP[22505]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724185043 - 'ping_SP_0'
Aug 20 22:17:23 srv4hai ping_SP[22505]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 20 22:17:25 srv4hai ping_SP[29041]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724185045 - 'ping_SP_1'
Aug 20 22:17:25 srv4hai ping_SP[29041]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 22:17:41 srv4hai common[7104]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 20 22:17:51 srv4hai bt_scan[7104]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug 20 22:17:51 srv4hai bt_scan[7104]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug 20 22:17:51 srv4hai common[7135]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 20 22:17:51 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1724185071-1724185061
Aug 20 22:17:51 srv4hai check_presence[7135]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 20 22:17:51 srv4hai check_presence[7135]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug 20 22:17:51 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1724185071-1724185061
Aug 20 22:17:52 srv4hai check_presence[7135]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 20 22:17:52 srv4hai check_presence[7135]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Aug 20 22:17:52 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1724185072-1724185061
Aug 20 22:17:52 srv4hai check_presence[7135]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 20 22:17:52 srv4hai check_presence[7135]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug 20 22:18:01 srv4hai CRON[7255]: (root) CMD (/etc/linetest/linetest.sh)
Aug 20 22:18:01 srv4hai check_presence[7135]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offDownstairs) - sceneOFF(offAll)
Aug 20 22:18:01 srv4hai check_presence[7135]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug 20 22:18:36 srv4hai ping_SP[22505]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724185116 - 'ping_SP_0'
Aug 20 22:18:36 srv4hai ping_SP[22505]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 20 22:18:38 srv4hai ping_SP[29041]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1724185118 - 'ping_SP_1'
Aug 20 22:18:38 srv4hai ping_SP[29041]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 20 22:18:56 srv4hai activate_scenario[7335]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Aug 20 22:18:56 srv4hai activate_scenario[7335]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'
Aug 20 22:19:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7381, secured, session=
Aug 20 22:19:01 srv4hai dovecot: imap(miglincit)<7381>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 20 22:19:01 srv4hai CRON[7383]: (root) CMD (/etc/linetest/linetest.sh)

finished