You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #157 there's currently no easy way to read sensor values. Sensors should be readable implying:
We can get devices from the Brain
We can get sensors from Devices
We can get sensor values from sensors
One way might be to write this as a "chainable" api: getDevice(NEEOBrain, deviceId).getSensorValue(sensorId), but there's lots of different ways this could be written.
The text was updated successfully, but these errors were encountered:
Currently we expose 2 read functions:
getRecipes(NEEOBrain)
getRecipesPowerState(NEEOBrain)
As mentioned in #157 there's currently no easy way to read sensor values. Sensors should be readable implying:
One way might be to write this as a "chainable" api:
getDevice(NEEOBrain, deviceId).getSensorValue(sensorId)
, but there's lots of different ways this could be written.The text was updated successfully, but these errors were encountered: