iobroker-community-adapters / ioBroker.openhab

Connect ioBroker with openHAB
MIT License
13 stars 3 forks source link

oh2iob - Unknown type: quantity #21

Closed jensfr1 closed 5 years ago

jensfr1 commented 5 years ago

Hi , i get the following message in the log. openhab.0 | 2018-12-10 17:26:12.388 | warn | oh2iob - Unknown type: quantity

GermanBluefox commented 5 years ago

@Schluesselmeister can you add it to adapter? I think it is number. :)

Schluesselmeister commented 5 years ago

@GermanBluefox I can try. At the moment I haven't running any ioBroker instance. @jensfr1 : Please provide the item defintion. Which version of OH are you using?

freifunkrothenburg commented 5 years ago

Same issue for openhab 2.4 release. But for several types. Also it seems that the items get no update from openhab. I have to restart openhab adapter instance to update item status.

What do you exactly need to debug

Schluesselmeister commented 5 years ago

OK, I have OH2.4 installed. I will have a look.

Schluesselmeister commented 5 years ago

Hi, I have modified the main.js file. Unfortunatelly I cannot upload the file directly to the master branch. @GermanBluefox : Would you be so kind to upload the file? I have added support for "quantity", "call" and "stringlist" (at least reading the data). main.zip

Schluesselmeister commented 5 years ago

@jensfr1 : Please use the new version 1.0 and try again. It is working in my environment (OH2.4) now. @freifunkrothenburg : I receive updates all the time. If the updates are not received by iobroker, then please create a new issue and attach the log file (debug for OH adapter enabled).

GermanBluefox commented 5 years ago

Fixed in https://github.com/ioBroker/ioBroker.openhab/commit/80146c692b7adbf8524eeeb49caf77e31e282331

freifunkrothenburg commented 5 years ago

@jensfr1 The missing updates seems to be an issue on OH side. So thank you for your investigation