activate_scenario.sh
Sat Jul 20 08:08:33 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_0.log)

vorher: 08:08:33.271

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 08:08:33.333
Dauer: 62 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/20/_1.log)

vorher: 08:08:33.287

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 08:08:33.329
Dauer: 42 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 08:08:33.231
nachher: 08:08:33.341
Dauer : 112 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/20//scene_herdzeile_UM_20240720_080833.txt'


syslog

Jul 20 08:05:01 srv4hai CRON[24524]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 08:05:09 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721455509 - 'ping_SP_1'
Jul 20 08:05:09 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 08:05:36 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721455536 - 'ping_SP_0'
Jul 20 08:05:36 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 08:05:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 20 08:05:52 srv4hai fetchmail[1651]: 49036 messages (49036 seen) for tmiglinci at mail.akis.at (-234983293 octets).
Jul 20 08:05:53 srv4hai fetchmail[1651]: 10478 messages (10478 seen) for srozum at mail.akis.at (1261656634 octets).
Jul 20 08:05:53 srv4hai fetchmail[1651]: 24840 messages (24839 seen) for mrozum at mail.akis.at (48437162 octets).
Jul 20 08:05:53 srv4hai postfix/smtpd[24567]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 08:05:53 srv4hai postfix/smtpd[24567]: connect from localhost[127.0.0.1]
Jul 20 08:05:53 srv4hai postfix/smtpd[24567]: D81366004E: client=localhost[127.0.0.1]
Jul 20 08:05:53 srv4hai postfix/cleanup[24570]: D81366004E: message-id=<0.0.8B.93D.1DADA6A3E5300F2.0@pmta41019.emsmtp.com>
Jul 20 08:05:53 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:24840 of 24840 (91646 octets) not flushed
Jul 20 08:05:53 srv4hai postfix/qmgr[8566]: D81366004E: from=, size=91915, nrcpt=1 (queue active)
Jul 20 08:05:53 srv4hai postfix/smtpd[24567]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 20 08:05:53 srv4hai postfix/local[24571]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 20 08:05:54 srv4hai postfix/local[24571]: D81366004E: to=, relay=local, delay=0.13, delays=0.09/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 20 08:05:54 srv4hai postfix/qmgr[8566]: D81366004E: removed
Jul 20 08:05:54 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 20 08:06:01 srv4hai CRON[24574]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 08:06:23 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721455583 - 'ping_SP_1'
Jul 20 08:06:23 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 08:06:49 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721455609 - 'ping_SP_0'
Jul 20 08:06:49 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 08:07:01 srv4hai CRON[24627]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 08:07:30 srv4hai common[24649]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 08:07:36 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721455656 - 'ping_SP_1'
Jul 20 08:07:36 srv4hai ping_SP[5060]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 20 08:07:40 srv4hai bt_scan[24649]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 20 08:07:40 srv4hai bt_scan[24649]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 20 08:07:40 srv4hai common[24696]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 20 08:07:41 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721455661-1721455650
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 20 08:07:41 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1721455661-1721455650
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 20 08:07:41 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721455661-1721455650
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Jul 20 08:07:41 srv4hai check_presence[24696]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 20 08:07:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24848, secured, session=
Jul 20 08:07:50 srv4hai dovecot: imap(miglincit)<24848>: 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 20 08:08:01 srv4hai CRON[24853]: (root) CMD (/etc/linetest/linetest.sh)
Jul 20 08:08:03 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721455683 - 'ping_SP_0'
Jul 20 08:08:03 srv4hai ping_SP[12526]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 20 08:08:04 srv4hai common[24873]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 20 08:08:14 srv4hai bt_scan[24873]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 20 08:08:14 srv4hai bt_scan[24873]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 20 08:08:33 srv4hai activate_scenario[24911]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Jul 20 08:08:33 srv4hai activate_scenario[24911]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished