activate_scenario.sh
Sat Feb 10 20:16:33 CET 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

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

vorher: 20:16:33.333

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

nachher: 20:16:33.362
Dauer: 29 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 20:16:33.312
nachher: 20:16:33.369
Dauer : 56 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/10//scene_pcON_20240210_201633.txt'


syslog

Feb 10 20:13:01 srv4hai CRON[5090]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:13:21 srv4hai postfix/smtpd[5095]: connect from unknown[45.128.96.207]
Feb 10 20:13:21 srv4hai postfix/smtpd[5095]: warning: unknown[45.128.96.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 10 20:13:21 srv4hai postfix/smtpd[5095]: disconnect from unknown[45.128.96.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 20:13:40 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707592420 - 'ping_SP_0'
Feb 10 20:13:40 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:13:41 srv4hai nmbd[30864]: [2024/02/10 20:13:41.427912,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Feb 10 20:13:41 srv4hai nmbd[30864]:   find_domain_master_name_query_fail:
Feb 10 20:13:41 srv4hai nmbd[30864]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Feb 10 20:13:41 srv4hai nmbd[30864]:   Unable to sync browse lists in this workgroup.
Feb 10 20:14:01 srv4hai CRON[5128]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:14:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=5135, secured, session=
Feb 10 20:14:04 srv4hai dovecot: imap(miglincit)<5135>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 20:14:26 srv4hai postfix/smtpd[5095]: connect from unknown[194.48.251.112]
Feb 10 20:14:26 srv4hai postfix/smtpd[5095]: warning: unknown[194.48.251.112]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 10 20:14:26 srv4hai postfix/smtpd[5095]: disconnect from unknown[194.48.251.112] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 10 20:14:43 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707592483 - 'ping_SP_0'
Feb 10 20:14:43 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:14:51 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
Feb 10 20:14:51 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 10 20:14:51 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 10 20:14:51 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137
Feb 10 20:14:51 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37
Feb 10 20:14:51 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
Feb 10 20:14:51 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc3200f8760 192.168.12.252#40873/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#52949/key rndc-key: signer "rndc-key" approved
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#52949/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#52949/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101"
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#52949/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc3180de750 192.168.12.252#52949/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137
Feb 10 20:14:51 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#43745/key rndc-key: signer "rndc-key" approved
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#43745/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR
Feb 10 20:14:51 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#43745/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 10 20:14:51 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at
Feb 10 20:14:51 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 10 20:14:52 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 10 20:14:52 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137'
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 10 20:14:52 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
Feb 10 20:14:52 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.5° - 41%
Feb 10 20:14:52 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 22.5°/22.5° - 41%/41% - SAVED
Feb 10 20:14:52 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'°
Feb 10 20:14:53 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-10T19:14:53.187Z",#012    "content": {#012      "temp": 22.5,#012      "hum": 41,#012      "batt": 91#012    },#012    "transaction": "a0148e20-662c-46c7-aac0-1417ac402f33"#012  }#012}'°
Feb 10 20:14:57 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 10 20:14:57 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:14:57 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 5s ago - EXIT
Feb 10 20:15:00 srv4hai smartd[27489]: Device: /dev/sdd [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 107
Feb 10 20:15:01 srv4hai CRON[5426]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:15:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=22.50&id=shellyht-00B358
Feb 10 20:15:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv'
Feb 10 20:15:02 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240210.csv' modifed 10s ago - EXIT
Feb 10 20:15:47 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707592547 - 'ping_SP_0'
Feb 10 20:15:47 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 20:15:58 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Feb 10 20:15:58 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 10 20:15:58 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 10 20:15:58 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.119
Feb 10 20:15:58 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-19
Feb 10 20:15:58 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Feb 10 20:15:58 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#60779/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc3100bcc20 192.168.12.252#47861/key rndc-key: signer "rndc-key" approved
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc3100bcc20 192.168.12.252#47861/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc3100bcc20 192.168.12.252#47861/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc3100bcc20 192.168.12.252#47861/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc3100bcc20 192.168.12.252#47861/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Feb 10 20:15:58 srv4hai dhcpd[5037]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#34245/key rndc-key: signer "rndc-key" approved
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#34245/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Feb 10 20:15:58 srv4hai named[14530]: client @0x7fc328157870 192.168.12.252#34245/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at.
Feb 10 20:15:58 srv4hai dhcpd[5037]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Feb 10 20:15:58 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Feb 10 20:15:59 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-19' - shIP/2:'192.168.12.119'
Feb 10 20:15:59 srv4hai conf_shelly.sh: SHELLY: usage/name 'Fernsehlampe groß' already set for '192.168.12.119'
Feb 10 20:15:59 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping
Feb 10 20:15:59 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping
Feb 10 20:15:59 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping
Feb 10 20:15:59 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping
Feb 10 20:16:00 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 ON : MISSING
Feb 10 20:16:00 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 OFF: MISSING
Feb 10 20:16:01 srv4hai CRON[5587]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 20:16:33 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 10 20:16:33 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Feb 10 20:16:33 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Feb 10 20:16:33 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 10 20:16:33 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc31405bd50 192.168.12.252#50689/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#55387/key rndc-key: signer "rndc-key" approved
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#55387/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#55387/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#55387/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc314083510 192.168.12.252#55387/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 10 20:16:33 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 10 20:16:33 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#59161/key rndc-key: signer "rndc-key" approved
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#59161/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 10 20:16:33 srv4hai named[14530]: client @0x7fc31405af30 192.168.12.252#59161/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
Feb 10 20:16:33 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 10 20:16:33 srv4hai activate_scenario[5602]: SHELLY scenario: 'pcON(pcon)' started
Feb 10 20:16:33 srv4hai activate_scenario[5602]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished