fix tasmota permissions
This commit is contained in:
parent
3594a73baf
commit
d887bbf7d1
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
%% ACLs for emqx %%
|
||||
%% publish, subscribe, or all for both %%
|
||||
%% https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html %%
|
||||
|
||||
{allow, {user, "jahanson"}, all, ["#"]}.
|
||||
{allow, {user, "tasmota"}, publish, ["tasmota/discovery/#", "tele/tasmota_+/+", "cmnd/tasmota_+/+"]}.
|
||||
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_+/+", "cmnd/tasmota_+/+"]}.
|
||||
{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_+/+", "tele/tasmota_+/+"]}.
|
||||
{deny, all}.
|
||||
|
|
Loading…
Reference in a new issue