Enables integration with smartnest.cz
service which provides MQTT integration with voice assistants.
In order to setup Smartnest follow the documentation.
The API is described in the Smartnest Github repo.
#include "../usermods/smartnest/usermod_smartnest.h"
at the top and usermods.add(new Smartnest());
at the bottom of usermods_list.cpp
.
or#define USERMOD_SMARTNEST
in wled.h or -D USERMOD_SMARTNEST
in your platformio.iniExample usermods_list.cpp:
#include "wled.h"
/*
* Register your v2 usermods here!
* (for v1 usermods using just usermod.cpp, you can ignore this file)
*/
/*
* Add/uncomment your usermod filename here (and once more below)
* || || ||
* \/ \/ \/
*/
//#include "usermod_v2_example.h"
//#include "usermod_temperature.h"
#include "../usermods/usermod_smartnest.h"
void registerUsermods()
{
/*
* Add your usermod class name here
* || || ||
* \/ \/ \/
*/
//usermods.add(new MyExampleUsermod());
//usermods.add(new UsermodTemperature());
usermods.add(new Smartnest());
}
Usermod has no configuration, but it relies on the MQTT configuration.
Under Config > Sync Interfaces > MQTT:
Broker
field to: smartnest.cz
Username
and Password
fields are the login information from the smartnest.cz
website.Client ID
field is obtained from the device configuration panel in smartnest.cz
.2022-09
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарий ( 0 )