activate_scenario.sh
Sat Apr 26 23:55:47 CEST 2025
scenario: offDownstairs
source: 192.168.12.123
vorher: 23:55:48.067
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: 23:55:48.115
Dauer: 64 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.105
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: 23:55:48.144
Dauer: 40 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.151
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": "input" |
nachher: 23:55:48.231
Dauer: 56 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.206
http://192.168.12.105/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 23:55:48.280
Dauer: 74 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.242
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: 23:55:48.373
Dauer: 131 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.287
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: 23:55:48.365
Dauer: 79 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.333
http://192.168.12.116/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: 23:55:48.463
Dauer: 130 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.387
http://192.168.12.116/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: 23:55:48.487
Dauer: 103 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.422
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: 23:55:48.451
Dauer: 28 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.479
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: 23:55:48.544
Dauer: 54 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.510
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: 23:55:48.583
Dauer: 73 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.567
http://192.168.12.122/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 23:55:48.615
Dauer: 47 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.586
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: 23:55:48.671
Dauer: 85 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.645
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: 23:55:48.679
Dauer: 35 msec
phName: 'shelly-23:'WZ Licht Sofa''
vorher: 23:55:48.661
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: 23:55:48.705
Dauer: 44 msec
phName: 'shelly-23:'WZ Licht Sofa''
urls : 15
vorher : 23:55:48.014
nachher: 23:55:48.732
Dauer : 719 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/26//scene_offDownstairs_20250426_235547.txt'
Apr 26 23:52:00 srv4hai mqtt_process[19012]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 26 23:52:00 srv4hai mqtt_process[19037]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:52:00 srv4hai mqtt_process[19062]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:52:01 srv4hai CRON[19088]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 23:52:16 srv4hai mqtt_process[19093]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:52:16 srv4hai mqtt_process[19118]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:52:30 srv4hai ping_SP[8405]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1745704350 - 'ping_SP_1' Apr 26 23:52:30 srv4hai ping_SP[8405]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 26 23:52:53 srv4hai kernel: [91682495.613399] CPU1: Core temperature/speed normal Apr 26 23:52:53 srv4hai kernel: [91682495.613400] CPU5: Core temperature/speed normal Apr 26 23:52:59 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1745704379 - 'ping_SP_0' Apr 26 23:52:59 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 26 23:53:00 srv4hai mqtt_process[19195]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 26 23:53:00 srv4hai mqtt_process[19220]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:53:00 srv4hai mqtt_process[19245]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:53:01 srv4hai CRON[19271]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 23:53:16 srv4hai mqtt_process[19276]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:53:16 srv4hai mqtt_process[19301]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:53:43 srv4hai ping_SP[8405]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1745704423 - 'ping_SP_1' Apr 26 23:53:43 srv4hai ping_SP[8405]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 26 23:53:59 srv4hai mqtt_process[19357]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:54:00 srv4hai mqtt_process[19382]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:54:00 srv4hai mqtt_process[19407]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 26 23:54:01 srv4hai CRON[19433]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 23:54:12 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1745704452 - 'ping_SP_0' Apr 26 23:54:12 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 26 23:54:16 srv4hai mqtt_process[19458]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:54:16 srv4hai mqtt_process[19483]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:54:27 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19511, secured, session= Apr 26 23:54:27 srv4hai dovecot: imap(miglincit)<19511> : 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 26 23:54:41 srv4hai postfix/smtpd[19512]: connect from unknown[185.208.159.214] Apr 26 23:54:41 srv4hai postfix/smtpd[19512]: warning: unknown[185.208.159.214]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 26 23:54:41 srv4hai postfix/smtpd[19512]: disconnect from unknown[185.208.159.214] ehlo=1 auth=0/1 quit=1 commands=2/3 Apr 26 23:54:42 srv4hai dhcpd[30231]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24 Apr 26 23:54:42 srv4hai dhcpd[30231]: DHCPDISCOVER from cc:8d:a2:5c:7e:a4 via enp2s0 Apr 26 23:54:42 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0 Apr 26 23:54:42 srv4hai dhcpd[30231]: uid lease 192.168.12.55 for client cc:8d:a2:5c:7e:a4 is duplicate on 192.168.12.0/24 Apr 26 23:54:42 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 26 23:54:42 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.155 Apr 26 23:54:42 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-55 Apr 26 23:54:42 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.155 (192.168.12.252) from cc:8d:a2:5c:7e:a4 via enp2s0 Apr 26 23:54:42 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.155 to cc:8d:a2:5c:7e:a4 via enp2s0 Apr 26 23:54:42 srv4hai named[30406]: client @0x7f93501490e0 192.168.12.252#49551/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-55.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 26 23:54:42 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#47475/key rndc-key: signer "rndc-key" approved Apr 26 23:54:42 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#47475/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' TXT Apr 26 23:54:42 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#47475/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' TXT "3142e500a05fde125f7a8aca06f7c55ae3" Apr 26 23:54:42 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#47475/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-55.viehai.at' A Apr 26 23:54:42 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#47475/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-55.viehai.at' A 192.168.12.155 Apr 26 23:54:42 srv4hai dhcpd[30231]: Added new forward map from shelly-55.viehai.at to 192.168.12.155 Apr 26 23:54:42 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#46185/key rndc-key: signer "rndc-key" approved Apr 26 23:54:42 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#46185/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '155.12.168.192.in-addr.arpa' PTR Apr 26 23:54:42 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#46185/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '155.12.168.192.in-addr.arpa' PTR shelly-55.viehai.at. Apr 26 23:54:42 srv4hai dhcpd[30231]: Added reverse map from 155.12.168.192.in-addr.arpa. to shelly-55.viehai.at Apr 26 23:54:42 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-55' - shIP/2:'' perform:'conf' Apr 26 23:54:42 srv4hai mosquitto[29419]: New connection from 192.168.12.155 on port 1883. Apr 26 23:54:42 srv4hai mosquitto[29419]: Client shelly1minig3-cc8da25c7ea4 already connected, closing old connection. Apr 26 23:54:42 srv4hai mosquitto[29419]: Socket error on client shelly1minig3-cc8da25c7ea4, disconnecting. Apr 26 23:54:42 srv4hai mosquitto[29419]: New client connected from 192.168.12.155 as shelly1minig3-cc8da25c7ea4 (c1, k60, u'shmqtt'). Apr 26 23:54:43 srv4hai mqtt_process[19527]: SHELLY shMqtt:'shelly1minig3-cc8da25c7ea4'/'GB Schreibtischlampe rechts' - btn: '{btn}' ignored and discarded !! Apr 26 23:54:43 srv4hai mqtt_process[19555]: SHELLY shMqtt:'shelly1minig3-cc8da25c7ea4'/'GB Schreibtischlampe rechts' - btn: '{btn}' ignored and discarded !! Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-55' - shIP/2:'192.168.12.155' Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY: usage/name 'GB Schreibtischlampe rechts' already set for '192.168.12.155' Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(0)' - allready transmitted - skipping Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(1)' - allready transmitted - skipping Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(2)' - allready transmitted - skipping Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(3)' - IGNORED Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' 'conf(4)' - '' Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-cmd: 'curl --connect-timeout 3 --silent -POST -d '' http://192.168.12.155/rpc | jq -r '.'' Apr 26 23:54:43 srv4hai conf_shelly.sh: SHELLY:'shelly-55' conf(4)-ret: '' Apr 26 23:54:56 srv4hai ping_SP[8405]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1745704496 - 'ping_SP_1' Apr 26 23:54:56 srv4hai ping_SP[8405]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 26 23:55:00 srv4hai mqtt_process[19706]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 26 23:55:00 srv4hai mqtt_process[19731]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:55:00 srv4hai mqtt_process[19756]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:55:01 srv4hai CRON[19782]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 23:55:16 srv4hai mqtt_process[19795]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:55:16 srv4hai mqtt_process[19820]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 26 23:55:25 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1745704525 - 'ping_SP_0' Apr 26 23:55:25 srv4hai ping_SP[5283]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 26 23:55:45 srv4hai activate_scenario[19861]: SHELLY scenario: 'buero_UM(buero_um)' started Apr 26 23:55:45 srv4hai activate_scenario[19861]: SHELLY dayState='night' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - shelly-40:'TB Licht' Apr 26 23:55:45 srv4hai activate_scenario[19861]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht' Apr 26 23:55:45 srv4hai activate_scenario[19861]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle' Apr 26 23:55:45 srv4hai proc_url[19921]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/04/26/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Apr 26 23:55:46 srv4hai activate_scenario[19861]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle' Apr 26 23:55:46 srv4hai proc_url[19932]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/04/26/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht'' Apr 26 23:55:46 srv4hai activate_scenario[19861]: SHELLY scenario: 'buero_UM(buero_um)' took 134 msec, shelly-40:'TB Licht' Apr 26 23:55:47 srv4hai activate_scenario[19974]: SHELLY scenario: 'offDownstairs(offdownstairs)' started Apr 26 23:55:47 srv4hai activate_scenario[19974]: SHELLY dayState='night' <--> DayTime='checked' NightTime='checked' flag 'execute* set as ' - shelly-23:'WZ Licht Sofa'
finished