Amazon Echo Skill - Virtual Switch Failures

I have recently experienced failures that I believe originate in the communication with Alexa via the Amazon Echo Skill. These failures are expressing on long standing processes that have not been altered and that have worked well for over a year.

Use case: Virtual switch triggers an Alexa based action of some kind, e.g. switch triggers routine that recirculates my hot water.

  1. The failure is not seen in the logs.

  2. The failure does not happen every time but it does happen in the vast majority.

  3. It appears that if a virtual switch based routine fails another virtual switch based routine will succeed if the second routine is called in a short period of time, e.g. switch triggers routine that recirculates my hot water (fails). 5 minutes later a virtual switch triggers a routine to stop the recirculation (succeeds).

This seems akin to the Chromecast "keep alive" problem.

  1. Lastly, it is difficult to determine if Alexa "picked up" the virtual switch event because as soon as you look at the switch within Alexa it polls the switch to determine its state.

Thoughts on cause or possible remedies?

Thanks!

Norbert