activate_scenario.sh
Mon Apr 1 23:41:15 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

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

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/01/_0.log)

vorher: 23:41:16.105

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

nachher: 23:41:16.137
Dauer: 33 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 23:41:16.056
nachher: 23:41:16.144
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/01//scene_bedlight_tom_20240401_234115.txt'


syslog

Apr  1 23:38:01 srv4hai CRON[25151]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 23:38:02 srv4hai common[25156]: SHELLY common.sh inkludiert
Apr  1 23:38:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:02 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 25s ago - EXIT
Apr  1 23:38:07 srv4hai common[25182]: SHELLY common.sh inkludiert
Apr  1 23:38:07 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:07 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:07 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 30s ago - EXIT
Apr  1 23:38:12 srv4hai common[25207]: SHELLY common.sh inkludiert
Apr  1 23:38:12 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:12 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:12 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 35s ago - EXIT
Apr  1 23:38:17 srv4hai common[25233]: SHELLY common.sh inkludiert
Apr  1 23:38:17 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:17 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:17 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 40s ago - EXIT
Apr  1 23:38:22 srv4hai common[25265]: SHELLY common.sh inkludiert
Apr  1 23:38:22 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:22 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:22 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 45s ago - EXIT
Apr  1 23:38:27 srv4hai common[25288]: SHELLY common.sh inkludiert
Apr  1 23:38:27 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:27 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:27 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 50s ago - EXIT
Apr  1 23:38:32 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712007512 - 'ping_SP_0'
Apr  1 23:38:32 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 23:38:32 srv4hai common[25327]: SHELLY common.sh inkludiert
Apr  1 23:38:32 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:32 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:32 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 55s ago - EXIT
Apr  1 23:38:38 srv4hai common[25353]: SHELLY common.sh inkludiert
Apr  1 23:38:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:38 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 61s ago - EXIT
Apr  1 23:38:43 srv4hai common[25382]: SHELLY common.sh inkludiert
Apr  1 23:38:43 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:43 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:43 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 66s ago - EXIT
Apr  1 23:38:48 srv4hai common[25409]: SHELLY common.sh inkludiert
Apr  1 23:38:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:48 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 71s ago - EXIT
Apr  1 23:38:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25433, secured, session=
Apr  1 23:38:48 srv4hai dovecot: imap(miglincit)<25433>: Logged out in=492 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr  1 23:38:50 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr  1 23:38:51 srv4hai fetchmail[1651]: 41067 messages (41067 seen) for tmiglinci at mail.akis.at (-874041346 octets).
Apr  1 23:38:51 srv4hai fetchmail[1651]: 10077 messages (10077 seen) for srozum at mail.akis.at (1216602893 octets).
Apr  1 23:38:52 srv4hai fetchmail[1651]: 22585 messages (22585 seen) for mrozum at mail.akis.at (-383855656 octets).
Apr  1 23:38:52 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr  1 23:38:53 srv4hai common[25439]: SHELLY common.sh inkludiert
Apr  1 23:38:53 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:53 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:53 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 76s ago - EXIT
Apr  1 23:38:58 srv4hai common[25465]: SHELLY common.sh inkludiert
Apr  1 23:38:58 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=37&temp=23.88&id=shellyht-00B358
Apr  1 23:38:58 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-37_20240401.csv'
Apr  1 23:38:58 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240401.csv' modifed 81s ago - EXIT
Apr  1 23:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr  1 23:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr  1 23:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr  1 23:39:01 srv4hai CRON[25580]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 23:39:01 srv4hai CRON[25581]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr  1 23:39:32 srv4hai common[25602]: SHELLY common.sh inkludiert
Apr  1 23:39:42 srv4hai bt_scan[25602]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Apr  1 23:39:42 srv4hai bt_scan[25602]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr  1 23:39:42 srv4hai common[25643]: SHELLY common.sh inkludiert
Apr  1 23:39:43 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1712007583-1712007572
Apr  1 23:39:43 srv4hai check_presence[25643]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr  1 23:39:43 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1712007583-1712007572
Apr  1 23:39:43 srv4hai check_presence[25643]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr  1 23:39:43 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1712007583-1712007572
Apr  1 23:39:43 srv4hai check_presence[25643]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr  1 23:39:43 srv4hai check_presence[25643]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (BT/IP) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr  1 23:39:43 srv4hai check_presence[25643]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr  1 23:39:45 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712007585 - 'ping_SP_0'
Apr  1 23:39:45 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 23:40:01 srv4hai CRON[25770]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 23:40:01 srv4hai CRON[25771]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr  1 23:40:01 srv4hai common[25773]: SHELLY common.sh inkludiert
Apr  1 23:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr  1 23:40:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr  1 23:40:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr  1 23:40:04 srv4hai meter.sh: SHELLY 'shelly-23/Licht Sekretär':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  1 23:40:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr  1 23:40:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr  1 23:40:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr  1 23:40:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr  1 23:40:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr  1 23:40:10 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  1 23:40:10 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr  1 23:40:13 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  1 23:40:15 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  1 23:40:15 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr  1 23:40:15 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr  1 23:40:15 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr  1 23:40:15 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr  1 23:40:15 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr  1 23:40:18 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr  1 23:40:18 srv4hai common[25773]: SHELLY common.sh inkludiert
Apr  1 23:40:18 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Apr  1 23:40:18 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Apr  1 23:40:18 srv4hai meter.sh: SHELLY meter.sh ended
Apr  1 23:40:18 srv4hai postfix/pickup[12822]: CCDFA60245: uid=33 from=
Apr  1 23:40:18 srv4hai postfix/cleanup[26658]: CCDFA60245: message-id=<20240401214018.CCDFA60245@mail.viehai.at>
Apr  1 23:40:18 srv4hai postfix/qmgr[15291]: CCDFA60245: from=, size=895, nrcpt=1 (queue active)
Apr  1 23:40:18 srv4hai postfix/local[26660]: CCDFA60245: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr  1 23:40:18 srv4hai postfix/qmgr[15291]: CCDFA60245: removed
Apr  1 23:40:58 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1712007658 - 'ping_SP_0'
Apr  1 23:40:58 srv4hai ping_SP[10772]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr  1 23:41:01 srv4hai dhcpd[5037]: DHCPDISCOVER from 30:83:98:8c:05:9d via enp2s0
Apr  1 23:41:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  1 23:41:01 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Apr  1 23:41:01 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.123
Apr  1 23:41:01 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-23
Apr  1 23:41:01 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.123 (192.168.12.252) from 30:83:98:8c:05:9d via enp2s0
Apr  1 23:41:01 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.123 to 30:83:98:8c:05:9d via enp2s0
Apr  1 23:41:01 srv4hai CRON[26706]: (root) CMD (/etc/linetest/linetest.sh)
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f93180c5880 192.168.12.252#60865/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-23.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#58881/key rndc-key: signer "rndc-key" approved
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#58881/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' TXT
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#58881/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' TXT "0067c4eae5f3400bd02ff9ebe320262416"
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#58881/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-23.viehai.at' A
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f93180107e0 192.168.12.252#58881/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-23.viehai.at' A 192.168.12.123
Apr  1 23:41:01 srv4hai dhcpd[5037]: Added new forward map from shelly-23.viehai.at to 192.168.12.123
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f930c0b39c0 192.168.12.252#47125/key rndc-key: signer "rndc-key" approved
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f930c0b39c0 192.168.12.252#47125/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '123.12.168.192.in-addr.arpa' PTR
Apr  1 23:41:01 srv4hai named[15509]: client @0x7f930c0b39c0 192.168.12.252#47125/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '123.12.168.192.in-addr.arpa' PTR shelly-23.viehai.at.
Apr  1 23:41:01 srv4hai dhcpd[5037]: Added reverse map from 123.12.168.192.in-addr.arpa. to shelly-23.viehai.at
Apr  1 23:41:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-23' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-23' - shIP/2:'192.168.12.123'
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Licht Sekretär' already set for '192.168.12.123'
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(0)' - allready transmitted - skipping
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(1)' - allready transmitted - skipping
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(2)' - allready transmitted - skipping
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(3)' - allready transmitted - skipping
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(4)' - allready transmitted - skipping
Apr  1 23:41:02 srv4hai conf_shelly.sh: SHELLY:'shelly-23' 'conf(5)' - allready transmitted - skipping
Apr  1 23:41:03 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 ON : MISSING
Apr  1 23:41:03 srv4hai conf_shelly.sh: SHELLY:'shelly-23' out:0 OFF: MISSING
Apr  1 23:41:16 srv4hai activate_scenario[26849]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Apr  1 23:41:16 srv4hai activate_scenario[26849]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished