Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use Publish command in rules #2894

Closed
tsesakamoto opened this issue Feb 20, 2020 · 3 comments
Closed

Can't use Publish command in rules #2894

tsesakamoto opened this issue Feb 20, 2020 · 3 comments
Labels
Type: Not a bug Issues that later appeared not to be a bug (e.g. user error) Type: Question Question about how something works with concrete answers

Comments

@tsesakamoto
Copy link

tsesakamoto commented Feb 20, 2020

When using mega-20200204
Publish mqqt doesn't work anymore in Rules.
When I submit this simple command: Publish domoticz/in,{"idx":8,"nvalue":0}
I get this message "Too many arguments, try using quotes!Command unknown: "Publish domoticz/in,{"idx":8,"nvalue":0}"

When using mega-20191003
And submit exactly the same command I get the result "OK'" and it is working.
Also it works flawlessly in Rules

Do I something wrong?

@giig1967g
Copy link
Contributor

try this:
Publish domoticz/in,'{"idx":8,"nvalue":0}'

@TD-er
Copy link
Member

TD-er commented Feb 20, 2020

There is also a setting to make parsing more relaxed:
image

See also one of the 2 sticky issues here: #2724

@TD-er TD-er added Type: Not a bug Issues that later appeared not to be a bug (e.g. user error) Type: Question Question about how something works with concrete answers labels Feb 20, 2020
@tsesakamoto
Copy link
Author

Thanks that works.
Keep up the good work!

@TD-er TD-er closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Not a bug Issues that later appeared not to be a bug (e.g. user error) Type: Question Question about how something works with concrete answers
Projects
None yet
Development

No branches or pull requests

3 participants