Page 2 of 2
Re: dzVents script runs but nothing happens
Posted: Thursday 26 December 2019 20:47
by Hesitated
If I set the On Action and Off Action urls:
with the urls :
Code: Select all
http://192.168.2.169:8080/json.htm?type=command¶m=switchlight&idx=126&switchcmd=On
http://192.168.2.169:8080/json.htm?type=command¶m=switchlight&idx=126&switchcmd=Off
Then the blinds go up and down, but that is like cycling from Amsterdam to Rotterdam via Brussels, Paris and Berlin...

Re: dzVents script runs but nothing happens
Posted: Thursday 26 December 2019 20:59
by waaren
Hesitated wrote: Thursday 26 December 2019 20:27
2019-12-26 20:25:00.264 Error: Switch command not send!, Hardware device disabled or not found!
My guess is that this error messages shows what is really going wrong on your system. If you can you confirm that the RFtrx433 is connected to the usb on your list and does work for other devices ?
Re: dzVents script runs but nothing happens
Posted: Thursday 26 December 2019 21:16
by Hesitated
waaren wrote: Thursday 26 December 2019 20:59
My guess is that this error messages shows what is really going wrong on your system. If you can you confirm that the RFtrx433 is connected to the usb on your list and does work for other devices ?
Yes, it
does work!
For example a temperature sensor is sending its data through the RFXtrx433XL:
- Spoiler: show
- Ignore the temperature reading, it is not mounted outside yet...

And I use to switch a lightbulb with an 433MHz switch.
And if I couldn't send the blinds up and down with Domoticz, you're probably right. But I can! So the only problem is the events...
Re: dzVents script runs but nothing happens [Solved]
Posted: Thursday 26 December 2019 21:47
by waaren
Hesitated wrote: Thursday 26 December 2019 21:16
Yes, it
does work!
And if I couldn't send the blinds up and down with Domoticz, you're probably right. But I can! So the only problem is the events...
I understand that you see that the problem only occurs when triggered by an event. Fact is that the message you see here does not come from the event system but is generated by the mainworker code (around line 11290 of mainworker.cpp) when the hardware cannot be found.
So if the blinds do work from the API but not when triggered from a switch or script, the only thing I can think of is a problem in your database.
If you know how, I would be very interested in the content of the devicestatus - and hardware tables. If not, I am happy to help but best to do this via a DM
Re: dzVents script runs but nothing happens
Posted: Thursday 26 December 2019 22:02
by Hesitated
waaren wrote: Thursday 26 December 2019 21:47
So if the blinds do work from the API but not when triggered from a switch or script, the only thing I can think of is a problem in your database.
If you know how, I would be very interested in the content of the devicestatus - and hardware tables. If not, I am happy to help but best to do this via a DM
DM is now send.
Re: dzVents script runs but nothing happens
Posted: Friday 27 December 2019 10:49
by Hesitated
It turns out that I disabled the RLink hardware device, but left the devices active.
In the devices tab the devices are not shown if the hardware they belong to is disabled.
But when scripting Domoticz still can reference them.
Thanks to @waaren for his help!