Device disappeared since update to 2025.1

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
imautohuttraeger
Posts: 139
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Device disappeared since update to 2025.1

Post by imautohuttraeger »

Since the update to 2025.1, a certain dummy hardware device has disappeared and now only appears occasionally for a short time.

It is an energy counter / meter which gets the data from my electric meter via an infrared sensor with Tasmoa ("Hichi" infrared head). It worked perfect since the update.

What I have found out is this:

When I open the device list with the filter "all", it is not shown.

Then I switch to "unused" and reload the list. Of course it doesn't appear, as it is a used device.

Then I switch back to "all" and now the device is shown and obviously receives the data. See Screenshot.

After another reload it is away again and only appears shortly again with above mentioned procedure.

In the tab of "utilities" it never appears.

Maybe this log information can help to identify the problem:

Code: Select all

2025-05-15 10:17:15.151 Error: Invalid Number sValue: '%' for device idx: '%'
2025-05-15 10:17:15.155 Error: Invalid Number sValue: '%' for device idx: '%'
2025-05-15 10:17:15.160 Error: Invalid Number sValue: '%' for device idx: '%'
2025-05-15 10:17:15.165 Error: Invalid Number sValue: '%' for device idx: '%'
2025-05-15 10:17:15.272 dzVents: Handling events for: "Zähler Import idx 4", value: "7188;7189.8"
2025-05-15 10:17:15.273 dzVents: ------ Start internal script: p1 dummy fuer energy dashboard: Device: "Zähler Import idx 4 (Dummy Hardware)", Index: 367
2025-05-15 10:17:15.278 dzVents: ------ Finished p1 dummy fuer energy dashboard
Any idea?
Attachments
counter.jpg
counter.jpg (77.28 KiB) Viewed 284 times
User avatar
gizmocuz
Posts: 2536
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Device disappeared since update to 2025.1

Post by gizmocuz »

So it seems invalid data is set in the sValue

Who is updating this dummy device? Is it a script? Are you using the correct amount of parameters and values according our JSON wiki page?
Quality outlives Quantity!
User avatar
RonkA
Posts: 115
Joined: Tuesday 14 June 2022 12:57
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Harlingen
Contact:

Re: Device disappeared since update to 2025.1

Post by RonkA »

Is it possible there is a problem with the usage of the devicename and idx where for instance the devicename is used in one script and idx in another?
SolarEdge ModbusTCP - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
imautohuttraeger
Posts: 139
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Device disappeared since update to 2025.1

Post by imautohuttraeger »

The dummy device is updated via a Tasmota device ("Hichi" infraread reading d
head attached to the general electric meter). I simply type in the Domoticz IDX under the Tasmota item " Configure Domoticz). I don't define any parameters.

See Screenshot.
Tasmota IDX 4 gets Domoticz IDX 367 and shows the counted imported energy in kWh.

Tasmota IDX 7 gets Domoticz IDX 362 and shows the counted exported energie in kWh (the Tasmota Label "Voltage ..." is not correct here. This Device still works as it did before the Domoticz update.

Tasmota IDX 8 gets Domoticz IDX 447 and shows the current power in W. This Device also still works as it did before the Domoticz update

(The other Tasmota idxs are not delivering any values. The corresponding Domoticz idxs are just the rest of the testing with test devices to see if something is delivered here)
Attachments
Screenshot_20250515-160531.png
Screenshot_20250515-160531.png (222.18 KiB) Viewed 263 times
Screenshot_20250515-160339.png
Screenshot_20250515-160339.png (136.04 KiB) Viewed 263 times
imautohuttraeger
Posts: 139
Joined: Saturday 14 March 2020 13:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: Germany
Contact:

Re: Device disappeared since update to 2025.1

Post by imautohuttraeger »

RonkA wrote: Thursday 15 May 2025 16:03 Is it possible there is a problem with the usage of the devicename and idx where for instance the devicename is used in one script and idx in another?
Actually I only use one script that uses this device (a virtual P1 meter so I can see the data in the energy dashboard. There, am using the IDX and not the device name.

This is it:

Code: Select all

-- Dummy Device für das Energy Dashboard. Wird von den Hichi Divices gespeist

return {
    
    on = {
		devices = {
			367, 362, 447
		}
	},
	
	execute = function(domoticz, item)
	    
	    local importcounter = domoticz.devices(367) -- 367 war nach Domoticz-Update weg und poppte nur immer mal kurz auf.
	    local exportcounter = domoticz.devices(362) 
	    local poweractual = domoticz.devices(447)
	    local dummyP1 = domoticz.devices(453)
	    local actualusage = 0
	    local actualprod = 0
	            
	    if poweractual.actualWatt < 0 then 
	                actualprod = 0 - poweractual.actualWatt
	        else
	                 actualusage = poweractual.actualWatt 
	     end
	    dummyP1.updateP1((importcounter.counterToday * 1000),0,
	    (exportcounter.counterToday * 1000),0,actualusage,actualprod)
	
	    
    end
}
It worked perfect bevor the Domoticsz update
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest