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