Page 1 of 1

Problem with getting 'used_for_devices' information

Posted: Thu Mar 28, 2024 6:44 pm
by JoDaNl
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

Re: Problem with getting 'used_for_devices' information

Posted: Tue Apr 09, 2024 9:36 am
by Bernhard
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.

Re: Problem with getting 'used_for_devices' information

Posted: Tue Apr 09, 2024 8:28 pm
by JoDaNl
Hi Bernard,

Ahhh....that did the trick. How could I be so mistaken!
Thanks for the support !

Jos.