activate_scenario.sh
Sat Aug 17 17:16:47 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/08/17/_0.log)

vorher: 17:16:47.300

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 17:16:47.374
Dauer: 74 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 17:16:47.279
nachher: 17:16:47.381
Dauer : 102 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/17//scene_pcOFF_20240817_171647.txt'


syslog

Aug 17 17:13:01 srv4hai CRON[31733]: (root) CMD (/etc/linetest/linetest.sh)
Aug 17 17:13:15 srv4hai postfix/smtpd[31741]: connect from unknown[94.156.177.37]
Aug 17 17:13:15 srv4hai postfix/smtpd[31741]: NOQUEUE: reject: RCPT from unknown[94.156.177.37]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
Aug 17 17:13:15 srv4hai postfix/smtpd[31741]: disconnect from unknown[94.156.177.37] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5
Aug 17 17:13:44 srv4hai ping_SP[18084]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723907624 - 'ping_SP_0'
Aug 17 17:13:44 srv4hai ping_SP[18084]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 17 17:13:57 srv4hai ping_SP[27739]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723907637 - 'ping_SP_1'
Aug 17 17:13:57 srv4hai ping_SP[27739]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 17 17:13:59 srv4hai common[31793]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 17 17:14:01 srv4hai CRON[31807]: (root) CMD (/etc/linetest/linetest.sh)
Aug 17 17:14:09 srv4hai bt_scan[31793]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug 17 17:14:09 srv4hai bt_scan[31793]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug 17 17:14:09 srv4hai common[31831]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 17 17:14:09 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1723907649-1723907639
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug 17 17:14:09 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1723907649-1723907639
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Aug 17 17:14:09 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1723907649-1723907639
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Aug 17 17:14:09 srv4hai check_presence[31831]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug 17 17:14:23 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31986, secured, session=
Aug 17 17:14:23 srv4hai dovecot: imap(miglincit)<31986>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 17:14:32 srv4hai common[31989]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 17 17:14:42 srv4hai bt_scan[31989]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Aug 17 17:14:42 srv4hai bt_scan[31989]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Aug 17 17:14:57 srv4hai ping_SP[18084]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723907697 - 'ping_SP_0'
Aug 17 17:14:57 srv4hai ping_SP[18084]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 17 17:14:57 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 17 17:14:58 srv4hai fetchmail[1651]: 50212 messages (50212 seen) for tmiglinci at mail.akis.at (-142902784 octets).
Aug 17 17:14:59 srv4hai fetchmail[1651]: 10594 messages (10594 seen) for srozum at mail.akis.at (1272891940 octets).
Aug 17 17:14:59 srv4hai fetchmail[1651]: 25365 messages (25365 seen) for mrozum at mail.akis.at (130887046 octets).
Aug 17 17:15:00 srv4hai fetchmail[1651]: 1140 messages (1140 seen) for admin@bastelstube.wien at pop3.world4you.com (51587871 octets).
Aug 17 17:15:00 srv4hai smartd[27489]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 91 to 90
Aug 17 17:15:01 srv4hai smartd[27489]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 91 to 92
Aug 17 17:15:01 srv4hai CRON[32053]: (root) CMD (/etc/linetest/linetest.sh)
Aug 17 17:15:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32058, secured, session=
Aug 17 17:15:01 srv4hai dovecot: imap(miglincit)<32058>: Logged out in=265 out=1649 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 17:15:11 srv4hai ping_SP[27739]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723907711 - 'ping_SP_1'
Aug 17 17:15:11 srv4hai ping_SP[27739]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 17 17:15:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32097, secured, session=<5n90jeIf9okAAAAAAAAAAAAAAAAAAAAB>
Aug 17 17:15:56 srv4hai dovecot: imap(miglincit)<32097><5n90jeIf9okAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 17:16:01 srv4hai CRON[32104]: (root) CMD (/etc/linetest/linetest.sh)
Aug 17 17:16:02 srv4hai common[32109]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 17 17:16:10 srv4hai ping_SP[18084]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1723907770 - 'ping_SP_0'
Aug 17 17:16:10 srv4hai ping_SP[18084]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 17 17:16:10 srv4hai common[32142]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Aug 17 17:16:10 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Aug 17 17:16:10 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Aug 17 17:16:10 srv4hai common[32165]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Aug 17 17:16:11 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1723907771-1723907762
Aug 17 17:16:11 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'9'=1723907771-1723907762
Aug 17 17:16:11 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1723907771-1723907762
Aug 17 17:16:12 srv4hai bt_scan[32109]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Aug 17 17:16:12 srv4hai bt_scan[32109]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Aug 17 17:16:12 srv4hai common[32255]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Aug 17 17:16:12 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1723907772-1723907762
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Aug 17 17:16:12 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1723907772-1723907762
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Aug 17 17:16:12 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1723907772-1723907762
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Aug 17 17:16:12 srv4hai check_presence[32255]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Aug 17 17:16:24 srv4hai ping_SP[27739]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1723907784 - 'ping_SP_1'
Aug 17 17:16:24 srv4hai ping_SP[27739]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Aug 17 17:16:35 srv4hai postfix/anvil[31743]: statistics: max connection rate 1/60s for (smtp:94.156.177.37) at Aug 17 17:13:15
Aug 17 17:16:35 srv4hai postfix/anvil[31743]: statistics: max connection count 1 for (smtp:94.156.177.37) at Aug 17 17:13:15
Aug 17 17:16:35 srv4hai postfix/anvil[31743]: statistics: max cache size 1 at Aug 17 17:13:15
Aug 17 17:16:46 srv4hai dovecot: imap(miglincit)<15860>: Logged out in=33281 out=1538559 deleted=0 expunged=0 trashed=0 hdr_count=48 hdr_bytes=18449 body_count=49 body_bytes=1322863
Aug 17 17:16:47 srv4hai activate_scenario[32422]: SHELLY scenario: 'pcOFF(pcoff)' started
Aug 17 17:16:47 srv4hai activate_scenario[32422]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished