Hi. Ooo now its problem. My parcel with āgoogle coral tpuā also wait to be send.
And i think your ordered thermostat will work with placed me component.
@mariogor You say it works perfectly so could you brief me on what information you can get and can set.
I have one using the main tuya code in cloud mode which wonāt let me see the floor temp, just the room temp. This does the job for me for now.
I want to install another where I need to read the floor sensor temp cos the BHT-002 is going to be outside the room. Then I need to be able to set the target temp to achieve my desired floor temp regardless of what the room temp says.
Will the current local version code let me do this?
well renat, I donāt know I have not an external sensor. I had thought of trying to put a Xiaomi Mi Temperature on the floor and with an automation control the boiler with the renat lucaltuya saying that if the sensor temperature is low it raises the thermostat temperature and when you get to the targhet temperature it lowers the thermostat temperature but if it can be done with BHT-002 it is better
Well, my device has finally arrived, but I am having issues at this point:
tuya-cli link --api-key xxxxxxxxxxxxxxxxx --api-secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxx --schema johnrad --ssid xxxxxxxxxxx --password xxxxxxxxxxxxx --region eu
ā Device(s) failed to be registered!
Error: Timed out waiting for devices to connect.
at TuyaLinkWizard.linkDevice (/home/laptop/.npm-global/lib/node_modules/@tuyapi/cli/node_modules/@tuyapi/link/index.js:117:17)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async link (/home/laptop/.npm-global/lib/node_modules/@tuyapi/cli/lib/link.js:47:19)
I am running from my ubuntu laptop, on the same network as the therm is connected. It has 2.4 and 5 accessā¦
I think my tuya account is successfully registered as per this:
tuya-cli link --api-key xxxd --api-secret 8xxxxe --schema johnrad --ssid It xxx IP --password xxxxxx --region us
ā ¹ Registering devices(s)...events.js:292
throw er; // Unhandled 'error' event
^
Error [ERR_SOCKET_CANNOT_SEND]: Unable to send data
at Socket.onListenError (dgram.js:511:22)
at Object.onceWrapper (events.js:422:26)
at Socket.emit (events.js:315:20)
at dgram.js:340:14
at processTicksAndRejections (internal/process/task_queues.js:85:21)
Emitted 'error' event on Socket instance at:
at Socket.onListenError (dgram.js:511:8)
at Object.onceWrapper (events.js:422:26)
[... lines matching original stack trace ...]
at processTicksAndRejections (internal/process/task_queues.js:85:21) {
code: 'ERR_SOCKET_CANNOT_SEND'
}
And if I set the location to China, a different error again:
ā Device(s) failed to be registered!
Error: country code not support this area
at OpenAPI._client.got_1.default.extend.hooks.afterResponse (/home/laptop/.npm-global/lib/node_modules/@tuyapi/cli/node_modules/@tuyapi/openapi/dist/api.js:68:31)
at EventEmitter.<anonymous> (/home/laptop/.npm-global/lib/node_modules/@tuyapi/cli/node_modules/got/dist/source/as-promise.js:87:38)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
if you want to use the Tuya app you must first connect the thermostat to the tuya app on your smartphone and then in the configuration.yaml enter this:
tuya:
username: āyour account tuyaā
password: āpassword account tuyaā
country_code: āsee https://www.countrycode.orgā
if you want better local control you have to follow renatās instructions
Helloā¦ Nice Project. I ahave a question: I have Xiaomi IR blaster to send commands to my AC via IR. Therefore I use a custom component. I saw Thereās something like a bridge look here:
I now wanna somehow sync the thermostat with my actual climate component. any idea how I could ābridgeā this? Your component has no mqtt afaik.