activate_scenario.sh
Sat Nov 30 23:00:33 CET 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2024/11/30/_0.log)

vorher: 23:00:33.942

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

nachher: 23:00:34.026
Dauer: 84 msec phName: 'shelly-12:'SZ Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 23:00:33.889
nachher: 23:00:34.033
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/30//scene_bedlight_tom_20241130_230033.txt'


syslog

Nov 30 22:57:01 srv4hai CRON[28773]: (root) CMD (/etc/linetest/linetest.sh)
Nov 30 22:57:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28780, secured, session=
Nov 30 22:57:06 srv4hai dovecot: imap(miglincit)<28780>: Logged out in=137 out=1089 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Nov 30 22:57:06 srv4hai mosquitto[32087]: Client shelly1-98CDAC2D5A11 has exceeded timeout, disconnecting.
Nov 30 22:57:06 srv4hai mosquitto[32087]: Socket error on client shelly1-98CDAC2D5A11, disconnecting.
Nov 30 22:57:17 srv4hai postfix/anvil[27983]: statistics: max connection rate 1/60s for (smtp:94.141.120.245) at Nov 30 22:53:36
Nov 30 22:57:17 srv4hai postfix/anvil[27983]: statistics: max connection count 1 for (smtp:94.141.120.245) at Nov 30 22:53:36
Nov 30 22:57:17 srv4hai postfix/anvil[27983]: statistics: max cache size 2 at Nov 30 22:53:53
Nov 30 22:57:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Nov 30 22:57:30 srv4hai fetchmail[1651]: 58122 messages (58121 seen) for tmiglinci at mail.akis.at (483013912 octets).
Nov 30 22:57:30 srv4hai postfix/smtpd[28787]: connect from localhost[127.0.0.1]
Nov 30 22:57:30 srv4hai postfix/smtpd[28787]: B42156345A: client=localhost[127.0.0.1]
Nov 30 22:57:30 srv4hai postfix/cleanup[28354]: B42156345A: message-id=<30439066-0b7f-4a67-a258-bea5d1236b2d@web.de>
Nov 30 22:57:30 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:58122 of 58122 (6672 octets) not flushed
Nov 30 22:57:30 srv4hai postfix/qmgr[8566]: B42156345A: from=, size=6953, nrcpt=1 (queue active)
Nov 30 22:57:30 srv4hai postfix/local[28367]: B42156345A: to=, relay=local, delay=0.05, delays=0.05/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Nov 30 22:57:30 srv4hai postfix/qmgr[8566]: B42156345A: removed
Nov 30 22:57:30 srv4hai postfix/smtpd[28787]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Nov 30 22:57:31 srv4hai fetchmail[1651]: 11137 messages (11137 seen) for srozum at mail.akis.at (1340525305 octets).
Nov 30 22:57:31 srv4hai fetchmail[1651]: 27580 messages (27580 seen) for mrozum at mail.akis.at (456713019 octets).
Nov 30 22:57:32 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets).
Nov 30 22:57:33 srv4hai dhcpd[21239]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0
Nov 30 22:57:33 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Nov 30 22:57:33 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Nov 30 22:57:33 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.119
Nov 30 22:57:33 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-19
Nov 30 22:57:33 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0
Nov 30 22:57:33 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#56489/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53871/key rndc-key: signer "rndc-key" approved
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53871/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53871/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8"
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53871/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f933805ba90 192.168.12.252#53871/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119
Nov 30 22:57:33 srv4hai dhcpd[21239]: Added new forward map from shelly-19.viehai.at to 192.168.12.119
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#50567/key rndc-key: signer "rndc-key" approved
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#50567/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR
Nov 30 22:57:33 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#50567/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.
Nov 30 22:57:33 srv4hai dhcpd[21239]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at
Nov 30 22:57:33 srv4hai common[28791]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Nov 30 22:57:33 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf'
Nov 30 22:57:34 srv4hai mosquitto[32087]: New connection from 192.168.12.119 on port 1883.
Nov 30 22:57:34 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-19' - shIP/2:'192.168.12.119'
Nov 30 22:57:34 srv4hai mosquitto[32087]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt').
Nov 30 22:57:34 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Fernsehlampe' already set for '192.168.12.119'
Nov 30 22:57:34 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping
Nov 30 22:57:34 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping
Nov 30 22:57:34 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping
Nov 30 22:57:34 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping
Nov 30 22:57:38 srv4hai ping_SP[21062]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733003858 - 'ping_SP_0'
Nov 30 22:57:38 srv4hai ping_SP[21062]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 30 22:57:45 srv4hai postfix/smtpd[28787]: connect from unknown[80.94.95.239]
Nov 30 22:57:47 srv4hai postfix/smtpd[28787]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Nov 30 22:57:49 srv4hai postfix/smtpd[28787]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Nov 30 22:57:52 srv4hai nmbd[2172]: [2024/11/30 22:57:52.431834,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Nov 30 22:57:52 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Nov 30 22:57:52 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Nov 30 22:57:52 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Nov 30 22:58:01 srv4hai CRON[28908]: (root) CMD (/etc/linetest/linetest.sh)
Nov 30 22:58:04 srv4hai common[28914]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Nov 30 22:58:04 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offDownstairs'
Nov 30 22:58:04 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Nov 30 22:58:05 srv4hai common[28937]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Nov 30 22:58:05 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1733003885-1733003876
Nov 30 22:58:05 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'9'=1733003885-1733003876
Nov 30 22:58:05 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'9'=1733003885-1733003876
Nov 30 22:58:50 srv4hai named[30406]: resolver priming query complete
Nov 30 22:58:52 srv4hai ping_SP[21062]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733003932 - 'ping_SP_0'
Nov 30 22:58:52 srv4hai ping_SP[21062]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 30 22:59:01 srv4hai CRON[29033]: (root) CMD (/etc/linetest/linetest.sh)
Nov 30 22:59:15 srv4hai mosquitto[32087]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Nov 30 23:00:01 srv4hai CRON[29056]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Nov 30 23:00:01 srv4hai CRON[29057]: (root) CMD (/etc/linetest/linetest.sh)
Nov 30 23:00:01 srv4hai common[29058]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Nov 30 23:00:01 srv4hai meter.sh: SHELLY meter.sh started
Nov 30 23:00:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Nov 30 23:00:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Nov 30 23:00:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Nov 30 23:00:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Nov 30 23:00:04 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Nov 30 23:00:04 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Nov 30 23:00:04 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Nov 30 23:00:05 srv4hai ping_SP[21062]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733004005 - 'ping_SP_0'
Nov 30 23:00:05 srv4hai ping_SP[21062]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Nov 30 23:00:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29805, secured, session=<6XMucCgoCuUAAAAAAAAAAAAAAAAAAAAB>
Nov 30 23:00:06 srv4hai dovecot: imap(miglincit)<29805><6XMucCgoCuUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=373 out=42941 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=15447 body_count=0 body_bytes=0
Nov 30 23:00:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Nov 30 23:00:10 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Nov 30 23:00:13 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Nov 30 23:00:13 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Nov 30 23:00:13 srv4hai common[30053]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Nov 30 23:00:13 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offDownstairs'
Nov 30 23:00:13 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Nov 30 23:00:13 srv4hai meter.sh: SHELLY meter.sh ended
Nov 30 23:00:33 srv4hai activate_scenario[30078]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Nov 30 23:00:33 srv4hai activate_scenario[30078]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished