Created
May 9, 2015 13:18
-
-
Save lindsaymarkward/cb08db0b8c192f9f374f to your computer and use it in GitHub Desktop.
sphere-orvibo test learning 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ninja@ninjasphere:/data/sphere/user-autostart/drivers/sphere-orvibo$ DEBUG=* ./sphere-orvibo > outputTest | |
2015-05-09 13:05:19 INFO logger.go:49 Root logger initialized at level DEBUG | |
2015-05-09 13:05:19 INFO photography.davidgray.sphere-orvibo.connection Connection.go:48 Connecting to localhost:1883 using cid:photography.davidgray.sphere-orvibo | |
2015-05-09 13:05:19 INFO bus Bus.go:26 Using mqtt bus implementation: tiny | |
2015-05-09 13:05:20 INFO photography.davidgray.sphere-orvibo.connection Connection.go:52 Connected | |
2015-05-09 13:05:20 DEBUG schemas schemas.go:258 Fetching document from file:///service/discover#/methods | |
2015-05-09 13:05:20 DEBUG rpc server.go:73 Validating event 'announce' (schema: http://schema.ninjablocks.com/service/discover#/events/announce/value). Payload: [0x10737b80] | |
2015-05-09 13:05:20 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $discover/event/announce : {"params":[{"topic":"$discover","schema":"http://schema.ninjablocks.com/service/discover","supportedMethods":["services"],"supportedEvents":[]}],"jsonrpc":"2.0","time":1431176720159} | |
2015-05-09 13:05:20 DEBUG photography.davidgray.sphere-orvibo.connection Connection.go:386 Exported service on topic: $discover (schema: http://schema.ninjablocks.com/service/discover) with methods: services | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:258 Fetching document from file:///service/driver#/methods | |
2015-05-09 13:05:23 DEBUG rpc server.go:73 Validating event 'announce' (schema: http://schema.ninjablocks.com/service/driver#/events/announce/value). Payload: [0x10710190] | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo/event/announce : {"params":[{"topic":"$node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo","schema":"http://schema.ninjablocks.com/service/driver","supportedMethods":["setLogLevel","start","stop"],"supportedEvents":[],"id":"photography.davidgray.sphere-orvibo","name":"sphere-orvibo","version":"0.6.0","description":"Ninja Sphere - Orvibo socket driver","author":"David Gray \[email protected]\u003e","license":"MIT"}],"jsonrpc":"2.0","time":1431176723220} | |
2015-05-09 13:05:23 DEBUG photography.davidgray.sphere-orvibo.connection Connection.go:386 Exported service on topic: $node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo (schema: http://schema.ninjablocks.com/service/driver) with methods: setLogLevel, start, stop | |
2015-05-09 13:05:23 DEBUG rpc server.go:181 Serving request to $node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo : {"method":"start","params":{"Initialised":false,"Codes":null},"id":"2249791083","jsonrpc":"2.0"} | |
2015/05/09 23:05:23 Driver Starting with config &{false [] false } | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:258 Fetching document from file:///protocol/configuration#/methods | |
2015-05-09 13:05:23 DEBUG rpc server.go:73 Validating event 'announce' (schema: http://schema.ninjablocks.com/protocol/configuration#/events/announce/value). Payload: [0x107a3100] | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $driver/photography.davidgray.sphere-orvibo/configure/event/announce : {"params":[{"topic":"$driver/photography.davidgray.sphere-orvibo/configure","schema":"http://schema.ninjablocks.com/protocol/configuration","supportedMethods":["configure","getActions"],"supportedEvents":[]}],"jsonrpc":"2.0","time":1431176723387} | |
2015-05-09 13:05:23 DEBUG photography.davidgray.sphere-orvibo.connection Connection.go:386 Exported service on topic: $driver/photography.davidgray.sphere-orvibo/configure (schema: http://schema.ninjablocks.com/protocol/configuration) with methods: configure, getActions | |
2015-05-09 13:05:23 DEBUG rpc server.go:73 Validating event 'config' (schema: http://schema.ninjablocks.com/service/driver#/events/config/value). Payload: [0x1073a570] | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:258 Fetching document from file:///service/driver#/events/config/value | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:246 Cache miss on 'http://schema.ninjablocks.com/service/driver#/events/config/value' | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo/event/config : {"params":[{"Initialised":false,"Codes":null}],"jsonrpc":"2.0","time":1431176723483} | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $node/4LWGMW2BPCQAK/driver/photography.davidgray.sphere-orvibo/reply : {"result":null,"id":"2249791083","jsonrpc":"2.0","time":1431176723495} | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:258 Fetching document from file:///service/device#/methods | |
2015-05-09 13:05:23 DEBUG rpc server.go:73 Validating event 'announce' (schema: http://schema.ninjablocks.com/service/device#/events/announce/value). Payload: [0x107d2100] | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $device/058e852ad8/event/announce : {"params":[{"topic":"$device/058e852ad8","schema":"http://schema.ninjablocks.com/service/device","supportedMethods":["setName"],"supportedEvents":[],"id":"058e852ad8","naturalId":"socketaccf232a0c2a","naturalIdType":"socket","name":"Socket ","signatures":{"ninja:manufacturer":"Orvibo","ninja:productName":"OrviboDevice","ninja:productType":"Socket","ninja:thingType":"socket"}}],"jsonrpc":"2.0","time":1431176723716} | |
2015-05-09 13:05:23 DEBUG photography.davidgray.sphere-orvibo.connection Connection.go:386 Exported service on topic: $device/058e852ad8 (schema: http://schema.ninjablocks.com/service/device) with methods: setName | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:258 Fetching document from file:///protocol/on-off#/methods | |
2015-05-09 13:05:23 DEBUG rpc server.go:73 Validating event 'announce' (schema: http://schema.ninjablocks.com/protocol/on-off#/events/announce/value). Payload: [0x107d2680] | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $device/058e852ad8/channel/on-off/event/announce : {"params":[{"topic":"$device/058e852ad8/channel/on-off","schema":"http://schema.ninjablocks.com/protocol/on-off","supportedMethods":["set","toggle","turnOff","turnOn"],"supportedEvents":[],"id":"on-off","protocol":"on-off","deviceId":"","lastState":null}],"jsonrpc":"2.0","time":1431176723792} | |
2015-05-09 13:05:23 DEBUG photography.davidgray.sphere-orvibo.connection Connection.go:386 Exported service on topic: $device/058e852ad8/channel/on-off (schema: http://schema.ninjablocks.com/protocol/on-off) with methods: set, toggle, turnOff, turnOn | |
2015-05-09 13:05:23 DEBUG rpc server.go:73 Validating event 'state' (schema: http://schema.ninjablocks.com/protocol/on-off#/events/state/value). Payload: [false] | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:258 Fetching document from file:///protocol/on-off#/events/state/value | |
2015-05-09 13:05:23 DEBUG schemas schemas.go:246 Cache miss on 'http://schema.ninjablocks.com/protocol/on-off#/events/state/value' | |
2015-05-09 13:05:23 DEBUG mqtt-jsonrpc2 server.go:108 < Outgoing to $device/058e852ad8/channel/on-off/event/state : {"params":[false],"jsonrpc":"2.0","time":1431176723879} | |
2015-05-09 13:05:36 DEBUG rpc server.go:181 Serving request to $discover | |
2015-05-09 13:05:36 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $discover : {"method":"services","params":"/protocol/configuration","id":100,"jsonrpc":"2.0"} | |
2015-05-09 13:05:36 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $discover/reply : {"result":[{"topic":"$driver/photography.davidgray.sphere-orvibo/configure","schema":"http://schema.ninjablocks.com/protocol/configuration","supportedMethods":["configure","getActions"],"supportedEvents":[]}],"id":100,"jsonrpc":"2.0","time":1431176736491} | |
2015-05-09 13:05:36 DEBUG rpc server.go:181 Serving request to $driver/photography.davidgray.sphere-orvibo/configure | |
2015-05-09 13:05:36 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $driver/photography.davidgray.sphere-orvibo/configure : {"method":"getActions","params":null,"id":106,"jsonrpc":"2.0"} | |
2015-05-09 13:05:36 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $driver/photography.davidgray.sphere-orvibo/configure/reply : {"result":[{"displayIcon":"play","label":"Configure AllOne","type":"reply"}],"id":106,"jsonrpc":"2.0","time":1431176736657} | |
2015-05-09 13:05:42 DEBUG rpc server.go:181 Serving request to $driver/photography.davidgray.sphere-orvibo/configure | |
2015-05-09 13:05:42 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $driver/photography.davidgray.sphere-orvibo/configure : {"method":"configure","params":{"action":""},"id":107,"jsonrpc":"2.0"} | |
2015-05-09 13:05:42 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $driver/photography.davidgray.sphere-orvibo/configure/reply : {"result":{"actions":[{"label":"Close","type":"close"},{"displayClass":"success","displayIcon":"asterisk","label":"New IR Code","name":"new","type":"reply"}],"sections":[{"contents":[{"title":"About this screen","type":"staticText","value":"This page shows saved IR codes. To add a new code, press 'New IR Code'"},{"name":"code","options":null,"primaryAction":{"displayClass":"danger","displayIcon":"star","label":"Blast","name":"blastir","type":"reply"},"secondaryAction":{"displayClass":"danger","displayIcon":"trash","label":"Delete","name":"delete","type":"reply"},"type":"actionList"}]}],"title":"Saved IR Codes"},"id":107,"jsonrpc":"2.0","time":1431176742200} | |
2015-05-09 13:05:47 DEBUG rpc server.go:181 Serving request to $driver/photography.davidgray.sphere-orvibo/configure | |
2015-05-09 13:05:47 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $driver/photography.davidgray.sphere-orvibo/configure : {"method":"configure","params":{"action":"new","data":{}},"id":108,"jsonrpc":"2.0"} | |
2015-05-09 13:05:47 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $driver/photography.davidgray.sphere-orvibo/configure/reply : {"result":{"actions":[{"displayClass":"default","label":"Cancel","name":"list","type":"reply"},{"displayClass":"success","displayIcon":"star","label":"Start Learning","name":"save","type":"reply"}],"sections":[{"contents":[{"title":"About this screen","type":"staticText","value":"Please enter a name and a description for this code. You must also pick an AllOne. When you're ready, click 'Start Learning' and press a button on your remote"},{"name":"id","type":"inputHidden"},{"before":"Name for this code","name":"name","placeholder":"TV On","type":"inputText"},{"before":"Code Description","name":"description","placeholder":"Living Room TV On","type":"inputText"},{"name":"allone","options":[{"displayIcon":"globe","title":"All Connected AllOnes","value":"ALL"},{"displayIcon":"play","title":"TVRoomOrvibo ","value":"accf232994a0"}],"title":"Select an AllOne to blast from","type":"radioGroup"}]}],"title":"New IR Code"},"id":108,"jsonrpc":"2.0","time":1431176747263} | |
2015-05-09 13:06:05 DEBUG rpc server.go:181 Serving request to $driver/photography.davidgray.sphere-orvibo/configure | |
2015-05-09 13:06:05 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $driver/photography.davidgray.sphere-orvibo/configure : {"method":"configure","params":{"action":"save","data":{"id":"","name":"Ac","description":"Ac","allone":"accf232994a0"}},"id":109,"jsonrpc":"2.0"} | |
2015-05-09 13:06:05 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $driver/photography.davidgray.sphere-orvibo/configure/reply : {"result":{"actions":[{"displayClass":"success","displayIcon":"ok","label":"Okay","name":"list","type":"reply"}],"sections":[{"contents":[{"title":"About this screen","type":"staticText","value":"Please press a button on your remote. Click 'Okay' when done"}]}],"title":"Learning IR code"},"id":109,"jsonrpc":"2.0","time":1431176765672} | |
2015-05-09 13:06:16 DEBUG rpc server.go:181 Serving request to $driver/photography.davidgray.sphere-orvibo/configure | |
2015-05-09 13:06:16 DEBUG mqtt-jsonrpc2 server.go:123 > Incoming to $driver/photography.davidgray.sphere-orvibo/configure : {"method":"configure","params":{"action":"list","data":{}},"id":110,"jsonrpc":"2.0"} | |
2015-05-09 13:06:16 DEBUG mqtt-jsonrpc2 server.go:266 < Outgoing to $driver/photography.davidgray.sphere-orvibo/configure/reply : {"result":{"actions":[{"label":"Close","type":"close"},{"displayClass":"success","displayIcon":"asterisk","label":"New IR Code","name":"new","type":"reply"}],"sections":[{"contents":[{"title":"About this screen","type":"staticText","value":"This page shows saved IR codes. To add a new code, press 'New IR Code'"},{"name":"code","options":null,"primaryAction":{"displayClass":"danger","displayIcon":"star","label":"Blast","name":"blastir","type":"reply"},"secondaryAction":{"displayClass":"danger","displayIcon":"trash","label":"Delete","name":"delete","type":"reply"},"type":"actionList"}]}],"title":"Saved IR Codes"},"id":110,"jsonrpc":"2.0","time":1431176776395} | |
ninja@ninjasphere:/data/sphere/user-autostart/drivers/sphere-orvibo$ date | |
Sat May 9 23:07:28 AEST 2015 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment