device title color
Moderators: leecollings, remb0
-
- Posts: 59
- Joined: Tuesday 07 October 2014 11:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France RA
- Contact:
device title color
Hi, I seen which when I don't use a device during period the title become red (see attached)
its possible to put manually by lua/json the desired color ?
e.g. : for visual notice
thank you
its possible to put manually by lua/json the desired color ?
e.g. : for visual notice
thank you
- Attachments
-
- color.png (9.77 KiB) Viewed 6978 times
Last edited by jackslayter on Friday 24 April 2015 11:47, edited 1 time in total.
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: device title color
Nope, because we have different colors for normal, battery problem, device problem, protected device, and so on.
If you overrule this color, then you wont notice the above
If you overrule this color, then you wont notice the above
Quality outlives Quantity!
-
- Posts: 59
- Joined: Tuesday 07 October 2014 11:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France RA
- Contact:
Re: device title color
ok , and it is possible to force the for example a "device problem" for not force debug colors ?
or maybe create new icons (red orange green) can you control in lua or new virtual device with icons?
or maybe create new icons (red orange green) can you control in lua or new virtual device with icons?
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
- gizmocuz
- Posts: 2352
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: device title color
yes, but this has to be in the database (json udevice)
if the device is received again, and there is no problem, the color will be normal
if the device is received again, and there is no problem, the color will be normal
Quality outlives Quantity!
-
- Posts: 59
- Joined: Tuesday 07 October 2014 11:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France RA
- Contact:
Re: device title color
ok so with json command I can change colour ?
what is the parameter ?
what is the parameter ?
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
-
- Posts: 221
- Joined: Saturday 30 August 2014 20:20
- Target OS: Linux
- Domoticz version: 4.
- Location: Spain
- Contact:
Re: device title color
Hello
And which is the key to understand the meaning of colors?
I can't find it.
thanks
And which is the key to understand the meaning of colors?
I can't find it.
thanks
-
- Posts: 59
- Joined: Tuesday 07 October 2014 11:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France RA
- Contact:
Re: device title color
yellow = low battery
red = no data received during +3 days
other ?
red = no data received during +3 days
other ?
Last edited by jackslayter on Saturday 14 March 2015 16:06, edited 1 time in total.
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
-
- Posts: 221
- Joined: Saturday 30 August 2014 20:20
- Target OS: Linux
- Domoticz version: 4.
- Location: Spain
- Contact:
Re: device title color
Thanks,
And I get red color in a PIR sensor with two days without temperature report, although it reports presence and lux every few hours.
And I get red color in a PIR sensor with two days without temperature report, although it reports presence and lux every few hours.
-
- Posts: 59
- Joined: Tuesday 07 October 2014 11:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France RA
- Contact:
Re: device title color
'blue'
-> normal 'dark blue'
-> Device who is Protected 'yellow'
-> low battery
-> normal 'dark blue'
-> Device who is Protected 'yellow'
-> low battery
Last edited by jackslayter on Friday 24 April 2015 15:03, edited 1 time in total.
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
-
- Posts: 59
- Joined: Tuesday 07 October 2014 11:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France RA
- Contact:
Re: device title color
'red'
-> no data received during +3 days
-> no data received during +3 days
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
-
- Posts: 57
- Joined: Saturday 24 January 2015 14:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.10717
- Location: The Netherlands
- Contact:
Re: device title color
jackslayter - thanks for documenting this so far.gizmocuz wrote:...we have different colors for normal, battery problem, device problem, protected device, and so on.
I note that Gizmocuz says "and so on" in his reply. That would seem to indicate that there are further colours to be discovered and documented. Gizmocuz, is this in fact the case? Thanks.
-
- Posts: 17
- Joined: Monday 30 November 2015 13:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8755
- Location: CZ
- Contact:
Re: device title color
I have Vision ZP3102 PIR Motion Sensor and it works great, but the title bar is read. See the picture (right - "Pokoj Alarm..")
There are several of them in my Domoticz and all are with red title bar. Can somebody explane to me why? Battery is ok and sensor works correctly.
There are several of them in my Domoticz and all are with red title bar. Can somebody explane to me why? Battery is ok and sensor works correctly.
Domoticz on RaZberry, OZW 1.4-2713
Aeotec MultiSensor 6, Aeotec LED Bulb, Vision ZD2102 Door/Window Sensor, Vision ZP3102 PIR Motion Sensor, D-Link Siren DCH-Z510, Fibaro Smoke Sensor FGSD002, Aeotec Key Fob, Qubino ZMNHDD1 Z-Wave Plus Flush Dimmer
Aeotec MultiSensor 6, Aeotec LED Bulb, Vision ZD2102 Door/Window Sensor, Vision ZP3102 PIR Motion Sensor, D-Link Siren DCH-Z510, Fibaro Smoke Sensor FGSD002, Aeotec Key Fob, Qubino ZMNHDD1 Z-Wave Plus Flush Dimmer
-
- Posts: 17
- Joined: Monday 30 November 2015 13:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8755
- Location: CZ
- Contact:
Re: device title color
I solved the issue with red title bar of my Vision ZP3102 PIR motion sensor "Pokoj alarm...". I choose "another row" from Devices list to indicate PIR's motion which is not red in Dashboard.
Domoticz on RaZberry, OZW 1.4-2713
Aeotec MultiSensor 6, Aeotec LED Bulb, Vision ZD2102 Door/Window Sensor, Vision ZP3102 PIR Motion Sensor, D-Link Siren DCH-Z510, Fibaro Smoke Sensor FGSD002, Aeotec Key Fob, Qubino ZMNHDD1 Z-Wave Plus Flush Dimmer
Aeotec MultiSensor 6, Aeotec LED Bulb, Vision ZD2102 Door/Window Sensor, Vision ZP3102 PIR Motion Sensor, D-Link Siren DCH-Z510, Fibaro Smoke Sensor FGSD002, Aeotec Key Fob, Qubino ZMNHDD1 Z-Wave Plus Flush Dimmer
- luberth
- Posts: 34
- Joined: Friday 27 April 2018 7:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Bangert 30 Andijk Nederland
- Contact:
Re: device title color
Hello
Do not realy get it
device status color turns red on devicetitlebar of dummy thermostat setting
why its only a setpoint?
another thing
is it possible to set/change the temperature setting of dummy thermostat setting from the floorplan
http://test:[email protected]:8080/#/Floorplans
ok as user test it is not possible
but as admin i also can not change temp setting on floorplan
greet luberth
Do not realy get it
device status color turns red on devicetitlebar of dummy thermostat setting
why its only a setpoint?
another thing
is it possible to set/change the temperature setting of dummy thermostat setting from the floorplan
http://test:[email protected]:8080/#/Floorplans
ok as user test it is not possible
but as admin i also can not change temp setting on floorplan
greet luberth
- bewo
- Posts: 74
- Joined: Monday 13 July 2015 12:27
- Target OS: Linux
- Domoticz version: 2021.1
- Location: Bavaria - Germany
- Contact:
Re: device title color
Yes. If there is no new entry in the timeout you configured in your settings, then the device turns red.
There is no option to deactivate this feature for dummy devices.
If you don't want a red bar in your devices you can keep the setpoint active with an short lua script. Not a beautiful way, but it works without any problems for years now...
If it's useful for somebody:
Code: Select all
-- Script for "holding active" an dummy setpoint
--
-- After the configured timeout (in settings) an dummy setpoint will turn red, if there is no new entry.
-- This is only an optical problem, the device is working probably. But i don't like an red bar in my devices,
-- this sript renews the devices before it is going red. My setted timeout are 60 minutes, so if choosen
-- 3500 seconds as the renew-time.
-- So you have to chance the name of the dummy device, and perhaps the time in seconds.
-- Date: 06.11.2018 -- Domoticz forum -- bewo
-- Here set your setpoint:
local thermostat = 'Thermostat Heizautomatik'
commandArray = {}
function timedifference(timestamp)
y, m, d, H, M, S = timestamp:match("(%d+)-(%d+)-(%d+) (%d+):(%d+):(%d+)")
difference = os.difftime(os.time(), os.time{year=y, month=m, day=d, hour=H, min=M, sec=S})
return difference
end
local function updatenum(dev, value1)
local cmd = string.format("%d|0|%d", otherdevices_idx[dev], value1)
table.insert (commandArray, { ['UpdateDevice'] = cmd } )
end
for deviceName,deviceValue in pairs(otherdevices) do
if (deviceName== thermostat ) then
if tonumber(deviceValue) > 0 then
-- And here you have to set a time in seconds shorter than your timeout.
if timedifference(otherdevices_lastupdate[thermostat]) > 3500
then
print ("The setpoint was renewed with the same temperature.")
updatenum(thermostat, tonumber(otherdevices[thermostat]) + 0)
end
end
end
end
return commandArray
Individual projects:
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules | Shellys
Wall-mounted 22" Touch Control Display (self construct) | LUA wind monitor| LUA heating control | and many many more :)
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules | Shellys
Wall-mounted 22" Touch Control Display (self construct) | LUA wind monitor| LUA heating control | and many many more :)
- luberth
- Posts: 34
- Joined: Friday 27 April 2018 7:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Bangert 30 Andijk Nederland
- Contact:
Re: device title color
Thank you bewo
anybody has an answer to the second question?
another thing
is it possible to set/change the temperature setting of dummy thermostat setting from the floorplan
http://test:[email protected]:8080/#/Floorplans
ok as user test it is not possible
but as admin i also can not change temp setting on floorplan
greet luberth
anybody has an answer to the second question?
another thing
is it possible to set/change the temperature setting of dummy thermostat setting from the floorplan
http://test:[email protected]:8080/#/Floorplans
ok as user test it is not possible
but as admin i also can not change temp setting on floorplan
greet luberth
- luberth
- Posts: 34
- Joined: Friday 27 April 2018 7:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Bangert 30 Andijk Nederland
- Contact:
Re: device title color
did code it a litle different but does the same
anybody has an answer to the second question?
another thing
is it possible to set/change the temperature setting of dummy thermostat setting from the floorplan
http://test:[email protected]:8080/#/Floorplans
ok as user test it is not possible
but as admin i also can not change temp setting on floorplan
greet luberth
Code: Select all
commandArray = {}
now=os.date("*t")
-- domoticz lua timed script to prevent red titlebars on dummy thermostat
-- http://test:[email protected]:8080/#/Floorplans
-- change % 1 to your desired reload minutes
if now.min % 1 == 0 then
local SetTempVent = tonumber(otherdevices_svalues['Ventilate Living start >']) -- get setting
commandArray[#commandArray+1] = {['UpdateDevice']='32|1|'..SetTempVent} -- set setting wih get setting
print("SetTemp ventilator updated to prevent red titlebars "..SetTempVent) -- print in log
local SetTempPump = tonumber(otherdevices_svalues['cv pomp setting pomp aanbij Berkhout<']) -- get setting
commandArray[#commandArray+1] = {['UpdateDevice']='31|1|'..SetTempPump} -- set setting wih get setting
print("SetTempPump updated to prevent red titlebars "..SetTempPump) -- print in log
end
return commandArray
another thing
is it possible to set/change the temperature setting of dummy thermostat setting from the floorplan
http://test:[email protected]:8080/#/Floorplans
ok as user test it is not possible
but as admin i also can not change temp setting on floorplan
greet luberth
Re: device title color
Thanks for this tip! I also have sensors updated only once a day and just changed the setting to 1440!andreazan wrote: ↑Thursday 23 May 2019 21:50 I have sensors that are updated once /day.
In a fresh installation of Domoticz 4.10717, the default in
settings -> Other settings -> Sensor Timeout is 60 minutes, not 3 days !
So, to consider acceptable a full day delay for an update and avoid the device title color to become red,
you should set this value to 60*24 = 1440.
Who is online
Users browsing this forum: No registered users and 1 guest