Just a few base checks:
Publish uses the configuration of the first active MQTT controller. Those are correct and enabled?
Make sure to use quotes ( ' , " or `) to wrap each parameter when not entirely sure it doesn't contain special characters in the parameter.
Add a line with "logentry" in the same scope as your publish is used to log exactly the same as you try to publish.
For example:
Code: Select all
on virtualSwitch#switchStatus=1.00 do
LogEntry,"Publish,heating,1"
Publish,heating,1 // publish message to set the slider switch to on
...
About the quotes:
Code: Select all
LogEntry,"heating,1" // Quotes per parameter
Publish,"heating","1" // Quotes per parameter
With the logentry you can check if the rule is actually executed.
publish,"%sysname%/status/Build_date","%sysbuild_date%"
publish,"%sysname%/status/Ip_Adresse",%ip%
To be honest, I don't see immediately why this should not work.
PLease also add here a logentry line, to help debugging.
Just to be sure, check if the sysname contains a space, for example with
This has the underscore directly wrapping the system variable, so you should see no other character between them.
You can also check the sysinfo page to see the values of the variables and maybe try other variables as well.
Make sure your log level is at least set to info.