activate_scenario.sh
Sun Feb 23 18:49:11 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/23/_0.log)

vorher: 18:49:11.386

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: 18:49:11.447
Dauer: 61 msec phName: 'shelly-40:'TB Licht''


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

vorher: 18:49:11.420

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: 18:49:11.478
Dauer: 59 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 18:49:11.341
nachher: 18:49:11.488
Dauer : 148 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/23//scene_buero_UM_20250223_184911.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:''
Feb 23 18:49:07 srv4hai activate_scenario[29240]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Feb 23 18:49:07 srv4hai postfix/pickup[24804]: 9A38363463: uid=33 from=
Feb 23 18:49:07 srv4hai postfix/cleanup[29294]: 9A38363463: message-id=<20250223174907.9A38363463@mail.viehai.at>
Feb 23 18:49:07 srv4hai postfix/qmgr[8566]: 9A38363463: from=, size=10832, nrcpt=1 (queue active)
Feb 23 18:49:07 srv4hai postfix/local[29307]: 9A38363463: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 23 18:49:07 srv4hai postfix/cleanup[29294]: A229163464: message-id=<20250223174907.A229163464@mail.viehai.at>
Feb 23 18:49:07 srv4hai postfix/bounce[29308]: 9A38363463: sender non-delivery notification: A229163464
Feb 23 18:49:07 srv4hai postfix/qmgr[8566]: A229163464: from=<>, size=12711, nrcpt=1 (queue active)
Feb 23 18:49:07 srv4hai postfix/qmgr[8566]: 9A38363463: removed
Feb 23 18:49:07 srv4hai postfix/local[29307]: A229163464: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 23 18:49:07 srv4hai postfix/qmgr[8566]: A229163464: removed
Feb 23 18:49:07 srv4hai activate_scenario[29240]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'TB Schreibtischlampe' --> '0?turn=off'
Feb 23 18:49:07 srv4hai proc_url[29313]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/02/23/_0.log' - shellyUsage:'TB Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Feb 23 18:49:07 srv4hai activate_scenario[29240]: SHELLY scenario: 'pcOFF(pcoff)' took 121 msec, shelly-0:''
Feb 23 18:49:11 srv4hai activate_scenario[29344]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 23 18:49:11 srv4hai activate_scenario[29344]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished