Next: Configuration Reference, Previous: Building and Installing, Up: STCA Tuya Cloud Plugin [Contents]
Edit examples/tuya-cloud.stca.xml with a real Access ID / Access
Secret (and a regional api-base if not EU). Do not commit
secrets. Then:
$ LD_LIBRARY_PATH=../../configurable-adapter/lib/.libs \
../../configurable-adapter/src/starter-configurable-adapter \
-c examples/tuya-cloud.stca.xml \
-p .libs
By default the adapter prints WARNING / CRITICAL /
ERROR only. For plugin diagnostics:
$ G_MESSAGES_DEBUG=tuya-cloud \
LD_LIBRARY_PATH=../../configurable-adapter/lib/.libs \
../../configurable-adapter/src/starter-configurable-adapter \
-c examples/tuya-cloud.stca.xml \
-p .libs
Or set G_MESSAGES_DEBUG=all for every log domain.
With <enable-http>true</enable-http> in the example, the adapter
HTTP API listens on the configured port (42111 in the sample).