activate_scenario.sh
Sun Feb 16 22:35:46 CET 2025
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/2025/02/16/_0.log)

vorher: 22:35:46.913

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:35:46.942
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/16/_1.log)

vorher: 22:35:46.931

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:35:47.000
Dauer: 69 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 22:35:46.888
nachher: 22:35:47.007
Dauer : 118 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/16//scene_buero_UM_20250216_223546.txt'


syslog

Feb 16 22:32:00 srv4hai common[22621]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:32:01 srv4hai CRON[22646]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 22:32:23 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739741543 - 'ping_SP_0'
Feb 16 22:32:23 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 22:32:28 srv4hai dhcpd[4995]: DHCPDISCOVER from 44:17:93:a5:8a:e4 via enp2s0
Feb 16 22:32:28 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 16 22:32:28 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 16 22:32:28 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.147
Feb 16 22:32:28 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-47
Feb 16 22:32:28 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.147 (192.168.12.252) from 44:17:93:a5:8a:e4 via enp2s0
Feb 16 22:32:28 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.147 to 44:17:93:a5:8a:e4 via enp2s0
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#44053/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-47.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#57455/key rndc-key: signer "rndc-key" approved
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#57455/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' TXT
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#57455/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' TXT "31f97534415d36e3a13ec57b0310c0867f"
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#57455/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-47.viehai.at' A
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#57455/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-47.viehai.at' A 192.168.12.147
Feb 16 22:32:28 srv4hai dhcpd[4995]: Added new forward map from shelly-47.viehai.at to 192.168.12.147
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#45639/key rndc-key: signer "rndc-key" approved
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#45639/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '147.12.168.192.in-addr.arpa' PTR
Feb 16 22:32:28 srv4hai named[30406]: client @0x7f933010ba20 192.168.12.252#45639/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '147.12.168.192.in-addr.arpa' PTR shelly-47.viehai.at.
Feb 16 22:32:28 srv4hai dhcpd[4995]: Added reverse map from 147.12.168.192.in-addr.arpa. to shelly-47.viehai.at
Feb 16 22:32:28 srv4hai common[22676]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 16 22:32:28 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-47' - shIP/2:'' perform:'conf'
Feb 16 22:32:29 srv4hai mosquitto[29419]: New connection from 192.168.12.147 on port 1883.
Feb 16 22:32:29 srv4hai mosquitto[29419]: Client shellyplus1-441793a58ae4 already connected, closing old connection.
Feb 16 22:32:29 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 16 22:32:29 srv4hai mosquitto[29419]: New client connected from 192.168.12.147 as shellyplus1-441793a58ae4 (c1, k60, u'shmqtt').
Feb 16 22:32:29 srv4hai common[22688]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:32:29 srv4hai common[22712]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:32:29 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-47' - shIP/2:'192.168.12.147'
Feb 16 22:32:29 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe links' already set for '192.168.12.147'
Feb 16 22:32:29 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(0)' - allready transmitted - skipping
Feb 16 22:32:29 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(1)' - allready transmitted - skipping
Feb 16 22:32:29 srv4hai conf_shelly.sh: SHELLY:'shelly-47' 'conf(2)' - allready transmitted - skipping
Feb 16 22:32:40 srv4hai common[22809]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:32:41 srv4hai common[22833]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:32:55 srv4hai postfix/smtpd[22860]: warning: hostname ip-49-234.4vendeta.com does not resolve to address 79.124.49.234: Name or service not known
Feb 16 22:32:55 srv4hai postfix/smtpd[22860]: connect from unknown[79.124.49.234]
Feb 16 22:32:59 srv4hai postfix/smtpd[22860]: warning: unknown[79.124.49.234]: SASL PLAIN authentication failed: 
Feb 16 22:32:59 srv4hai postfix/smtpd[22860]: disconnect from unknown[79.124.49.234] ehlo=2 starttls=1 auth=0/1 quit=1 unknown=0/1 commands=4/6
Feb 16 22:33:00 srv4hai common[22863]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:33:00 srv4hai common[22887]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:33:00 srv4hai common[22911]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:33:01 srv4hai CRON[22937]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 22:33:32 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 16 22:33:33 srv4hai fetchmail[1651]: 63794 messages (63794 seen) for tmiglinci at mail.akis.at (932356193 octets).
Feb 16 22:33:33 srv4hai fetchmail[1651]: 11548 messages (11548 seen) for srozum at mail.akis.at (1370481903 octets).
Feb 16 22:33:34 srv4hai fetchmail[1651]: 28991 messages (28991 seen) for mrozum at mail.akis.at (676372133 octets).
Feb 16 22:33:34 srv4hai fetchmail[1651]: 1163 messages (1163 seen) for admin@bastelstube.wien at pop3.world4you.com (52216311 octets).
Feb 16 22:33:36 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739741616 - 'ping_SP_0'
Feb 16 22:33:36 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 22:33:40 srv4hai common[22966]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:33:41 srv4hai common[22990]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:34:00 srv4hai common[23019]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:34:00 srv4hai common[23043]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:34:00 srv4hai common[23067]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:34:01 srv4hai CRON[23093]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 22:34:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23100, secured, session=
Feb 16 22:34:08 srv4hai dovecot: imap(miglincit)<23100>: Logged out in=1899 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 16 22:34:40 srv4hai common[23109]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:34:41 srv4hai common[23133]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:34:49 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739741689 - 'ping_SP_0'
Feb 16 22:34:49 srv4hai ping_SP[368]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 16 22:34:59 srv4hai common[23175]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:00 srv4hai common[23199]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:00 srv4hai common[23224]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:01 srv4hai CRON[23250]: (root) CMD (/etc/linetest/linetest.sh)
Feb 16 22:35:40 srv4hai common[23258]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:41 srv4hai common[23282]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:41 srv4hai dhcpd[4995]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24
Feb 16 22:35:41 srv4hai dhcpd[4995]: DHCPDISCOVER from cc:8d:a2:5c:7e:a4 via enp2s0
Feb 16 22:35:41 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Feb 16 22:35:41 srv4hai dhcpd[4995]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24
Feb 16 22:35:41 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 16 22:35:41 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.155
Feb 16 22:35:41 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-55
Feb 16 22:35:41 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.155 (192.168.12.252) from cc:8d:a2:5c:7e:a4 via enp2s0
Feb 16 22:35:41 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f9310088a50 192.168.12.252#40711/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-55.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#36063/key rndc-key: signer "rndc-key" approved
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#36063/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' TXT
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#36063/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' TXT "3142e500a05fde125f7a8aca06f7c55ae3"
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#36063/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' A
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#36063/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' A 192.168.12.155
Feb 16 22:35:41 srv4hai dhcpd[4995]: Added new forward map from shelly-55.viehai.at to 192.168.12.155
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#59175/key rndc-key: signer "rndc-key" approved
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#59175/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '155.12.168.192.in-addr.arpa' PTR
Feb 16 22:35:41 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#59175/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '155.12.168.192.in-addr.arpa' PTR shelly-55.viehai.at.
Feb 16 22:35:41 srv4hai dhcpd[4995]: Added reverse map from 155.12.168.192.in-addr.arpa. to shelly-55.viehai.at
Feb 16 22:35:41 srv4hai common[23308]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 16 22:35:41 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-55' - shIP/2:'' perform:'conf'
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-55' - shIP/2:'192.168.12.155'
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe rechts' already set for '192.168.12.155'
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(0)' - allready transmitted - skipping
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(1)' - allready transmitted - skipping
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(2)' - allready transmitted - skipping
Feb 16 22:35:42 srv4hai mosquitto[29419]: New connection from 192.168.12.155 on port 1883.
Feb 16 22:35:42 srv4hai mosquitto[29419]: New client connected from 192.168.12.155 as shelly1minig3-cc8da25c7ea4 (c1, k60, u'shmqtt').
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(3)' - IGNORED
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(4)' - ''
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-cmd: 'curl --connect-timeout 3 --silent -POST -d '' http://192.168.12.155/rpc | jq -r '.''
Feb 16 22:35:42 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-ret: ''
Feb 16 22:35:43 srv4hai common[23406]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:43 srv4hai common[23433]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 16 22:35:46 srv4hai activate_scenario[23477]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 16 22:35:46 srv4hai activate_scenario[23477]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished