Some of my virtual custom device are only updated during the daytime. At one hour after sunset they got a big redbar. I think it has to do with the HaveTimeout attribute of the device.
Is there a way to disable this "HaveTimeout" : false/true toggle? So I do't see those ugly redbar devices.
Device attribute "HaveTimeout" : false/true
Moderators: leecollings, remb0
- McMelloW
- Posts: 434
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Device attribute "HaveTimeout" : false/true
Greetings McMelloW
-
SweetPants
Re: Device attribute "HaveTimeout" : false/true
Disable data timeout on the Dummy hardware of the device or set it to a time that is suitable
- McMelloW
- Posts: 434
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: Device attribute "HaveTimeout" : false/true
Thanks, but the data timeout on the Dummy hardware is already disabled. So that is not of any influence or it is a Domoticz bugSweetPants wrote: Saturday 10 March 2018 17:52 Disable data timeout on the Dummy hardware of the device or set it to a time that is suitable
Greetings McMelloW
- McMelloW
- Posts: 434
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: Device attribute "HaveTimeout" : false/true
Any device / sensor expert out there willing help me.
How do I update the device attribute "HaveTimeout" : false/true toggle?
Or is there a way to fake the attribute "LastUpdate"
Or change the SensorTimeOut to something else then 60
How do I update the device attribute "HaveTimeout" : false/true toggle?
Or is there a way to fake the attribute "LastUpdate"
Or change the SensorTimeOut to something else then 60
Greetings McMelloW
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Device attribute "HaveTimeout" : false/true
Is changing the value of Settings -> Systems -> Other -> Sensor Timeout: to a high value not working for you ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- McMelloW
- Posts: 434
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: Device attribute "HaveTimeout" : false/true
That is an option. However, this timeout number is used by all my sensors.waaren wrote: Tuesday 13 March 2018 12:19 Is changing the value of Settings -> Systems -> Other -> Sensor Timeout: to a high value not working for you ?
Some sensors are only updated during daytime. For those sensors it would be very nice to change the Sensor Timeout to avoid the BIG RED BAR at the sensor.
Greetings McMelloW
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Device attribute "HaveTimeout" : false/true
My guess is that the quickest / easiest way to prevent the red bars showing up is to change the way the time out is presented on the webpage. So must be somewhere in the domoticz/www directory. I had a quick look at the files there and did find some references to LastUpdateTIme (see below) but my knowledge of js, css and the likes is (very) close to zero.
TemperatureController.js: $.LastUpdateTime = parseInt(data.ActTime);
TemperatureController.js: $.LastUpdateTime = parseInt(data.ActTime);
TemperatureController.js: $.LastUpdateTime = parseInt(0);
UserVariablesController.js: "4": item.LastUpdate
UtilityController.js: url: "json.htm?type=devices&filter=utility&used=true&order=[Order]&lastupdate=" + $.LastUpdateTime + "&plan=" + w
TemperatureController.js: $.LastUpdateTime = parseInt(data.ActTime);
TemperatureController.js: $.LastUpdateTime = parseInt(data.ActTime);
TemperatureController.js: $.LastUpdateTime = parseInt(0);
UserVariablesController.js: "4": item.LastUpdate
UtilityController.js: url: "json.htm?type=devices&filter=utility&used=true&order=[Order]&lastupdate=" + $.LastUpdateTime + "&plan=" + w
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: Google [Bot] and 1 guest