activate_scenario.sh
Mon Mar 31 07:05:49 CEST 2025
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_0.log)

vorher: 07:05:49.206

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

nachher: 07:05:49.232
Dauer: 26 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_1.log)

vorher: 07:05:49.271

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

nachher: 07:05:49.312
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_2.log)

vorher: 07:05:49.313

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

nachher: 07:05:49.353
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_3.log)

vorher: 07:05:49.333

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

nachher: 07:05:49.373
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_4.log)

vorher: 07:05:49.378

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

nachher: 07:05:49.409
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_5.log)

vorher: 07:05:49.430

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

nachher: 07:05:49.479
Dauer: 46 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_6.log)

vorher: 07:05:49.460

http://192.168.12.108/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:05:49.544
Dauer: 84 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_7.log)

vorher: 07:05:49.507

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

nachher: 07:05:49.684
Dauer: 181 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_8.log)

vorher: 07:05:49.529

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

nachher: 07:05:49.685
Dauer: 157 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_9.log)

vorher: 07:05:49.567

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

nachher: 07:05:49.643
Dauer: 75 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_10.log)

vorher: 07:05:49.605

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:05:49.711
Dauer: 105 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_11.log)

vorher: 07:05:49.633

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:05:49.709
Dauer: 76 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_12.log)

vorher: 07:05:49.669

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:05:49.719
Dauer: 67 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_13.log)

vorher: 07:05:49.734

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 07:05:49.817
Dauer: 101 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_14.log)

vorher: 07:05:49.756

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

nachher: 07:05:49.797
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_15.log)

vorher: 07:05:49.815

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

nachher: 07:05:49.855
Dauer: 40 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_16.log)

vorher: 07:05:49.867

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 07:05:49.909
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_17.log)

vorher: 07:05:49.910

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

nachher: 07:05:49.959
Dauer: 49 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_18.log)

vorher: 07:05:49.984

http://192.168.12.140/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:05:50.059
Dauer: 75 msec phName: 'shelly-40:'TB Licht''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_19.log)

vorher: 07:05:49.997

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

nachher: 07:05:50.053
Dauer: 56 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/03/31/_20.log)

vorher: 07:05:50.035

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

nachher: 07:05:50.067
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 21
vorher : 07:05:49.146
nachher: 07:05:50.094
Dauer : 947 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/31//scene_homeOffice_20250331_070549.txt'


syslog

Mar 31 07:02:00 srv4hai mqtt_process[26519]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 31 07:02:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26546, secured, session=
Mar 31 07:02:01 srv4hai dovecot: imap(miglincit)<26546>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 31 07:02:01 srv4hai CRON[26548]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 07:02:11 srv4hai mqtt_process[26557]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:02:11 srv4hai mqtt_process[26582]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:02:21 srv4hai dhcpd[30231]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Mar 31 07:02:21 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Mar 31 07:02:21 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar 31 07:02:21 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.122
Mar 31 07:02:21 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-22
Mar 31 07:02:21 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Mar 31 07:02:21 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#43373/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#45217/key rndc-key: signer "rndc-key" approved
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#45217/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#45217/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#45217/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#45217/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Mar 31 07:02:21 srv4hai dhcpd[30231]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#35715/key rndc-key: signer "rndc-key" approved
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#35715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Mar 31 07:02:21 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#35715/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Mar 31 07:02:21 srv4hai dhcpd[30231]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Mar 31 07:02:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Mar 31 07:02:22 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Mar 31 07:02:22 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Mar 31 07:02:22 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Mar 31 07:02:22 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Mar 31 07:02:22 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Mar 31 07:02:51 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743397371 - 'ping_SP_0'
Mar 31 07:02:51 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 31 07:02:59 srv4hai mqtt_process[26748]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:02:59 srv4hai mqtt_process[26773]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:03:00 srv4hai mqtt_process[26798]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 31 07:03:01 srv4hai CRON[26824]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 07:03:11 srv4hai mqtt_process[26830]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:03:11 srv4hai mqtt_process[26855]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:03:59 srv4hai kernel: [89375533.738300] CPU6: Core temperature/speed normal
Mar 31 07:03:59 srv4hai kernel: [89375533.738301] CPU2: Core temperature/speed normal
Mar 31 07:03:59 srv4hai mqtt_process[26897]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:04:00 srv4hai mqtt_process[26922]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:04:00 srv4hai mqtt_process[26947]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 31 07:04:01 srv4hai CRON[26973]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 07:04:04 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743397444 - 'ping_SP_0'
Mar 31 07:04:04 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 31 07:04:11 srv4hai mqtt_process[26995]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:04:11 srv4hai mqtt_process[27020]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:04:13 srv4hai kernel: [89375548.086290] CPU4: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086291] CPU5: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086292] CPU2: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086294] CPU3: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086294] CPU7: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086295] CPU6: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086296] CPU1: Package temperature/speed normal
Mar 31 07:04:13 srv4hai kernel: [89375548.086298] CPU0: Package temperature/speed normal
Mar 31 07:04:59 srv4hai mqtt_process[27056]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:04:59 srv4hai mqtt_process[27081]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:05:00 srv4hai mqtt_process[27106]: SHELLY - shellyType: 'shelly-PM-mini' not handled !!
Mar 31 07:05:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 31 07:05:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27133, secured, session=
Mar 31 07:05:01 srv4hai dovecot: imap(miglincit)<27133>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 31 07:05:01 srv4hai CRON[27135]: (root) CMD (/etc/linetest/linetest.sh)
Mar 31 07:05:01 srv4hai fetchmail[1651]: 66782 messages (66782 seen) for tmiglinci at mail.akis.at (1202044778 octets).
Mar 31 07:05:02 srv4hai fetchmail[1651]: 11763 messages (11763 seen) for srozum at mail.akis.at (1389900274 octets).
Mar 31 07:05:02 srv4hai fetchmail[1651]: 29950 messages (29950 seen) for mrozum at mail.akis.at (877744916 octets).
Mar 31 07:05:03 srv4hai fetchmail[1651]: 1166 messages (1166 seen) for admin@bastelstube.wien at pop3.world4you.com (52256796 octets).
Mar 31 07:05:11 srv4hai mqtt_process[27146]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:05:11 srv4hai mqtt_process[27171]: SHELLY - shellyType: 'shelly-2PM' not handled !!
Mar 31 07:05:17 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1743397517 - 'ping_SP_0'
Mar 31 07:05:17 srv4hai ping_SP[2877]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 31 07:05:39 srv4hai kernel: [89375634.271300] CPU5: Core temperature above threshold, cpu clock throttled (total events = 537148498)
Mar 31 07:05:39 srv4hai kernel: [89375634.271301] CPU1: Core temperature above threshold, cpu clock throttled (total events = 537148498)
Mar 31 07:05:49 srv4hai activate_scenario[27223]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar 31 07:05:49 srv4hai activate_scenario[27223]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished