activate_scenario.sh
Thu Apr 17 07:08:38 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/17/_0.log)

vorher: 07:08:38.813

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: 07:08:38.857
Dauer: 44 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:08:38.847

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: 07:08:38.881
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 07:08:38.747
nachher: 07:08:38.893
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/17//scene_buero_UM_20250417_070838.txt'


syslog

Apr 17 07:05:00 srv4hai mqtt_process[9188]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 17 07:05:00 srv4hai mqtt_process[9213]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:05:00 srv4hai mqtt_process[9238]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:05:00 srv4hai ping_SP[16461]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744866300 - 'ping_SP_0'
Apr 17 07:05:00 srv4hai ping_SP[16461]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 17 07:05:01 srv4hai CRON[9278]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 07:05:32 srv4hai kernel: [90844444.710375] CPU5: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710376] CPU0: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710376] CPU4: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710378] CPU6: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710378] CPU2: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710380] CPU7: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710381] CPU1: Package temperature/speed normal
Apr 17 07:05:32 srv4hai kernel: [90844444.710382] CPU3: Package temperature/speed normal
Apr 17 07:05:36 srv4hai mqtt_process[9289]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:05:36 srv4hai mqtt_process[9314]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:06:00 srv4hai mqtt_process[9346]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 17 07:06:01 srv4hai mqtt_process[9373]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:06:01 srv4hai mqtt_process[9398]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:06:01 srv4hai CRON[9424]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 07:06:12 srv4hai ping_SP[17415]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1744866372 - 'ping_SP_1'
Apr 17 07:06:12 srv4hai ping_SP[17415]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 17 07:06:13 srv4hai ping_SP[16461]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744866373 - 'ping_SP_0'
Apr 17 07:06:13 srv4hai ping_SP[16461]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 17 07:06:16 srv4hai dhcpd[30231]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Apr 17 07:06:16 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr 17 07:06:16 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr 17 07:06:16 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.122
Apr 17 07:06:16 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-22
Apr 17 07:06:16 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Apr 17 07:06:16 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f932c0a6290 192.168.12.252#37097/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#56085/key rndc-key: signer "rndc-key" approved
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#56085/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#56085/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#56085/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f93380b4a40 192.168.12.252#56085/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Apr 17 07:06:16 srv4hai dhcpd[30231]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#52931/key rndc-key: signer "rndc-key" approved
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#52931/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Apr 17 07:06:16 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#52931/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 17 07:06:16 srv4hai dhcpd[30231]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Apr 17 07:06:16 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Apr 17 07:06:18 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Apr 17 07:06:18 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Apr 17 07:06:18 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Apr 17 07:06:18 srv4hai bt_scan[9437]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 17 07:06:18 srv4hai bt_scan[9437]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 17 07:06:18 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.No
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'presence'
Apr 17 07:06:18 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.Yes
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_1.LIVE' for what: 'presence'
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Apr 17 07:06:18 srv4hai check_presence[9606]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 17 07:06:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 17 07:06:30 srv4hai fetchmail[1651]: 67937 messages (67937 seen) for tmiglinci at mail.akis.at (1295733275 octets).
Apr 17 07:06:31 srv4hai fetchmail[1651]: 11836 messages (11836 seen) for srozum at mail.akis.at (1394739570 octets).
Apr 17 07:06:31 srv4hai fetchmail[1651]: 30351 messages (30351 seen) for mrozum at mail.akis.at (949786785 octets).
Apr 17 07:06:32 srv4hai fetchmail[1651]: 1169 messages (1169 seen) for admin@bastelstube.wien at pop3.world4you.com (52284237 octets).
Apr 17 07:06:36 srv4hai mqtt_process[9695]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:06:36 srv4hai mqtt_process[9720]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:06:52 srv4hai bt_scan[9750]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 17 07:06:52 srv4hai bt_scan[9750]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr 17 07:06:56 srv4hai kernel: [90844528.477377] CPU1: Core temperature/speed normal
Apr 17 07:06:56 srv4hai kernel: [90844528.477378] CPU5: Core temperature/speed normal
Apr 17 07:07:00 srv4hai mqtt_process[9789]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 17 07:07:00 srv4hai mqtt_process[9814]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:07:00 srv4hai mqtt_process[9839]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:07:01 srv4hai CRON[9865]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 07:07:25 srv4hai ping_SP[17415]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1744866445 - 'ping_SP_1'
Apr 17 07:07:25 srv4hai ping_SP[17415]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 17 07:07:26 srv4hai ping_SP[16461]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1744866446 - 'ping_SP_0'
Apr 17 07:07:26 srv4hai ping_SP[16461]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 17 07:07:36 srv4hai mqtt_process[9913]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:07:36 srv4hai mqtt_process[9938]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:08:00 srv4hai mqtt_process[9964]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!!
Apr 17 07:08:00 srv4hai mqtt_process[9989]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:08:00 srv4hai mqtt_process[10014]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:08:01 srv4hai CRON[10040]: (root) CMD (/etc/linetest/linetest.sh)
Apr 17 07:08:14 srv4hai postfix/anvil[9173]: statistics: max connection rate 1/60s for (smtp:194.0.234.11) at Apr 17 07:04:53
Apr 17 07:08:14 srv4hai postfix/anvil[9173]: statistics: max connection count 1 for (smtp:194.0.234.11) at Apr 17 07:04:53
Apr 17 07:08:14 srv4hai postfix/anvil[9173]: statistics: max cache size 1 at Apr 17 07:04:53
Apr 17 07:08:36 srv4hai mqtt_process[10061]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:08:36 srv4hai mqtt_process[10086]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!!
Apr 17 07:08:38 srv4hai activate_scenario[10112]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 17 07:08:38 srv4hai activate_scenario[10112]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished