Update README.md

master
AiTechEye 2019-01-13 10:47:14 +01:00 committed by GitHub
parent 062962a918
commit 881520bc87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 15 deletions

View File

@ -77,21 +77,14 @@ end
<details><summary>Events</summary> <details><summary>Events</summary>
Any reasons to the script on the unit is running will be able in the "event" variable, eg: event.type Any reasons to the script on the unit is running will be able in the "event" variable, eg: event.type
|event|type| |event |type |channel|from_channel|msg|
|timer| |-------------|-------------|-------|------------|---|
|timer |"timer" |✖ |✖ |✖
|wire |"wire" |✔ |✔ |✔
event.type=="timer" |digilines |"digiline" |✔ |✖ |✔
event.type=="wire") |msesecons on |"mesecon on" |✖ |✖ |✖
event.channel, event.msg event.from_channel (slower then digilines, but safer cuz you can see what it sent from) |meseconns off|"mesecon off"|✖ |✖ |✖
event.type=="mesecon on" |pipeworks |"pipeworks" |✖ |✖ |{item,count}
event.type=="mesecon off"
event.type=="digiline"
event.channel event.msg
event.type=="pipeworks"
even.msg={item count}
</details> </details>