activate_scenario.sh
Wed Feb 7 18:06:32 CET 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/02/07/_0.log)

vorher: 18:06:32.467

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

nachher: 18:06:32.810
Dauer: 344 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/07/_1.log)

vorher: 18:06:32.480

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

nachher: 18:06:32.517
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 18:06:32.445
nachher: 18:06:32.818
Dauer : 372 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/07//scene_buero_UM_20240207_180632.txt'


syslog

Feb  7 18:03:01 srv4hai CRON[27783]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 18:03:16 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707325396 - 'ping_SP_0'
Feb  7 18:03:16 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 18:03:42 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb  7 18:03:42 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb  7 18:03:42 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb  7 18:03:42 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb  7 18:03:42 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb  7 18:03:42 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb  7 18:03:42 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#56197/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#34159/key rndc-key: signer "rndc-key" approved
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#34159/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#34159/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#34159/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc31001d550 192.168.12.252#34159/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb  7 18:03:42 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#49203/key rndc-key: signer "rndc-key" approved
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#49203/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb  7 18:03:42 srv4hai named[14530]: client @0x7fc314028fc0 192.168.12.252#49203/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at.
Feb  7 18:03:42 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb  7 18:03:42 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb  7 18:03:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.75&id=shellyht-00B358
Feb  7 18:03:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv'
Feb  7 18:03:43 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv' modifed 416s ago - EXIT
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb  7 18:03:43 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb  7 18:03:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.75&id=shellyht-00B358
Feb  7 18:03:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv'
Feb  7 18:03:48 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv' modifed 421s ago - EXIT
Feb  7 18:03:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.75&id=shellyht-00B358
Feb  7 18:03:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv'
Feb  7 18:03:53 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv' modifed 426s ago - EXIT
Feb  7 18:03:58 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.75&id=shellyht-00B358
Feb  7 18:03:58 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv'
Feb  7 18:03:58 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv' modifed 431s ago - EXIT
Feb  7 18:04:01 srv4hai CRON[27990]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 18:04:03 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.75&id=shellyht-00B358
Feb  7 18:04:03 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv'
Feb  7 18:04:03 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv' modifed 436s ago - EXIT
Feb  7 18:04:08 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=22.75&id=shellyht-00B358
Feb  7 18:04:08 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv'
Feb  7 18:04:08 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240207.csv' modifed 441s ago - EXIT
Feb  7 18:04:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  7 18:04:11 srv4hai fetchmail[1651]: 37580 messages (37580 seen) for tmiglinci at mail.akis.at (-1188192966 octets).
Feb  7 18:04:11 srv4hai fetchmail[1651]: 9869 messages (9869 seen) for srozum at mail.akis.at (1191379055 octets).
Feb  7 18:04:12 srv4hai fetchmail[1651]: 21532 messages (21532 seen) for mrozum at mail.akis.at (-605522282 octets).
Feb  7 18:04:12 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  7 18:04:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28045, secured, session=
Feb  7 18:04:14 srv4hai dovecot: imap(miglincit)<28045>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  7 18:04:19 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707325459 - 'ping_SP_0'
Feb  7 18:04:19 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 18:05:01 srv4hai CRON[28076]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 18:05:02 srv4hai postfix/smtpd[28081]: connect from unknown[194.48.251.112]
Feb  7 18:05:02 srv4hai postfix/smtpd[28081]: warning: unknown[194.48.251.112]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  7 18:05:02 srv4hai postfix/smtpd[28081]: disconnect from unknown[194.48.251.112] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb  7 18:05:22 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707325522 - 'ping_SP_0'
Feb  7 18:05:22 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 18:06:01 srv4hai CRON[28125]: (root) CMD (/etc/linetest/linetest.sh)
Feb  7 18:06:25 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707325585 - 'ping_SP_0'
Feb  7 18:06:25 srv4hai ping_SP[21805]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  7 18:06:27 srv4hai dovecot: imap(miglincit)<26685>: Logged out in=737 out=383914 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=341 body_count=1 body_bytes=311740
Feb  7 18:06:27 srv4hai trace_events[28159]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 18:06:27 srv4hai activate_scenario[28159]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb  7 18:06:27 srv4hai activate_scenario[28159]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Feb  7 18:06:27 srv4hai activate_scenario[28159]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Feb  7 18:06:27 srv4hai postfix/pickup[25636]: B8E2E60244: uid=33 from=
Feb  7 18:06:27 srv4hai postfix/cleanup[28248]: B8E2E60244: message-id=<20240207170627.B8E2E60244@mail.viehai.at>
Feb  7 18:06:27 srv4hai postfix/qmgr[28610]: B8E2E60244: from=, size=25372, nrcpt=1 (queue active)
Feb  7 18:06:27 srv4hai activate_scenario[28159]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Feb  7 18:06:27 srv4hai proc_url[28273]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/07/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Feb  7 18:06:27 srv4hai postfix/local[28268]: B8E2E60244: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb  7 18:06:27 srv4hai postfix/cleanup[28248]: BF6B460245: message-id=<20240207170627.BF6B460245@mail.viehai.at>
Feb  7 18:06:27 srv4hai postfix/bounce[28269]: B8E2E60244: sender non-delivery notification: BF6B460245
Feb  7 18:06:27 srv4hai postfix/qmgr[28610]: BF6B460245: from=<>, size=27251, nrcpt=1 (queue active)
Feb  7 18:06:27 srv4hai postfix/qmgr[28610]: B8E2E60244: removed
Feb  7 18:06:27 srv4hai postfix/local[28268]: BF6B460245: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  7 18:06:27 srv4hai postfix/qmgr[28610]: BF6B460245: removed
Feb  7 18:06:27 srv4hai activate_scenario[28159]: SHELLY scenario: 'pcOFF(pcoff)' took 60 msec, shelly-0:''
Feb  7 18:06:32 srv4hai trace_events[28301]: SHELLY trace_events.sh inkludiert: TRCF:'/srv/www/viehai/shelly/meter/trace_20240207.txt'
Feb  7 18:06:32 srv4hai activate_scenario[28301]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  7 18:06:32 srv4hai activate_scenario[28301]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished