roblans / ZWave4Net

ZWave4Net is a .NET library that interfaces with the Aeotec / Aeon Labs Z-Stick.
MIT License
41 stars 34 forks source link

Device on battery #5

Closed GregoryFr74 closed 7 years ago

GregoryFr74 commented 7 years ago

Hello, I try to communicate with my thermostat. which is on battery http://www.securemeters.com/europe/products/system-products/thermostats/srt321-thermostat But i have this error : Transmission failure: CompleteNoAcknowledge.

I would like to know if you implement devices on battery ? if yes, how can i communicate with it ?

Thanks for your help. Greg

roblans commented 7 years ago

Yes, battery devices are fully supported. Note, however, that you can only communicate with a battery powered node when it's Awake. If you send a command to a node that's not awake then you will get a TimeoutException. The CompleteNoAcknowledge mostly happens if you're sending a unknown or invalid command to a node. Does the problem occurs with all commands?

Rob.

GregoryFr74 commented 7 years ago

You're right. my device was not awake. I found the class WakeUp. And now, when the event arrives, i can send my command. Thanks for your reply and your work Greg