activate_scenario.sh
Mon Feb 26 06:08:38 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/26/_0.log)

vorher: 06:08:38.917

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

nachher: 06:08:38.968
Dauer: 52 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/26/_1.log)

vorher: 06:08:38.931

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

nachher: 06:08:38.968
Dauer: 38 msec phName: 'shelly-28:'Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 06:08:38.864
nachher: 06:08:38.976
Dauer : 113 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/26//scene_nasszeile_um_20240226_060838.txt'


syslog

Feb 26 06:05:01 srv4hai CRON[11549]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 06:05:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 26 06:05:10 srv4hai fetchmail[1651]: 38783 messages (38783 seen) for tmiglinci at mail.akis.at (-1092452926 octets).
Feb 26 06:05:11 srv4hai fetchmail[1651]: 9938 messages (9938 seen) for srozum at mail.akis.at (1200600520 octets).
Feb 26 06:05:11 srv4hai fetchmail[1651]: 21870 messages (21869 seen) for mrozum at mail.akis.at (-549657623 octets).
Feb 26 06:05:11 srv4hai postfix/smtpd[11556]: connect from localhost[127.0.0.1]
Feb 26 06:05:11 srv4hai postfix/smtpd[11556]: C98A66011A: client=localhost[127.0.0.1]
Feb 26 06:05:11 srv4hai postfix/cleanup[11559]: C98A66011A: message-id=<67h.2up.ak1@sendnode.com>
Feb 26 06:05:11 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:21870 of 21870 (45350 octets) not flushed
Feb 26 06:05:11 srv4hai postfix/qmgr[28610]: C98A66011A: from=, size=45606, nrcpt=1 (queue active)
Feb 26 06:05:11 srv4hai postfix/smtpd[11556]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 26 06:05:11 srv4hai postfix/local[11560]: C98A66011A: to=, relay=local, delay=0.08, delays=0.07/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 26 06:05:11 srv4hai postfix/qmgr[28610]: C98A66011A: removed
Feb 26 06:05:12 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 26 06:05:40 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708923940 - 'ping_SP_0'
Feb 26 06:05:40 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 06:05:57 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708923957 - 'ping_SP_1'
Feb 26 06:05:57 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 06:06:01 srv4hai CRON[11619]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 06:06:35 srv4hai postfix/anvil[11324]: statistics: max connection rate 1/60s for (smtp:194.48.251.202) at Feb 26 06:03:15
Feb 26 06:06:35 srv4hai postfix/anvil[11324]: statistics: max connection count 1 for (smtp:194.48.251.202) at Feb 26 06:03:15
Feb 26 06:06:35 srv4hai postfix/anvil[11324]: statistics: max cache size 1 at Feb 26 06:03:15
Feb 26 06:06:53 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708924013 - 'ping_SP_0'
Feb 26 06:06:53 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 06:07:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11665, secured, session=<6+E/4UESmucAAAAAAAAAAAAAAAAAAAAB>
Feb 26 06:07:01 srv4hai dovecot: imap(miglincit)<11665><6+E/4UESmucAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 26 06:07:01 srv4hai CRON[11667]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 06:07:09 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 26 06:07:09 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 26 06:07:09 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 26 06:07:09 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 26 06:07:09 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 26 06:07:09 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 26 06:07:09 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc3180965b0 192.168.12.252#57775/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc32407a810 192.168.12.252#53477/key rndc-key: signer "rndc-key" approved
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc32407a810 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc32407a810 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc32407a810 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc32407a810 192.168.12.252#53477/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 26 06:07:09 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#52593/key rndc-key: signer "rndc-key" approved
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#52593/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 26 06:07:09 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#52593/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 26 06:07:09 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 26 06:07:09 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 26 06:07:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=20.88&id=shellyht-00B358
Feb 26 06:07:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv'
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 26 06:07:10 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708924030 - 'ping_SP_1'
Feb 26 06:07:10 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 26 06:07:10 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 26 06:07:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 20.88° - 40%
Feb 26 06:07:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 20.88°/21.° - 40%/40% - SAVED
Feb 26 06:07:10 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 26 06:07:11 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-02-26T05:07:11.407Z",#012    "content": {#012      "temp": 20.88,#012      "hum": 40,#012      "batt": 91#012    },#012    "transaction": "ab01d6c9-7771-422a-ba9f-c16f3d4304a9"#012  }#012}'°
Feb 26 06:07:15 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=20.88&id=shellyht-00B358
Feb 26 06:07:15 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv'
Feb 26 06:07:15 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 5s ago - EXIT
Feb 26 06:07:20 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=20.88&id=shellyht-00B358
Feb 26 06:07:20 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv'
Feb 26 06:07:20 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 10s ago - EXIT
Feb 26 06:07:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=20.88&id=shellyht-00B358
Feb 26 06:07:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv'
Feb 26 06:07:25 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 15s ago - EXIT
Feb 26 06:07:31 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=20.88&id=shellyht-00B358
Feb 26 06:07:31 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv'
Feb 26 06:07:31 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 21s ago - EXIT
Feb 26 06:07:36 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=40&temp=20.88&id=shellyht-00B358
Feb 26 06:07:36 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv'
Feb 26 06:07:36 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240226.csv' modifed 26s ago - EXIT
Feb 26 06:08:01 srv4hai CRON[12038]: (root) CMD (/etc/linetest/linetest.sh)
Feb 26 06:08:06 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708924086 - 'ping_SP_0'
Feb 26 06:08:06 srv4hai ping_SP[9862]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 26 06:08:24 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708924104 - 'ping_SP_1'
Feb 26 06:08:24 srv4hai ping_SP[22344]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 26 06:08:35 srv4hai activate_scenario[12084]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 26 06:08:35 srv4hai activate_scenario[12084]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Feb 26 06:08:35 srv4hai activate_scenario[12084]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Feb 26 06:08:35 srv4hai postfix/pickup[2501]: 9876F60244: uid=33 from=
Feb 26 06:08:35 srv4hai postfix/cleanup[12137]: 9876F60244: message-id=<20240226050835.9876F60244@mail.viehai.at>
Feb 26 06:08:35 srv4hai postfix/qmgr[28610]: 9876F60244: from=, size=11764, nrcpt=1 (queue active)
Feb 26 06:08:35 srv4hai activate_scenario[12084]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Feb 26 06:08:35 srv4hai proc_url[12155]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/26/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Feb 26 06:08:35 srv4hai postfix/local[12150]: 9876F60244: 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")
Feb 26 06:08:35 srv4hai postfix/cleanup[12137]: 9F19A60245: message-id=<20240226050835.9F19A60245@mail.viehai.at>
Feb 26 06:08:35 srv4hai postfix/bounce[12151]: 9876F60244: sender non-delivery notification: 9F19A60245
Feb 26 06:08:35 srv4hai postfix/qmgr[28610]: 9F19A60245: from=<>, size=13643, nrcpt=1 (queue active)
Feb 26 06:08:35 srv4hai postfix/qmgr[28610]: 9876F60244: removed
Feb 26 06:08:35 srv4hai postfix/local[12150]: 9F19A60245: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 26 06:08:35 srv4hai postfix/qmgr[28610]: 9F19A60245: removed
Feb 26 06:08:35 srv4hai activate_scenario[12084]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Feb 26 06:08:35 srv4hai proc_url[12167]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/26/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile''
Feb 26 06:08:35 srv4hai activate_scenario[12084]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 129 msec, shelly-28:'Schalter Nasszeile'
Feb 26 06:08:38 srv4hai activate_scenario[12211]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 26 06:08:38 srv4hai activate_scenario[12211]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished