Hey peeps, I have an installation of H-A running local tuya with 22 devices perfectly integrated.
Today I brought a motion sensor
I know it’s not suported I’m just looking for some pointers to possibly make a custom platform.
The local tuya setup GUI cant find the device on the network even tho I set a static IP address.
It is fully functional on the smart-life app.
I can confirm it stays in a pingable state.
I set up a custom config:
localtuya:
- host: 192.168.1.122
device_id: 551_______8a4
local_key: 5f_________df
friendly_name: motion
protocol_version: "3.3"
entities:
- platform: binary_sensor
friendly_name: motion1
id: 101
device_class: motion
state_on: "true"
state_off: "false"
but it returns
ERROR (MainThread) [custom_components.localtuya.common] [551...8a4] Connect to 192.168.1.122 failed
I even found the data points but none of them work because local tuya can’t connect.
H-A is installed in supervised mode on Debian 11 bullseye.
Versions:
Home Assistant Core 2022.5.5
Home Assistant Supervisor 2022.05.3
Frontend version: 20220504.1
Kernel version 5.10.0-14-amd64
Local Tuya 3.5.0
Any help is appreciated.