jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
21
I thought maybe it could be a port thing also; so a few months ago I started using a Google tool called Paping which pings a specific port. Myt thinking process was it would keep it open and broadcasting on the network on that port. It basically runs every 10 minutes 24x7 from a Windows 2012 server.
Here’s the syntax:
paping 192.168.0.153 -p 49153 -c 4
Am I correct with the port being 49153 ? If not, what is the correct port OH uses for it?
FYI, I’m running the same Java version (8.0.161) I installed originally (June 2018) during the build up of OH .
what Java? Oracle, OpenJDK or Zulu?
Can‘t find a post where you told me.
The port WeMo devices react to is autodiscovered through UPnP, to se which, you need to set log level to debug.
To do so, enter openHABs Karaf console an type
log:set DEBUG org.eclipse.smarthome.binding.wemo
You should now see the SOAP calls in the logs.
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
23
Hi Hans,
I’ve turned on WeMo Logging this morning in the logging cfg file; I will report back in a day with results to see what devices are crawling up port numbers.
I’ve followed the port changing issue with one of them that I’m having the most trouble with.
49152, 49153, 49xxxx Local web service calls. First two are used most of the time, but numbers can increase.
192.168.0.152 -p 49152 - no reply
192.168.0.153 -p 49153 - no reply
192.168.0.153 -p 49154 - reply
If I unplug the plugs that I’m having the most issues with and plug it back in; the port will start back on -p 49152 but will crawl to the other ports in a hours/days later.
It looks like OpenJDK is the Java version because it’s referencing security vulnerabilities fixed on this version against OpenJDK; on the description of the Java package.
I have no issues discover/re-discovering WeMo devices - FYI
Just to chime in here…I’ve been running on 2.3 for quite some time with no issues. I’m using the Oracle version of Java on a Windows Server installation.
I’m only using WEMO for the coffee pot, so my experience may not match those using appliance modules or switches.
Just thought I would provide a note that it is working for some on 2.3
Squid
1 Like
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
25
Here’s my WeMo List of Items when the debug logs get posted to cross reference. I never had issues with the SWITCH_ devices. Just issues with a few WALLPLUG_ devices.
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
28
Hi Hans,
I have upgraded now to Oracle Java 8.192 on the Synology. I did a clean reboot with cleaned up cache/tmp directories afterwards. Lets give it a day before I upload the WeMo debug logs.
For those on this thread; here’s how to do this on a Synology.
Java8 provides centralized management to help you upgrade or view the status and version of Java on your Synology NAS. After installation, OpenJDK will be used by default. To increase compatibility and performance, Java8 also provides an interface to upload Oracle JDK.
Upload Oracle JDK
Oracle JDK has a better compatibility with applications using older APIs. It also gives better performance on Synology NAS servers running on ARM. To upload Oracle JDK to Java8, click the Install Java / Upgrade Java button and then follow the onscreen instructions. The filename and format of the uploaded file will be checked before installation.
As i wrote in my earlier reply, you seem to have some more issues within your installation. For example your earlier logs complained about two different versions of Denon/Marantz Binding.
I already saw that there are some errors reported by jupnp, the underlying UPnP implementation.
This is a hint for me that WeMo emulation your devices use is not 100% compatible to the Binding.
I am sorry to say that I will not be able to support you, as the WeMo Binding was never intended to be used with emulated devices. It would be to difficult to cover all different WeMo emulations, especially as I don‘t have those devices at hand.
If there are issues with real WeMo devices, I will be able to help.
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
30
Hans,
I’m 24 hours into the upgrade of Java on the Synology w/o any WeMo issues yet.
Best, Jay
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
31
Hi Hans,
I’m seeing a BIG difference on reliability now with the new Java version installed on the Synology for OpenHab 2.3. I’ll keep you posted if something changes. Thank you very much!
I did see in GitHub they release OpenHab 2.4 for Synology; waiting a bit before I go down that upgrade path. I’ve heard this upgrade fixes alot of other stuff.
Best, Jay
1 Like
jwiseman
(Mr. Wiseman (OH 4.2 Snapshot on Pi4))
32
I’ve created a bounty to have the WeMo binding updated to dynamically follow port changes on it’s next version.
Sorry, will not be able to provide an update in short time. In the meantime, you could try the following:
When WeMo devices become unresponsive, trigger a scan for new WeMo devices in PaperUI.
This should update existing devices.
Please post here if this works, we then can create a workaround.
Best
Hans-Jörg