Tellstick binding for OpenHab2

Please try to download the updated binding, same links as before.
If it does not work for you, then use log:set DEBUG org.openhab.binding.tellstick and send me the log.

Jarle

I am having this problem to.

Please try the updated jar using the same link, I believe this is fixed.

Hi.
I have sent a new PM with logs, I still see some issues.

One observation from me is that actuator states gets updated correct in pesistence etc now. That said, the change is not reflected in the physical actuator (light switch), but that may be other issues. I have most interest in capturing sensor data…

Cheers!

Hi
When adding a thing sensor in “paper ui” it only says
Status: INITIALIZING

The sensor never gets online.

Did not help. I cant see any error message in the logs when i add a switch or sensor and it is still stuck in initializing. Couldnt upload the log files so you can grab them from here instead: https://dl.dropboxusercontent.com/u/78163441/logs.zip

I am also seeing the same thing, every item added are stuck on initializing.

Peter

I believe I found the issue with the sensors, please try the updated jar from tonight.
Maccan: Are you using a Tellstick Basic/Duo or a Tellstick .Net/ZWave ?
yodalainen: I cannot see in the log that you added the sensors from the inbox, did you do this ?

jarlebh: It is in the eventlog. openhab does not report any activity from adding or removing from the inbox what i can see (maybe it should?).

I did add a sensor and a switch.

2016-11-30 00:46:48.172 [InboxRemovedEvent ] - Discovery Result with UID ‘tellstick:dimmer:1:17’ has been removed.
2016-11-30 00:46:48.172 [ThingAddedEvent ] - Thing ‘tellstick:dimmer:1:17’ has been added.
2016-11-30 00:46:48.172 [hingStatusInfoChangedEvent] - ‘tellstick:dimmer:1:17’ changed from UNINITIALIZED to INITIALIZING

It is in my thinglist but it is still stuck in initializing :cry:
I have to restart openhab to get the tellstick binding to work (could be something there?).

I have had it working before so its either the new openhab build or the new binding… or me :slight_smile:

Hi.
Sorry, i am using Tellstick Net.
Install the new jar this morning

Openhab adds the sensor but it never goes online. Same as yodalainen.

Looks very promising! Seems that changes are reflected back in OpenHab2 now. I do have changes time stamp updated in the control panel as well. Will come back if I see any issues, but so far it looks great!
Thanks for the quick response time!

Edit: Sensors are indeed online for me. I did a complete cleanup (removed all channels, uninstalled bundle from console, and restarted the framework) before I installed the updated bundle by the way

Maccan: Are you using OpenJDK, does the Bridge/Tellstick go online in the thinglist ?
yodalainen: Are you using OpenJDK, does the Bridge/Tellstick go online in the thinglist ?

This is my java

Tryed to do a cleanup reinstall as reidarma. Removed all things and items connected to telldus live, uninstalled bundle, stoped openhab 2, added the new jar, started openhab2.
Telldus live is ok but the sensor will not go online.

And tryed to stop and start the bundel in console but still the sensor will not go online.

Maybe it is me

I have all the time seen the tellstick bunndel showing me the sensor data in the log but not in the items sins they are not online.
But now i got this error and the log stopt showing me sensor data from tellstick live.

So, I have no issues with the updates anymore, but do experience some stability issues. I have to restart the bundle or OpenHab2 to resume interaction with telldus live. Seems to happen after approximately 30 minutes of running.

I see following that might be relevant in my log:

2016-11-30 18:02:30.656 [ERROR] [lstick.handler.TelldusDevicesHandler] - Failed to init bridge for 1191792
java.util.ConcurrentModificationException
	at java.util.Vector$Itr.checkForComodification(Vector.java:1184)[:1.8.0_65]
	at java.util.Vector$Itr.next(Vector.java:1137)[:1.8.0_65]
	at org.openhab.binding.tellstick.handler.live.TelldusLiveBridgeHandler.updateDevices(TelldusLiveBridgeHandler.java:149)[204:org.openhab.binding.tellstick:2.0.0.201611292326]
	at org.openhab.binding.tellstick.handler.live.TelldusLiveBridgeHandler.refreshDeviceList(TelldusLiveBridgeHandler.java:103)[204:org.openhab.binding.tellstick:2.0.0.201611292326]
	at org.openhab.binding.tellstick.handler.live.TelldusLiveBridgeHandler.getDevices(TelldusLiveBridgeHandler.java:286)[204:org.openhab.binding.tellstick:2.0.0.201611292326]
	at org.openhab.binding.tellstick.handler.live.TelldusLiveBridgeHandler.getDevice(TelldusLiveBridgeHandler.java:281)[204:org.openhab.binding.tellstick:2.0.0.201611292326]
	at org.openhab.binding.tellstick.handler.TelldusDevicesHandler.getDevice(TelldusDevicesHandler.java:182)[204:org.openhab.binding.tellstick:2.0.0.201611292326]
	at org.openhab.binding.tellstick.handler.TelldusDevicesHandler.bridgeHandlerInitialized(TelldusDevicesHandler.java:151)[204:org.openhab.binding.tellstick:2.0.0.201611292326]
	at org.eclipse.smarthome.core.thing.internal.ThingManager$10.run(ThingManager.java:819)[102:org.eclipse.smarthome.core.thing:0.9.0.b1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_65]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_65]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]

reidar and maccan can you try with updated jar, the exception handling should now handle that errors might occur.

Not using OpenJDK, should I?
java version “1.8.0_112”
Java™ SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot™ Client VM (build 25.112-b15, mixed mode)

The tellstick goes online as you can see.

Is there anything I can do, any version of openhab I should try? Any special version of JDK?

I tried the latest version your latest version 2.0.0.201611302012 together with a fresh install of the latest build (624) but I get the same result as before. I updated the logs (https://dl.dropboxusercontent.com/u/78163441/logs.zip)

Could you please provide the logs with debug on ?

My setup seems to be stable so far. Been running for > 1 hour now, updates are as expected, no need to restart bundle till now.

Still not working for me.

Now running the lastest openHAB (2.0.0.201611291735 | openHAB Core)
and your latest binding:
2.0.0.201611302012 | Tellstick Binding

Java:
java version "1.8.0_111"
Java™ SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot™ 64-Bit Server VM (build 25.111-b14, mixed mode)

I am running a Tellstick Duo and it did work with your builds 2 weeks ago. Everything seems fine, the Tellstick comes up, the sensors/switches adds but the stay as Initializing. Seems to be exactly as yodalainen.

I get sensor data into openHAB:

2016-11-30 23:15:11.603 [DEBUG] [andler.core.TelldusCoreBridgeHandler] - Sensor Event for TellstickSensor [sensorId=9, protocol=oregon, model=F824, timeStamp=Wed Nov 30 23:14:18 CET 2016, data={HUMIDITY=79, TEMPERATURE=-1.4}] event TellstickSensorEvent [sensorId=9, model=F824, protocol=oregon, data=-1.4, timestamp=1480544111000]

Have tried to delete and then readd the things, but they stays as initializing.

/Peter