Complete noob here. Just trying to set up some testing to learn openhab but can’t even get the basics going.
Had some old enocean equipment at work so I figured that was a good start to test openhab. Bought an enocean usb300 but I can’t seem to get it into openhab. It seems to work in the system (windows 10), I’ve installed dolphinview from enocean and it can see pushbutton events in the log of that program (when I push the button) and it connects to usb300.
From what I understand the usb device should be automatically picked up by openhab?? But from what I can see it hasn’t (or I’m just to noob to understand it). When I scan for things on the binding (and pushes a button) nothing happens.
What am I missing, I can’t find any config file for enocean either (should be one if I’m not mistaken) and log file doesn’t show anything more than just that the binding is installed.
Please help, I’ve tried to search for info but I can’t find anything regarding windows and enocean.
thank you
Mikael
My system:
Win 10 pro
Openhab 2.4 (downloaded it the other day)
Oracle java 8 211 (downloaded it yesterday)
Enocean binding 2.4 (installed from within openhab)
auto discovery of USB300 just works in Linux. There exists no API to discover USB devices in Windows. So you have to add the gateway manually and choose the right COM port. The binding definitely works under Windows as I have developed it under Windows 10. However I would recommend to use the 2.5 snapshot version of openhab as the 2.4 binding version has some major bugs.
I think you may need to take into account that other software and openHAB cannot “share” a USB device. You may need to stop or disable this dolphinview thing.
Oops. Sorry that I didn’t get back. Yes I got the binding to work and I found one thing. So yes it works. Haven’t put much time in to it afterwards. Had to manually add the USB device to the config file.
Hi Daniel,
I have no problems running the binding on windows, too. As I said discovery of USB gateway does not work. However after adding this thing manually other devices should get discovered through the differn teach in processes.
Tested on Win10, openhab 2.5 shapshot #1649.
to save energy most sensors just send a new message after a certain threshold for temperature change has passed. My thermokon for example have a wake up interval of 100 seconds. If temperature has changed approx 0.8K a message is send otherwise not. However at least after 1000 seconds a message with the current status is send. So 20 minutes is a realistic value for your sensors. Which sensors do you own?
I’m struggling with the below error, en you please assist.
12:29:12.093 [ERROR] [ternal.transceiver.EnOceanTransceiver] - Exception in informListeners
java.lang.NumberFormatException: For input string: “”
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_162]
at java.lang.Long.parseLong(Long.java:601) ~[?:1.8.0_162]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.informListeners(EnOceanTransceiver.java:423) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.processMessage(EnOceanTransceiver.java:313) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.receivePackets(EnOceanTransceiver.java:200) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.access$3(EnOceanTransceiver.java:192) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver$1.run(EnOceanTransceiver.java:163) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_162]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_162]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
12:46:38.960 [ERROR] [ternal.transceiver.EnOceanTransceiver] - Exception in informListeners
java.lang.NumberFormatException: For input string: “”
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_162]
at java.lang.Long.parseLong(Long.java:601) ~[?:1.8.0_162]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.informListeners(EnOceanTransceiver.java:423) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.processMessage(EnOceanTransceiver.java:313) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.receivePackets(EnOceanTransceiver.java:200) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver.access$3(EnOceanTransceiver.java:192) [bundleFile:?]
at org.openhab.binding.enocean.internal.transceiver.EnOceanTransceiver$1.run(EnOceanTransceiver.java:163) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_162]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_162]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_162]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]