forked from andrius/neohubapi
Add GET_LIVE_DATA command.
This commit is contained in:
parent
e07e672a42
commit
3af9ff2bfb
10
neohub.py
10
neohub.py
|
@ -328,6 +328,16 @@ class NeoHub:
|
||||||
result = await self._send(message, reply)
|
result = await self._send(message, reply)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
async def get_live_data(self):
|
||||||
|
"""
|
||||||
|
Returns unstructured live data from all devices
|
||||||
|
"""
|
||||||
|
|
||||||
|
message = {"GET_LIVE_DATA": 0}
|
||||||
|
|
||||||
|
result = await self._send(message)
|
||||||
|
return result
|
||||||
|
|
||||||
async def permit_join(self, name, timeout_s=120):
|
async def permit_join(self, name, timeout_s=120):
|
||||||
"""
|
"""
|
||||||
Permit new thermostat to join network
|
Permit new thermostat to join network
|
||||||
|
|
Loading…
Reference in New Issue