activate_scenario.sh
Tue Feb 20 20:16:21 CET 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/02/20/_0.log)

vorher: 20:16:21.345

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

nachher: 20:16:21.374
Dauer: 29 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 20:16:21.321
nachher: 20:16:21.380
Dauer : 60 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/20//scene_pcOFF_20240220_201621.txt'


syslog

Feb 20 20:13:01 srv4hai CRON[20593]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 20:13:10 srv4hai named[14530]: resolver priming query complete
Feb 20 20:13:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20601, secured, session=
Feb 20 20:13:16 srv4hai dovecot: imap(miglincit)<20601>: 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 20 20:13:43 srv4hai postfix/anvil[20381]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 20 20:10:23
Feb 20 20:13:43 srv4hai postfix/anvil[20381]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 20 20:10:23
Feb 20 20:13:43 srv4hai postfix/anvil[20381]: statistics: max cache size 1 at Feb 20 20:10:23
Feb 20 20:13:46 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 20 20:13:46 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 20 20:13:46 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 20 20:13:46 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 20 20:13:46 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 20 20:13:46 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 20 20:13:46 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc308064dd0 192.168.12.252#51693/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc31c026bf0 192.168.12.252#44473/key rndc-key: signer "rndc-key" approved
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc31c026bf0 192.168.12.252#44473/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc31c026bf0 192.168.12.252#44473/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc31c026bf0 192.168.12.252#44473/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc31c026bf0 192.168.12.252#44473/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 20 20:13:46 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#43521/key rndc-key: signer "rndc-key" approved
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#43521/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 20 20:13:46 srv4hai named[14530]: client @0x7fc30807f600 192.168.12.252#43521/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 20 20:13:46 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 20 20:13:46 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 20 20:13:47 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=23.25&id=shellyht-00B358
Feb 20 20:13:47 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv'
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 20 20:13:47 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 20 20:13:47 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.25° - 43%
Feb 20 20:13:47 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 23.25°/23.25° - 43%/43% - SAVED
Feb 20 20:13:47 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 20 20:13:47 srv4hai named[14530]: resolver priming query complete
Feb 20 20:13:48 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-20T19:13:48.031Z",#012    "content": {#012      "temp": 23.25,#012      "hum": 43,#012      "batt": 91#012    },#012    "transaction": "67517375-269f-4b78-859d-4c15cf8b0427"#012  }#012}'°
Feb 20 20:13:48 srv4hai nmbd[30864]: [2024/02/20 20:13:48.486306,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 20 20:13:48 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 20 20:13:48 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 20 20:13:48 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 20 20:13:51 srv4hai ping_SP[8671]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708456431 - 'ping_SP_0'
Feb 20 20:13:51 srv4hai ping_SP[8671]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 20:13:52 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=23.25&id=shellyht-00B358
Feb 20 20:13:52 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv'
Feb 20 20:13:52 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv' modifed 5s ago - EXIT
Feb 20 20:13:57 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=23.25&id=shellyht-00B358
Feb 20 20:13:57 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv'
Feb 20 20:13:57 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv' modifed 10s ago - EXIT
Feb 20 20:14:01 srv4hai CRON[20901]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 20:14:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=23.25&id=shellyht-00B358
Feb 20 20:14:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv'
Feb 20 20:14:02 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv' modifed 15s ago - EXIT
Feb 20 20:14:07 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=23.25&id=shellyht-00B358
Feb 20 20:14:07 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv'
Feb 20 20:14:07 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv' modifed 20s ago - EXIT
Feb 20 20:14:12 srv4hai named[14530]: resolver priming query complete
Feb 20 20:14:12 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=43&temp=23.25&id=shellyht-00B358
Feb 20 20:14:12 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv'
Feb 20 20:14:12 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240220.csv' modifed 25s ago - EXIT
Feb 20 20:14:16 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 20 20:14:17 srv4hai fetchmail[1651]: 38488 messages (38488 seen) for tmiglinci at mail.akis.at (-1125355758 octets).
Feb 20 20:14:17 srv4hai named[14530]: resolver priming query complete
Feb 20 20:14:17 srv4hai fetchmail[1651]: 9915 messages (9915 seen) for srozum at mail.akis.at (1196135869 octets).
Feb 20 20:14:18 srv4hai fetchmail[1651]: 21769 messages (21769 seen) for mrozum at mail.akis.at (-571507435 octets).
Feb 20 20:14:18 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Feb 20 20:14:34 srv4hai named[14530]: resolver priming query complete
Feb 20 20:15:00 srv4hai smartd[27489]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 52 to 51
Feb 20 20:15:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 107 to 108
Feb 20 20:15:01 srv4hai CRON[20976]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 20:15:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20983, secured, session=<0rb7BtURfMwAAAAAAAAAAAAAAAAAAAAB>
Feb 20 20:15:03 srv4hai dovecot: imap(miglincit)<20983><0rb7BtURfMwAAAAAAAAAAAAAAAAAAAAB>: 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 20 20:15:04 srv4hai ping_SP[8671]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708456504 - 'ping_SP_0'
Feb 20 20:15:04 srv4hai ping_SP[8671]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 20:15:06 srv4hai dhcpd[5037]: DHCPDISCOVER from c8:db:26:0c:f3:8e via enp2s0
Feb 20 20:15:06 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb 20 20:15:06 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 20 20:15:06 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Feb 20 20:15:06 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Feb 20 20:15:06 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 (192.168.12.252) from c8:db:26:0c:f3:8e via enp2s0
Feb 20 20:15:06 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc32405faa0 192.168.12.252#41077/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#53485/key rndc-key: signer "rndc-key" approved
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#53485/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#53485/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#53485/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200ad570 192.168.12.252#53485/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Feb 20 20:15:06 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#40521/key rndc-key: signer "rndc-key" approved
Feb 20 20:15:06 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#40521/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Feb 20 20:15:06 srv4hai named[14530]: client @0x7fc3200dae40 192.168.12.252#40521/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Feb 20 20:15:06 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Feb 20 20:15:06 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Feb 20 20:15:18 srv4hai named[14530]: resolver priming query complete
Feb 20 20:15:29 srv4hai named[14530]: resolver priming query complete
Feb 20 20:16:01 srv4hai CRON[21014]: (root) CMD (/etc/linetest/linetest.sh)
Feb 20 20:16:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21027, secured, session=<48QrC9URtMwAAAAAAAAAAAAAAAAAAAAB>
Feb 20 20:16:13 srv4hai dovecot: imap(miglincit)<21027><48QrC9URtMwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=441 out=3692 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=564 body_count=1 body_bytes=1592
Feb 20 20:16:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21029, secured, session=
Feb 20 20:16:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21031, secured, session=
Feb 20 20:16:14 srv4hai dovecot: imap(miglincit)<21029>: Logged out in=630 out=15969 deleted=0 expunged=0 trashed=2 hdr_count=2 hdr_bytes=1864 body_count=0 body_bytes=0
Feb 20 20:16:14 srv4hai dovecot: imap(miglincit)<21031>: Logged out in=397 out=5795 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=776 body_count=1 body_bytes=3555
Feb 20 20:16:16 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21033, secured, session=<1W1UC9URvMwAAAAAAAAAAAAAAAAAAAAB>
Feb 20 20:16:16 srv4hai dovecot: imap(miglincit)<21033><1W1UC9URvMwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=742 out=49697 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=26077 body_count=0 body_bytes=0
Feb 20 20:16:17 srv4hai ping_SP[8671]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708456577 - 'ping_SP_0'
Feb 20 20:16:17 srv4hai ping_SP[8671]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 20 20:16:20 srv4hai dovecot: imap(miglincit)<13507>: Logged out in=4024 out=549546 deleted=0 expunged=0 trashed=0 hdr_count=12 hdr_bytes=4750 body_count=12 body_bytes=457778
Feb 20 20:16:21 srv4hai activate_scenario[21050]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 20 20:16:21 srv4hai activate_scenario[21050]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished