SmartHomeIntegrationTech / MQTTServices-Daikin

Bringing the Daikin adapter to Homie convention
21 stars 1 forks source link

Thank you. #5

Open christianreiss opened 3 years ago

christianreiss commented 3 years ago

This is perfect.

Now my Daikin is talking to homeassistant via MQTT and I can skip the entire Smart Grid stuff with even smarter logic. Is it possible to get the current outside unit mode? I would like to know if it's idle or running. And even better: If the heat pump currently heats the UFH or DHW.

Thank you again. You are the ONLY solution to the Altherma problem out there (that works). Keep developing; I am sure I am not the only one who only with your help got their Daikin Heat Pump working.

A pitty even. The AC units from daikin work FLAWLESS via their wlan adaptors in HA.

Oh well.

Thank you again,

KarstenB commented 3 years ago

I am happy to hear that my project could help you!

The unfortunate answear to your question is: I don't know. I am checking a few known endpoints to which I could find references in the app plus the offical ones mentioned in the profile. It is entirely possible that there are undocumented endpoints that could be checked for this data, but it could also be possible that those simply don't exist.

If we could get our hands on the firmware running in the adapter, it might be possible to search for those strings and find a few more endpoints, but so far I was too lazy to capture the update process or attempt to extract the firmware.

haz-69 commented 3 years ago

How is it integrated to HA ?

jaakla commented 2 years ago

How is it integrated to HA ?

@haz-69 I did it via plain MQTT - you configure interesting sensors and setters there. There is no autoconfiguration or detection of integration, as MQTT messages are homie-specific. Sensor config sample:

sensor:
  - platform: mqtt
    state_topic: "homie/daikin-heatingunit/spaceheating/1-sensor-outdoortemperature"
    name: "Daikin outside"
    unit_of_measurement: "°C"
jaakla commented 2 years ago

I created Dockerfile wrapper and Hassio add-on this tool, available from this repository: https://github.com/jaakla/home-assistant-addons

StefanR71 commented 2 years ago

Hi,

i'm trying to start the tool on my Windows client but i'm getting this error:

U:>"c:\Program Files\Java\jre1.8.0_341\bin\java.exe" -jar c:\install\daikin-0.0.5.jar -d Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: de/karstenbecker/daikin/Daikin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

I have already the newest Java installed, what goes wrong? I want only discover all the endpoints, because i'm searching the string to query what the device is currently doing...

I have a Altherma 3 H HT W (ETBH16EF9W) which has a builtin WLAN, but this don't work, the LAN adapter, which isn't supportet by this divice is still working and i can query the values and change settings, this i got already working with your python scripts from the community. Thanks for that...

KarstenB commented 2 years ago

Hi, the JRE you are using jre1.8.0_341 (Java 8) is WAAY too old. I have to admit that oracle makes it really easy to miss the fact that the most current Java version ist 18! not 8. But you can download it here https://www.oracle.com/java/technologies/downloads/#java17 So update your JVM and everything should be fine. If you have any other issues let me know.

StefanR71 commented 2 years ago

Hi Karsten,

that is confusing, because on https://www.java.com/de/download/ is the Version 8 Update 341 the most recent and "recommended" version... The release date was 19. july 2022.

O.k. your link points to the JDK and Oracle seems not to publish only a JRE for newer versions: https://www.heise.de/download/product/java-runtime-environment-jre-627

I will test... Thank you!

But have you seen a link somewhere, where the overall status is written? So if the device is waiting for something to do, if it is heating or cooling or making hot water... Or not so specific if it is only running or not. Must be existing such state, because the Madoka shows nothing when there is nothing, a red ring when there is a error and a blue ring when it is running for something like hot water...