activate_scenario.sh
Tue Dec 24 16:59:23 CET 2024
scenario: sekr_UM
source: 192.168.12.110

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

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2024/12/24/_0.log)

vorher: 16:59:23.109

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

nachher: 16:59:23.197
Dauer: 87 msec phName: 'shelly-10:'WZ Licht Bücherregal''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 16:59:23.083
nachher: 16:59:23.203
Dauer : 120 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/24//scene_sekr_UM_20241224_165923.txt'


syslog

Dec 24 16:56:01 srv4hai CRON[16131]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 16:56:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16137, secured, session=
Dec 24 16:56:07 srv4hai dovecot: imap(rozumm)<16137>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 16:56:42 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:56:42 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:56:42 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 24 16:56:42 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Dec 24 16:56:42 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Dec 24 16:56:42 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:56:42 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#40705/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#33487/key rndc-key: signer "rndc-key" approved
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#33487/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#33487/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#33487/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f932c0c3e90 192.168.12.252#33487/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Dec 24 16:56:42 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#49163/key rndc-key: signer "rndc-key" approved
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#49163/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Dec 24 16:56:42 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#49163/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Dec 24 16:56:42 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Dec 24 16:56:42 srv4hai common[16155]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 24 16:56:42 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Dec 24 16:56:43 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Dec 24 16:56:43 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Dec 24 16:56:43 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Dec 24 16:56:43 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Dec 24 16:56:43 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Dec 24 16:57:01 srv4hai CRON[16265]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 16:57:03 srv4hai postfix/smtpd[16271]: connect from unknown[80.94.95.239]
Dec 24 16:57:06 srv4hai postfix/smtpd[16271]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 24 16:57:07 srv4hai postfix/smtpd[16271]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 24 16:57:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16277, secured, session=
Dec 24 16:57:07 srv4hai dovecot: imap(rozumm)<16277>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 16:57:08 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:57:08 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:57:08 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 24 16:57:08 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Dec 24 16:57:08 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Dec 24 16:57:08 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:57:08 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#40279/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#42825/key rndc-key: signer "rndc-key" approved
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#42825/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#42825/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#42825/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#42825/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Dec 24 16:57:08 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#43897/key rndc-key: signer "rndc-key" approved
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#43897/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Dec 24 16:57:08 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#43897/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Dec 24 16:57:08 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Dec 24 16:57:08 srv4hai common[16279]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 24 16:57:08 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Dec 24 16:57:09 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Dec 24 16:57:09 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Dec 24 16:57:09 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Dec 24 16:57:09 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Dec 24 16:57:09 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Dec 24 16:58:01 srv4hai CRON[16402]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 16:58:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16411, secured, session=
Dec 24 16:58:07 srv4hai dovecot: imap(rozumm)<16411>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 16:58:08 srv4hai nmbd[2172]: [2024/12/24 16:58:08.656939,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Dec 24 16:58:08 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Dec 24 16:58:08 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Dec 24 16:58:08 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Dec 24 16:58:16 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:db:84:d2:3b:46 via enp2s0
Dec 24 16:58:16 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.106 to e8:db:84:d2:3b:46 via enp2s0
Dec 24 16:58:16 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 24 16:58:16 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.106
Dec 24 16:58:16 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-06
Dec 24 16:58:16 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.106 (192.168.12.252) from e8:db:84:d2:3b:46 via enp2s0
Dec 24 16:58:16 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.106 to e8:db:84:d2:3b:46 via enp2s0
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#60057/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-06.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#47445/key rndc-key: signer "rndc-key" approved
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#47445/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-06.viehai.at' TXT
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#47445/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-06.viehai.at' TXT "00e5b4e36e36fc00550f574d5b1f0bfd3e"
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#47445/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-06.viehai.at' A
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#47445/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-06.viehai.at' A 192.168.12.106
Dec 24 16:58:16 srv4hai dhcpd[4995]: Added new forward map from shelly-06.viehai.at to 192.168.12.106
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#36335/key rndc-key: signer "rndc-key" approved
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#36335/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '106.12.168.192.in-addr.arpa' PTR
Dec 24 16:58:16 srv4hai named[30406]: client @0x7f93300df020 192.168.12.252#36335/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '106.12.168.192.in-addr.arpa' PTR shelly-06.viehai.at.
Dec 24 16:58:16 srv4hai dhcpd[4995]: Added reverse map from 106.12.168.192.in-addr.arpa. to shelly-06.viehai.at
Dec 24 16:58:16 srv4hai common[16415]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 24 16:58:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-06' - shIP/2:'' perform:'conf'
Dec 24 16:58:17 srv4hai mosquitto[29419]: New connection from 192.168.12.106 on port 1883.
Dec 24 16:58:17 srv4hai mosquitto[29419]: Client shelly1-E8DB84D23B46 already connected, closing old connection.
Dec 24 16:58:17 srv4hai mosquitto[29419]: Socket error on client shelly1-E8DB84D23B46, disconnecting.
Dec 24 16:58:17 srv4hai mosquitto[29419]: New client connected from 192.168.12.106 as shelly1-E8DB84D23B46 (c1, k60, u'shmqtt').
Dec 24 16:58:17 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-06' - shIP/2:'192.168.12.106'
Dec 24 16:58:17 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Fernsehlampe klein' already set for '192.168.12.106'
Dec 24 16:58:17 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(0)' - allready transmitted - skipping
Dec 24 16:58:17 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(1)' - allready transmitted - skipping
Dec 24 16:58:17 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(2)' - allready transmitted - skipping
Dec 24 16:58:17 srv4hai conf_shelly.sh: SHELLY:'shelly-06' 'conf(3)' - allready transmitted - skipping
Dec 24 16:58:40 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA has exceeded timeout, disconnecting.
Dec 24 16:58:40 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Dec 24 16:59:01 srv4hai CRON[16523]: (root) CMD (/etc/linetest/linetest.sh)
Dec 24 16:59:07 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16531, secured, session=<31NoMQYqTpEAAAAAAAAAAAAAAAAAAAAB>
Dec 24 16:59:07 srv4hai dovecot: imap(rozumm)<16531><31NoMQYqTpEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1062 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 24 16:59:23 srv4hai activate_scenario[16538]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Dec 24 16:59:23 srv4hai activate_scenario[16538]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-10:'WZ Licht Bücherregal'

finished