A compact reference for writing Homylon scenes. Homylon is case-insensitive and reads one sentence per line.
Core shape
# comment
sub warmwhite by FFD8A0
define home myhouse latitude 52.09 longitude 5.12
when <trigger> [and <condition>] then
<action>
end
A compact reference for programs that talk to the Homylon Engine. Messages are UTF-8 JSON objects with an action field.
Transport
- UDP: one JSON object per datagram; the Engine's default port is
55051; keep messages below 1,000 bytes. - TCP: one message per connection; default port
55050; send a four-byte big-endian length followed by the JSON bytes, then close. - UDP is the normal choice for commands, events and heartbeats. TCP is used for lists, announcements and other larger messages.
- The same content means the same thing regardless of transport.