Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for HitachiAirToWaterMainComponent / HitachiHeatingSystem (modbus:YutakiMainComponent) (Yutaki S) #382

Closed
1 task done
xorassistant opened this issue Feb 12, 2021 · 11 comments · Fixed by #383

Comments

@xorassistant
Copy link

xorassistant commented Feb 12, 2021

  • I have read the README, including the advanced section regarding debugging.

Device information
There are 4 functions wHICH you can add to the device with the Somfy Tahoma app.
The Holiday function is a function we do not use with the thermostat, because this is a heatpump which is always on.
See the attached screenshots for the Tahoma app features

1. auto mode

Monday till Sunday (weekdays)
From & Untill time
Possible to set time+temperate value
OFF function
2. manual mode
SET manual temperature
3. off

Device details

  • Hub: [Somfy TaHoma]
  • WITH the latest version of firmware
2021-02-12 06:35:36 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (modbus:YutakiMainComponent - HitachiHeatingSystem - HitachiAirToWaterMainComponent - modbus://1233-4770-7251/4002825/1#1)
2021-02-12 06:35:36 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (modbus:YutakiV2Zone1Component - HitachiHeatingSystem - HitachiAirToWaterHeatingZone - modbus://1233-4770-7251/4002825/1#2)
2021-02-12 06:35:36 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (modbus:YutakiRoomThermostatZone1Component - HeatingSystem - HitachiThermostat - modbus://1233-4770-7251/4002825/1#6)
2021-02-12 06:35:36 DEBUG (MainThread) [custom_components.tahoma] Unsupported device detected (modbus:YutakiRoomThermostatZone2Component - HeatingSystem - HitachiThermostat - modbus://1233-4770-7251/4002825/1#7)

Device commands

HITACHI HEAT.zip

Auto
AUTO-MODE

Manual
MANUAL-MODE

Off
OFF-MODE

Settings
SETTING-SCREEN

Somfy function
Somfy function

Tahoma heat
tahoma_heat

Hitachi products
tahoma_hitachi_products

@iMicknl iMicknl changed the title Add support for HitachiHeatingSystem (Yutaki S) Add support for HitachiAirToWaterMainComponent / HitachiHeatingSystem (modbus:YutakiMainComponent) (Yutaki S) Feb 12, 2021
@iMicknl
Copy link
Owner

iMicknl commented Feb 12, 2021

Thanks for reporting, @xorassistant! Currently there are 11 open device requests thus it can take a while before we have time to implement this.

It would help if you are able to call the tahoma.get_execution_history in Home Assistant. This will print your history to your log, thus you are able to understand how different commands are executed. A great example of an issue where they used this is #376.

image

The log should look like:
2021-02-12 11:56:00 INFO (MainThread) [custom_components.tahoma] 2021-02-05 17:39:47: setIntensity executed via Home Assistant on io://xxxx/xxxx, with [70].

@iMicknl
Copy link
Owner

iMicknl commented Feb 12, 2021

@xorassistant apparently, this has the same characteristics as #370.

Could you give https://github.com/iMicknl/ha-tahoma/archive/feature/support_hitachi_PumpAirToWaterMainComponent.zip a try? Extract this file and place custom_components/tahoma in your custom_components folder.

@xorassistant
Copy link
Author

@iMicknl

This version works for reading the temperature of the Hitachi device.
So looks likes this is a good way forward I have put two screenshots in the Hitachi.zip file.
And also some debug logging

HITACHI.zip

@iMicknl
Copy link
Owner

iMicknl commented Feb 15, 2021

Thanks @xorassistant. Via the original app, are you able to set values like 23.5? Looking at your logs, it requires a full number (int) instead of a comma number (float).

You could try the latest version (https://github.com/iMicknl/ha-tahoma/archive/feature/support_hitachi_PumpAirToWaterMainComponent.zip), which should resolve this issue. Not sure yet if we should round it up or down.

setRoomAmbientTemperatureControlZone1() : Invalid value for command parameter p1 : expected integer value but got 21.0
Cannot connect to host tahomalink.com:443 ssl:default [Connect call failed ('178.32.15.131', 443)]
setRoomAmbientTemperatureControlZone1() : Invalid value for command parameter p1 : expected integer value but got 23.0
setRoomAmbientTemperatureControlZone1() : Invalid value for command parameter p1 : expected integer value but got 24.0
setRoomAmbientTemperatureControlZone1() : Invalid value for command parameter p1 : expected integer value but got 23.5

Do the presets / other functions work?

@xorassistant
Copy link
Author

xorassistant commented Feb 15, 2021

@iMicknl

The newest version you send works, only if I set is to value 23.5, Then it shows as "value 23"
HITACHI-SET-TO-23 5(TAHOMA)
HITACHI-SET-TO-23 5

And with the original Tahoma app it's not possible to set values like 23.5.
It's only possible to set values like "20", "22" etc

@iMicknl
Copy link
Owner

iMicknl commented Feb 15, 2021

@xorassistant should be fixed in latest version! https://github.com/iMicknl/ha-tahoma/archive/feature/support_hitachi_PumpAirToWaterMainComponent.zip

Do auto vs heat (manu) work as well? And same for the presets.

@xorassistant
Copy link
Author

@iMicknl

The heat function is not working, and also the presets (Auto, Comfort) are not working.
When choose "Comfort", then it's jumping back to "Auto".

heat-function-error.txt

@iMicknl
Copy link
Owner

iMicknl commented Feb 15, 2021

@xorassistant oops, the mapping was reversed... Could you try the latest version? (https://github.com/iMicknl/ha-tahoma/archive/feature/support_hitachi_PumpAirToWaterMainComponent.zip).

It should fix the preset / operation mode, but also use a 1 degree stepping for the temperature.

@xorassistant
Copy link
Author

@xorassistant oops, the mapping was reversed... Could you try the latest version? (https://github.com/iMicknl/ha-tahoma/archive/feature/support_hitachi_PumpAirToWaterMainComponent.zip).

It should fix the preset / operation mode, but also use a 1 degree stepping for the temperature.

@iMicknl yes with this version the Heat functions properly as the "manual" mode.
Also the temperature is now using a 1 degree stepping!
Looks like the Eco/Comfort is not an option for the heatpump type we have, this keeps jumping back to comfort mode.
But it's now possible to adapt the temperature and it's syncing with the Tahoma! awesome!

@iMicknl
Copy link
Owner

iMicknl commented Feb 15, 2021

Cool! Anything you miss, or can we consider this device implemented correctly? 🥳

I will try to see if we can pull the available presets per device, so it will only show if your device supports it. But not sure if this is possible.

@iMicknl
Copy link
Owner

iMicknl commented Feb 15, 2021

@xorassistant I just pushed a new version, apparently there were some mistakes in the temperature control. Could you give it a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants