activate_scenario.sh
Thu Mar 6 17:06:44 CET 2025
scenario: homeOffice
source: 192.168.12.140
vorher: 17:06:44.325
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: 17:06:44.361
Dauer: 36 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.368
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: 17:06:44.413
Dauer: 40 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.419
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: 17:06:44.524
Dauer: 101 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.467
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: 17:06:44.514
Dauer: 40 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.500
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: 17:06:44.631
Dauer: 128 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.545
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: 17:06:44.592
Dauer: 46 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.576
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: 17:06:44.645
Dauer: 69 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.616
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: 17:06:44.676
Dauer: 56 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.656
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 17:06:44.832
Dauer: 176 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.708
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: 17:06:44.863
Dauer: 154 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.741
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: 17:06:44.844
Dauer: 103 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.772
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: 17:06:44.837
Dauer: 64 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.816
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: 17:06:44.953
Dauer: 138 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.875
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: 17:06:44.963
Dauer: 74 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.921
http://192.168.12.119/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 17:06:44.994
Dauer: 77 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.962
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: 17:06:45.050
Dauer: 90 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:44.991
http://192.168.12.124/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 17:06:45.110
Dauer: 120 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:45.045
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: 17:06:45.107
Dauer: 62 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:45.081
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: 17:06:45.117
Dauer: 36 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:45.154
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: 17:06:45.181
Dauer: 28 msec
phName: 'shelly-40:'TB Licht''
vorher: 17:06:45.188
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: 17:06:45.245
Dauer: 56 msec
phName: 'shelly-40:'TB Licht''
urls : 21
vorher : 17:06:44.277
nachher: 17:06:45.261
Dauer : 984 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/03/06//scene_homeOffice_20250306_170644.txt'
Mar 6 17:03:00 srv4hai common[1873]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:03:00 srv4hai common[1897]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:03:00 srv4hai common[1921]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:03:01 srv4hai CRON[1948]: (root) CMD (/etc/linetest/linetest.sh) Mar 6 17:03:03 srv4hai common[1953]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:03:03 srv4hai common[1977]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:03:40 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0 Mar 6 17:03:40 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0 Mar 6 17:03:40 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Mar 6 17:03:40 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.119 Mar 6 17:03:40 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-19 Mar 6 17:03:40 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0 Mar 6 17:03:40 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0 Mar 6 17:03:40 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#53571/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Mar 6 17:03:40 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#56621/key rndc-key: signer "rndc-key" approved Mar 6 17:03:40 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#56621/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT Mar 6 17:03:40 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#56621/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8" Mar 6 17:03:40 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#56621/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A Mar 6 17:03:40 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#56621/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119 Mar 6 17:03:40 srv4hai dhcpd[4995]: Added new forward map from shelly-19.viehai.at to 192.168.12.119 Mar 6 17:03:40 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#39547/key rndc-key: signer "rndc-key" approved Mar 6 17:03:40 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#39547/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR Mar 6 17:03:40 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#39547/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at. Mar 6 17:03:40 srv4hai dhcpd[4995]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at Mar 6 17:03:40 srv4hai common[2011]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Mar 6 17:03:40 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf' Mar 6 17:03:42 srv4hai mosquitto[29419]: New connection from 192.168.12.119 on port 1883. Mar 6 17:03:42 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-19' - shIP/2:'192.168.12.119' Mar 6 17:03:42 srv4hai mosquitto[29419]: Client shelly1-98CDAC2D5A11 already connected, closing old connection. Mar 6 17:03:42 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2D5A11, disconnecting. Mar 6 17:03:42 srv4hai mosquitto[29419]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt'). Mar 6 17:03:42 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Fernsehlampe' already set for '192.168.12.119' Mar 6 17:03:42 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping Mar 6 17:03:42 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping Mar 6 17:03:42 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping Mar 6 17:03:42 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping Mar 6 17:03:45 srv4hai postfix/anvil[32654]: statistics: max connection rate 1/60s for (smtp:195.211.191.144) at Mar 6 16:55:00 Mar 6 17:03:45 srv4hai postfix/anvil[32654]: statistics: max connection count 1 for (smtp:195.211.191.144) at Mar 6 16:55:00 Mar 6 17:03:45 srv4hai postfix/anvil[32654]: statistics: max cache size 2 at Mar 6 17:00:25 Mar 6 17:03:48 srv4hai ping_SP[846]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1741277028 - 'ping_SP_0' Mar 6 17:03:48 srv4hai ping_SP[846]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 6 17:03:58 srv4hai kernel: [87255108.238276] CPU1: Core temperature/speed normal Mar 6 17:03:58 srv4hai kernel: [87255108.238277] CPU5: Core temperature/speed normal Mar 6 17:04:00 srv4hai common[2127]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:04:00 srv4hai common[2151]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:04:00 srv4hai common[2176]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:04:01 srv4hai CRON[2201]: (root) CMD (/etc/linetest/linetest.sh) Mar 6 17:04:03 srv4hai common[2206]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:04:03 srv4hai common[2230]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:04:44 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2260, secured, session= Mar 6 17:04:44 srv4hai dovecot: imap(miglincit)<2260> : Logged out in=2193 out=170399 deleted=0 expunged=0 trashed=0 hdr_count=275 hdr_bytes=91889 body_count=0 body_bytes=0 Mar 6 17:04:59 srv4hai common[2268]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:04:59 srv4hai common[2292]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:00 srv4hai common[2319]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:01 srv4hai CRON[2345]: (root) CMD (/etc/linetest/linetest.sh) Mar 6 17:05:02 srv4hai ping_SP[846]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1741277102 - 'ping_SP_0' Mar 6 17:05:02 srv4hai ping_SP[846]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 6 17:05:03 srv4hai common[2370]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:03 srv4hai common[2397]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:14 srv4hai common[2439]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:15 srv4hai common[2468]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:15 srv4hai common[2501]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:15 srv4hai common[2534]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:15 srv4hai common[2561]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:16 srv4hai common[2588]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:16 srv4hai common[2624]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:05:16 srv4hai common[2625]: SHELLY common.sh inkludiert von ./switch.sh Mar 6 17:05:16 srv4hai switch.sh: SHELLY QUERY_STRING: 'shelly=shelly-23&generation=1&id=0&postAction=html&action=toggle' Mar 6 17:05:16 srv4hai switch.sh: SHELLY scUrl: 'http://192.168.12.123/relay/0?turn=toggle' Mar 6 17:05:16 srv4hai switch.sh: SHELLY aJson: '{"ison":true,"has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"source":"http"}' Mar 6 17:05:54 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=2696, secured, session= Mar 6 17:05:54 srv4hai dovecot: imap(miglincit)<2696> : Logged out in=2018 out=1276 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Mar 6 17:06:00 srv4hai common[2697]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:06:00 srv4hai common[2721]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:06:00 srv4hai common[2745]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:06:01 srv4hai CRON[2770]: (root) CMD (/etc/linetest/linetest.sh) Mar 6 17:06:03 srv4hai common[2777]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:06:03 srv4hai common[2801]: SHELLY common.sh inkludiert von ./mqtt_process.sh Mar 6 17:06:15 srv4hai ping_SP[846]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1741277175 - 'ping_SP_0' Mar 6 17:06:15 srv4hai ping_SP[846]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 6 17:06:41 srv4hai activate_scenario[2849]: SHELLY scenario: 'buero_UM(buero_um)' started Mar 6 17:06:41 srv4hai activate_scenario[2849]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht' Mar 6 17:06:41 srv4hai activate_scenario[2849]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht' Mar 6 17:06:41 srv4hai postfix/pickup[19609]: 1F8A663463: uid=33 from= Mar 6 17:06:41 srv4hai postfix/cleanup[2905]: 1F8A663463: message-id=<20250306160641.1F8A663463@mail.viehai.at> Mar 6 17:06:41 srv4hai postfix/qmgr[8566]: 1F8A663463: from= , size=9732, nrcpt=1 (queue active) Mar 6 17:06:41 srv4hai postfix/local[2918]: 1F8A663463: to= , orig_to= , relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Mar 6 17:06:41 srv4hai postfix/cleanup[2905]: 2842D63464: message-id=<20250306160641.2842D63464@mail.viehai.at> Mar 6 17:06:41 srv4hai postfix/qmgr[8566]: 2842D63464: from=<>, size=11611, nrcpt=1 (queue active) Mar 6 17:06:41 srv4hai postfix/bounce[2919]: 1F8A663463: sender non-delivery notification: 2842D63464 Mar 6 17:06:41 srv4hai postfix/qmgr[8566]: 1F8A663463: removed Mar 6 17:06:41 srv4hai activate_scenario[2849]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle' Mar 6 17:06:41 srv4hai postfix/local[2918]: 2842D63464: to= , relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Mar 6 17:06:41 srv4hai postfix/qmgr[8566]: 2842D63464: removed Mar 6 17:06:41 srv4hai proc_url[2924]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/03/06/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Mar 6 17:06:41 srv4hai activate_scenario[2849]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle' Mar 6 17:06:41 srv4hai proc_url[2935]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/03/06/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Mar 6 17:06:41 srv4hai activate_scenario[2849]: SHELLY scenario: 'buero_UM(buero_um)' took 161 msec, shelly-40:'TB Licht' Mar 6 17:06:44 srv4hai activate_scenario[2976]: SHELLY scenario: 'homeOffice(homeoffice)' started Mar 6 17:06:44 srv4hai activate_scenario[2976]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished