activate_scenario.sh
Sun Feb 23 18:49:07 CET 2025
scenario: pcOFF
source: 192.168.12.10

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

vorher: 18:49:07.684

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: 18:49:07.744
Dauer: 59 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 18:49:07.633
nachher: 18:49:07.754
Dauer : 121 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/23//scene_pcOFF_20250223_184907.txt'


syslog

Feb 23 18:46:00 srv4hai common[28536]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:46:01 srv4hai CRON[28562]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 18:46:26 srv4hai common[28578]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:46:26 srv4hai common[28603]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:46:26 srv4hai kernel: [86310845.021923] CPU5: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021924] CPU2: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021926] CPU7: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021927] CPU4: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021928] CPU0: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021929] CPU6: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021930] CPU3: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:26 srv4hai kernel: [86310845.021932] CPU1: Package temperature above threshold, cpu clock throttled (total events = 90948692)
Feb 23 18:46:27 srv4hai kernel: [86310845.035896] CPU5: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035897] CPU2: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035898] CPU4: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035899] CPU7: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035900] CPU0: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035900] CPU3: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035901] CPU6: Package temperature/speed normal
Feb 23 18:46:27 srv4hai kernel: [86310845.035902] CPU1: Package temperature/speed normal
Feb 23 18:46:52 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:db:84:a8:91:c9 via enp2s0
Feb 23 18:46:52 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 23 18:46:52 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 23 18:46:52 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.117
Feb 23 18:46:52 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-17
Feb 23 18:46:52 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.117 (192.168.12.252) from e8:db:84:a8:91:c9 via enp2s0
Feb 23 18:46:52 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.117 to e8:db:84:a8:91:c9 via enp2s0
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#48577/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-17.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#33615/key rndc-key: signer "rndc-key" approved
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#33615/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' TXT
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#33615/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' TXT "00b598fea4f634c10c92531f66051bcfce"
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#33615/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-17.viehai.at' A
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#33615/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-17.viehai.at' A 192.168.12.117
Feb 23 18:46:52 srv4hai dhcpd[4995]: Added new forward map from shelly-17.viehai.at to 192.168.12.117
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#54659/key rndc-key: signer "rndc-key" approved
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#54659/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '117.12.168.192.in-addr.arpa' PTR
Feb 23 18:46:52 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#54659/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '117.12.168.192.in-addr.arpa' PTR shelly-17.viehai.at.
Feb 23 18:46:52 srv4hai dhcpd[4995]: Added reverse map from 117.12.168.192.in-addr.arpa. to shelly-17.viehai.at
Feb 23 18:46:52 srv4hai common[28643]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 23 18:46:52 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-17' - shIP/2:'' perform:'conf'
Feb 23 18:46:52 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740332812 - 'ping_SP_1'
Feb 23 18:46:52 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 23 18:46:53 srv4hai mosquitto[29419]: New connection from 192.168.12.117 on port 1883.
Feb 23 18:46:53 srv4hai mosquitto[29419]: Client shellyrgbw2-A891C9 already connected, closing old connection.
Feb 23 18:46:53 srv4hai mosquitto[29419]: Socket error on client shellyrgbw2-A891C9, disconnecting.
Feb 23 18:46:53 srv4hai mosquitto[29419]: New client connected from 192.168.12.117 as shellyrgbw2-A891C9 (c1, k60, u'shmqtt').
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-17' - shIP/2:'192.168.12.117'
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY: usage/name 'KÜ Licht Herdzeile' already set for '192.168.12.117'
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(0)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(1)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(2)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(3)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(4)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(5)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(6)' - allready transmitted - skipping
Feb 23 18:46:53 srv4hai conf_shelly.sh: SHELLY:'shelly-17' 'conf(7)' - allready transmitted - skipping
Feb 23 18:46:59 srv4hai common[28813]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:46:59 srv4hai common[28837]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:47:00 srv4hai common[28861]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:47:01 srv4hai CRON[28890]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 18:47:07 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740332827 - 'ping_SP_0'
Feb 23 18:47:07 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 23 18:47:26 srv4hai common[28915]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:47:26 srv4hai common[28939]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:47:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28968, secured, session=
Feb 23 18:47:42 srv4hai dovecot: imap(miglincit)<28968>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 23 18:47:51 srv4hai kernel: [86310929.450941] CPU5: Core temperature/speed normal
Feb 23 18:47:51 srv4hai kernel: [86310929.450942] CPU1: Core temperature/speed normal
Feb 23 18:48:00 srv4hai common[28978]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:48:00 srv4hai common[29002]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:48:00 srv4hai common[29026]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:48:01 srv4hai CRON[29051]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 18:48:05 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1740332885 - 'ping_SP_1'
Feb 23 18:48:05 srv4hai ping_SP[1518]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 23 18:48:20 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1740332900 - 'ping_SP_0'
Feb 23 18:48:20 srv4hai ping_SP[14851]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 23 18:48:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29099, secured, session=
Feb 23 18:48:24 srv4hai dovecot: imap(miglincit)<29099>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 23 18:48:26 srv4hai common[29100]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:48:26 srv4hai common[29124]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:48:50 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Feb 23 18:48:53 srv4hai postfix/anvil[28228]: statistics: max connection rate 1/60s for (smtp:192.210.231.79) at Feb 23 18:45:28
Feb 23 18:48:53 srv4hai postfix/anvil[28228]: statistics: max connection count 1 for (smtp:192.210.231.79) at Feb 23 18:45:28
Feb 23 18:48:53 srv4hai postfix/anvil[28228]: statistics: max cache size 1 at Feb 23 18:45:28
Feb 23 18:48:59 srv4hai common[29158]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:48:59 srv4hai common[29182]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:49:00 srv4hai common[29207]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 23 18:49:01 srv4hai CRON[29232]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 18:49:07 srv4hai activate_scenario[29240]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 23 18:49:07 srv4hai activate_scenario[29240]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''

finished