How it works & disclaimer¶
Unofficial integration
This is an independent community project. It is not affiliated with, endorsed by or supported by Hitachi. Hitachi, Yutaki, Yutampo and CSNet Manager are trademarks of their respective owners and are used here only to describe compatibility. You use the integration at your own risk.
Why it is unofficial¶
Hitachi replaced the older Hi-Kumo system with the ATW-IOT-01 module, and the methods people used to read and control their units from Home Assistant stopped working. Hitachi publishes no public API for the module and provides no Home Assistant integration.
The author contacted Hitachi several times to ask for an official API, documentation, or a way to build a supported Home Assistant integration. None of those requests got a reply.
So the integration was built by observing how the CSNet Manager web application talks to its own backend, and doing the same thing. In practice it behaves like a browser tab that you left open on CSNet Manager.
It can break without notice
Hitachi can change the CSNet Manager website at any time, and nothing obliges it to keep the internal endpoints stable. When that happens, the integration may stop updating or stop accepting commands until a new release adapts to the change. Check GitHub issues first if everything stops at once.
The data path¶
flowchart LR
HA["Home Assistant<br/>csnet_home"] -- "HTTPS, every 60 s" --> CS["www.csnetmanager.com<br/>CSNet Manager cloud"]
CS <--> IOT["ATW-IOT-01<br/>module"]
IOT <--> HP["Heat pump<br/>Yutaki / Yutampo"] The integration never talks to your heat pump directly and needs nothing on your local network. Everything goes through the same cloud service the official app uses, so if CSNet Manager is down or your module is offline, Home Assistant keeps showing the last values it received. Check the connectivity and last communication sensors to tell a quiet house from a broken link.
What it does on the network¶
| Host | https://www.csnetmanager.com only. There is no telemetry, analytics or third-party service in the code. |
| Polling interval | 60 seconds by default and at minimum, set during setup or reconfiguration. |
| Requests per poll | 3 HTTPS requests: GET /data/elements, GET /data/installationdevices, GET /data/installationalarms. |
| On start-up | Sign-in (GET then POST /login) and four alarm translation files (/translations/*.json). |
| When you change something | One POST /data/indoor/heat_setting per change (temperature, mode, preset, hot water, pool, silent mode, fan speed, fixed water temperature). Clearing an alarm calls POST /data/deletemyspecificalarm. |
| Timeout | 30 seconds for the readings (/data/elements, /data/installationdevices), 60 for the energy records, 10 for every other request. |
| When a poll fails | The entities keep the last readings through one or two failed polls in a row, then turn unavailable. The CSNet Manager connection sensor reports every failed poll. |
| User-Agent | The one of a desktop Chrome browser by default. It is a setting, so another value can be tried. |
| Session | Signs in like the web app: fetches a CSRF token from the login page, posts the login form, then reuses the session cookie. Only one sign-in runs at a time. If a read fails, it signs in again on the next poll; if a change comes back with the login page, it signs in again and resends the change once. |
| When sign-in fails | Waits before trying again: 1 minute, then 2, 4, 8… up to 30 minutes between attempts, with no other requests in between. A successful sign-in resets the delay. |
Why the polling interval has a floor¶
A lower interval multiplies the load on a service that Hitachi runs for its own app and has never opened to third parties, so the integration does not poll faster than every 60 seconds. Faster polling makes no difference to a heating system that changes over minutes, and an unusual traffic pattern is the easiest way to get unofficial clients noticed and blocked. Raising the interval is always fine.
Your credentials and data¶
- Your CSNet Manager username and password are stored in the Home Assistant config entry (in
.storage/core.config_entries, like most cloud integrations) and are sent only towww.csnetmanager.com. - Debug logging redacts the password, username, CSRF token and
XSRF-TOKENcookie, installation IDs and coordinates from the request payloads it prints. The username is not written to the log at the default level. Debug logs can still contain raw API responses, so read a log before you share it publicly. - The data the integration reads (zone names, temperatures, firmware, Wi-Fi signal, alarms, and the installation's location as stored by CSNet Manager) stays in your Home Assistant instance.
- Only one CSNet Manager account can be configured per Home Assistant instance.
Known limitations¶
These come from how the integration works today. They are tracked on GitHub and may change in later releases.
- A changed password takes a few minutes to be noticed. Home Assistant asks you to re-authenticate (a prompt on the integration in Settings → Devices & services) only after CSNet Manager has refused the credentials three sign-ins in a row, so that one odd answer from the website does not log you out. Until then, and while CSNet Manager is unreachable, entities show as unavailable instead of keeping old values.
- Sign-in errors are retried slowly. After a failed sign-in the integration waits 1 minute, then 2, 4, 8… up to 30 minutes before trying again. Recovery after an outage can therefore lag by up to that delay; reloading the integration retries immediately.
- Commands are confirmed by the next poll. A change is sent immediately and Home Assistant updates the entity optimistically. The integration checks that the website did not answer with its login page (an expired session) and, if it did, signs in again and resends the change once. It cannot tell whether the unit itself accepted the value: the following poll shows what the unit actually did.
- Cloud only. There is no local control path. CSNet Manager must be reachable for anything to work.
Responsible use¶
- Use your own account and your own installation only.
- Do not lower the polling interval to scrape data.
- If Hitachi ever publishes an official API or integration, this project will gladly move to it.
Contributing¶
The best way to make the integration more robust is to share what you see. If a value is wrong or missing for your unit, open an issue with your model and the diagnostics file (see Troubleshooting), or add your setup to the compatibility matrix. You can also record a sample of your unit, so that changes are tested against it before they ship.