Search found 4 matches
- 2024年 Jan 2日 18:20
- Forum: Developer Platform
- Topic: Get all devices as list
- Replies: 5
- Views: 4532
Re: Get all devices as list
org.apache.http.wire.wire 73 : http-outgoing-0 >> "GET /v1.0/illumination/devices HTTP/1.1[\r][\n]" org.apache.http.wire.wire 73 : http-outgoing-0 >> "Accept: application/json[\r][\n]" org.apache.http.wire.wire 73 : http-outgoing-0 >> "sign_method: HMAC-SHA256[\r][\n]" ...
- 2023年 Dec 28日 18:35
- Forum: General Discussion
- Topic: Spring Boot 3 - JUnitTest
- Replies: 3
- Views: 3454
Re: Spring Boot 3 - JUnitTest
Thx for your reply! So far so good... Now I get a permission denied when I call the getById-method. I am wondering because I also see some 200 states, so.. By the way: If I call the "commands"-method, I can control my device... 11:24:35.486 INFO [main] c.t.c.api.logging.HttpLoggingFactory....
- 2023年 Dec 26日 18:47
- Forum: Developer Platform
- Topic: Get all devices as list
- Replies: 5
- Views: 4532
Re: Get all devices as list
I have the same problem in Java... final BaseResponse<TokenResult> accessToken = tokenApi.getAccessToken(1); HttpClientUtils.setTokenResult(accessToken.getResult()); final BaseResponse<PageResult<ProjectListItem>> response = projectApi.page(1, 10, null); PageResult<ProjectListItem> result = response...
- 2023年 Dec 26日 18:33
- Forum: General Discussion
- Topic: Spring Boot 3 - JUnitTest
- Replies: 3
- Views: 3454
Spring Boot 3 - JUnitTest
Hi there, I would like to write a SpringBoot3 application to control a device. I have properly registered and set up my device that I want to control in the Tuya cloud, and everything is working so far. I have now checked out the tuya-sdk, the tuya-connector and the connector project from Github and...