Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>{{html .Name}}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* { padding: 0; margin: 0; }
body {
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed3f85","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1540655696,"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}}},"_id":"0fODehSJtp4XnmDG"}
{"id":2,"type":"Router","ieeeAddr":"0x000b57fffe248ed6","nwkAddr":9336,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E27 WS�opal 980lm","epList":[1],"status":"online","joinTime":1540656753,"endpoints":{"1":{"profId":260,"epId":1,"d
// Example of reloading scripts on the fly with IronLua
using System;
using Neo.IronLua;
using System.Threading;
using System.IO;
namespace LuaTest
// Example of reloading scripts on the fly with IronLua
// Test.lua here: https://gist.github.com/thoj/fee42fabc82b74e422bff3766cbcc8a8
using System;
using Neo.IronLua;
using System.Threading;
using System.IO;
namespace LuaTest
{
Ready = false
function INIT()
print("INIT")
SomeObject = clr.LuaTest.SomeObject("test")
end
function MAIN()
print(SomeObject.data .. tostring(SomeObject.counter))
SomeObject.counter = SomeObject.counter + 1
[NBSIG] 22:21:34 INFO: syncthing v0.10.1 (go1.3.3 linux-amd64 default) [email protected] 2014-10-12 12:09:40 UTC
[NBSIG] 22:21:34 INFO: My ID: [NODEID]
[NBSIG] 22:21:35 INFO: Starting web GUI on http://127.0.0.1:8082/
[NBSIG] 22:21:39 INFO: No UPnP gateway detected
[NBSIG] 22:21:39 INFO: Starting local discovery announcements
[NBSIG] 22:21:39 INFO: Starting global discovery announcements
[NBSIG] 22:21:39 OK: Ready to synchronize default (read-write)
[NBSIG] 22:21:39 OK: Ready to synchronize movies (read only; no external updates accepted)
[NBSIG] 22:21:39 OK: Ready to synchronize tv (read only; no external updates accepted)
[NBSIG] 22:21:39 INFO: Device [NODEID] is "ayano" at [dynamic]
[NBSIG] 22:11:29 INFO: syncthing v0.10.1 (go1.3.3 linux-amd64 default) [email protected] 2014-10-12 12:09:40 UTC
[NBSIG] 22:11:29 INFO: My ID: [NODEID]
[NBSIG] 22:11:29 INFO: Starting web GUI on http://127.0.0.1:8082/
[NBSIG] 22:11:33 INFO: No UPnP gateway detected
[NBSIG] 22:11:33 INFO: Starting local discovery announcements
[NBSIG] 22:11:33 INFO: Starting global discovery announcements
[NBSIG] 22:11:33 OK: Ready to synchronize default (read-write)
[NBSIG] 22:11:33 OK: Ready to synchronize movies (read only; no external updates accepted)
[NBSIG] 22:11:33 OK: Ready to synchronize tv (read only; no external updates accepted)
[NBSIG] 22:11:33 INFO: Device [NODEID] is "freenas2" at [dynamic]

Keybase proof

I hereby claim:

  • I am thoj on github.
  • I am jager (https://keybase.io/jager) on keybase.
  • I have a public key whose fingerprint is 4D06 4BF9 D8AB F687 6D72 88EE E284 4479 C925 F04D

To claim this, I am signing this object: