Problem with text device

Moderator: leecollings

Post Reply
Wiktor
Posts: 2
Joined: Friday 06 December 2019 11:31
Target OS: -
Domoticz version:
Contact:

Problem with text device

Post by Wiktor »

I've been trying to trigger 1st lamp if Roomba is charging and 2nd if roomba is stoped but something doesn't work.
I have dummy text device linked with Roomba where i have roomba status every ~10 minutes
Attachments
2019-12-12_12h02_56.png
2019-12-12_12h02_56.png (26.75 KiB) Viewed 383 times
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Problem with text device

Post by waaren »

Wiktor wrote: Thursday 12 December 2019 12:08 I've been trying to trigger 1st lamp if Roomba is charging and 2nd if roomba is stoped but something doesn't work.
I have dummy text device linked with Roomba where i have roomba status every ~10 minutes
Have you seen this topic ?
In short:
You try to use the Value of a text device as trigger for the script (in the if part) but in Blockly this value can only be used in the do part. See the tooltip for this element when you hover over it with your mouse-pointer.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest