Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (12 sloc) 0.416 kB
8603286 Initial repo set-up
Elias Karakoulakis authored
1 require "thrift"
2 $:.push("/home/ekarak/ozw/thrift4ozw/gen-rb")
3 require "ozw_constants"
4 require "remote_manager"
5
6 port = 9090
7 HomeID = 0x00006258
8
9 transport = Thrift::BufferedTransport.new(Thrift::Socket.new('localhost', port))
10 protocol = Thrift::BinaryProtocol.new(transport)
11 transport.open()
12
13 OZWmgr = OpenZWave::RemoteManager::Client.new(protocol)
14 #OZWmgr.SetNodeOff(HomeID, 2)
15
16 OZWmgr.GetNodeNeighbors(HomeID,1)
17
Something went wrong with that request. Please try again.