MQTT IMPORT and rules trigger

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
leel1967l
Normal user
Posts: 73
Joined: 30 Nov 2017, 18:29

MQTT IMPORT and rules trigger

#1 Post by leel1967l » 25 Mar 2018, 12:46

Hi,
Does MQTT Import modified with taskvalueset triggers a rule?

I am having the following issue:
I created a MQTT IMPORT task (name=import, value=set1, task number 2) and the following rule:

Code: Select all

on import#set1 do
  ..do something ..
endon
If I fire the command from a rule:

Code: Select all

taskvalueset,2,1,100
taskRun,2
Log:

Code: Select all

145870 : ACT : taskvalueset,2,1,100
145883 : ACT : taskRun,2
The first rule is not triggered



Wemos D1
Firmware: mega-20180326
Last edited by leel1967l on 26 Mar 2018, 21:52, edited 1 time in total.

leel1967l
Normal user
Posts: 73
Joined: 30 Nov 2017, 18:29

Re: MQTT IMPORT and rules trigger

#2 Post by leel1967l » 26 Mar 2018, 21:52

I have updated the description of the problem after fixing some syntax errors.

Can anyone have a look?

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: MQTT IMPORT and rules trigger

#3 Post by toffel969 » 27 Mar 2018, 13:08

leel1967l wrote: 25 Mar 2018, 12:46 Hi,
Does MQTT Import modified with taskvalueset triggers a rule?

I am having the following issue:
I created a MQTT IMPORT task (name=import, value=set1, task number 2) and the following rule:

Code: Select all

on import#set1 do
  ..do something ..
endon
If I fire the command from a rule:

Code: Select all

taskvalueset,2,1,100
taskRun,2
Log:

Code: Select all

145870 : ACT : taskvalueset,2,1,100
145883 : ACT : taskRun,2
The first rule is not triggered



Wemos D1
Firmware: mega-20180326
I'm not sure, but like stated in the other thread, you should probably not use taskvalueset on the mqtt import device.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest