activate_scenario.sh
Wed Apr 9 06:49:23 CEST 2025
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/04/09/_0.log)

vorher: 06:49:23.208

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

nachher: 06:49:23.267
Dauer: 59 msec phName: 'shelly-40:'TB Licht''


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

vorher: 06:49:23.246

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

nachher: 06:49:23.344
Dauer: 99 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 06:49:23.154
nachher: 06:49:23.358
Dauer : 204 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/09//scene_buero_UM_20250409_064923.txt'


syslog

Apr  9 06:46:00 srv4hai mqtt_process[24854]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 06:46:01 srv4hai CRON[24880]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:46:16 srv4hai kernel: [90152079.911818] CPU1: Core temperature/speed normal
Apr  9 06:46:16 srv4hai kernel: [90152079.911818] CPU5: Core temperature/speed normal
Apr  9 06:46:50 srv4hai dhcpd[30231]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Apr  9 06:46:50 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr  9 06:46:50 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  9 06:46:50 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.122
Apr  9 06:46:50 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-22
Apr  9 06:46:50 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Apr  9 06:46:50 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#59191/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#38105/key rndc-key: signer "rndc-key" approved
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#38105/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#38105/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#38105/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f933011e890 192.168.12.252#38105/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Apr  9 06:46:50 srv4hai dhcpd[30231]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#33037/key rndc-key: signer "rndc-key" approved
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#33037/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Apr  9 06:46:50 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#33037/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.
Apr  9 06:46:50 srv4hai dhcpd[30231]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Apr  9 06:46:50 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Apr  9 06:46:51 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Apr  9 06:46:51 srv4hai mosquitto[29419]: Client shelly1-98CDAC2E1CDA already connected, closing old connection.
Apr  9 06:46:51 srv4hai mosquitto[29419]: Socket error on client shelly1-98CDAC2E1CDA, disconnecting.
Apr  9 06:46:51 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Apr  9 06:46:51 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Apr  9 06:46:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  9 06:46:52 srv4hai fetchmail[1651]: 67389 messages (67389 seen) for tmiglinci at mail.akis.at (1252191708 octets).
Apr  9 06:46:53 srv4hai mqtt_process[25003]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:46:53 srv4hai mqtt_process[25028]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:46:53 srv4hai fetchmail[1651]: 11806 messages (11806 seen) for srozum at mail.akis.at (1392400875 octets).
Apr  9 06:46:53 srv4hai fetchmail[1651]: 30169 messages (30169 seen) for mrozum at mail.akis.at (916924396 octets).
Apr  9 06:46:54 srv4hai fetchmail[1651]: 1166 messages (1166 seen) for admin@bastelstube.wien at pop3.world4you.com (52256796 octets).
Apr  9 06:47:00 srv4hai mqtt_process[25057]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:47:00 srv4hai mqtt_process[25082]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:47:00 srv4hai mqtt_process[25107]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 06:47:01 srv4hai CRON[25135]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:47:04 srv4hai ping_SP[7052]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744174024 - 'ping_SP_0'
Apr  9 06:47:04 srv4hai ping_SP[7052]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 06:47:53 srv4hai mqtt_process[25158]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:47:53 srv4hai mqtt_process[25183]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:47:59 srv4hai mqtt_process[25211]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:47:59 srv4hai mqtt_process[25236]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:48:00 srv4hai mqtt_process[25261]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 06:48:01 srv4hai CRON[25287]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:48:17 srv4hai ping_SP[7052]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744174097 - 'ping_SP_0'
Apr  9 06:48:17 srv4hai ping_SP[7052]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  9 06:48:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25321, secured, session=
Apr  9 06:48:50 srv4hai dovecot: imap(miglincit)<25321>: 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  9 06:48:53 srv4hai mqtt_process[25322]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:48:53 srv4hai mqtt_process[25347]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:48:59 srv4hai mqtt_process[25373]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:48:59 srv4hai mqtt_process[25398]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr  9 06:49:00 srv4hai mqtt_process[25423]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr  9 06:49:01 srv4hai CRON[25449]: (root) CMD (/etc/linetest/linetest.sh)
Apr  9 06:49:23 srv4hai activate_scenario[25461]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr  9 06:49:23 srv4hai activate_scenario[25461]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished