This morning I updated my hub to 2.3.6.136 and immediately noticed the JSON response data I get back from devices I have included with the Maker API has significantly changed. The primary change is the Attribute # assigned to various devices changed. For example, I have a Hue Outdoor Motion Sensor. Prior to the platform update the attribute # for temperature used to be 1 but got changed to 2. I noticed attribute # changes on most if not all my devices. For those that rely on Maker API for custom code, be warned.
What query are you doing, out of curiosity?
I'm not sure the attribute # was ever guaranteed to be cannon/immutable. I definitely would not use that for parsing of the data, in any case.
2 Likes
Just posting for folks to be aware. Im sure plenty of novice developers out there using Maker API JSON calls to query the status of their hubitat devices expecting some degree of consistency. Sure, with additional code you can parse the response if the attribute # changes. Not easy for a novice developer. Again, just posting for awareness.
2 Likes
No argument! And I think that is a great reminder/warning.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.