activate_scenario.sh
Thu May 30 21:32:24 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/05/30/_0.log)

vorher: 21:32:24.823

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: 21:32:24.856
Dauer: 32 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 21:32:24.779
nachher: 21:32:24.862
Dauer : 86 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/30//scene_bedlight_tom_20240530_213224.txt'


syslog

May 30 21:29:01 srv4hai CRON[32573]: (root) CMD (/etc/linetest/linetest.sh)
May 30 21:29:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=32586, secured, session=
May 30 21:29:11 srv4hai dovecot: imap(miglincit)<32586>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 30 21:29:25 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717097365 - 'ping_SP_0'
May 30 21:29:25 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 30 21:30:01 srv4hai CRON[32638]: (root) CMD (/etc/linetest/linetest.sh)
May 30 21:30:01 srv4hai CRON[32639]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
May 30 21:30:01 srv4hai CRON[32640]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May 30 21:30:01 srv4hai common[32642]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May 30 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
May 30 21:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May 30 21:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May 30 21:30:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:13 srv4hai meter.sh: SHELLY 'shelly-02/Balkon-Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:15 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May 30 21:30:15 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May 30 21:30:15 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May 30 21:30:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May 30 21:30:15 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May 30 21:30:18 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:20 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:20 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May 30 21:30:20 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May 30 21:30:20 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May 30 21:30:20 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May 30 21:30:20 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
May 30 21:30:23 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
May 30 21:30:26 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May 30 21:30:26 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
May 30 21:30:26 srv4hai common[1084]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
May 30 21:30:26 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
May 30 21:30:26 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
May 30 21:30:26 srv4hai meter.sh: SHELLY meter.sh ended
May 30 21:30:39 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717097439 - 'ping_SP_0'
May 30 21:30:39 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 30 21:30:54 srv4hai mosquitto[18551]: Client shelly1pm-84CCA8A8557D has exceeded timeout, disconnecting.
May 30 21:30:54 srv4hai mosquitto[18551]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting.
May 30 21:31:01 srv4hai CRON[1145]: (root) CMD (/etc/linetest/linetest.sh)
May 30 21:31:06 srv4hai systemd[1]: Started Run anacron jobs.
May 30 21:31:06 srv4hai anacron[1151]: Anacron 2.3 started on 2024-05-30
May 30 21:31:06 srv4hai anacron[1151]: Normal exit (0 jobs run)
May 30 21:31:06 srv4hai systemd[1]: anacron.service: Succeeded.
May 30 21:31:45 srv4hai dhcpd[30731]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0
May 30 21:31:45 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
May 30 21:31:45 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
May 30 21:31:45 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.137
May 30 21:31:45 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-37
May 30 21:31:45 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0
May 30 21:31:45 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0
May 30 21:31:45 srv4hai dhcpd[30731]: DDNS: cleaning up lease pointer for a cancel cb=0x55bb12b04300
May 30 21:31:45 srv4hai dhcpd[30731]: Unable to add forward map from shelly-37.viehai.at to 192.168.12.137: operation canceled
May 30 21:31:45 srv4hai common[1178]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
May 30 21:31:45 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' perform:'conf'
May 30 21:31:46 srv4hai mosquitto[18551]: New connection from 192.168.12.137 on port 1883.
May 30 21:31:46 srv4hai mosquitto[18551]: New client connected from 192.168.12.137 as shellyht-00B358 (c1, k60, u'shmqtt').
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-37' - shIP/2:'192.168.12.137'
May 30 21:31:46 srv4hai common[1201]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:31:46 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:31:46 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:31:46 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 495s ago - EXIT
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY: usage/name 'Klima Büro' already set for '192.168.12.137'
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - ''
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.''
May 30 21:31:46 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: ''
May 30 21:31:51 srv4hai common[1317]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:31:51 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:31:51 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:31:51 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 500s ago - EXIT
May 30 21:31:52 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717097512 - 'ping_SP_0'
May 30 21:31:52 srv4hai ping_SP[29292]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May 30 21:31:56 srv4hai common[1358]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:31:56 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:31:56 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:31:56 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 505s ago - EXIT
May 30 21:32:01 srv4hai CRON[1385]: (root) CMD (/etc/linetest/linetest.sh)
May 30 21:32:05 srv4hai common[1393]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:32:05 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:32:05 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:32:05 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 514s ago - EXIT
May 30 21:32:06 srv4hai common[1419]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:32:06 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:32:06 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:32:06 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 515s ago - EXIT
May 30 21:32:11 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=1445, secured, session=
May 30 21:32:11 srv4hai dovecot: imap(miglincit)<1445>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
May 30 21:32:11 srv4hai common[1447]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:32:11 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:32:11 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:32:11 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 520s ago - EXIT
May 30 21:32:16 srv4hai common[1475]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:32:16 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:32:16 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:32:16 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 525s ago - EXIT
May 30 21:32:21 srv4hai common[1506]: SHELLY common.sh inkludiert von ./ht_shelly.sh
May 30 21:32:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=46&temp=26.75&id=shellyht-00B358
May 30 21:32:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/05/shelly-37_20240530.csv'
May 30 21:32:21 srv4hai ht_shelly.sh: SHELLY - 'shelly-37_20240530.csv' modifed 530s ago - EXIT
May 30 21:32:24 srv4hai activate_scenario[1531]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
May 30 21:32:24 srv4hai activate_scenario[1531]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished