activate_scenario.sh
Thu Jul 4 10:57:57 CEST 2024
scenario: vorraumOff
source: 192.168.12.125

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

scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/04/_0.log)

vorher: 10:57:58.041

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 10:57:58.118
Dauer: 76 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 10:57:58.060

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

nachher: 10:57:58.121
Dauer: 62 msec phName: 'shelly-25:'Küchenlicht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/04/_2.log)

vorher: 10:57:58.075

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

nachher: 10:57:58.116
Dauer: 41 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 10:57:58.091

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "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: 10:57:58.116
Dauer: 25 msec phName: 'shelly-25:'Küchenlicht''


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

vorher: 10:57:58.104

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "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: 10:57:58.151
Dauer: 47 msec phName: 'shelly-25:'Küchenlicht''


WC (/srv/www/viehai/shelly/log_scenarios/2024/07/04/_5.log)

vorher: 10:57:58.116

http://192.168.12.122/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 10:57:58.178
Dauer: 62 msec phName: 'shelly-25:'Küchenlicht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/07/04/_6.log)

vorher: 10:57:58.132

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

nachher: 10:57:58.179
Dauer: 47 msec phName: 'shelly-25:'Küchenlicht''


scenario: 'Vorraum/Küche AUS-schalten' - 'vorraumOff' - 'vorraumoff'

urls : 7
vorher : 10:57:58.009
nachher: 10:57:58.187
Dauer : 178 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/04//scene_vorraumOff_20240704_105757.txt'


syslog

Jul  4 10:54:01 srv4hai CRON[18107]: (root) CMD (/etc/linetest/linetest.sh)
Jul  4 10:54:06 srv4hai named[30406]: resolver priming query complete
Jul  4 10:54:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18121, secured, session=
Jul  4 10:54:12 srv4hai dovecot: imap(miglincit)<18121>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  4 10:54:15 srv4hai named[30406]: resolver priming query complete
Jul  4 10:54:16 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720083256 - 'ping_SP_0'
Jul  4 10:54:16 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  4 10:54:39 srv4hai named[30406]: resolver priming query complete
Jul  4 10:55:01 srv4hai CRON[18146]: (root) CMD (/etc/linetest/linetest.sh)
Jul  4 10:55:08 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720083308 - 'ping_SP_1'
Jul  4 10:55:08 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  4 10:55:29 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720083329 - 'ping_SP_0'
Jul  4 10:55:29 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  4 10:55:35 srv4hai postfix/anvil[18032]: statistics: max connection rate 1/60s for (smtp:94.154.35.194) at Jul  4 10:52:14
Jul  4 10:55:35 srv4hai postfix/anvil[18032]: statistics: max connection count 1 for (smtp:94.154.35.194) at Jul  4 10:52:14
Jul  4 10:55:35 srv4hai postfix/anvil[18032]: statistics: max cache size 1 at Jul  4 10:52:14
Jul  4 10:55:45 srv4hai named[30406]: resolver priming query complete
Jul  4 10:56:01 srv4hai CRON[18193]: (root) CMD (/etc/linetest/linetest.sh)
Jul  4 10:56:11 srv4hai nmbd[2172]: [2024/07/04 10:56:11.477325,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul  4 10:56:11 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul  4 10:56:11 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul  4 10:56:11 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul  4 10:56:21 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720083381 - 'ping_SP_1'
Jul  4 10:56:21 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  4 10:56:42 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720083402 - 'ping_SP_0'
Jul  4 10:56:42 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  4 10:56:52 srv4hai named[30406]: resolver priming query complete
Jul  4 10:56:54 srv4hai named[30406]: resolver priming query complete
Jul  4 10:57:01 srv4hai CRON[18250]: (root) CMD (/etc/linetest/linetest.sh)
Jul  4 10:57:02 srv4hai named[30406]: resolver priming query complete
Jul  4 10:57:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18260, secured, session=
Jul  4 10:57:12 srv4hai dovecot: imap(miglincit)<18260>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  4 10:57:35 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720083455 - 'ping_SP_1'
Jul  4 10:57:35 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  4 10:57:45 srv4hai dhcpd[30731]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Jul  4 10:57:45 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Jul  4 10:57:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  4 10:57:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.137
Jul  4 10:57:45 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-37
Jul  4 10:57:45 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Jul  4 10:57:45 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#57933/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48367/key rndc-key: signer "rndc-key" approved
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48367/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48367/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48367/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48367/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Jul  4 10:57:45 srv4hai dhcpd[30731]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#38191/key rndc-key: signer "rndc-key" approved
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#38191/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Jul  4 10:57:45 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#38191/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.
Jul  4 10:57:45 srv4hai dhcpd[30731]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Jul  4 10:57:45 srv4hai common[18284]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  4 10:57:45 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' perform:'conf'
Jul  4 10:57:46 srv4hai mosquitto[18551]: New connection from 192.168.12.137 on port 1883.
Jul  4 10:57:46 srv4hai mosquitto[18551]: New client connected from 192.168.12.137 as shellyht-00B358 (c1, k60, u'shmqtt').
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Jul  4 10:57:46 srv4hai common[18303]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul  4 10:57:46 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=26.25&id=shellyht-00B358
Jul  4 10:57:46 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-37_20240704.csv'
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137'
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137'
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Jul  4 10:57:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Jul  4 10:57:46 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: 26.25° - 41%
Jul  4 10:57:46 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: 26.25°/27.25° - 41%/39% - SAVED
Jul  4 10:57:46 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: batt='91'°
Jul  4 10:57:46 srv4hai named[30406]: resolver priming query complete
Jul  4 10:57:47 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Klima Büro: dweetIO='{#012  "this": "succeeded",#012  "by": "dweeting",#012  "the": "dweet",#012  "with": {#012    "thing": "viehai-37",#012    "created": "2024-07-04T08:57:47.328Z",#012    "content": {#012      "temp": 26.25,#012      "hum": 41,#012      "batt": 91,#012      "csvF": "shelly-37_20240704.csv"#012    },#012    "transaction": "c8cf34ac-5fce-4bf8-87d6-82bb870ca0f2"#012  }#012}'°
Jul  4 10:57:51 srv4hai common[18538]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul  4 10:57:51 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=26.25&id=shellyht-00B358
Jul  4 10:57:51 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-37_20240704.csv'
Jul  4 10:57:51 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240704.csv' modifed 5s ago - EXIT
Jul  4 10:57:56 srv4hai common[18564]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jul  4 10:57:56 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=26.25&id=shellyht-00B358
Jul  4 10:57:56 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-37_20240704.csv'
Jul  4 10:57:56 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240704.csv' modifed 10s ago - EXIT
Jul  4 10:57:56 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720083476 - 'ping_SP_0'
Jul  4 10:57:56 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  4 10:57:57 srv4hai activate_scenario[18603]: SHELLY scenario: 'vorraumOff(vorraumoff)' started
Jul  4 10:57:57 srv4hai activate_scenario[18603]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-25:'Küchenlicht'

finished