activate_scenario.sh
Sat Mar 16 07:55:36 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

'day' <--> 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/03/16/_0.log)

vorher: 07:55:36.622

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: 07:55:36.733
Dauer: 111 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 07:55:36.640

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: 07:55:36.734
Dauer: 95 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 07:55:36.598
nachher: 07:55:36.742
Dauer : 145 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/16//scene_nasszeile_um_20240316_075536.txt'


syslog

Mar 16 07:52:01 srv4hai CRON[25466]: (root) CMD (/etc/linetest/linetest.sh)
Mar 16 07:52:09 srv4hai ping_SP[14600]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710571929 - 'ping_SP_1'
Mar 16 07:52:09 srv4hai ping_SP[14600]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 16 07:53:01 srv4hai CRON[25492]: (root) CMD (/etc/linetest/linetest.sh)
Mar 16 07:53:05 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Mar 16 07:53:05 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 16 07:53:05 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 16 07:53:05 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139
Mar 16 07:53:05 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39
Mar 16 07:53:05 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Mar 16 07:53:05 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#36777/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#36751/key rndc-key: signer "rndc-key" approved
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#36751/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#36751/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#36751/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f931c6b5500 192.168.12.252#36751/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Mar 16 07:53:05 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#37657/key rndc-key: signer "rndc-key" approved
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#37657/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Mar 16 07:53:05 srv4hai named[15509]: client @0x7f9310041d20 192.168.12.252#37657/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at.
Mar 16 07:53:05 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Mar 16 07:53:05 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar 16 07:53:06 srv4hai grab_shelly.sh: SHELLY 'shelly-39':  OFFLINE, resp. not answering within connect-timeout 1.500000s
Mar 16 07:53:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25511, secured, session=
Mar 16 07:53:07 srv4hai dovecot: imap(miglincit)<25511>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 16 07:53:18 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=13.200000&hum=64.900000&id=C049EF8AC9D8&batt=100&volt=6.750000
Mar 16 07:53:18 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240316.csv'
Mar 16 07:53:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Mar 16 07:53:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Mar 16 07:53:18 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}'
Mar 16 07:53:18 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.''
Mar 16 07:53:18 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Mar 16 07:53:18 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Mar 16 07:53:18 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 13.2° - 64.9%
Mar 16 07:53:18 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 13.2°/12.7° - 64.9%/66.2% - SAVED
Mar 16 07:53:18 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Mar 16 07:53:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-39",#012    "created": "2024-03-16T06:53:18.980Z",#012    "content": {#012      "temp": 13.2,#012      "hum": 64.9,#012      "batt": 100#012    },#012    "transaction": "b16b0c85-8be0-495e-aac3-55f52dc7400a"#012  }#012}'°
Mar 16 07:53:22 srv4hai ping_SP[14600]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710572002 - 'ping_SP_1'
Mar 16 07:53:22 srv4hai ping_SP[14600]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 16 07:54:01 srv4hai CRON[25629]: (root) CMD (/etc/linetest/linetest.sh)
Mar 16 07:54:27 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 16 07:54:28 srv4hai fetchmail[1651]: 39993 messages (39993 seen) for tmiglinci at mail.akis.at (-986679764 octets).
Mar 16 07:54:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25647, secured, session=<5paGmMET1t4AAAAAAAAAAAAAAAAAAAAB>
Mar 16 07:54:28 srv4hai dovecot: imap(miglincit)<25647><5paGmMET1t4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 16 07:54:29 srv4hai fetchmail[1651]: 10006 messages (10006 seen) for srozum at mail.akis.at (1211969814 octets).
Mar 16 07:54:30 srv4hai fetchmail[1651]: 22277 messages (22277 seen) for mrozum at mail.akis.at (-442019064 octets).
Mar 16 07:54:30 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 16 07:54:36 srv4hai ping_SP[14600]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710572076 - 'ping_SP_1'
Mar 16 07:54:36 srv4hai ping_SP[14600]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 16 07:55:01 srv4hai CRON[25678]: (root) CMD (/etc/linetest/linetest.sh)
Mar 16 07:55:36 srv4hai activate_scenario[25690]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Mar 16 07:55:36 srv4hai activate_scenario[25690]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished