hi,
i started playin with rules, found an example here.
the MQTT is working, the device is working. IR is ok.
but the rule is not working for me.
how do i debug rules? the log dont show execution of my ruleset ... log-level 6 is not enough?
there seems some typo-bug or inconsistency of syntax in the wiki/rules-section. i attach screenshot.
i tried with comma and without, rule is not working at the moment...
do i need quotes for the IP in SendToUDP?
can i send the payload as message, or only a fixed string?
i wanted to try with IR-Codes, and if working, than with RFID.
SOLVED: RULES: syntax of SENDtoUDP ? How to debug Rules
Moderators: grovkillen, Stuntteam, TD-er
SOLVED: RULES: syntax of SENDtoUDP ? How to debug Rules
- Attachments
-
- Zwischenablage04.png (167.39 KiB) Viewed 2649 times
Last edited by tozett on 26 Apr 2016, 09:28, edited 1 time in total.
SOLVED mostly: Re: RULES: syntax of SENDtoUDP ? How to debug Rules
found the bug myself in the screenshot. rule is now working.
Question still remains: can is send only fixed strings, or payload (IR-code/RFID-tag-nr?)
this one works:
edit: i took my time to read the wiki again and found, that must also be working (will try later)...YES, working ...!yeah
Question still remains: can is send only fixed strings, or payload (IR-code/RFID-tag-nr?)
this one works:
Code: Select all
on tsop#IR=3772803223 do
SendToUDP,192.168.14.235,3434,remote-blue
endon
Code: Select all
on tsop#IR do
SendToUDP,192.168.14.235,3434,[tsop#IR]
endon
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 12 guests