my network binding isn’t working anymore after upgrade to OH3…
I checked if there were any changes to the network binding, but everything seems to be ok with my configuration.
there are no errors or warnings regarding the network binding in my logs…
I made no changes to my files - and they’ve been working before upgrading.
how can I find out why the handler isn’t initializing??
For me it looks like a binding-related error, but I don’t know what the network binding is doing “under it’s hood”…
It should work this way but it doesn’t - I have no idea where to start debugging.
cheers
Edit: and maybe someone can confirm that there were no changes to the network binding configuration since OH3.x stable? And has anyone a working network binding with OH3? Just to sort out configuration specific problems…
thanks could you please tell on which OS you are?? Debian? And interesting to know if you’re using textual configuration or the UI for configuring the binding
I’m on a Raspi4 running openhabian, all set by UI.
IMHO the curious part is where this “0,090” string is coming from. Do you have anything like that in your files?
No nothing… I could imagine that this is something OS related while network binding is trying to bind to the OS-functions (arping) …but this is working fine when I try to ping without OH3… it’s a mystery - mainly or especially because there are no DEBUG infos from the logs…
I’m stuck so far
anyone got this binding running with textual configuration??
maybe I try to set it up from UI - but I tried to avoid that, anyway this seems the only way to get any further with this problem for now…
I realized that everytime I manually Stop & Start the network thing, the number “0,xxx” changed to something between 0,078 and 0,143 so I thought this may be a pingtime in (milli)seconds - but I couldn’t imagine what could cause this…
but then I remembered the fact that my system locale was set to de-DE.utf8 and in Germany we seperate such numbers with a “,” not a “.”… and after changing the locale to en-US.utf8 voila my network thing is initializing and online…
It took me over a week to find out what caused my problem - now I’m really happy
One last thing… I’m pretty sure, the locale of my OH2.5 linux container was set to de-DE.utf8 also, and it still worked… so maybe there is a way to catch this inside the network binding by a simple if clause like: if the string contains “,” then replace it with “.” or something like that…
that’s weird… is de-DE.utf8 your only or your primary language (both locales installed)?
because on my system there only was de-DE installed but I know you can configure locale to use one as standard if more then one are installed.
you can check this by typing
dpkg-reconfigure locales
to the console…
so maybe that’s the cause why yours is working and mine was not