Shelly HT device is calling openhab properly, items are not being update with ne…w values.
## Expected Behavior
Item state is update every device request
## Current Behavior
shelly is sending GET requests, items not updating their state
## Possible Solution
REFRESH state after call?
## Steps to Reproduce (for Bugs)
1. registered shelly thing
2. created items manually
3. tcpdump on host for device driven communication
> 16:52:01.628728 IP 192.168.1.202.46659 > host.http-alt: Flags [S], seq 6511, win 5840, options [mss 1460], length 0
> 16:52:01.633740 IP 192.168.1.202.46659 > host.http-alt: Flags [.], ack 76914955, win 5840, length 0
> 16:52:01.636956 IP 192.168.1.202.46659 > host.http-alt: Flags [P.], seq 0:120, ack 1, win 5840, length 120: HTTP: GET /shelly/event/shellyht-f38fc8/sensordata?hum=40&temp=23.25 HTTP/1.1
> 16:52:01.688946 IP 192.168.1.202.46659 > host.http-alt: Flags [.], ack 72, win 5769, length 0
> 16:52:31.659237 IP 192.168.1.202.46659 > host.http-alt: Flags [.], ack 73, win 5768, length 0
> 16:52:31.660797 IP 192.168.1.202.46659 > host.http-alt: Flags [F.], seq 120, ack 73, win 5768, length 0
> 16:59:20.113238 IP 192.168.1.202.7887 > host.http-alt: Flags [S], seq 6511, win 5840, options [mss 1460], length 0
> 16:59:20.122912 IP 192.168.1.202.7887 > host.http-alt: Flags [.], ack 27443965, win 5840, length 0
> 16:59:20.125811 IP 192.168.1.202.7887 > host.http-alt: Flags [P.], seq 0:120, ack 1, win 5840, length 120: HTTP: GET /shelly/event/shellyht-f38fc8/sensordata?hum=40&temp=14.88 HTTP/1.1
> 16:59:20.206905 IP 192.168.1.202.7887 > host.http-alt: Flags [.], ack 72, win 5769, length 0
> 17:04:00.487376 IP 192.168.1.202.32428 > host.http-alt: Flags [S], seq 6511, win 5840, options [mss 1460], length 0
> 17:04:00.495389 IP 192.168.1.202.32428 > host.http-alt: Flags [.], ack 146515865, win 5840, length 0
> 17:04:00.498728 IP 192.168.1.202.32428 > host.http-alt: Flags [P.], seq 0:120, ack 1, win 5840, length 120: HTTP: GET /shelly/event/shellyht-f38fc8/sensordata?hum=45&temp=19.12 HTTP/1.1
> 17:04:00.616863 IP 192.168.1.202.32428 > host.http-alt: Flags [.], ack 72, win 5769, length 0
> 17:08:39.616369 IP 192.168.1.202.14604 > host.http-alt: Flags [S], seq 6511, win 5840, options [mss 1460], length 0
> 17:08:39.621582 IP 192.168.1.202.14604 > host.http-alt: Flags [.], ack 2815186, win 5840, length 0
> 17:08:39.624612 IP 192.168.1.202.14604 > host.http-alt: Flags [P.], seq 0:120, ack 1, win 5840, length 120: HTTP: GET /shelly/event/shellyht-f38fc8/sensordata?hum=46&temp=20.12 HTTP/1.1
> 17:08:39.721555 IP 192.168.1.202.14604 > host.http-alt: Flags [.], ack 72, win 5769, length 0
> 18:17:27.858776 IP 192.168.1.202.22851 > host.http-alt: Flags [S], seq 6511, win 5840, options [mss 1460], length 0
> 18:17:27.866776 IP 192.168.1.202.22851 > host.http-alt: Flags [.], ack 1964596012, win 5840, length 0
> 18:17:27.870777 IP 192.168.1.202.22851 > host.http-alt: Flags [P.], seq 0:120, ack 1, win 5840, length 120: HTTP: GET /shelly/event/shellyht-f38fc8/sensordata?hum=38&temp=18.75 HTTP/1.1
> 18:17:27.910779 IP 192.168.1.202.22851 > host.http-alt: Flags [.], ack 72, win 5769, length 0
> 18:22:08.840092 IP 192.168.1.202.57170 > host.http-alt: Flags [S], seq 6511, win 5840, options [mss 1460], length 0
> 18:22:08.848116 IP 192.168.1.202.57170 > host.http-alt: Flags [.], ack 4055253679, win 5840, length 0
> 18:22:08.850283 IP 192.168.1.202.57170 > host.http-alt: Flags [P.], seq 0:120, ack 1, win 5840, length 120: HTTP: GET /shelly/event/shellyht-f38fc8/sensordata?hum=37&temp=10.00 HTTP/1.1
> 18:22:08.973875 IP 192.168.1.202.57170 > host.http-alt: Flags [.], ack 72, win 5769, length 0
logs of state every minute:
> 2020-02-27 18:01:00.069 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:02:00.005 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:03:00.008 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:04:00.008 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:05:00.007 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:06:00.004 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:07:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:08:00.004 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:09:00.003 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:10:00.013 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:11:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:12:00.009 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:13:00.008 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:14:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:15:00.007 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:16:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:17:00.003 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:18:00.005 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:19:00.009 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:20:00.007 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:21:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:22:00.007 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:23:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:24:00.006 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
> 2020-02-27 18:25:00.009 [INFO ] [marthome.model.script.SENSOR STATE] - temp (Type=NumberItem, State=23.25 °C, Label=label1, Category=null, Tags=[Text]) - humid (Type=NumberItem, State=40.00 %, Label=label2, Category=null, Tags=[Text])
## Context
Want to get updates
## Your Environment
everything updated as of 27.02.20
openhab 2.5.2
shellyht The current Firmware version of your Shelly device is 20191216-090428/v1.5.7@c30657ba No newer firmware available.