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

vorher: 21:54:09.680

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: 21:54:09.734
Dauer: 53 msec phName: 'shelly-12:'SZ Licht''


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

urls : 1
vorher : 21:54:09.625
nachher: 21:54:09.747
Dauer : 122 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/30//scene_bedlight_tom_20250330_215409.txt'


syslog

Mar 30 21:51:00 srv4hai mqtt_process[10610]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:51:00 srv4hai mqtt_process[10635]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:51:00 srv4hai mqtt_process[10660]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 21:51:01 srv4hai CRON[10686]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 21:51:12 srv4hai mqtt_process[10692]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:51:12 srv4hai mqtt_process[10717]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:51:29 srv4hai dhcpd[30231]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24
Mar 30 21:51:29 srv4hai dhcpd[30231]: DHCPDISCOVER from cc:8d:a2:5c:7e:a4 via enp2s0
Mar 30 21:51:29 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Mar 30 21:51:29 srv4hai dhcpd[30231]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24
Mar 30 21:51:29 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 30 21:51:29 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.155
Mar 30 21:51:29 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-55
Mar 30 21:51:29 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.155 (192.168.12.252) from cc:8d:a2:5c:7e:a4 via enp2s0
Mar 30 21:51:29 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f93480cbdb0 192.168.12.252#34889/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-55.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#44499/key rndc-key: signer "rndc-key" approved
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#44499/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' TXT
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#44499/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' TXT "3142e500a05fde125f7a8aca06f7c55ae3"
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#44499/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' A
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#44499/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' A 192.168.12.155
Mar 30 21:51:29 srv4hai dhcpd[30231]: Added new forward map from shelly-55.viehai.at to 192.168.12.155
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#55103/key rndc-key: signer "rndc-key" approved
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#55103/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '155.12.168.192.in-addr.arpa' PTR
Mar 30 21:51:29 srv4hai named[30406]: client @0x7f931c02c6e0 192.168.12.252#55103/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.
Mar 30 21:51:29 srv4hai dhcpd[30231]: Added reverse map from 155.12.168.192.in-addr.arpa. to shelly-55.viehai.at
Mar 30 21:51:29 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-55' - shIP/2:'' perform:'conf'
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-55' - shIP/2:'192.168.12.155'
Mar 30 21:51:30 srv4hai mosquitto[29419]: New connection from 192.168.12.155 on port 1883.
Mar 30 21:51:30 srv4hai mosquitto[29419]: New client connected from 192.168.12.155 as shelly1minig3-cc8da25c7ea4 (c1, k60, u'shmqtt').
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe rechts' already set for '192.168.12.155'
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(0)' - allready transmitted - skipping
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(1)' - allready transmitted - skipping
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(2)' - allready transmitted - skipping
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(3)' - IGNORED
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(4)' - ''
Mar 30 21:51:30 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 '.''
Mar 30 21:51:30 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-ret: ''
Mar 30 21:51:30 srv4hai mqtt_process[10851]: SHELLY shMqtt:'shelly1minig3-cc8da25c7ea4'/'GB Schreibtischlampe rechts' - btn: '{btn}' ignored and  discarded !!
Mar 30 21:51:30 srv4hai mqtt_process[10879]: SHELLY shMqtt:'shelly1minig3-cc8da25c7ea4'/'GB Schreibtischlampe rechts' - btn: '{btn}' ignored and  discarded !!
Mar 30 21:51:33 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743364293 - 'ping_SP_0'
Mar 30 21:51:33 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 21:51:37 srv4hai postfix/smtpd[10284]: connect from unknown[195.211.191.63]
Mar 30 21:51:37 srv4hai postfix/smtpd[10284]: warning: unknown[195.211.191.63]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 30 21:51:37 srv4hai postfix/smtpd[10284]: disconnect from unknown[195.211.191.63] ehlo=1 auth=0/1 quit=1 commands=2/3
Mar 30 21:51:54 srv4hai ping_SP[5836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1743364314 - 'ping_SP_1'
Mar 30 21:51:54 srv4hai ping_SP[5836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 21:52:00 srv4hai mqtt_process[10957]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 21:52:00 srv4hai mqtt_process[10982]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:52:00 srv4hai mqtt_process[11007]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:52:01 srv4hai CRON[11033]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 21:52:12 srv4hai mqtt_process[11039]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:52:12 srv4hai mqtt_process[11064]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:52:47 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743364367 - 'ping_SP_0'
Mar 30 21:52:47 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 30 21:52:56 srv4hai kernel: [89342470.574277] CPU0: Core temperature above threshold, cpu clock throttled (total events = 22682469)
Mar 30 21:52:56 srv4hai kernel: [89342470.574278] CPU4: Core temperature above threshold, cpu clock throttled (total events = 22682469)
Mar 30 21:52:59 srv4hai mqtt_process[11120]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:52:59 srv4hai mqtt_process[11145]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:53:00 srv4hai mqtt_process[11170]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 21:53:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11197, secured, session=
Mar 30 21:53:01 srv4hai dovecot: imap(miglincit)<11197>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 30 21:53:01 srv4hai CRON[11199]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 21:53:07 srv4hai ping_SP[5836]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1743364387 - 'ping_SP_1'
Mar 30 21:53:07 srv4hai ping_SP[5836]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 30 21:53:12 srv4hai mqtt_process[11219]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:53:12 srv4hai mqtt_process[11244]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:53:44 srv4hai dhcpd[30231]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Mar 30 21:53:44 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 30 21:53:44 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar 30 21:53:44 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Mar 30 21:53:44 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Mar 30 21:53:48 srv4hai postfix/smtpd[11295]: connect from unknown[195.211.191.63]
Mar 30 21:53:48 srv4hai postfix/smtpd[11295]: warning: unknown[195.211.191.63]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 30 21:53:48 srv4hai postfix/smtpd[11295]: disconnect from unknown[195.211.191.63] ehlo=1 auth=0/1 quit=1 commands=2/3
Mar 30 21:53:54 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Mar 30 21:53:54 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Mar 30 21:53:54 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 30 21:53:54 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar 30 21:53:54 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Mar 30 21:53:54 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Mar 30 21:54:00 srv4hai kernel: [89342534.136277] CPU2: Core temperature above threshold, cpu clock throttled (total events = 246596131)
Mar 30 21:54:00 srv4hai kernel: [89342534.136277] CPU6: Core temperature above threshold, cpu clock throttled (total events = 246596131)
Mar 30 21:54:00 srv4hai kernel: [89342534.137290] CPU2: Core temperature/speed normal
Mar 30 21:54:00 srv4hai kernel: [89342534.137290] CPU6: Core temperature/speed normal
Mar 30 21:54:00 srv4hai mqtt_process[11320]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 30 21:54:00 srv4hai mqtt_process[11348]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:54:00 srv4hai mqtt_process[11373]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 30 21:54:01 srv4hai CRON[11399]: (root) CMD (/etc/linetest/linetest.sh)
Mar 30 21:54:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Mar 30 21:54:04 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Mar 30 21:54:04 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 30 21:54:04 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar 30 21:54:04 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61
Mar 30 21:54:04 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas
Mar 30 21:54:04 srv4hai named[30406]: client @0x7f931c067c00 192.168.12.252#42505/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 30 21:54:09 srv4hai activate_scenario[11429]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Mar 30 21:54:09 srv4hai activate_scenario[11429]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'SZ Licht'

finished