Grayed-out UI item in Utility Sensors Topic is solved
Moderators: leecollings, remb0
- philchillbill
- Posts: 399
- Joined: Monday 12 September 2016 13:47
- Target OS: Linux
- Domoticz version: beta
- Location: Eindhoven. NL
- Contact:
Re: Grayed-out UI item in Utility Sensors
@waaren, That fixed it for me too - many thanks !
The original post in viewtopic.php?p=128783#p128783 is then also incomplete regarding the hardware id because that's the tutorial I followed a few years ago to create that water meter.
The original post in viewtopic.php?p=128783#p128783 is then also incomplete regarding the hardware id because that's the tutorial I followed a few years ago to create that water meter.
Alexa skills author: EvoControl, Statereport, MediaServer, LMS-lite
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Grayed-out UI item in Utility Sensors
I don't know if it is reserved but it is in all my domoticz systems. Preferable I would connect the loose deviceid(s) with a dummy hardware but I could not tell from your list of hardware if you have such a hardware and connect it to internal is also OK.
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
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Grayed-out UI item in Utility Sensors
There was indeed room for confusion in that post and it advises to use API calls where it can be done much easier from within the GUI.philchillbill wrote: ↑Monday 25 January 2021 17:43 @waaren, That fixed it for me too - many thanks !
The original post in viewtopic.php?p=128783#p128783 is then also incomplete regarding the hardware id because that's the tutorial I followed a few years ago to create that water meter.
by creating a dummy hardware from the hardware tab and use the button on that newly created hardware to create a new virtual device of type counter.
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
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Grayed-out UI item in Utility Sensors
I've ran into the same "problem" today after updating to 2021.1. Fixing it with the sqlite3 commands did the magic. Tnx @waaren!
-
- Posts: 12
- Joined: Sunday 26 November 2017 12:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Grayed-out UI item in Utility Sensors
I've grayed out items with a lot of sensors. The reason is that the hardware is disabled, because I do not use the hardware plugins anymore. Data comes from scripts. E.g. Wunderground comes from my own script. I kept the sensors, but hardware is disabled. Updates are done with domoticz api or mqtt/in from scripts. Is there a way to show the sensors from disabled hardware NOT grayed out?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Grayed-out UI item in Utility Sensors
No.
What you could do is define a "Dummy (Does nothing, use for virtual switches only)" hardware and connect the devices updated via JSON / MQTT using sqlite or similar to this 'hardware' using the following commands.
Code: Select all
cd <domoticz dir>
sudo sqlite3 domoticz.db "UPDATE DeviceStatus SET HardwareID = (SELECT ID from Hardware WHERE Type = 15 ORDER BY ID DESC LIMIT 1) WHERE HARDWAREID IN (SELECT ID FROM Hardware WHERE Enabled = 0)"
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
-
- Posts: 12
- Joined: Sunday 26 November 2017 12:53
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Grayed-out UI item in Utility Sensors
Thanks, that worked! (typo Enabed ->Enabled)
-
- Posts: 7
- Joined: Wednesday 24 April 2019 20:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10659
- Location: Nieuw Vennep
- Contact:
Re: Grayed-out UI item in Utility Sensors
Thanks @waaren, The sqlite3 routine did the trick - Thanks !
As mentioned before, I too created an RFXMeter some years ago according to: viewtopic.php?p=128783#p128783.
The update to 2021.1 resulted in a grayed out UI item.
Again thanks for the fix!
As mentioned before, I too created an RFXMeter some years ago according to: viewtopic.php?p=128783#p128783.
The update to 2021.1 resulted in a grayed out UI item.
Again thanks for the fix!
- MadMedic
- Posts: 31
- Joined: Wednesday 26 October 2016 14:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Huizen, the Netherlands
- Contact:
Re: Grayed-out UI item in Utility Sensors
Used this helpfull guide too, with the appropiate idx's, worked like a charm.
was the watermeter sensor here, too. *Coincidence ?
Thnx anyway, guys !
was the watermeter sensor here, too. *Coincidence ?
Thnx anyway, guys !
.
"Life is too short for bad coffee"
"Life is too short for bad coffee"
- waltervl
- Posts: 5729
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Grayed-out UI item in Utility Sensors
Not a coincidence, the manual on the website https://ehoco.nl/watermeter-uitlezen-in ... on-script/ and the same forumtopic viewtopic.php?p=128783#p128783 is incorrect, resulting in this issue.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest