Hello Bernhard,
Some time ago we had a discussion the forum. See : viewtopic.php?t=68
In one of the posts you mentioned that a new device-type would return the ‘used_for_devices’ list.
Well…not sure if I’m doing something wrong, but I’m not getting the ‘used_for_devices’ list anymore.
I’m sending the following query:
https://brewbricks.com/api/iot/v1?apike ... epower_1=0
Any ideas?
Regards,
Jos
Problem with getting 'used_for_devices' information
Re: Problem with getting 'used_for_devices' information
Hey Jos,
to keep backward compatibility, the "used_for_devices" is only returned for the following types: "bookesbrick" and "sonoff_th_elite".
So if you change your type from "bookes" to "bookesbrick" it should work.
Cheers,
Bernhard.
to keep backward compatibility, the "used_for_devices" is only returned for the following types: "bookesbrick" and "sonoff_th_elite".
So if you change your type from "bookes" to "bookesbrick" it should work.
Cheers,
Bernhard.
Re: Problem with getting 'used_for_devices' information
Hi Bernard,
Ahhh....that did the trick. How could I be so mistaken!
Thanks for the support !
Jos.
Ahhh....that did the trick. How could I be so mistaken!
Thanks for the support !
Jos.