Skip to content

Commit

Permalink
Merge pull request slsys#123 from gorec2005/patch-1
Browse files Browse the repository at this point in the history
Update lua_rus.md
  • Loading branch information
directman66 authored Aug 27, 2021
2 parents ec779fd + a143e78 commit ff666e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua_rus.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ mode:
local status = obj.get("security.status")
if (status == nil) then status = 0 end
```
Для изменения типа переменной сохраняемого значения можно сделать так:
```
obj.setOpt("security.status", "INT")
```

### mqtt.pub()
Синтаксис: `mqtt.pub(topic, payload)`
Expand Down

0 comments on commit ff666e4

Please sign in to comment.