activate_scenario.sh
Sun Feb 18 21:14:47 CET 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/18/_0.log)

vorher: 21:14:47.502

http://192.168.12.117/white/0?turn=toggle&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": 13.21,
  "overpower": false

nachher: 21:14:47.535
Dauer: 34 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/02/18/_1.log)

vorher: 21:14:47.514

http://192.168.12.117/white/1?turn=toggle&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": 13.21,
  "overpower": false

nachher: 21:14:47.547
Dauer: 34 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 21:14:47.482
nachher: 21:14:47.554
Dauer : 72 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/18//scene_herdzeile_UM_20240218_211447.txt'


syslog

Feb 18 21:11:01 srv4hai CRON[27446]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 21:11:04 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 18 21:11:04 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 18 21:11:04 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 18 21:11:04 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 18 21:11:04 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 18 21:11:04 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 18 21:11:04 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc31c0b2820 192.168.12.252#34047/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55335/key rndc-key: signer "rndc-key" approved
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55335/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55335/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55335/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc3240d1310 192.168.12.252#55335/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 18 21:11:04 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc32403b700 192.168.12.252#47083/key rndc-key: signer "rndc-key" approved
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc32403b700 192.168.12.252#47083/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 18 21:11:04 srv4hai named[14530]: client @0x7fc32403b700 192.168.12.252#47083/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 18 21:11:04 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 18 21:11:04 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 18 21:11:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.12&id=shellyht-00B358
Feb 18 21:11:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 18 21:11:05 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 18 21:11:06 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 18 21:11:06 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 18 21:11:06 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 18 21:11:06 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 18 21:11:06 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.12° - 39%
Feb 18 21:11:06 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.12°/23.12° - 39%/39% - SAVED
Feb 18 21:11:06 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 18 21:11:06 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-18T20:11:06.716Z",#012    "content": {#012      "temp": 23.12,#012      "hum": 39,#012      "batt": 91#012    },#012    "transaction": "0e5c5454-54d6-4af9-9f6c-d4e35a6c554d"#012  }#012}'°
Feb 18 21:11:10 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.12&id=shellyht-00B358
Feb 18 21:11:10 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 21:11:10 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 4s ago - EXIT
Feb 18 21:11:16 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.12&id=shellyht-00B358
Feb 18 21:11:16 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 21:11:16 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 10s ago - EXIT
Feb 18 21:11:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.12&id=shellyht-00B358
Feb 18 21:11:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 21:11:21 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 15s ago - EXIT
Feb 18 21:11:22 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708287082 - 'ping_SP_1'
Feb 18 21:11:22 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 21:11:26 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.12&id=shellyht-00B358
Feb 18 21:11:26 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 21:11:26 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 20s ago - EXIT
Feb 18 21:11:31 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=39&temp=23.12&id=shellyht-00B358
Feb 18 21:11:31 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv'
Feb 18 21:11:31 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240218.csv' modifed 25s ago - EXIT
Feb 18 21:12:01 srv4hai CRON[27820]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 21:12:08 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708287128 - 'ping_SP_0'
Feb 18 21:12:08 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 18 21:12:36 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708287156 - 'ping_SP_1'
Feb 18 21:12:36 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 21:13:01 srv4hai CRON[27870]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 21:13:08 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 18 21:13:09 srv4hai fetchmail[1651]: 38357 messages (38357 seen) for tmiglinci at mail.akis.at (-1134636772 octets).
Feb 18 21:13:09 srv4hai fetchmail[1651]: 9911 messages (9911 seen) for srozum at mail.akis.at (1195777266 octets).
Feb 18 21:13:10 srv4hai fetchmail[1651]: 21726 messages (21726 seen) for mrozum at mail.akis.at (-574589553 octets).
Feb 18 21:13:10 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 18 21:13:19 srv4hai postfix/anvil[26877]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 18 21:09:59
Feb 18 21:13:19 srv4hai postfix/anvil[26877]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 18 21:09:59
Feb 18 21:13:19 srv4hai postfix/anvil[26877]: statistics: max cache size 1 at Feb 18 21:09:59
Feb 18 21:13:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27885, secured, session=
Feb 18 21:13:20 srv4hai dovecot: imap(miglincit)<27885>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 18 21:13:21 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708287201 - 'ping_SP_0'
Feb 18 21:13:21 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 18 21:13:47 srv4hai nmbd[30864]: [2024/02/18 21:13:47.091106,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 18 21:13:47 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 18 21:13:47 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 18 21:13:47 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 18 21:13:50 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708287230 - 'ping_SP_1'
Feb 18 21:13:50 srv4hai ping_SP[18265]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 18 21:14:01 srv4hai CRON[27928]: (root) CMD (/etc/linetest/linetest.sh)
Feb 18 21:14:34 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708287274 - 'ping_SP_0'
Feb 18 21:14:34 srv4hai ping_SP[9472]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 18 21:14:40 srv4hai activate_scenario[27962]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Feb 18 21:14:40 srv4hai activate_scenario[27962]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
Feb 18 21:14:40 srv4hai activate_scenario[27962]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile'
Feb 18 21:14:40 srv4hai postfix/pickup[22184]: D9B9360244: uid=33 from=
Feb 18 21:14:40 srv4hai postfix/cleanup[28025]: D9B9360244: message-id=<20240218201440.D9B9360244@mail.viehai.at>
Feb 18 21:14:40 srv4hai postfix/qmgr[28610]: D9B9360244: from=, size=11256, nrcpt=1 (queue active)
Feb 18 21:14:40 srv4hai activate_scenario[27962]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25'
Feb 18 21:14:40 srv4hai proc_url[28043]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/18/_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 18 21:14:40 srv4hai postfix/local[28038]: D9B9360244: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 18 21:14:40 srv4hai postfix/cleanup[28025]: DF60560245: message-id=<20240218201440.DF60560245@mail.viehai.at>
Feb 18 21:14:40 srv4hai postfix/qmgr[28610]: DF60560245: from=<>, size=13135, nrcpt=1 (queue active)
Feb 18 21:14:40 srv4hai postfix/bounce[28039]: D9B9360244: sender non-delivery notification: DF60560245
Feb 18 21:14:40 srv4hai postfix/qmgr[28610]: D9B9360244: removed
Feb 18 21:14:40 srv4hai postfix/local[28038]: DF60560245: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 18 21:14:40 srv4hai postfix/qmgr[28610]: DF60560245: removed
Feb 18 21:14:40 srv4hai activate_scenario[27962]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25'
Feb 18 21:14:40 srv4hai proc_url[28055]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/18/_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 18 21:14:41 srv4hai activate_scenario[27962]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 133 msec, shelly-28:'Schalter Nasszeile'
Feb 18 21:14:47 srv4hai activate_scenario[28120]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Feb 18 21:14:47 srv4hai activate_scenario[28120]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished