Yes, i took the device and personal password from one working php script and put it into Andreas AES-Key generator. So it should be working.
I also red the documentation about the other options, but i am not sure where to get the MD5Salt.
I know itās a pain but for cryptography keys I try not to use copy and paste as sometimes hidden characters end up in the string so try to copy it the old fashioned way in the cfg file
I have tried it several times with different browsers and encoding settings and couldnāt make it work. I have also tried the old 1.12.0-snapshot version, but get this result:
[ESH-org.openhab.binding.km200.discovery.KM200GatewayDiscovery-1] ERROR org.openhab.binding.km200.internal.KM200Comm - HTTP GET failed: HTTP/1.0 401 Unauthorized
do not use the config file. You have to set all parameters in the PaperUI (in the GUI inteface). Look for the thing and do the configuration on this place. Itās a v2 bilding.
I had to replace the JSON parser in this binding (it was a requirement from the code review). Here is a new version. Please check it whether all stuff is still working as expected.
ālik removedā
Hi Markus,
Is there something wrong with the link to your latest jar file. I have the following message:
Trying to install the latest binding again. In Openhab 2.3 all worked, now in latest unstable Openhab 2.4 version I seems to have things that donāt get initialised.
I cleared everything and reconfiguredā¦ Current openhab version is 2.4.0-SNAPSHOT
Build #1298
And the good news is that everything seems to be working
Replaced the IP-based gateway discovery method by a new MDNS method
This Version will search and find the KMXXX device with a new UUID (the correct KM uuid). You have to change or replace your things and items.
Please give me a feedback whether your device was found correctly. org.openhab.binding.km200-2.4.0-SNAPSHOT.jar
Important: It is now compiled for 2.4 so the filename changed. Delete the 2.3 bevore you copy the new one to the addons directory.
Markinus
P.S: Depending on your system could a installation of libjmdns-java be required.
Hi Markinus,
after testing your latest version (which im compiled from your repo) and which didnāt work for me, I now found this Snapshot which works, so that I can add things.
But one problem persists: There seems to be something wrong with the Participant in the MDNS Service:
2018-09-10 09:52:28.984 [ERROR] [y.mdns.internal.MDNSDiscoveryService] - Participant 'org.openhab.binding.km200.internal.discovery.KM200GatewayDiscoveryParticipant' threw an exception
java.lang.NullPointerException: null
at org.openhab.binding.km200.internal.discovery.KM200GatewayDiscoveryParticipant.getThingTypeUID(KM200GatewayDiscoveryParticipant.java:99) [208:org.openhab.binding.km200:2.4.0.201806171947]
at org.openhab.binding.km200.internal.discovery.KM200GatewayDiscoveryParticipant.getThingUID(KM200GatewayDiscoveryParticipant.java:67) [208:org.openhab.binding.km200:2.4.0.201806171947]
at org.openhab.binding.km200.internal.discovery.KM200GatewayDiscoveryParticipant.createResult(KM200GatewayDiscoveryParticipant.java:51) [208:org.openhab.binding.km200:2.4.0.201806171947]
at org.eclipse.smarthome.config.discovery.mdns.internal.MDNSDiscoveryService.considerService(MDNSDiscoveryService.java:237) [98:org.eclipse.smarthome.config.discovery.mdns:0.10.0.oh230]
at org.eclipse.smarthome.config.discovery.mdns.internal.MDNSDiscoveryService.serviceResolved(MDNSDiscoveryService.java:229) [98:org.eclipse.smarthome.config.discovery.mdns:0.10.0.oh230]
at javax.jmdns.impl.ListenerStatus$ServiceListenerStatus.serviceResolved(ListenerStatus.java:106) [28:javax.jmdns:3.5.2]
at javax.jmdns.impl.JmDNSImpl$1.run(JmDNSImpl.java:887) [28:javax.jmdns:3.5.2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
The problem with MDNS Service is now fixed, unfortunately I now canāt add things (409 - Conflict). The logs show this error:
2018-09-12 23:19:53.383 [home.event.InboxAddedEvent] - Discovery Result with UID 'km200:sensor:758200495:temperatures' has been added.
==> /var/log/openhab2/openhab.log <==
2018-09-12 23:19:53.383 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'km200:sensor:758200495:temperatures' to inbox.
2018-09-12 23:19:53.393 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'km200:system:758200495:system' to inbox.
==> /var/log/openhab2/events.log <==
2018-09-12 23:19:53.395 [home.event.InboxAddedEvent] - Discovery Result with UID 'km200:system:758200495:system' has been added.
==> /var/log/openhab2/openhab.log <==
2018-09-12 23:20:03.687 [ERROR] [home.core.thing.binding.ThingFactory] - Thing factory (class org.openhab.binding.km200.internal.KM200HandlerFactory) returned null on create thing when it reports to support the thing type (km200:sensor).
2018-09-12 23:20:03.691 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type km200:sensor.
2018-09-12 23:20:05.215 [INFO ] [ery.KM200GatewayDiscoveryParticipant] - Discovered a KMXXX gateway with name: 'iCom [gateway_758200495]' id: '758200495'
just want to begin with a big thanks for this work you are doing!
I installed your latest Snapshot 2.4 and it works really good!
Just a little shortcoming on my side. I donāt get all the available items as channels.
For instance in the gateway thing Iām missing Firmware Version, Hardware Version, Inst Write Access, ā¦!
In other things I also donāt get all the available items like Bustype, ā¦
I can see them also with parameters in the list of available items and they are all readable!
I found no way to add those missing channels to the things, and also with an item in my buderus.item config I cant get the values.
this missing values are all static. This is the reason why itās not availible as a channel. You can find it in the KM50/100/200 Gateway properties. Press the āShow Propertiesā link.