activate_scenario.sh
Thu Aug 29 22:05:47 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/29/_0.log)

vorher: 22:05:47.987

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:05:48.242
Dauer: 255 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 22:05:47.947
nachher: 22:05:48.249
Dauer : 304 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/29//scene_bedlight_tom_20240829_220547.txt'


syslog

Aug 29 22:02:01 srv4hai CRON[21885]: (root) CMD (/etc/linetest/linetest.sh)
Aug 29 22:02:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21892, secured, session=
Aug 29 22:02:07 srv4hai dovecot: imap(rozumm)<21892>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 29 22:02:46 srv4hai ping_SP[5803]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724961766 - 'ping_SP_0'
Aug 29 22:02:46 srv4hai ping_SP[5803]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 29 22:03:01 srv4hai CRON[21921]: (root) CMD (/etc/linetest/linetest.sh)
Aug 29 22:03:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21931, secured, session=
Aug 29 22:03:07 srv4hai dovecot: imap(rozumm)<21931>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 29 22:03:35 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Aug 29 22:03:41 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Aug 29 22:03:42 srv4hai fetchmail[1651]: 51132 messages (51132 seen) for tmiglinci at mail.akis.at (-71123825 octets).
Aug 29 22:03:43 srv4hai fetchmail[1651]: 10638 messages (10638 seen) for srozum at mail.akis.at (1282115428 octets).
Aug 29 22:03:43 srv4hai fetchmail[1651]: 25597 messages (25597 seen) for mrozum at mail.akis.at (168760314 octets).
Aug 29 22:03:44 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Aug 29 22:03:59 srv4hai ping_SP[5803]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724961839 - 'ping_SP_0'
Aug 29 22:03:59 srv4hai ping_SP[5803]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 29 22:04:01 srv4hai CRON[21963]: (root) CMD (/etc/linetest/linetest.sh)
Aug 29 22:04:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21970, secured, session=
Aug 29 22:04:07 srv4hai dovecot: imap(rozumm)<21970>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 29 22:04:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21974, secured, session=
Aug 29 22:04:13 srv4hai dovecot: imap(miglincit)<21974>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 29 22:04:24 srv4hai common[21976]: SHELLY common.sh inkludiert von ./bt_scan.sh
Aug 29 22:04:34 srv4hai bt_scan[21976]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Aug 29 22:04:34 srv4hai bt_scan[21976]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Aug 29 22:05:01 srv4hai CRON[22015]: (root) CMD (/etc/linetest/linetest.sh)
Aug 29 22:05:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22025, secured, session=
Aug 29 22:05:07 srv4hai dovecot: imap(rozumm)<22025>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 29 22:05:13 srv4hai ping_SP[5803]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1724961913 - 'ping_SP_0'
Aug 29 22:05:13 srv4hai ping_SP[5803]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Aug 29 22:05:41 srv4hai activate_scenario[22042]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug 29 22:05:41 srv4hai activate_scenario[22042]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Aug 29 22:05:41 srv4hai activate_scenario[22042]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Aug 29 22:05:41 srv4hai postfix/pickup[16049]: 6AC8B6345B: uid=33 from=
Aug 29 22:05:41 srv4hai postfix/cleanup[22095]: 6AC8B6345B: message-id=<20240829200541.6AC8B6345B@mail.viehai.at>
Aug 29 22:05:41 srv4hai postfix/qmgr[8566]: 6AC8B6345B: from=, size=4739, nrcpt=1 (queue active)
Aug 29 22:05:41 srv4hai activate_scenario[22042]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Aug 29 22:05:41 srv4hai proc_url[22113]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/29/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug 29 22:05:41 srv4hai postfix/local[22108]: 6AC8B6345B: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Aug 29 22:05:41 srv4hai postfix/cleanup[22095]: 71C6F6345C: message-id=<20240829200541.71C6F6345C@mail.viehai.at>
Aug 29 22:05:41 srv4hai postfix/bounce[22109]: 6AC8B6345B: sender non-delivery notification: 71C6F6345C
Aug 29 22:05:41 srv4hai postfix/qmgr[8566]: 71C6F6345C: from=<>, size=6661, nrcpt=1 (queue active)
Aug 29 22:05:41 srv4hai postfix/qmgr[8566]: 6AC8B6345B: removed
Aug 29 22:05:41 srv4hai postfix/local[22108]: 71C6F6345C: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug 29 22:05:41 srv4hai postfix/qmgr[8566]: 71C6F6345C: removed
Aug 29 22:05:41 srv4hai activate_scenario[22042]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Aug 29 22:05:41 srv4hai proc_url[22125]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/29/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug 29 22:05:41 srv4hai activate_scenario[22042]: SHELLY scenario: 'buero_UM(buero_um)' took 80 msec, shelly-40:'Thomas Büro Licht'
Aug 29 22:05:45 srv4hai activate_scenario[22166]: SHELLY scenario: 'buero_UM(buero_um)' started
Aug 29 22:05:45 srv4hai activate_scenario[22166]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Aug 29 22:05:45 srv4hai activate_scenario[22166]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Aug 29 22:05:45 srv4hai postfix/pickup[16049]: 65D2C6345B: uid=33 from=
Aug 29 22:05:45 srv4hai postfix/cleanup[22095]: 65D2C6345B: message-id=<20240829200545.65D2C6345B@mail.viehai.at>
Aug 29 22:05:45 srv4hai postfix/qmgr[8566]: 65D2C6345B: from=, size=7201, nrcpt=1 (queue active)
Aug 29 22:05:45 srv4hai postfix/local[22108]: 65D2C6345B: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Aug 29 22:05:45 srv4hai postfix/cleanup[22095]: 6882A6345C: message-id=<20240829200545.6882A6345C@mail.viehai.at>
Aug 29 22:05:45 srv4hai postfix/bounce[22109]: 65D2C6345B: sender non-delivery notification: 6882A6345C
Aug 29 22:05:45 srv4hai postfix/qmgr[8566]: 6882A6345C: from=<>, size=9123, nrcpt=1 (queue active)
Aug 29 22:05:45 srv4hai postfix/qmgr[8566]: 65D2C6345B: removed
Aug 29 22:05:45 srv4hai postfix/local[22108]: 6882A6345C: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Aug 29 22:05:45 srv4hai postfix/qmgr[8566]: 6882A6345C: removed
Aug 29 22:05:45 srv4hai activate_scenario[22166]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Aug 29 22:05:45 srv4hai proc_url[22234]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/29/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug 29 22:05:45 srv4hai activate_scenario[22166]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Aug 29 22:05:45 srv4hai proc_url[22245]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/29/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Aug 29 22:05:45 srv4hai activate_scenario[22166]: SHELLY scenario: 'buero_UM(buero_um)' took 93 msec, shelly-40:'Thomas Büro Licht'
Aug 29 22:05:47 srv4hai activate_scenario[22287]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Aug 29 22:05:47 srv4hai activate_scenario[22287]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished