activate_scenario.sh
Thu Jul 18 16:59:24 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_0.log)

vorher: 16:59:24.349

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

nachher: 16:59:24.549
Dauer: 200 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/18/_1.log)

vorher: 16:59:24.364

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

nachher: 16:59:24.399
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 16:59:24.325
nachher: 16:59:24.557
Dauer : 232 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/18//scene_buero_UM_20240718_165924.txt'


syslog

Jul 18 16:56:01 srv4hai CRON[25411]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 16:56:18 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721314578 - 'ping_SP_0'
Jul 18 16:56:18 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 16:56:21 srv4hai nmbd[2172]: [2024/07/18 16:56:21.520153,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul 18 16:56:21 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul 18 16:56:21 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul 18 16:56:21 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul 18 16:57:02 srv4hai CRON[25443]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 16:57:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 18 16:57:11 srv4hai fetchmail[1651]: 48944 messages (48943 seen) for tmiglinci at mail.akis.at (-241302094 octets).
Jul 18 16:57:11 srv4hai postfix/smtpd[25451]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 18 16:57:11 srv4hai postfix/smtpd[25451]: connect from localhost[127.0.0.1]
Jul 18 16:57:11 srv4hai postfix/smtpd[25451]: 14BEC6004E: client=localhost[127.0.0.1]
Jul 18 16:57:11 srv4hai postfix/cleanup[25454]: 14BEC6004E: message-id=
Jul 18 16:57:11 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:48944 of 48944 (90344 octets) not flushed
Jul 18 16:57:11 srv4hai postfix/qmgr[8566]: 14BEC6004E: from=, size=90588, nrcpt=1 (queue active)
Jul 18 16:57:11 srv4hai postfix/smtpd[25451]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 18 16:57:11 srv4hai postfix/local[25455]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 18 16:57:11 srv4hai postfix/local[25455]: 14BEC6004E: to=, relay=local, delay=0.11, delays=0.07/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 18 16:57:11 srv4hai postfix/qmgr[8566]: 14BEC6004E: removed
Jul 18 16:57:11 srv4hai fetchmail[1651]: 10470 messages (10470 seen) for srozum at mail.akis.at (1261120320 octets).
Jul 18 16:57:12 srv4hai fetchmail[1651]: 24815 messages (24815 seen) for mrozum at mail.akis.at (44361018 octets).
Jul 18 16:57:12 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 18 16:57:24 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jul 18 16:57:24 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Jul 18 16:57:24 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jul 18 16:57:24 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jul 18 16:57:24 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul 18 16:57:24 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Jul 18 16:57:24 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Jul 18 16:57:24 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Jul 18 16:57:24 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#40347/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#57631/key rndc-key: signer "rndc-key" approved
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#57631/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#57631/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#57631/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#57631/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Jul 18 16:57:24 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#52135/key rndc-key: signer "rndc-key" approved
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#52135/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Jul 18 16:57:24 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#52135/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Jul 18 16:57:24 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Jul 18 16:57:24 srv4hai common[25468]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul 18 16:57:24 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Jul 18 16:57:25 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Jul 18 16:57:25 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Jul 18 16:57:25 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Jul 18 16:57:25 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Jul 18 16:57:25 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Jul 18 16:57:25 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Jul 18 16:57:25 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Jul 18 16:57:31 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721314651 - 'ping_SP_0'
Jul 18 16:57:31 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 16:57:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25535, secured, session=
Jul 18 16:57:41 srv4hai dovecot: imap(miglincit)<25535>: Logged out in=772 out=55158 deleted=0 expunged=0 trashed=0 hdr_count=60 hdr_bytes=26613 body_count=0 body_bytes=0
Jul 18 16:58:01 srv4hai CRON[25541]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 16:58:20 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25550, secured, session=
Jul 18 16:58:21 srv4hai dovecot: imap(miglincit)<25550>: Logged out in=772 out=55143 deleted=0 expunged=0 trashed=0 hdr_count=60 hdr_bytes=26613 body_count=0 body_bytes=0
Jul 18 16:58:44 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721314724 - 'ping_SP_0'
Jul 18 16:58:44 srv4hai ping_SP[11962]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 18 16:59:01 srv4hai CRON[25581]: (root) CMD (/etc/linetest/linetest.sh)
Jul 18 16:59:24 srv4hai activate_scenario[25592]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 18 16:59:24 srv4hai activate_scenario[25592]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished