activate_scenario.sh
Tue Jun 4 18:34:28 CEST 2024
scenario: sekr_UM
source: 192.168.12.101

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/06/04/_0.log)

vorher: 18:34:28.256

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

nachher: 18:34:28.284
Dauer: 27 msec phName: 'shelly-01:'Wandlicht beim Esstisch''


scenario: 'Sekretär Licht UM-schalten' - 'sekr_UM' - 'sekr_um'

urls : 1
vorher : 18:34:28.238
nachher: 18:34:28.290
Dauer : 53 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/04//scene_sekr_UM_20240604_183428.txt'


syslog

Jun  4 18:31:01 srv4hai CRON[2203]: (root) CMD (/etc/linetest/linetest.sh)
Jun  4 18:31:02 srv4hai common[2209]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:02 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 122s ago - EXIT
Jun  4 18:31:08 srv4hai common[2236]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:08 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:08 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:08 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 128s ago - EXIT
Jun  4 18:31:13 srv4hai common[2265]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:13 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:13 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:13 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 133s ago - EXIT
Jun  4 18:31:18 srv4hai common[2292]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:18 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:18 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:18 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 138s ago - EXIT
Jun  4 18:31:23 srv4hai common[2324]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:23 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:23 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:23 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 143s ago - EXIT
Jun  4 18:31:28 srv4hai common[2352]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:28 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:28 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:28 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 148s ago - EXIT
Jun  4 18:31:29 srv4hai named[30406]: resolver priming query complete
Jun  4 18:31:33 srv4hai common[2384]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:33 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:33 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:33 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 153s ago - EXIT
Jun  4 18:31:38 srv4hai common[2434]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:38 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 158s ago - EXIT
Jun  4 18:31:43 srv4hai common[2467]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:43 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 163s ago - EXIT
Jun  4 18:31:48 srv4hai common[2502]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:48 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 168s ago - EXIT
Jun  4 18:31:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2534, secured, session=
Jun  4 18:31:50 srv4hai dovecot: imap(miglincit)<2534>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun  4 18:31:53 srv4hai common[2536]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:53 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 173s ago - EXIT
Jun  4 18:31:59 srv4hai common[2564]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:31:59 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:31:59 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:31:59 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 179s ago - EXIT
Jun  4 18:32:01 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  4 18:32:01 srv4hai fetchmail[1651]: 45712 messages (45712 seen) for tmiglinci at mail.akis.at (-523132955 octets).
Jun  4 18:32:01 srv4hai CRON[2591]: (root) CMD (/etc/linetest/linetest.sh)
Jun  4 18:32:02 srv4hai fetchmail[1651]: 10286 messages (10286 seen) for srozum at mail.akis.at (1238307482 octets).
Jun  4 18:32:02 srv4hai fetchmail[1651]: 23873 messages (23873 seen) for mrozum at mail.akis.at (-171242232 octets).
Jun  4 18:32:03 srv4hai fetchmail[1651]: 87 messages (87 seen) for admin@bastelstube.wien at pop3.world4you.com (34052777 octets).
Jun  4 18:32:04 srv4hai common[2599]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun  4 18:32:04 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=48&temp=24.38&id=shellyht-00B358
Jun  4 18:32:04 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-37_20240604.csv'
Jun  4 18:32:04 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240604.csv' modifed 184s ago - EXIT
Jun  4 18:32:56 srv4hai mosquitto[18551]: Client shellyht-00B358 has exceeded timeout, disconnecting.
Jun  4 18:32:56 srv4hai mosquitto[18551]: Socket error on client shellyht-00B358, disconnecting.
Jun  4 18:32:58 srv4hai postfix/anvil[319]: statistics: max connection rate 1/60s for (smtp:83.136.38.178) at Jun  4 18:28:33
Jun  4 18:32:58 srv4hai postfix/anvil[319]: statistics: max connection count 1 for (smtp:83.136.38.178) at Jun  4 18:28:33
Jun  4 18:32:58 srv4hai postfix/anvil[319]: statistics: max cache size 1 at Jun  4 18:28:33
Jun  4 18:33:01 srv4hai CRON[2660]: (root) CMD (/etc/linetest/linetest.sh)
Jun  4 18:33:12 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun  4 18:33:12 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  4 18:33:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  4 18:33:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  4 18:33:12 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  4 18:33:12 srv4hai common[2669]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  4 18:33:12 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  4 18:33:12 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  4 18:33:12 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f93100dab10 192.168.12.252#43451/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#58531/key rndc-key: signer "rndc-key" approved
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#58531/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#58531/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#58531/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#58531/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun  4 18:33:12 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#34923/key rndc-key: signer "rndc-key" approved
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#34923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun  4 18:33:12 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#34923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Jun  4 18:33:12 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun  4 18:33:13 srv4hai named[30406]: resolver priming query complete
Jun  4 18:33:38 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Jun  4 18:33:38 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jun  4 18:33:39 srv4hai dhcpd[30731]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Jun  4 18:33:39 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Jun  4 18:33:39 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun  4 18:33:39 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.125
Jun  4 18:33:39 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-25
Jun  4 18:33:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Jun  4 18:33:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f932c0cbfc0 192.168.12.252#38629/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#46271/key rndc-key: signer "rndc-key" approved
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#46271/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#46271/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#46271/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#46271/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Jun  4 18:33:39 srv4hai dhcpd[30731]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#49407/key rndc-key: signer "rndc-key" approved
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#49407/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Jun  4 18:33:39 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#49407/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Jun  4 18:33:39 srv4hai dhcpd[30731]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Jun  4 18:33:39 srv4hai common[2706]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun  4 18:33:39 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' perform:'conf'
Jun  4 18:33:40 srv4hai mosquitto[18551]: New connection from 192.168.12.125 on port 1883.
Jun  4 18:33:40 srv4hai mosquitto[18551]: New client connected from 192.168.12.125 as shelly1-98CDAC2DB6DB (c1, k60, u'shmqtt').
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125'
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING
Jun  4 18:33:40 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING
Jun  4 18:33:43 srv4hai named[30406]: resolver priming query complete
Jun  4 18:34:01 srv4hai CRON[2859]: (root) CMD (/etc/linetest/linetest.sh)
Jun  4 18:34:05 srv4hai named[30406]: resolver priming query complete
Jun  4 18:34:09 srv4hai named[30406]: resolver priming query complete
Jun  4 18:34:17 srv4hai named[30406]: resolver priming query complete
Jun  4 18:34:28 srv4hai activate_scenario[2884]: SHELLY scenario: 'sekr_UM(sekr_um)' started
Jun  4 18:34:28 srv4hai activate_scenario[2884]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-01:'Wandlicht beim Esstisch'

finished