activate_scenario.sh
Sun Dec 29 09:07:27 CET 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'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/29/_0.log)

vorher: 09:07:27.583

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

nachher: 09:07:27.620
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/29/_1.log)

vorher: 09:07:27.602

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

nachher: 09:07:27.645
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 09:07:27.534
nachher: 09:07:27.652
Dauer : 119 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/29//scene_buero_UM_20241229_090727.txt'


syslog

Dec 29 09:04:01 srv4hai CRON[620]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 09:04:10 srv4hai ping_SP[19263]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735459450 - 'ping_SP_1'
Dec 29 09:04:10 srv4hai ping_SP[19263]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 29 09:04:47 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735459487 - 'ping_SP_0'
Dec 29 09:04:47 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 29 09:05:01 srv4hai CRON[671]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 09:05:23 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Dec 29 09:05:23 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 29 09:05:23 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 29 09:05:23 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Dec 29 09:05:23 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Dec 29 09:05:23 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Dec 29 09:05:23 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#57939/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#51221/key rndc-key: signer "rndc-key" approved
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#51221/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#51221/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#51221/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#51221/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Dec 29 09:05:23 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#49635/key rndc-key: signer "rndc-key" approved
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#49635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Dec 29 09:05:23 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#49635/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 29 09:05:23 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Dec 29 09:05:23 srv4hai common[685]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 29 09:05:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Dec 29 09:05:24 srv4hai ping_SP[19263]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735459524 - 'ping_SP_1'
Dec 29 09:05:24 srv4hai ping_SP[19263]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 29 09:05:24 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Dec 29 09:05:24 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Dec 29 09:05:24 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Dec 29 09:05:24 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Dec 29 09:05:24 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Dec 29 09:05:34 srv4hai postfix/smtpd[814]: connect from unknown[178.215.236.158]
Dec 29 09:05:34 srv4hai postfix/smtpd[814]: warning: unknown[178.215.236.158]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 29 09:05:34 srv4hai postfix/smtpd[814]: disconnect from unknown[178.215.236.158] ehlo=1 auth=0/1 quit=1 commands=2/3
Dec 29 09:06:00 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735459560 - 'ping_SP_0'
Dec 29 09:06:00 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 29 09:06:01 srv4hai CRON[848]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 09:06:22 srv4hai postfix/smtpd[814]: connect from unknown[80.94.95.239]
Dec 29 09:06:25 srv4hai postfix/smtpd[814]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 29 09:06:26 srv4hai postfix/smtpd[814]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 29 09:06:37 srv4hai ping_SP[19263]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735459597 - 'ping_SP_1'
Dec 29 09:06:37 srv4hai ping_SP[19263]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 29 09:06:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 29 09:06:55 srv4hai fetchmail[1651]: 60334 messages (60333 seen) for tmiglinci at mail.akis.at (661649908 octets).
Dec 29 09:06:55 srv4hai postfix/smtpd[814]: connect from localhost[127.0.0.1]
Dec 29 09:06:55 srv4hai postfix/smtpd[814]: 473BD631BE: client=localhost[127.0.0.1]
Dec 29 09:06:55 srv4hai postfix/cleanup[880]: 473BD631BE: message-id=
Dec 29 09:06:55 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:60334 of 60334 (303176 octets) not flushed
Dec 29 09:06:55 srv4hai postfix/qmgr[8566]: 473BD631BE: from=, size=303449, nrcpt=1 (queue active)
Dec 29 09:06:55 srv4hai postfix/smtpd[814]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 29 09:06:55 srv4hai postfix/local[881]: 473BD631BE: to=, relay=local, delay=0.21, delays=0.17/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 29 09:06:55 srv4hai postfix/qmgr[8566]: 473BD631BE: removed
Dec 29 09:06:55 srv4hai fetchmail[1651]: 11304 messages (11304 seen) for srozum at mail.akis.at (1353375925 octets).
Dec 29 09:06:56 srv4hai fetchmail[1651]: 28087 messages (28086 seen) for mrozum at mail.akis.at (525894411 octets).
Dec 29 09:06:56 srv4hai postfix/smtpd[814]: connect from localhost[127.0.0.1]
Dec 29 09:06:56 srv4hai postfix/smtpd[814]: A2AEB631BE: client=localhost[127.0.0.1]
Dec 29 09:06:56 srv4hai postfix/cleanup[880]: A2AEB631BE: message-id=
Dec 29 09:06:56 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28087 of 28087 (303478 octets) not flushed
Dec 29 09:06:56 srv4hai postfix/qmgr[8566]: A2AEB631BE: from=, size=303746, nrcpt=1 (queue active)
Dec 29 09:06:56 srv4hai postfix/smtpd[814]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 29 09:06:56 srv4hai postfix/local[881]: A2AEB631BE: to=, relay=local, delay=0.17, delays=0.15/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 29 09:06:56 srv4hai postfix/qmgr[8566]: A2AEB631BE: removed
Dec 29 09:06:57 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Dec 29 09:07:01 srv4hai CRON[890]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 09:07:13 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735459633 - 'ping_SP_0'
Dec 29 09:07:13 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 29 09:07:24 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA has exceeded timeout, disconnecting.
Dec 29 09:07:24 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Dec 29 09:07:27 srv4hai activate_scenario[914]: SHELLY last scenario: 'vorraumOn' @ '080711' from 'scene_vorraumOn_20241229_080711.txt' - delta=-16
Dec 29 09:07:27 srv4hai activate_scenario[914]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241229090727 20241229080711  -f '%S'
Dec 29 09:07:27 srv4hai activate_scenario[914]: SHELLY  new scenario: 'buero_UM' different - GO ON
Dec 29 09:07:27 srv4hai activate_scenario[914]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec 29 09:07:27 srv4hai activate_scenario[914]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished