activate_scenario.sh
Wed Jul 3 20:11:40 CEST 2024
scenario: pcOFF
source: 192.168.12.10

'day' <--> 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/07/03/_0.log)

vorher: 20:11:40.126

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:11:40.153
Dauer: 27 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 20:11:40.098
nachher: 20:11:40.160
Dauer : 61 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/03//scene_pcOFF_20240703_201140.txt'


syslog

Jul  3 20:08:01 srv4hai CRON[13157]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 20:08:16 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720030096 - 'ping_SP_1'
Jul  3 20:08:16 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  3 20:08:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13182, secured, session=
Jul  3 20:08:17 srv4hai dovecot: imap(miglincit)<13182>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  3 20:08:48 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720030128 - 'ping_SP_0'
Jul  3 20:08:48 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  3 20:09:01 srv4hai CRON[13207]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul  3 20:09:01 srv4hai CRON[13208]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 20:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul  3 20:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul  3 20:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul  3 20:09:30 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720030170 - 'ping_SP_1'
Jul  3 20:09:30 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  3 20:10:01 srv4hai CRON[13337]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul  3 20:10:01 srv4hai CRON[13338]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 20:10:01 srv4hai common[13340]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul  3 20:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul  3 20:10:01 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720030201 - 'ping_SP_0'
Jul  3 20:10:01 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  3 20:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul  3 20:10:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul  3 20:10:05 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  3 20:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul  3 20:10:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul  3 20:10:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul  3 20:10:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul  3 20:10:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul  3 20:10:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  3 20:10:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  3 20:10:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul  3 20:10:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul  3 20:10:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul  3 20:10:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul  3 20:10:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul  3 20:10:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul  3 20:10:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul  3 20:10:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  3 20:10:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul  3 20:10:19 srv4hai common[14239]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul  3 20:10:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Jul  3 20:10:19 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Jul  3 20:10:19 srv4hai meter.sh: SHELLY meter.sh ended
Jul  3 20:10:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  3 20:10:26 srv4hai fetchmail[1651]: 47930 messages (47928 seen) for tmiglinci at mail.akis.at (-335651755 octets).
Jul  3 20:10:26 srv4hai postfix/smtpd[14264]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  3 20:10:26 srv4hai postfix/smtpd[14264]: connect from localhost[127.0.0.1]
Jul  3 20:10:26 srv4hai postfix/smtpd[14264]: 0D80F6004E: client=localhost[127.0.0.1]
Jul  3 20:10:26 srv4hai postfix/cleanup[14267]: 0D80F6004E: message-id=<1943691779556517@s12i18.newsletterversand.info>
Jul  3 20:10:26 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47929 of 47930 (46919 octets) not flushed
Jul  3 20:10:26 srv4hai postfix/qmgr[8566]: 0D80F6004E: from=, size=47175, nrcpt=1 (queue active)
Jul  3 20:10:26 srv4hai postfix/local[14268]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  3 20:10:26 srv4hai postfix/local[14268]: 0D80F6004E: to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  3 20:10:26 srv4hai postfix/qmgr[8566]: 0D80F6004E: removed
Jul  3 20:10:26 srv4hai postfix/smtpd[14264]: 1F7C96004E: client=localhost[127.0.0.1]
Jul  3 20:10:26 srv4hai postfix/cleanup[14267]: 1F7C96004E: message-id=<2634b4edc94445598a7de2a99046dea1@1069047711>
Jul  3 20:10:26 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47930 of 47930 (27772 octets) not flushed
Jul  3 20:10:26 srv4hai postfix/qmgr[8566]: 1F7C96004E: from=, size=28056, nrcpt=1 (queue active)
Jul  3 20:10:26 srv4hai postfix/local[14268]: 1F7C96004E: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  3 20:10:26 srv4hai postfix/qmgr[8566]: 1F7C96004E: removed
Jul  3 20:10:26 srv4hai postfix/smtpd[14264]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Jul  3 20:10:26 srv4hai fetchmail[1651]: 10398 messages (10398 seen) for srozum at mail.akis.at (1249685639 octets).
Jul  3 20:10:27 srv4hai fetchmail[1651]: 24531 messages (24531 seen) for mrozum at mail.akis.at (205117 octets).
Jul  3 20:10:27 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets).
Jul  3 20:10:43 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720030243 - 'ping_SP_1'
Jul  3 20:10:43 srv4hai ping_SP[16516]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  3 20:11:01 srv4hai CRON[14299]: (root) CMD (/etc/linetest/linetest.sh)
Jul  3 20:11:10 srv4hai nmbd[2172]: [2024/07/03 20:11:10.995426,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jul  3 20:11:10 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jul  3 20:11:10 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jul  3 20:11:10 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jul  3 20:11:14 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720030274 - 'ping_SP_0'
Jul  3 20:11:14 srv4hai ping_SP[24984]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  3 20:11:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14329, secured, session=
Jul  3 20:11:17 srv4hai dovecot: imap(miglincit)<14329>: Logged out in=828 out=60685 deleted=0 expunged=0 trashed=0 hdr_count=67 hdr_bytes=30710 body_count=0 body_bytes=0
Jul  3 20:11:27 srv4hai cp2usb.sh: CP2USB - START @ Wed Jul  3 20:11:27 CEST 2024
Jul  3 20:11:27 srv4hai cp2usb.sh: CP2USB - params DEVNAME:'/dev/sdd1' ACTION:'change'
Jul  3 20:11:27 srv4hai cp2usb.sh: CP2USB - ENDED due to 'change' @ Wed Jul  3 20:11:27 CEST 2024
Jul  3 20:11:27 srv4hai systemd-udevd[14383]: Process '/etc/bup/cp2usb.sh sdd1' failed with exit code 1.
Jul  3 20:11:37 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  3 20:11:37 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Jul  3 20:11:37 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jul  3 20:11:37 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  3 20:11:37 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jul  3 20:11:37 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Jul  3 20:11:37 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Jul  3 20:11:37 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Jul  3 20:11:37 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#48561/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#49343/key rndc-key: signer "rndc-key" approved
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#49343/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#49343/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#49343/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#49343/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Jul  3 20:11:37 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#54577/key rndc-key: signer "rndc-key" approved
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#54577/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Jul  3 20:11:37 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#54577/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  3 20:11:37 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Jul  3 20:11:37 srv4hai common[14476]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jul  3 20:11:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Jul  3 20:11:37 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Jul  3 20:11:37 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Jul  3 20:11:37 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Jul  3 20:11:37 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Jul  3 20:11:37 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Jul  3 20:11:37 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Jul  3 20:11:37 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Jul  3 20:11:40 srv4hai activate_scenario[14509]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul  3 20:11:40 srv4hai activate_scenario[14509]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished