Skip to content

What to do if a device does not reply? #1415

Answered by hanskroner
AlCalzone asked this question in General
Discussion options

You must be logged in to vote
  • Do we need to expect a timeout for every get request?

Yes. You're dealing with RF communication and a stateless protocol - there are no guarantees. Keep in mind this is as true for SET requests as it is for GET requests: if a device tries to switch a power switch on via a SET command, but the switch device detects over-current or over-temp., it's free to refuse the request and not change state. Unless this request was Supervision Command Class encapsulated, the sender won't know the reason for refusing the state change. Some devices might chose to send a REPORT out the Lifeline with the state not having changed and/or issue a notification/alarm via Notification Command Class letting t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlCalzone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants