activate_scenario.sh
Tue Dec 17 22:36:55 CET 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> 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/17/_0.log)

vorher: 22:36:55.925

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: 22:36:55.962
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


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

vorher: 22:36:55.938

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: 22:36:55.968
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 22:36:55.906
nachher: 22:36:55.974
Dauer : 68 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/17//scene_buero_UM_20241217_223655.txt'


syslog

Dec 17 22:33:01 srv4hai CRON[18966]: (root) CMD (/etc/linetest/linetest.sh)
Dec 17 22:33:05 srv4hai postfix/smtpd[18959]: connect from unknown[80.94.95.239]
Dec 17 22:33:08 srv4hai postfix/smtpd[18959]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 17 22:33:09 srv4hai postfix/smtpd[18959]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 17 22:33:16 srv4hai named[30406]: resolver priming query complete
Dec 17 22:33:16 srv4hai ping_SP[6417]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734471196 - 'ping_SP_0'
Dec 17 22:33:16 srv4hai ping_SP[6417]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 17 22:33:27 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 17 22:33:27 srv4hai fetchmail[1651]: 59538 messages (59538 seen) for tmiglinci at mail.akis.at (597151127 octets).
Dec 17 22:33:28 srv4hai fetchmail[1651]: 11244 messages (11244 seen) for srozum at mail.akis.at (1347521251 octets).
Dec 17 22:33:28 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 17 22:33:28 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 17 22:33:28 srv4hai fetchmail[1651]: 27906 messages (27906 seen) for mrozum at mail.akis.at (495156825 octets).
Dec 17 22:33:29 srv4hai fetchmail[1651]: 1160 messages (1160 seen) for admin@bastelstube.wien at pop3.world4you.com (52193275 octets).
Dec 17 22:33:31 srv4hai named[30406]: resolver priming query complete
Dec 17 22:33:32 srv4hai named[30406]: resolver priming query complete
Dec 17 22:33:37 srv4hai dhcpd[4995]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Dec 17 22:33:37 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Dec 17 22:33:37 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Dec 17 22:33:37 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.102
Dec 17 22:33:37 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-02
Dec 17 22:33:37 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Dec 17 22:33:37 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#40829/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#41481/key rndc-key: signer "rndc-key" approved
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#41481/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#41481/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#41481/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f932c021730 192.168.12.252#41481/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Dec 17 22:33:37 srv4hai dhcpd[4995]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44355/key rndc-key: signer "rndc-key" approved
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44355/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Dec 17 22:33:37 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#44355/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at.
Dec 17 22:33:37 srv4hai dhcpd[4995]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Dec 17 22:33:37 srv4hai common[19001]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Dec 17 22:33:37 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Dec 17 22:33:38 srv4hai mosquitto[29419]: New connection from 192.168.12.102 on port 1883.
Dec 17 22:33:38 srv4hai mosquitto[29419]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon Licht' already set for '192.168.12.102'
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Dec 17 22:33:38 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Dec 17 22:33:45 srv4hai ping_SP[26131]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734471225 - 'ping_SP_1'
Dec 17 22:33:45 srv4hai ping_SP[26131]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 17 22:34:01 srv4hai CRON[19132]: (root) CMD (/etc/linetest/linetest.sh)
Dec 17 22:34:09 srv4hai named[30406]: resolver priming query complete
Dec 17 22:34:10 srv4hai named[30406]: resolver priming query complete
Dec 17 22:34:11 srv4hai named[30406]: resolver priming query complete
Dec 17 22:34:14 srv4hai named[30406]: resolver priming query complete
Dec 17 22:34:21 srv4hai named[30406]: resolver priming query complete
Dec 17 22:34:23 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 17 22:34:23 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 17 22:34:30 srv4hai ping_SP[6417]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734471270 - 'ping_SP_0'
Dec 17 22:34:30 srv4hai ping_SP[6417]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 17 22:34:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19166, secured, session=
Dec 17 22:34:32 srv4hai dovecot: imap(miglincit)<19166>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 17 22:34:59 srv4hai ping_SP[26131]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734471299 - 'ping_SP_1'
Dec 17 22:34:59 srv4hai ping_SP[26131]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 17 22:35:02 srv4hai CRON[19195]: (root) CMD (/etc/linetest/linetest.sh)
Dec 17 22:35:18 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 17 22:35:18 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 17 22:35:43 srv4hai ping_SP[6417]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1734471343 - 'ping_SP_0'
Dec 17 22:35:43 srv4hai ping_SP[6417]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 17 22:36:01 srv4hai CRON[19231]: (root) CMD (/etc/linetest/linetest.sh)
Dec 17 22:36:10 srv4hai activate_scenario[19243]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Dec 17 22:36:10 srv4hai activate_scenario[19243]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'
Dec 17 22:36:10 srv4hai activate_scenario[19243]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' TO BE EXECUTED, shelly-12:'SZ Licht'
Dec 17 22:36:10 srv4hai postfix/pickup[13965]: C81EF63463: uid=33 from=
Dec 17 22:36:10 srv4hai postfix/cleanup[19296]: C81EF63463: message-id=<20241217213610.C81EF63463@mail.viehai.at>
Dec 17 22:36:10 srv4hai postfix/qmgr[8566]: C81EF63463: from=, size=8357, nrcpt=1 (queue active)
Dec 17 22:36:10 srv4hai postfix/local[19306]: C81EF63463: to=, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Dec 17 22:36:10 srv4hai postfix/cleanup[19296]: D44C563464: message-id=<20241217213610.D44C563464@mail.viehai.at>
Dec 17 22:36:10 srv4hai activate_scenario[19243]: SHELLY: scenario: 'bedlight_tom(bedlight_tom)'-'shelly-07'-'SZ Nachtkästchen Thomas' --> '0?turn=toggle'
Dec 17 22:36:10 srv4hai postfix/bounce[19310]: C81EF63463: sender non-delivery notification: D44C563464
Dec 17 22:36:10 srv4hai postfix/qmgr[8566]: D44C563464: from=<>, size=10236, nrcpt=1 (queue active)
Dec 17 22:36:10 srv4hai postfix/qmgr[8566]: C81EF63463: removed
Dec 17 22:36:10 srv4hai proc_url[19314]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/17/_0.log' - shellyUsage:'SZ Nachtkästchen Thomas' - scUrl:'http://192.168.12.107/relay/0?turn=toggle' - phName:'shelly-12:'SZ Licht''
Dec 17 22:36:10 srv4hai postfix/local[19306]: D44C563464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 17 22:36:10 srv4hai postfix/qmgr[8566]: D44C563464: removed
Dec 17 22:36:10 srv4hai activate_scenario[19243]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' took 96 msec, shelly-12:'SZ Licht'
Dec 17 22:36:12 srv4hai ping_SP[26131]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1734471372 - 'ping_SP_1'
Dec 17 22:36:12 srv4hai ping_SP[26131]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 17 22:36:16 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Dec 17 22:36:16 srv4hai mosquitto[29419]: Socket error on client , disconnecting.
Dec 17 22:36:29 srv4hai postfix/anvil[18961]: statistics: max connection rate 1/60s for (smtp:185.196.10.158) at Dec 17 22:32:50
Dec 17 22:36:29 srv4hai postfix/anvil[18961]: statistics: max connection count 1 for (smtp:185.196.10.158) at Dec 17 22:32:50
Dec 17 22:36:29 srv4hai postfix/anvil[18961]: statistics: max cache size 2 at Dec 17 22:33:05
Dec 17 22:36:55 srv4hai activate_scenario[19375]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec 17 22:36:55 srv4hai activate_scenario[19375]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished