I had two occasions where there are two devices with the same name, e.g.
DEMO_SWITCH was created and deleted, lets call it device A : it was still seen as an inactive device in the devices overview (the green icon)
then a NEW DEMO_SWITCH was created, lets call it device B
when I called domotica.devices('DEMO_SWITCH') erratic results happen. This was solved after I deleted device A in the devices overview (by means of the trash can).
domoticz 3.9530
domoticz.devices('<NAME>'). sometimes relates to a removed device [SOLVED]
Moderator: leecollings
-
- Posts: 40
- Joined: Tuesday 01 December 2015 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Netherlands
- Contact:
domoticz.devices('<NAME>'). sometimes relates to a removed device
Version 3.9639
Platform: Jessie lite
Hardware: Raspberry pi 3B; RFXCOM; Weather Underground; Dummy; OpenZwave USB; Fritzbox Callmonitor via LAN interface; System Alive Checker (Ping); Philips Hue Bridge; Atag One Thermostat
Platform: Jessie lite
Hardware: Raspberry pi 3B; RFXCOM; Weather Underground; Dummy; OpenZwave USB; Fritzbox Callmonitor via LAN interface; System Alive Checker (Ping); Philips Hue Bridge; Atag One Thermostat
Re: domoticz.devices('<NAME>'). sometimes relates to a removed device [SOLVED]
This could well be a bug/feature of dzVentz. When using Blockly and a device is set (green) 'unused' (this is different from deleted) you cannot choose it anymore. In dzVentz you can choose any name for a device you like if it exists or not. It's the users responsibility to have unique names for the devices.
-
- Posts: 40
- Joined: Tuesday 01 December 2015 8:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Netherlands
- Contact:
Re: domoticz.devices('<NAME>'). sometimes relates to a removed device
I expect that if two devices have the same name, and one of them is removed, dzvents chooses the nonremoved one when called by name. Who expects othrwise? That is why i report this as a bug.
Version 3.9639
Platform: Jessie lite
Hardware: Raspberry pi 3B; RFXCOM; Weather Underground; Dummy; OpenZwave USB; Fritzbox Callmonitor via LAN interface; System Alive Checker (Ping); Philips Hue Bridge; Atag One Thermostat
Platform: Jessie lite
Hardware: Raspberry pi 3B; RFXCOM; Weather Underground; Dummy; OpenZwave USB; Fritzbox Callmonitor via LAN interface; System Alive Checker (Ping); Philips Hue Bridge; Atag One Thermostat
Who is online
Users browsing this forum: No registered users and 1 guest