Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed REST status reply in latest version #1573

Closed
Dawnes opened this issue Jan 11, 2018 · 4 comments
Closed

Changed REST status reply in latest version #1573

Dawnes opened this issue Jan 11, 2018 · 4 comments
Labels
stale Action - Issue left behind - Used by the BOT to call for attention

Comments

@Dawnes
Copy link

Dawnes commented Jan 11, 2018

Not sure if intentional or not, but it seems the REST status reply has changed slightly between 5.10 and 5.11 breaking some automation for me.

http://192.168.x.y/cm?cmnd=status

New fw 5.11:
{"Status":{"Module":1,"FriendlyName":"Sonoff","Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}}

Old fw 5.10:
STATUS = {"Status":{"Module":1,"FriendlyName":"Sonoff","Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}}

@arendst
Copy link
Owner

arendst commented Jan 13, 2018

See releasenotes

@Dawnes
Copy link
Author

Dawnes commented Jan 13, 2018

I guess that would be this one: Change output of HTTP command to valid JSON and Array only (#1363)
So change is intentional. Thanks, I'll change the detection logic on my side.

@stale
Copy link

stale bot commented May 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Action - Issue left behind - Used by the BOT to call for attention label May 13, 2018
@stale
Copy link

stale bot commented May 27, 2018

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.

@stale stale bot closed this as completed May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Action - Issue left behind - Used by the BOT to call for attention
Projects
None yet
Development

No branches or pull requests

2 participants