activate_scenario.sh
Sun Mar 30 09:20:01 CEST 2025
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/2025/03/30/_0.log)

vorher: 09:20:01.346

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:20:01.415
Dauer: 79 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/30/_1.log)

vorher: 09:20:01.438

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:20:01.502
Dauer: 59 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 09:20:01.292
nachher: 09:20:01.515
Dauer : 223 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/30//scene_buero_UM_20250330_092001.txt'


syslog

Mar 30 09:17:00 srv4hai mqtt_process[18208]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 09:17:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18233, secured, session=
Mar 30 09:17:01 srv4hai dovecot: imap(miglincit)<18233>: Logged out in=1731 out=1337 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 09:17:01 srv4hai CRON[18236]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 09:17:01 srv4hai CRON[18237]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar 30 09:17:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18247, secured, session=
Mar 30 09:17:05 srv4hai dovecot: imap(rozumm)<18247>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 09:17:09 srv4hai ping_SP[23944]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1743319029 - 'ping_SP_1'
Mar 30 09:17:09 srv4hai ping_SP[23944]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 09:17:13 srv4hai mqtt_process[18268]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:17:13 srv4hai mqtt_process[18292]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:17:21 srv4hai ping_SP[30002]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743319041 - 'ping_SP_0'
Mar 30 09:17:21 srv4hai ping_SP[30002]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 09:17:28 srv4hai dhcpd[30231]: uid lease 192.168.12.56 for client cc:8d:a2:60:52:b8 is duplicate on 192.168.12.0/24
Mar 30 09:17:28 srv4hai dhcpd[30231]: DHCPDISCOVER from cc:8d:a2:60:52:b8 via enp2s0
Mar 30 09:17:28 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.101 to cc:8d:a2:60:52:b8 via enp2s0
Mar 30 09:17:28 srv4hai dhcpd[30231]: uid lease 192.168.12.56 for client cc:8d:a2:60:52:b8 is duplicate on 192.168.12.0/24
Mar 30 09:17:28 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 30 09:17:28 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.101
Mar 30 09:17:28 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-01
Mar 30 09:17:28 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.101 (192.168.12.252) from cc:8d:a2:60:52:b8 via enp2s0
Mar 30 09:17:28 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.101 to cc:8d:a2:60:52:b8 via enp2s0
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#56383/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-01.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#37821/key rndc-key: signer "rndc-key" approved
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#37821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' TXT
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#37821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' TXT "31166740fe21d7ece7561d62986d2b8644"
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#37821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-01.viehai.at' A
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#37821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-01.viehai.at' A 192.168.12.101
Mar 30 09:17:28 srv4hai dhcpd[30231]: Added new forward map from shelly-01.viehai.at to 192.168.12.101
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#56263/key rndc-key: signer "rndc-key" approved
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#56263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '101.12.168.192.in-addr.arpa' PTR
Mar 30 09:17:28 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#56263/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '101.12.168.192.in-addr.arpa' PTR shelly-01.viehai.at.
Mar 30 09:17:28 srv4hai dhcpd[30231]: Added reverse map from 101.12.168.192.in-addr.arpa. to shelly-01.viehai.at
Mar 30 09:17:28 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-01' - shIP/2:'' perform:'conf'
Mar 30 09:17:30 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-01' - shIP/2:'192.168.12.101'
Mar 30 09:17:30 srv4hai mosquitto[29419]: New connection from 192.168.12.101 on port 1883.
Mar 30 09:17:30 srv4hai mosquitto[29419]: Client shelly1minig3-cc8da26052b8 already connected, closing old connection.
Mar 30 09:17:30 srv4hai mosquitto[29419]: Socket error on client shelly1minig3-cc8da26052b8, disconnecting.
Mar 30 09:17:30 srv4hai mosquitto[29419]: New client connected from 192.168.12.101 as shelly1minig3-cc8da26052b8 (c1, k60, u'shmqtt').
Mar 30 09:17:30 srv4hai conf_shelly.sh: SHELLY: usage/name 'WZ Licht Esstisch' already set for '192.168.12.101'
Mar 30 09:17:30 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(0)' - allready transmitted - skipping
Mar 30 09:17:30 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(1)' - allready transmitted - skipping
Mar 30 09:17:30 srv4hai mqtt_process[18373]: SHELLY shMqtt:'shelly1minig3-cc8da26052b8'/'WZ Licht Esstisch' - btn: '{btn}' ignored and  discarded !!
Mar 30 09:17:30 srv4hai conf_shelly.sh: SHELLY:'shelly-01' 'conf(2)' - allready transmitted - skipping
Mar 30 09:17:30 srv4hai mqtt_process[18428]: SHELLY shMqtt:'shelly1minig3-cc8da26052b8'/'WZ Licht Esstisch' - btn: '{btn}' ignored and  discarded !!
Mar 30 09:17:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 30 09:17:40 srv4hai fetchmail[1651]: 66731 messages (66731 seen) for tmiglinci at mail.akis.at (1198467471 octets).
Mar 30 09:17:40 srv4hai fetchmail[1651]: 11759 messages (11759 seen) for srozum at mail.akis.at (1389613369 octets).
Mar 30 09:17:41 srv4hai fetchmail[1651]: 29934 messages (29934 seen) for mrozum at mail.akis.at (876292300 octets).
Mar 30 09:17:41 srv4hai fetchmail[1651]: 1166 messages (1166 seen) for admin@bastelstube.wien at pop3.world4you.com (52256796 octets).
Mar 30 09:18:00 srv4hai mqtt_process[18476]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:18:00 srv4hai mqtt_process[18500]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:18:00 srv4hai mqtt_process[18524]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 09:18:01 srv4hai CRON[18549]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 09:18:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18555, secured, session=
Mar 30 09:18:05 srv4hai dovecot: imap(rozumm)<18555>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 09:18:13 srv4hai mqtt_process[18562]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:18:13 srv4hai mqtt_process[18586]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:18:22 srv4hai ping_SP[23944]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1743319102 - 'ping_SP_1'
Mar 30 09:18:22 srv4hai ping_SP[23944]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 09:18:34 srv4hai ping_SP[30002]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743319114 - 'ping_SP_0'
Mar 30 09:18:34 srv4hai ping_SP[30002]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 09:19:00 srv4hai mqtt_process[18647]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 09:19:00 srv4hai mqtt_process[18671]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:19:00 srv4hai mqtt_process[18695]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:19:01 srv4hai CRON[18722]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 09:19:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18728, secured, session=<+pteHoox/I4AAAAAAAAAAAAAAAAAAAAB>
Mar 30 09:19:05 srv4hai dovecot: imap(rozumm)<18728><+pteHoox/I4AAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1061 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 09:19:09 srv4hai kernel: [89297243.314192] CPU4: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314193] CPU5: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314194] CPU6: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314196] CPU1: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314197] CPU7: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314198] CPU2: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314199] CPU3: Package temperature/speed normal
Mar 30 09:19:09 srv4hai kernel: [89297243.314200] CPU0: Package temperature/speed normal
Mar 30 09:19:13 srv4hai mqtt_process[18729]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:19:13 srv4hai mqtt_process[18753]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:19:35 srv4hai ping_SP[23944]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1743319175 - 'ping_SP_1'
Mar 30 09:19:35 srv4hai ping_SP[23944]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 09:19:47 srv4hai ping_SP[30002]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743319187 - 'ping_SP_0'
Mar 30 09:19:47 srv4hai ping_SP[30002]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 09:19:59 srv4hai mqtt_process[18825]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:19:59 srv4hai mqtt_process[18849]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 09:20:00 srv4hai mqtt_process[18873]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 09:20:01 srv4hai activate_scenario[18898]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 30 09:20:01 srv4hai activate_scenario[18898]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished