activate_scenario.sh
Mon Apr 7 12:25:56 CEST 2025
scenario: pcOFF
source: 192.168.12.10

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2025/04/07/_0.log)

vorher: 12:25:56.247

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:25:56.281
Dauer: 34 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 12:25:56.192
nachher: 12:25:56.292
Dauer : 100 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/07//scene_pcOFF_20250407_122556.txt'


syslog

Apr  7 12:22:00 srv4hai mqtt_process[31217]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  7 12:22:00 srv4hai mqtt_process[31244]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:22:00 srv4hai mqtt_process[31269]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:22:01 srv4hai CRON[31297]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 12:22:25 srv4hai ping_SP[16546]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744021345 - 'ping_SP_0'
Apr  7 12:22:25 srv4hai ping_SP[16546]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 12:22:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Apr  7 12:22:25 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Apr  7 12:22:25 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr  7 12:22:25 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr  7 12:22:32 srv4hai bt_scan[31312]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr  7 12:22:32 srv4hai bt_scan[31312]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  7 12:22:32 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr  7 12:22:32 srv4hai check_presence[31411]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.No
Apr  7 12:22:32 srv4hai check_presence[31411]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'presence'
Apr  7 12:22:32 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr  7 12:22:32 srv4hai check_presence[31411]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No
Apr  7 12:22:32 srv4hai check_presence[31411]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr  7 12:22:32 srv4hai check_presence[31411]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Apr  7 12:22:32 srv4hai check_presence[31411]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  7 12:22:56 srv4hai mqtt_process[31499]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:22:56 srv4hai mqtt_process[31524]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:22:58 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr  7 12:23:00 srv4hai mqtt_process[31550]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  7 12:23:00 srv4hai mqtt_process[31575]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:23:00 srv4hai mqtt_process[31600]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:23:01 srv4hai CRON[31626]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 12:23:18 srv4hai postfix/anvil[29906]: statistics: max connection rate 1/60s for (smtp:176.65.140.116) at Apr  7 12:16:43
Apr  7 12:23:18 srv4hai postfix/anvil[29906]: statistics: max connection count 1 for (smtp:176.65.140.116) at Apr  7 12:16:43
Apr  7 12:23:18 srv4hai postfix/anvil[29906]: statistics: max cache size 1 at Apr  7 12:16:43
Apr  7 12:23:38 srv4hai ping_SP[16546]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744021418 - 'ping_SP_0'
Apr  7 12:23:38 srv4hai ping_SP[16546]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 12:23:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31659, secured, session=
Apr  7 12:23:43 srv4hai dovecot: imap(miglincit)<31659>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 12:23:56 srv4hai mqtt_process[31662]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:23:56 srv4hai mqtt_process[31687]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:24:00 srv4hai mqtt_process[31712]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  7 12:24:00 srv4hai mqtt_process[31737]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:24:00 srv4hai mqtt_process[31762]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:24:01 srv4hai CRON[31788]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 12:24:28 srv4hai mosquitto[29419]: Client shelly1pm-84CCA8A8557D has exceeded timeout, disconnecting.
Apr  7 12:24:28 srv4hai mosquitto[29419]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
Apr  7 12:24:33 srv4hai postfix/smtpd[31798]: connect from c-73-196-144-25.hsd1.nj.comcast.net[73.196.144.25]
Apr  7 12:24:39 srv4hai postfix/smtpd[31798]: warning: c-73-196-144-25.hsd1.nj.comcast.net[73.196.144.25]: SASL PLAIN authentication failed: 
Apr  7 12:24:39 srv4hai postfix/smtpd[31798]: lost connection after AUTH from c-73-196-144-25.hsd1.nj.comcast.net[73.196.144.25]
Apr  7 12:24:39 srv4hai postfix/smtpd[31798]: disconnect from c-73-196-144-25.hsd1.nj.comcast.net[73.196.144.25] ehlo=2 starttls=1 auth=0/1 commands=3/4
Apr  7 12:24:42 srv4hai kernel: [89999584.632050] CPU5: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632051] CPU4: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632053] CPU6: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632054] CPU2: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632055] CPU3: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632056] CPU7: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632058] CPU0: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:42 srv4hai kernel: [89999584.632059] CPU1: Package temperature above threshold, cpu clock throttled (total events = 700969552)
Apr  7 12:24:51 srv4hai ping_SP[16546]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744021491 - 'ping_SP_0'
Apr  7 12:24:51 srv4hai ping_SP[16546]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  7 12:24:52 srv4hai dhcpd[30231]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0
Apr  7 12:24:52 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr  7 12:24:52 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  7 12:24:52 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.102
Apr  7 12:24:52 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-02
Apr  7 12:24:52 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0
Apr  7 12:24:52 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f93480daa40 192.168.12.252#48075/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#41091/key rndc-key: signer "rndc-key" approved
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#41091/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#41091/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe"
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#41091/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f935013a950 192.168.12.252#41091/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102
Apr  7 12:24:52 srv4hai dhcpd[30231]: Added new forward map from shelly-02.viehai.at to 192.168.12.102
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#56229/key rndc-key: signer "rndc-key" approved
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#56229/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR
Apr  7 12:24:52 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#56229/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.
Apr  7 12:24:52 srv4hai dhcpd[30231]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at
Apr  7 12:24:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf'
Apr  7 12:24:53 srv4hai mosquitto[29419]: New connection from 192.168.12.102 on port 1883.
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-02' - shIP/2:'192.168.12.102'
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY: usage/name 'Balkon Licht' already set for '192.168.12.102'
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(0)' - allready transmitted - skipping
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(1)' - allready transmitted - skipping
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(2)' - allready transmitted - skipping
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(3)' - allready transmitted - skipping
Apr  7 12:24:53 srv4hai conf_shelly.sh: SHELLY:'shelly-02' 'conf(4)' - allready transmitted - skipping
Apr  7 12:24:54 srv4hai mosquitto[29419]: New client connected from 192.168.12.102 as shelly1pm-84CCA8A8557D (c1, k60, u'shmqtt').
Apr  7 12:24:55 srv4hai dhcpd[30231]: DHCPDISCOVER from 70:b1:3d:9f:36:ea via enp2s0
Apr  7 12:24:55 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.27 to 70:b1:3d:9f:36:ea via enp2s0
Apr  7 12:24:55 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Apr  7 12:24:55 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.27
Apr  7 12:24:55 srv4hai dhcpd[30231]: execute_statement argv[2] = tvsz
Apr  7 12:24:55 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.27 (192.168.12.252) from 70:b1:3d:9f:36:ea via enp2s0
Apr  7 12:24:55 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.27 to 70:b1:3d:9f:36:ea via enp2s0
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f934c0b2c60 192.168.12.252#48485/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: tvsz.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#35621/key rndc-key: signer "rndc-key" approved
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#35621/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'tvsz.viehai.at' TXT
Apr  7 12:24:55 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.27'(27) device 'tvsz'
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#35621/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'tvsz.viehai.at' TXT "3189601b07a6e5c1515a2fd330306e89ab"
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#35621/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'tvsz.viehai.at' A
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#35621/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'tvsz.viehai.at' A 192.168.12.27
Apr  7 12:24:55 srv4hai dhcpd[30231]: Added new forward map from tvsz.viehai.at to 192.168.12.27
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#39625/key rndc-key: signer "rndc-key" approved
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#39625/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '27.12.168.192.in-addr.arpa' PTR
Apr  7 12:24:55 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#39625/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '27.12.168.192.in-addr.arpa' PTR tvsz.viehai.at.
Apr  7 12:24:55 srv4hai dhcpd[30231]: Added reverse map from 27.12.168.192.in-addr.arpa. to tvsz.viehai.at
Apr  7 12:24:55 srv4hai dhcpcommit.sh: SHELLY device 'tvsz' known and accepted
Apr  7 12:24:56 srv4hai mqtt_process[31944]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:24:56 srv4hai mqtt_process[31969]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:25:00 srv4hai mqtt_process[31994]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  7 12:25:00 srv4hai mqtt_process[32020]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:25:00 srv4hai mqtt_process[32045]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  7 12:25:01 srv4hai CRON[32071]: (root) CMD (/etc/linetest/linetest.sh)
Apr  7 12:25:55 srv4hai dovecot: imap(miglincit)<19725><7imOqyoyeozAqAwK>: Logged out in=13314 out=1615641 deleted=0 expunged=0 trashed=0 hdr_count=17 hdr_bytes=5928 body_count=17 body_bytes=1483839
Apr  7 12:25:55 srv4hai dovecot: imap(miglincit)<19721>: Logged out in=2384327 out=24263842 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 12:25:55 srv4hai dovecot: imap(miglincit)<19727>: Logged out in=2387660 out=25131952 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=357 body_count=0 body_bytes=0
Apr  7 12:25:55 srv4hai dovecot: imap(miglincit)<19722>: Logged out in=2394258 out=26546966 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 12:25:55 srv4hai dovecot: imap(miglincit)<19726>: Logged out in=2384698 out=23597105 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  7 12:25:56 srv4hai activate_scenario[32094]: SHELLY scenario: 'pcOFF(pcoff)' started
Apr  7 12:25:56 srv4hai activate_scenario[32094]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished