activate_scenario.sh
Thu Feb 6 19:23:41 CET 2025
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'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/06/_0.log)

vorher: 19:23:41.741

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: 19:23:41.771
Dauer: 29 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 19:23:41.712
nachher: 19:23:41.778
Dauer : 66 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/06//scene_pcON_20250206_192341.txt'


syslog

Feb  6 19:20:00 srv4hai common[2580]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:20:01 srv4hai CRON[2606]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 19:20:01 srv4hai CRON[2607]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  6 19:20:01 srv4hai common[2609]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb  6 19:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  6 19:20:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb  6 19:20:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb  6 19:20:08 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  6 19:20:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb  6 19:20:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb  6 19:20:09 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb  6 19:20:09 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb  6 19:20:09 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb  6 19:20:13 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb  6 19:20:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb  6 19:20:19 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  6 19:20:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb  6 19:20:22 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  6 19:20:22 srv4hai common[3627]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb  6 19:20:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Feb  6 19:20:22 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Feb  6 19:20:22 srv4hai meter.sh: SHELLY meter.sh ended
Feb  6 19:20:25 srv4hai ping_SP[32560]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738866025 - 'ping_SP_0'
Feb  6 19:20:25 srv4hai ping_SP[32560]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 19:20:39 srv4hai common[3671]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:20:39 srv4hai common[3695]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:20:48 srv4hai named[30406]: lame server resolving '167.127.10.116.in-addr.arpa' (in '10.116.in-addr.arpa'?): 202.103.224.69#53
Feb  6 19:20:49 srv4hai named[30406]: lame server resolving '167.127.10.116.in-addr.arpa' (in '10.116.in-addr.arpa'?): 202.103.225.70#53
Feb  6 19:20:49 srv4hai postfix/smtpd[1439]: connect from unknown[116.10.127.167]
Feb  6 19:20:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3728, secured, session=<1mp5TX0tmsgAAAAAAAAAAAAAAAAAAAAB>
Feb  6 19:20:54 srv4hai dovecot: imap(miglincit)<3728><1mp5TX0tmsgAAAAAAAAAAAAAAAAAAAAB>: 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  6 19:20:56 srv4hai postfix/smtpd[1439]: warning: unknown[116.10.127.167]: SASL PLAIN authentication failed: 
Feb  6 19:20:56 srv4hai postfix/smtpd[1439]: lost connection after AUTH from unknown[116.10.127.167]
Feb  6 19:20:56 srv4hai postfix/smtpd[1439]: disconnect from unknown[116.10.127.167] ehlo=1 auth=0/1 commands=1/2
Feb  6 19:21:00 srv4hai common[3735]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:21:00 srv4hai common[3760]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:21:00 srv4hai common[3784]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:21:01 srv4hai CRON[3809]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 19:21:03 srv4hai postfix/smtpd[3814]: connect from unknown[183.220.65.21]
Feb  6 19:21:05 srv4hai named[30406]: REFUSED unexpected RCODE resolving '96.214.48.111.in-addr.arpa/PTR/IN': 120.202.254.126#53
Feb  6 19:21:05 srv4hai named[30406]: REFUSED unexpected RCODE resolving '96.214.48.111.in-addr.arpa/PTR/IN': 120.202.254.62#53
Feb  6 19:21:05 srv4hai postfix/smtpd[1439]: connect from unknown[111.48.214.96]
Feb  6 19:21:05 srv4hai postfix/smtpd[1439]: lost connection after CONNECT from unknown[111.48.214.96]
Feb  6 19:21:05 srv4hai postfix/smtpd[1439]: disconnect from unknown[111.48.214.96] commands=0/0
Feb  6 19:21:12 srv4hai postfix/smtpd[3814]: warning: unknown[183.220.65.21]: SASL PLAIN authentication failed: 
Feb  6 19:21:13 srv4hai postfix/smtpd[3814]: lost connection after AUTH from unknown[183.220.65.21]
Feb  6 19:21:13 srv4hai postfix/smtpd[3814]: disconnect from unknown[183.220.65.21] ehlo=1 auth=0/1 commands=1/2
Feb  6 19:21:21 srv4hai named[30406]: lame server resolving '102.177.197.220.in-addr.arpa' (in '177.197.220.in-addr.arpa'?): 202.96.0.133#53
Feb  6 19:21:21 srv4hai named[30406]: lame server resolving '102.177.197.220.in-addr.arpa' (in '177.197.220.in-addr.arpa'?): 202.106.196.28#53
Feb  6 19:21:22 srv4hai postfix/smtpd[1439]: connect from unknown[220.197.177.102]
Feb  6 19:21:22 srv4hai postfix/smtpd[1439]: lost connection after CONNECT from unknown[220.197.177.102]
Feb  6 19:21:22 srv4hai postfix/smtpd[1439]: disconnect from unknown[220.197.177.102] commands=0/0
Feb  6 19:21:25 srv4hai postfix/smtpd[3814]: connect from unknown[46.73.186.178]
Feb  6 19:21:31 srv4hai postfix/smtpd[3814]: warning: unknown[46.73.186.178]: SASL PLAIN authentication failed: 
Feb  6 19:21:31 srv4hai postfix/smtpd[3814]: lost connection after AUTH from unknown[46.73.186.178]
Feb  6 19:21:31 srv4hai postfix/smtpd[3814]: disconnect from unknown[46.73.186.178] ehlo=1 auth=0/1 commands=1/2
Feb  6 19:21:33 srv4hai postfix/smtpd[1439]: connect from 111-70-21-171.emome-ip.hinet.net[111.70.21.171]
Feb  6 19:21:38 srv4hai ping_SP[32560]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738866098 - 'ping_SP_0'
Feb  6 19:21:38 srv4hai ping_SP[32560]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 19:21:39 srv4hai common[3851]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:21:39 srv4hai common[3875]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:21:40 srv4hai postfix/smtpd[1439]: warning: 111-70-21-171.emome-ip.hinet.net[111.70.21.171]: SASL PLAIN authentication failed: 
Feb  6 19:21:40 srv4hai postfix/smtpd[1439]: lost connection after AUTH from 111-70-21-171.emome-ip.hinet.net[111.70.21.171]
Feb  6 19:21:40 srv4hai postfix/smtpd[1439]: disconnect from 111-70-21-171.emome-ip.hinet.net[111.70.21.171] ehlo=1 auth=0/1 commands=1/2
Feb  6 19:21:44 srv4hai common[3902]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb  6 19:21:54 srv4hai bt_scan[3902]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Feb  6 19:21:54 srv4hai bt_scan[3902]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb  6 19:21:54 srv4hai common[3938]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb  6 19:21:55 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1738866115-1738866105
Feb  6 19:21:55 srv4hai check_presence[3938]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Feb  6 19:21:55 srv4hai check_presence[3938]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Feb  6 19:21:55 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1738866115-1738866105
Feb  6 19:21:55 srv4hai check_presence[3938]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Feb  6 19:21:55 srv4hai check_presence[3938]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  6 19:21:55 srv4hai check_presence[3938]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll)
Feb  6 19:21:55 srv4hai check_presence[3938]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb  6 19:22:00 srv4hai common[4053]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:22:00 srv4hai common[4077]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:22:00 srv4hai common[4101]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:22:01 srv4hai CRON[4126]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 19:22:39 srv4hai common[4155]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:22:39 srv4hai common[4179]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:22:51 srv4hai ping_SP[32560]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1738866171 - 'ping_SP_0'
Feb  6 19:22:51 srv4hai ping_SP[32560]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  6 19:22:59 srv4hai common[4231]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:22:59 srv4hai common[4255]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:23:00 srv4hai common[4290]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:23:00 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  6 19:23:01 srv4hai fetchmail[1651]: 63086 messages (63086 seen) for tmiglinci at mail.akis.at (881817985 octets).
Feb  6 19:23:01 srv4hai CRON[4315]: (root) CMD (/etc/linetest/linetest.sh)
Feb  6 19:23:01 srv4hai fetchmail[1651]: 11506 messages (11506 seen) for srozum at mail.akis.at (1367438640 octets).
Feb  6 19:23:02 srv4hai fetchmail[1651]: 28778 messages (28778 seen) for mrozum at mail.akis.at (629576848 octets).
Feb  6 19:23:03 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb  6 19:23:24 srv4hai postfix/smtpd[4331]: connect from unknown[45.144.212.200]
Feb  6 19:23:24 srv4hai postfix/smtpd[4331]: warning: unknown[45.144.212.200]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb  6 19:23:24 srv4hai postfix/smtpd[4331]: lost connection after AUTH from unknown[45.144.212.200]
Feb  6 19:23:24 srv4hai postfix/smtpd[4331]: disconnect from unknown[45.144.212.200] ehlo=1 auth=0/1 commands=1/2
Feb  6 19:23:39 srv4hai common[4342]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:23:39 srv4hai common[4366]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb  6 19:23:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb  6 19:23:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.10
Feb  6 19:23:41 srv4hai dhcpd[4995]: execute_statement argv[2] = pchai7x
Feb  6 19:23:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb  6 19:23:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f931005c050 192.168.12.252#47573/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#57293/key rndc-key: signer "rndc-key" approved
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#57293/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#57293/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#57293/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#57293/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb  6 19:23:41 srv4hai dhcpd[4995]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb  6 19:23:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59987/key rndc-key: signer "rndc-key" approved
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59987/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb  6 19:23:41 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#59987/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  6 19:23:41 srv4hai dhcpd[4995]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb  6 19:23:41 srv4hai activate_scenario[4396]: SHELLY scenario: 'pcON(pcon)' started
Feb  6 19:23:41 srv4hai activate_scenario[4396]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished