Open Lynetk opened 2 weeks ago
Dukaone send responses using broadcast on the network. How are you running your home assistant? I know there are problems if you run it in docker on Windows. (Docker on linux should work fine). When you run the python example from the dukaone sdk - is that on your Home Assistant server? You can try to specify 10.1.10.255 as the ip address (the broadcast address of your network). And verify the device id is correct. Another guy wrote that the password must not be more then 8 characters - I would try to make it exactly 8 characters (Or use the same password as on the one that works - if you have not already done that)
Thanks for your reply. Home Assistant is running on a virtual machine in the same network as the duka's (10.1.10.0/24) and is perfectly capable of connecting to one of the two duka's. I have tried all combinations of passwords. 8 characters exactly, default 1111 and it's the same result. I have also tried to specify the broadcast address and verified multiple times that device_id is correct and confirmed this when using SDK. I have tried SDK from both the home assistant server and my desktop (mac).
I'm having issues adding my second Duka One 6S + Wifi. I have set up both my Duka's to connect to my wifi and getting a DHCP reserved address in the 10.1.10.0/24 subnet Both Duka's are the same and are running firmware 0.3 from 2021-04-10
One of my Duka's, lets call it number 1 is working as expected in home-assistant (2024.6.3)
When I try to add the second one, it seem to work but no humidity sensor is detected and I cant control the fan entity it produces
`
I have tried firmware resets, setting the password manually and to different values but always with the same result.
I then tried downloading your Python SDK and connected to each of the Duka's with success and I can control them both through there. Also, the Duka iOS app works fine, so I don't think I have a faulty device.
I added a few debug printlines to example.py in the SDK and this shows the output I'm getting. Not sure why it displays None in the Firmware device, date and unit type, but it only seems to do that upon first connect.
I also went ahead and ran a tcpdump on my home assistant server when adding the faulty Duka, and I see no traffic being sent towards the IP of the duka even though I specify it in the config flow.