209 похожих чатов

Приветствую! Не нашел (( Подскажите, пожалуйста! Как правильно сформировать запрос на отправку цифры

в датчик (не capabilities, а properties.float)?
Так не работает ((
"devices": [
{
"id": "......................................",
"actions": [
{
"type": "devices.properties.float",
"state": {
"instance": "temperature",
"value": 11
}
}
]
}
]
};
Выдает: message: "wrong actions format: unknown capability type: devices.properties.float"

5 ответов

12 просмотров

Цифра в датчик не отправляется. Датчик сам должен показывать какая у него температура, можно отправить уставку на установку

Mihalych- Автор вопроса
Sergey
Цифра в датчик не отправляется. Датчик сам должен ...

Подскажите, пожалуйста, как это выглядит?

Заместо actions должно быть отправлен массив capabilities,например: "id": "sock-56GF-3", "capabilities": [{ "type": "devices.capabilities.on_off", "state": { "instance": "on", "value": false }

Mihalych- Автор вопроса
Sergey
Заместо actions должно быть отправлен массив capab...

это понятно, включить/выключить и изменить яркость можно а как датчику дать число?

Mihalych
это понятно, включить/выключить и изменить яркость...

За вас доку мы уже прочитали, а вы так и не поняли...

Похожие вопросы

Обсуждают сегодня

Great news for DePIN fans 🫵🏻 Synternet’s $NOIA token is now supported by ioPay, a multichain wallet from IoTeX! 🫡 https://x.com/synternet_com/status/1792589757471408572?s=46
Emilis
14
@LGCYMan @JustinKKW Q/A List 1. this part confuses me on #8: "From there, a bridge between erc20 LGXY and erc20 LGXY will be out once that swap is closed." does this mean ...
Sig | LGCY | BattleVerse L1 | BitWin
1
Day trading is one thing. You're likely to lose money there too if you don't know what you're doing. But, for instance, when you find that coinbase is taking five to ten perce...
Johnny
2
How can I earn Ltc ? 💀
Atomic Supplies
11
After all: HOT has not been sold for investment, but as a voucher for the future hosting services. So the priority is probably not to get it tradable on exchanges. It also ha...
Matt
5
Anyone have any good learning material on how to do network analysis on cryptocurrency? Obviously monero is different story, but for Ethereum network for example. Thanks.
John Doe
14
Did @Beeker really get banned? That's ridiculous. He's one of the few left here with half a brain and you might not always like his narrative @dgb_ycagel , but he often keeps ...
Leroy Gerrits
1
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
46
Hello . Do you know if Chiliz has any involvement in UEFA European championship?
Stas
8
How do I get FrxEth? Need it to execute a contract
Abdullah $BTON
18
Карта сайта