Homematic Binding: "Channel not found for datapoint" errors for definitely existing channels

Hi @gerrieg,

Iā€™m running homegear. The error is reproducible. Got a little bit more clue. The

 serverSocket.accept()

in

BinRpcNetworkService::run()

throws an exception. Iā€™ve not found any call to

getRpcCallbackURL

too. Hope it helps.

EDIT: INFO occures on both 2.0.0 release and 2.1.0 snapshot.

Thank you and kind regards,

Alexander

Hi,
I just would like to mention that I have exact the same warnings in my logs since I have updated to the stable version of OH 2.1:

2017-08-04 19:50:49.062 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint ā€˜LEQ1189529:0#RSSIā€™
2017-08-04 19:50:49.064 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint ā€˜LEQ1189529:0#SIGNAL_STRENGTHā€™

My system:
A Pi3 with homegear and OP 2.1 stable and with mainly Homematic-devices

My systems seems to work though without any problems, so this is no blocking issue, still I would be glad to correct it and get rid of these warnings.

best regards
schroedinger

Hi,

if you remove the thing and add it again the problem should disappear.

Hi,

thank you for the advice.

However, to be honest - at the moment I do not dare to remove the thing for the following reasons:

  • it happened already twice that - when I tried to remove things or items via PaperUi - that I could not fully remove them, and they remained sometimes as a kind of ā€œghostedā€ (grey) item, which caused a ā€œ404 not found errorā€ whenever I tried to remove it.
  • and the mentioned item is part of a group, I have tagged it with some ImperiHome-tags and I have mentioned in in some rules -> so I do not kn ow what will have if I try to remove it

-> for the moment I do not dare to try to remove it.

Nevertheless - thank you for the advice. I guess I will try it after I have made a full backup - and I will post then if it has worked.

1 Like

Thanks for this hint!! This worked!

Yesterday I updated to 2.1 stable (as previously I used some old snapshot of a pre-2.1 release) and this same problem occured again.

I have everything configured in *.things and *.items files and removed all Homematic-specific items and things, restarted it once without all items, stopped it, added the configuration files again and restarted OpenHAB and now it works again.

I am using 2.2 Snapshot and the error still exists. Moving everything to *.things file does not work either. (including deletion of all things)

This in combination with the auto-deleting all my things described https://community.openhab.org/t/homematic-homegear-problems/35077 is getting ugly for my installation. :frowning:

I am moving to 2.1 stable now, hopefully this is usable again.

I have found a solution, or better the root of the problem. At least in my special case.

I had several rules, which were iterating through groups checking states, sending messages, playing sounds, etc. Due to my lazyness, i triggered the on the ā€œchangeā€ of the group state, which triggered the rules also on startup, when the item states where restored. Due to the group state most likely several times. :wink:

I changed the trigger to prevent the rules from being executed on startup and afterwards the problem of the missinng channels is gone.

Stressing openHAB during startup may also be a good idea to reproduce the problem.

@gerrieg, do you need more info to reproduce the problem to find a solution? I was almost always unable to restart openHAB correctly due to that problem.

Thank you for the info! This of course explains the behavior, the error message is correct but very misleading. Iā€™ll try to reproduce it and find a solution.

Hello, Iā€™m also having a similar problem with the homematic binding (2.1.0) after updating to homegear 0.7.10 today. I have two window contacts but only one of them is getting updates (the problematic one has no ā€œchannelsā€ data in the REST interface, the good one has). Everything is configured in files in my openHAB2 installation. Going back to homegear 0.7.9 didnā€™t solve the issue so Iā€™m not sure whether this was only coincidence.

I can temporarily fix the problem by commenting out the problematic Thing and then commenting it in again. However after restarting the system the problem is back again. By setting the TRACE log level on the homematic binding I can see that homegear is actually sending the new state of the sensor but there appears no INFO nor ERROR message in the log.

After the regular RPC restart messages in the openHAB2 log I also see that only the good sensor is being updated.

Is there anything I can do? Do you need some additional information?

