iancmcc/ouimeaux

REST API environment call shows incorrect status

bunnyroo opened this issue · 0 comments

First off, this is an awesome API which I can't believe I've been missing out on. Installed on my Synology server in half an hour and works like a charm.

I'm now integrating this with Alexa and noticed that running the REST API call of /api/environment gives an incorrect status update when compared to running wemo status from the command line. The command line shows the correct status of my switches, but the /api/environment call shows some switches as being in the on state when they're actually off. Can this be a caching issue with the web server?