simeonovp / node-red-contrib-tuya-devices

Support for Tuya devices in SmartHome projects using Node-RED. The goal of the project is to allow using local devices supports Tuya in Node-Red
MIT License
6 stars 1 forks source link

Unable to edit device IP address. #5

Open mrmaximas opened 1 month ago

mrmaximas commented 1 month ago

@simeonovp After fetchig list of devices and models i attempt to add some to my project. Some of my devices are in a different subnet of my network and are not visible through discovery, there is routing to this network, I need to specify the ip manually. How to? Thanks! Screenshot 2024-07-17 at 17 32 56

simeonovp commented 1 month ago

@mrmaximas In the current version, it is not possible to configure the IP address via the GUI. The reason for this is that the devices we tested do not support the configuration of static IP addresses. With DHCP, there is no guarantee that the same address will be assigned for a new connection. During initialization, Tuya devices are searched for in the network and these communicate their current IP address. I can plan a feature for a subsequent version that first attempts a connection via an optional predefined IP address.

mrmaximas commented 1 month ago

@simeonovp Thank You for fast response. I assign static addresses via DHCP settings on my Mikrotik router, most routers have the ability to reserve an address for any device based on its MAC address. A DHCP/Static checkbox would be great.

mrmaximas commented 1 month ago

@simeonovp I also have some suggestions, maybe you will find some of them useful and possible to implement.

  1. I don't know what service you use for auto-translate, but when configuring devices in the tuya-local-device / tuya-model nodes I see the dp name in Chinese (why ?), which I can't change to my own. Screenshot 2024-07-18 at 10 23 41

Screenshot 2024-07-18 at 10 04 20

  1. I think it is better to take the device model name from product_name or product_id, because now you are forming the model name from the first added device with this model.

Thanks!