activate_scenario.sh
Sat Apr 26 23:55:45 CEST 2025
scenario: buero_UM
source: 192.168.12.140

dayState='night' <--> DayTime='checked' NightTime='checked' flag 'execute* set as '
-> execution of scenario

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

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/04/26/_0.log)

vorher: 23:55:45.966

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: 23:55:46.014
Dauer: 48 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/04/26/_1.log)

vorher: 23:55:46.004

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: 23:55:46.039
Dauer: 35 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 23:55:45.918
nachher: 23:55:46.051
Dauer : 134 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/26//scene_buero_UM_20250426_235545.txt'


syslog

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'

finished