Hmm. Problem is back again (most likely never was gone completely :().

Not as severe as it was, but sometimes some devices donā€™t have all datapoints.

The devices in question are always HM-TC-IT-WM-W-EU or HM-CC-RT-DN (in my case the homegear variants of them).

If this is indeed a problematic to solve timing issue, wouldnā€™t it be a solution to (re)create the channels whenever that error occurs?

2017-10-24 08:56:08.512 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint 'OEQ0300665:0#RSSI_DEVICE'
2017-10-24 08:56:08.518 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint 'OEQ0300665:0#RSSI'
2017-10-24 08:56:08.520 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint 'OEQ0300665:0#SIGNAL_STRENGTH'
2017-10-24 08:56:08.550 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint 'OEQ0300665:2#ACTUAL_HUMIDITY'
2017-10-24 08:56:08.564 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint 'OEQ0300665:2#ACTUAL_TEMPERATURE'
2017-10-24 08:56:08.565 [WARN ] [ematic.handler.HomematicThingHandler] - Channel not found for datapoint 'OEQ0300665:2#SET_TEMPERATURE'

Iā€™m happy to provide any help to solve this issue, just ask what you need.

I tested today with some rules and events during startup, itā€™s impossible for me to reproduce. But i found a small issue at startup, that MAY cause the warning. But i donā€™t know if this is exactly your problem.

So i want to ask you, if you can try the latest snapshot once this PR has been merged. If the warning still occurs, please send me a trace log again.

English please, this is an international community forum.

Sorry for the german post, hmerk!

For me the problem is solved - these steps were necessary:

Iā€™ve remove the 3 Homematic thermostat components with the paper ui via
Configuration -> Things -> Click on trash icon

Then i clicked ā€œSearch For Thingsā€ in ā€œInboxā€ an added the 3 thermostats back to the configuration

After a reboot i activated the homematic.items - entrys and the heating rules

Now everything is running without the ā€œChannel not found for datapointā€ message.

:vulcan_salute:

Update 21:58

I have to do the same (remove and add it again) with my homematic window contact!

Sorry for this beginner question but how can I install the snapshot build of the homematic binding? I followed the instructions in the FAQs, however after restarting openHAB the old version 2.1.0 seems to be pulled in as well (it was ā€œUninstalledā€ before restarting openHAB!):

openhab> feature:list|grep -i homematic
openhab-binding-homematic                   | 2.1.0            | x        | Started     | addons-2.1.0                | Homematic Binding

openhab> bundle:list|grep -i homematic
235 | Active    |  80 | 2.2.0.201711012040     | Homematic Binding
237 | Installed |  80 | 2.1.0                  | Homematic Binding

REST shows me a 404 on my Homematic things in this situation.

Did you switch to openHAB 2.2 Snapshot as well or did you just upgrade the addons?

I switched to 2.2, removed everything and dropped the jar in /usr/lib/openhab2/addons folder.

My openHAB installation is still at version 2.1.0 (stable release), I only wanted to update the Homematic binding. Isnā€™t this possible? Would I mandatorily have to update openHAB as well? Thanks in advance.

I am not sure, but i donā€™t think it works. It can, but usually from release to release something changes.

Thatā€™s exactly the reason why i migrated everything to config files (things and items). I can easily change the openHAB release. I just need to copy my files and i am done.

Currently i am waiting on the new build including the fix (merge is done, but no new build yet).

I have the ā€œChannel not found for datapointā€ issue as well. I am using Homegear 0.7.12 and openhab 2.2 stable. At every other restart of openhab one or more devices have this issue. I stop homegear and openhab, restart both and it will probably be another device which will have this issue now or if Iā€™m lucky, every device will work perfectly. Can I send any related logfiles to debug this.

There were some changes regarding data points in version 2.2 of the binding. The changes donā€™t affect all HM devices, but I do not remember what they were. There was a similar post here in the discussion forum with the same problem.
In Paper UI the only solution is to remove the items and add then rediscover them again.

I have all my HM devices in things files and I have reinstalled from scratch a few times lately. I donā€™t think that a rediscover will help, but I can try to recreate all things.

And since it will probably change on restart, I think that it is some sort of timing or whatever issue. The device which has the problem at one time will work again after a restart without any issue.