activate_scenario.sh
Wed Feb 28 05:44:46 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/28/_0.log)

vorher: 05:44:46.149

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: 05:44:46.178
Dauer: 29 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 05:44:46.160

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: 05:44:46.191
Dauer: 30 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 05:44:46.130
nachher: 05:44:46.198
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/28//scene_nasszeile_um_20240228_054446.txt'


syslog

Feb 28 05:41:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 28 05:41:00 srv4hai meter.sh: SHELLY meter.sh ended
Feb 28 05:41:00 srv4hai postfix/pickup[7356]: 8F62960244: uid=33 from=
Feb 28 05:41:00 srv4hai postfix/cleanup[13114]: 8F62960244: message-id=<20240228044100.8F62960244@mail.viehai.at>
Feb 28 05:41:00 srv4hai CRON[13702]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 05:41:00 srv4hai postfix/qmgr[28610]: 8F62960244: from=, size=654, nrcpt=1 (queue active)
Feb 28 05:41:00 srv4hai postfix/local[13115]: 8F62960244: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 28 05:41:00 srv4hai postfix/qmgr[28610]: 8F62960244: removed
Feb 28 05:41:41 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709095301 - 'ping_SP_0'
Feb 28 05:41:41 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 05:41:44 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709095304 - 'ping_SP_1'
Feb 28 05:41:44 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 28 05:42:01 srv4hai CRON[13775]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 05:42:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13782, secured, session=
Feb 28 05:42:06 srv4hai dovecot: imap(miglincit)<13782>: Logged out in=616 out=45256 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=21579 body_count=0 body_bytes=0
Feb 28 05:42:34 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 28 05:42:34 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 28 05:42:34 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 28 05:42:34 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 28 05:42:34 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 28 05:42:34 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 28 05:42:34 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc328650140 192.168.12.252#35801/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc318086600 192.168.12.252#47727/key rndc-key: signer "rndc-key" approved
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc318086600 192.168.12.252#47727/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc318086600 192.168.12.252#47727/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc318086600 192.168.12.252#47727/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc318086600 192.168.12.252#47727/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 28 05:42:34 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#39729/key rndc-key: signer "rndc-key" approved
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#39729/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 28 05:42:34 srv4hai named[14530]: client @0x7fc3286e8290 192.168.12.252#39729/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 28 05:42:34 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 28 05:42:34 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 28 05:42:35 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=21.25&id=shellyht-00B358
Feb 28 05:42:35 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv'
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 28 05:42:35 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 28 05:42:35 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.25° - 42%
Feb 28 05:42:35 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.25°/21.12° - 42%/42% - SAVED
Feb 28 05:42:35 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 28 05:42:36 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-28T04:42:36.072Z",#012    "content": {#012      "temp": 21.25,#012      "hum": 42,#012      "batt": 91#012    },#012    "transaction": "d27a91c7-dfb0-4037-aef9-8482c6fc7118"#012  }#012}'°
Feb 28 05:42:40 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=21.25&id=shellyht-00B358
Feb 28 05:42:40 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv'
Feb 28 05:42:40 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv' modifed 5s ago - EXIT
Feb 28 05:42:45 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=21.25&id=shellyht-00B358
Feb 28 05:42:45 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv'
Feb 28 05:42:45 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv' modifed 10s ago - EXIT
Feb 28 05:42:50 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=21.25&id=shellyht-00B358
Feb 28 05:42:50 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv'
Feb 28 05:42:50 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv' modifed 15s ago - EXIT
Feb 28 05:42:54 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709095374 - 'ping_SP_0'
Feb 28 05:42:54 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 05:42:55 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=21.25&id=shellyht-00B358
Feb 28 05:42:55 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv'
Feb 28 05:42:55 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv' modifed 20s ago - EXIT
Feb 28 05:42:58 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709095378 - 'ping_SP_1'
Feb 28 05:42:58 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 28 05:43:00 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=42&temp=21.25&id=shellyht-00B358
Feb 28 05:43:00 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv'
Feb 28 05:43:00 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240228.csv' modifed 25s ago - EXIT
Feb 28 05:43:01 srv4hai CRON[14171]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 05:43:19 srv4hai postfix/anvil[12736]: statistics: max connection rate 1/60s for (smtp:45.128.96.239) at Feb 28 05:35:43
Feb 28 05:43:19 srv4hai postfix/anvil[12736]: statistics: max connection count 1 for (smtp:45.128.96.239) at Feb 28 05:35:43
Feb 28 05:43:19 srv4hai postfix/anvil[12736]: statistics: max cache size 2 at Feb 28 05:39:07
Feb 28 05:43:53 srv4hai nmbd[30864]: [2024/02/28 05:43:53.795127,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 28 05:43:53 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 28 05:43:53 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 28 05:43:53 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 28 05:44:01 srv4hai CRON[14217]: (root) CMD (/etc/linetest/linetest.sh)
Feb 28 05:44:07 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709095447 - 'ping_SP_0'
Feb 28 05:44:07 srv4hai ping_SP[31033]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 28 05:44:11 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1709095451 - 'ping_SP_1'
Feb 28 05:44:11 srv4hai ping_SP[25998]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 28 05:44:46 srv4hai activate_scenario[14276]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 28 05:44:46 srv4hai activate_scenario[14276]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished