sydspost / Domoticz-WiZ-connected-plugin

Domoticz WiZ connected plugin
MIT License
5 stars 6 forks source link

Can´t find device #3

Closed Klevebrand1 closed 2 years ago

Klevebrand1 commented 2 years ago

Hello. Script starts fine but do not find any devices. I can ping the device. And i can see the device in the DHCP. image

No error in the domoticz log. image

sydspost commented 2 years ago

Can you perform a nslookup of wiz_528a40 ?? Because the plugin first sends a arp request on your subnet and then performs a recursive lookup for each found ip-adres to determe the FQN. The first part of the FQN is matched with the prefix you specified in the settings.

Klevebrand1 commented 2 years ago

Great. Now i know were too look.

Need to setup a dhcp server for the subnet. So i can do a recursive lookup.

Or do you have a smarter solution?

Den sön 17 okt. 2021 16:43sydspost @.***> skrev:

Can you perform a nslookup of wiz_528a40 ?? Because the plugin first sends a arp request on your subnet and then performs a recursive lookup for each found ip-adres to determe the FQN. The first part of the FQN is matched with the prefix you specified in the settings.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sydspost/Domoticz-WiZ-connected-plugin/issues/3#issuecomment-945137832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWDBXYX522ICBR5YC2F2S4TUHLOKZANCNFSM5GEYSSEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sydspost commented 2 years ago

Adding the fqn + ipaddress to your /etc/hosts file is a static way to solve this, a more dynamic way is to add a dns-server to your network. Maybe your router can supply that functionality. Most routers can deliver dhcp and dns functionality with dynamic dns enabled.

Klevebrand1 commented 2 years ago

Now I can ping the unit by it's hostname wiz_xxxxxx but the unit dont show in Domoticz.

Domoticz server is on ip 10.0.0.10 And Wiz unit is on ip 10.0.20.2.

And "Wiz connected" in serching for wiz_ on subnet 10.0.20.0/24.

Den mån 18 okt. 2021 10:09sydspost @.***> skrev:

Adding the fqn + ipaddress to your /etc/hosts file is a static way to solve this, a more dynamic way is to add a dns-server to your network. Maybe your router can supply that functionality. Most routers can deliver dhcp and dns functionality with dynamic dns enabled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sydspost/Domoticz-WiZ-connected-plugin/issues/3#issuecomment-945481056, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWDBXYUQ745OXZ3EKXI3P2LUHPI3RANCNFSM5GEYSSEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

sydspost commented 2 years ago

Can you try 10.0.20.0/16 in the plugin settings ?

sydspost commented 2 years ago

Guess this issue is solved and close it. If the issue is niet solved, please deel free to reopen it.