Error: User: Admin, switch not found (idx=0)! Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
continent
Posts: 12
Joined: Monday 17 August 2015 22:15
Target OS: Linux
Domoticz version: 4.11605
Location: The Netherlands
Contact:

Error: User: Admin, switch not found (idx=0)!

Post by continent »

Hello everybody,

I have the next issue.

An ESP with 6 relays for 6 valves in the different rooms.

In Domoticz I make 6 virtual switches activated en give
them all 2 url's, open en close.
domoticz.jpg
domoticz.jpg (26.41 KiB) Viewed 391 times
Every time when a switch is activate I get the error
because the IDX of the ESP is zero (0).
esp.jpg
esp.jpg (42.42 KiB) Viewed 391 times
But when i fill in de IDX in the switch the realys bounced.
Gigabyte with Debian, 4 Shelly's 2.5 (rollerblinds), 3 Shelly's dimmers, 3 Shelly plugs,
8 x DB1820, ESPeasy with 8 relay's, RFXcom, Enocean USB300, 2 x Enocean STM 330.
User avatar
erem
Posts: 230
Joined: Tuesday 27 March 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Amsterdam/netherlands
Contact:

Re: Error: User: Admin, switch not found (idx=0)!

Post by erem »

this works for me with espeasy mega-20190404

in espeasy rules

Code: Select all

On TurnOn do		// from Domoticz
  gpio,2,0
EndOn

On TurnOff do		// From Domoticz
  gpio,2,1
EndOn
esp device
1.jpg
1.jpg (45.48 KiB) Viewed 385 times
2.jpg
2.jpg (95.54 KiB) Viewed 385 times
in domoticz
3.jpg
3.jpg (55.18 KiB) Viewed 385 times
Regards,

Rob
continent
Posts: 12
Joined: Monday 17 August 2015 22:15
Target OS: Linux
Domoticz version: 4.11605
Location: The Netherlands
Contact:

Re: Error: User: Admin, switch not found (idx=0)!

Post by continent »

Hello erem,

I think that this issue is under control...

I checked Inversed Logic and now there
are no more error or bouncing relay(s).

For now verry thanks.
esp 2.jpg
esp 2.jpg (12.45 KiB) Viewed 383 times
Gigabyte with Debian, 4 Shelly's 2.5 (rollerblinds), 3 Shelly's dimmers, 3 Shelly plugs,
8 x DB1820, ESPeasy with 8 relay's, RFXcom, Enocean USB300, 2 x Enocean STM 330.
continent
Posts: 12
Joined: Monday 17 August 2015 22:15
Target OS: Linux
Domoticz version: 4.11605
Location: The Netherlands
Contact:

Re: Error: User: Admin, switch not found (idx=0)!

Post by continent »

Hello again,

It works perfect, the rules were not necessary.

Thanks! Con.
Gigabyte with Debian, 4 Shelly's 2.5 (rollerblinds), 3 Shelly's dimmers, 3 Shelly plugs,
8 x DB1820, ESPeasy with 8 relay's, RFXcom, Enocean USB300, 2 x Enocean STM 330.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest