Git Product home page Git Product logo

home-assistant-toshiba_ac's Introduction

HACS Validate hassfest Validate Github Release Github Commit since Github Open Issues Github Open Pull Requests

Toshiba - Air conditioning

Toshiba AC integration into home-assistant.io

Requirements

You need a supported (or compatible) Toshiba AC device with either a built-in Wifi module or an adapter. See list of compatible devices

Installation

Installation with HACS

  • In HACS go to integrations and search for 'Toshiba AC'
  • Click Install
  • Reboot Home Assistant
  • Follow common integration manual

or: Manual installation

  • Download latest release
  • Create a folder: custom_components in your home-assistant config directory
  • Extract content (the folder toshiba_ac) of the release zip into the newly created directory
  • Reboot Home Assistant
  • Follow common integration manual

Common manual to activate the integration

  • The integration should be available as Toshiba AC in the Add integration dialog
  • You need to enter your Toshiba AC account credentials (same as within the app)
  • There is no bounding/registering of new AC units possible with this code - please continue to use the app for this

Compatible devices

If your device is compatible with the official Toshiba AC mobile app or Toshiba Home AC Control it has good chances to be supported by this integration. Furthermore it has been tested with the following hardware: List of Supported Devices - feel free to update that list!

More links and resources

home-assistant-toshiba_ac's People

Contributors

dependabot[bot] avatar felixmueller avatar gothrek22 avatar h4de5 avatar juliekoubova avatar kasroka avatar patrikthedev avatar sebazzz avatar tetienne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home-assistant-toshiba_ac's Issues

Setting last_reset for entities with state_class other than 'total' is not supported.

On startup i get this everytime i the log:
Running on core-2022.2.2

[homeassistant.components.sensor] Entity sensor.varmepumpe_power_consumption (<class 'custom_components.toshiba_ac.sensor.ToshibaPowerSensor'>)
with state_class total_increasing has set last_reset. Setting last_reset for entities with state_class other than 'total' is not supported.
Please update your configuration if state_class is manually configured, otherwise report it to the custom component author.

Is it possible to add energy consumption?

Is it maybe possible to add a sensor for the energy consumption in kWh? This value is available in my Toshiba Home AC Control app, so maybe there is a way to include this for HA.

Thanks for the work you're doing, I really appreciate it!

Connection dropped message in log every second

My log is repeatedly bombarded with these errors:

2022-06-23 21:15:15 ERROR (callback) [azure.iot.device.common.handle_exceptions] Exception caught in background thread.  Unable to handle.
2022-06-23 21:15:15 ERROR (callback) [azure.iot.device.common.handle_exceptions] ["azure.iot.device.common.transport_exceptions.ConnectionDroppedError: ConnectionDroppedError('Unexpected disconnection') caused by ConnectionDroppedError('The connection was lost.')\n"]

Not sure when this started. My device is a Haori line aircon - the device and entity in HA seem to work fine, apart from power consumption sensor

Use supported property of ac device

With latest version of ac library each device exposes supported property that is instance of ToshibaAcFeatures. This should be used to get features supported by given device and pass them to ha.

After updating from 2022.4.1 to 2022.6.15

Firstly thank you to all contributors new and old for keeping this integration updated and current. I am subscribed to the integration and although not a programmer happy to test and report and findings.

On this version (.15) I can only turn the unit On and Off to each mode. Auto/Fan/Cool/Heat etc

The internal /outdoor temp, presets, swing mode are all non responsive. They were all working under 2022.4.1

Happy to test anything as I know can revert back if required.

Device unavaliable

Today I started getting the following error (potentially related to updating to 2022.4.5):

Logger: homeassistant.components.climate
Source: custom_components/toshiba_ac/climate.py:455
Integration: Climate ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 21:26:43 (2 occurrences)
Last logged: 21:26:43

Error adding entities for domain climate with platform toshiba_ac
Error while setting up toshiba_ac platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 799, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 573, in _async_write_ha_state
    attr.update(self.extra_state_attributes or {})
  File "/config/custom_components/toshiba_ac/climate.py", line 455, in extra_state_attributes
    "merit_b_feature": self._device.ac_merit_b.name,
  File "/usr/local/lib/python3.9/site-packages/toshiba_ac/device.py", line 327, in ac_merit_b
    return self.fcu_state.ac_merit_b
  File "/usr/local/lib/python3.9/site-packages/toshiba_ac/fcu_state.py", line 420, in ac_merit_b
    return ToshibaAcFcuState.AcMeritB.from_raw(self._ac_merit_b)
  File "/usr/local/lib/python3.9/site-packages/toshiba_ac/fcu_state.py", line 176, in from_raw
    return {
KeyError: 1

I have not tried downgrading, the problem persists in 2022.4.6.

Lost...

Hello,
At the beginning this integration was working well (2/3 months ago).

Then I realized that the air conditioner seems to be lost from time to time and the temperature is no longer updated in HA (and I'm not talking about the outdoor sensor for which the return is very random ...).

I set up a monitoring of the IP of the air conditioner and on this side it is always OK.

I removed the integration and reinstalled without success.

There, for example, immediately I have 23 in the Toshiba application and 21 in Home Assistant... So the temperature of the internal sensor does not go back well to HA which can not do its job ...

hvac_action is incorrect

Hi, looking at the code, I noticed the hvac_action property behaves like hvac_mode.

But hvac_action must be the current running hvac operation, which is not the same than the selected mode.

Within the official application, I don’t see any information relative to this. To test, it’s quite simple, I have just set the fresh mode and set the target temperature to 30 while the current temperature was 23.

If there is no solution to retrieve the current operation, do you agree we remove this wrong property ?

Feature: provide more informations from the api as entity attributes

The climate shows the following attributes at the moment:

hvac_modes:
  - auto
  - heat
  - cool
  - 'off'
  - dry
  - fan_only
min_temp: 17
max_temp: 30
target_temp_step: 1
fan_modes:
  - auto
  - quiet
  - low
  - medium_low
  - medium
  - medium_high
  - high
preset_modes:
  - low_power
  - mid_power
  - high_power
swing_modes:
  - vertical
  - 'off'
current_temperature: 27
temperature: 22
fan_mode: quiet
hvac_action: 'off'
preset_mode: null
swing_mode: 'off'
friendly_name: Klima
supported_features: 57

some more informations could be useful to know. e.g.:

  • ac_outdoor_temperature
  • ac_self_cleaning
  • ac_air_pure_ion
  • ac_merit_a_feature
  • ac_merit_b_feature
  • device_id
  • ac_id
  • ac_unique_id

Showing Unavailable in Home Assistant

Showing unavailable within HA. Below only thing I can see in the log file.

Logger: homeassistant.config_entries
Source: custom_components/toshiba_ac/init.py:30
Integration: Toshiba AC (documentation, issues)
First occurred: 8:14:23 (2 occurrences)
Last logged: 8:22:05

Error setting up entry studio109 for toshiba_ac
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/toshiba_ac/init.py", line 30, in async_setup_entry
entry.data["device_id"],
KeyError: 'device_id'

Conflict with SolarEdge integration

The Toshiba integration has a conflict with SolarEdge integration. When the Toshiba integration is installed installing the SolarEdge integration gives the following error:

`Logger: aiohttp.server
Source: components/solaredge/config_flow.py:45
First occurred: February 17, 2022, 7:25:29 PM (3 occurrences)
Last logged: 9:49:52 PM

Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 164, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 111, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/solaredge/config_flow.py", line 69, in async_step_user
can_connect = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/solaredge/config_flow.py", line 45, in _check_site
response = api.get_details(site_id)
File "/usr/local/lib/python3.9/site-packages/solaredge/solaredge.py", line 81, in get_details
r = requests.get(url, params)
TypeError: get() takes 1 positional argument but 2 were given`

When the Toshiba integration is removed this error is not shown when installing the SolarEdge integration.

System Info:
Version core-2022.2.8
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual Environment false
Python Version 3.9.7
Operating System Family Linux
Operating System Version 5.10.63-v8
CPU Architecture aarch64

2021.9.1 does not load in HA

Just upgraded from prior release, and does not show within HA. Tried reinstall, rebooting, nothing. Any pointers?

Username/Password

I load through HACS then reboot load the integration it asks for my user name and password just like the app. I enter and it fails. I deleted my account with Toshiba tried different email accounts nothing. I can logout of the app and login with no problems. I also tried my email as well and just the username. Help please Thank you

V2022.16.15 entity fan_mode not updating state on change

After updating from 2022.4.1 to 2022.6.15 the AC entiy fan_mode is not updating and does not reflect current state after a change in either HA or the moble Toshiba app. Reverting to 2022.4.1 corrects this.

Home Assistant Core 2022.6.5
Home Assistant Community Store 1.25.5

I'm using this on Toshiba Haori AC system

Changes for toshiba-ac 0.1.4

In toshiba-ac 0.1.4 I have introduced a few changes:

ToshibaAcDeviceManager now accepts device_id and sas_token parameters.

device_id - we should provide some 16 digit hexadecimal string that doesn't change between HA restarts. It's used to identify HA as a AMQP client. If None is provided (default) it uses hardcoded value of 3e6e4eb5f0e5aa46 - but it's probably better to provide something more unique here.
sas_token - if None is provided, token is generated and returned by connect method. This token should be stored in HA and provided to ToshibaAcDeviceManager constructor. This allows to speed up initialization and don't spam register requests to the server every time HA restarts.

Any HTTP API related operation may now result in ToshibaAcHttpApiAuthError meaning that provided user name/password is wrong.
Any HTTP API related operation may now result in ToshibaAcHttpApiError meaning that server returned some error code for our request.
Any HTTP API related operation may now result in any aiohttp exception when there is a problem in communication (timeouts, dns errors etc.)

login error

my credentials are correct as I can login with the Toshiba AC NA iOS app. but I'm getting this in the debug console.. (ive hidden my username and pass with *********) any thoughts?

2022-02-19 14:52:35 DEBUG (MainThread) [toshiba_ac.http_api] Sending POST to https://toshibamobileservice.azurewebsites.net/api/Consumer/Login with params=None, json={'Username': '', 'Password': '"}, headers={'Content-Type': 'application/json'}
2022-02-19 14:52:36 DEBUG (MainThread) [toshiba_ac.http_api] Response code: 200, JSON: {'ResObj': {'error': 'invalid_grant'}, 'IsSuccess': False, 'Message': 'Invalid UserName or Password', 'StatusCode': 'InvalidUserNameorPassword'}

Unexpected exception importing platform custom_components.toshiba_ac.climate

Hi,

I've just installed the toshiba_ac integration. When setting up the integration, I can succesfully sign in, but after adding the AC units (5 in total), only the first one shows up with only 1 entity (the outside temperature).

Afterwards i get following message in the logs:

This error originated from a custom integration.

Logger: homeassistant.loader
Source: custom_components/toshiba_ac/climate.py:212
Integration: Toshiba AC (documentation, issues)
First occurred: 3:45:15 PM (1 occurrences)
Last logged: 3:45:15 PM

Unexpected exception importing platform custom_components.toshiba_ac.climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 618, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 635, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_components/toshiba_ac/climate.py", line 59, in <module>
    class ToshibaClimate(ToshibaAcEntity, ClimateEntity):
  File "/config/custom_components/toshiba_ac/climate.py", line 212, in ToshibaClimate
    def hvac_mode(self) -> HVACMode | str | None:
TypeError: unsupported operand type(s) for |: 'EnumMeta' and 'type'

Shorai Edge is supported

@h4de5
I think you can update the docs and add Shorai Edge as supported because I've tested it (RAS-B16J2KVSG-E) with RB-N106S-G is working nicely. Thanks for the library and hacs integration.

Help getting started

Hi, Would love to use this within Home Assistant. I am new to it but working through it. I have HACS, Downloaded the Toshiba AC, Installed.

But Can't see any way to enter Username and Password although tried using File Editor and editing en.json.

"config": {
"abort": {
"already_configured": "Device is already configured"
},
"error": {
"cannot_connect": "Failed to connect",
"invalid_auth": "Invalid authentication",
"unknown": "Unexpected error"
},
"step": {
"user": {
"data": {
"host": "Host",
"password": "",
"username": "
"
}
}
}
},
"title": "Toshiba AC"
}

Also, How to I see the Entities with Home Assistant?

Will happy pay for installation!

Add integration fails with "config flow could not be loaded"

Version: Home Assistant 2021.9.7

2022-01-13 10:01:29 ERROR (MainThread) [homeassistant.components.upnp] Unexpected error fetching Wireless Router TL-WR1043ND data: invalid literal for int() with base 10: '4 Days, 19:59:19'
Traceback (most recent call last):
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/upnp/init.py", line 209, in _async_update_data
update_values = await asyncio.gather(
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/upnp/device.py", line 165, in async_get_status
values = await asyncio.gather(
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/profiles/igd.py", line 406, in async_get_status_info
result = await action.async_call()
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/client.py", line 547, in async_call
response_args = self.parse_response(
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/client.py", line 612, in parse_response
return self._parse_response_args(service_type, xml)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/client.py", line 648, in _parse_response_args
arg.upnp_value = arg_xml.text or ""
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/client.py", line 430, in upnp_value
self._value = self.coerce_python(upnp_value)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/client.py", line 434, in coerce_python
return self.related_state_variable.coerce_python(upnp_value)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/async_upnp_client/client.py", line 813, in coerce_python
return coercer(upnp_value)
ValueError: invalid literal for int() with base 10: '4 Days, 19:59:19'
2022-01-13 10:02:44 INFO (SyncWorker_5) [homeassistant.util.package] Attempting install of toshiba-ac==0.1.12
2022-01-13 10:03:03 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package toshiba-ac==0.1.12: ERROR: Cannot install toshiba-ac==0.1.12 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
2022-01-13 10:03:03 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/http/forwarded.py", line 89, in forwarded_middleware
return await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/http/auth.py", line 144, in auth_middleware
return await handler(request)
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/volume1/@appstore/homeassistant/env/lib/python3.8/site-packages/homeassistant/components/config/config_entries.py", line 128, in post
return await super().post(request)

How to use temperature in automations?

Hello,

this integration works perfectly for me inside HA, thanks for your work. But I would like to use it in some automations. And at least for me it is not possible to set the temperature from automations. I can only change hvac_mode and preset_mode. Am I missing something (HA newb)? Thanks for your help.
grafik
Regards

Unable to login

I just got the RAC-WK0812ESCWRU created an account and logged in with the app. Tired the plugin and it says check username and password.

Signed out of app, and back into app no issues.

Tired downgrading and same issue, tried using the python example provided in this repo and got Call to /api/Consumer/Login failed - Invalid UserName or Password [InvalidUserNameorPassword]

logged out of app and back in no issue.

anyone have any ideas?

2022.6.14 can't works

since today's update
sensor.salon_outdoor_temperature has unit None which is unsupported for device_class temperature
3:10:10 PM – (WARNING) Sensor

Unable to prepare setup for platform toshiba_ac.climate: Platform not found (Exception importing custom_components.toshiba_ac.climate).

3:08:44 PM – (ERROR) setup.py
Unexpected exception importing platform custom_components.toshiba_ac.climate
3:08:44 PM – (ERROR) Toshiba AC (custom integration)

what do I have to do to get it working again?

2021.9.3 Maybe not an issue - Outdoor Temp Sensor Question

Outdoor Temperature works when unit 'on', but as we know when 'off' it shows up as unknown (Within the App). Under developer tools in HA it gives a value of null, which seams reasonable.

I created a gauge within HA and looks great when "ON" but shows entity is non-numeric when "OFF" How can I still show the gauge without it looking like a missing entity. Is this a HA thing or a integration enhancement?

Screenshot 2021-09-15 at 22 25 48

Entity always unavailable

Hi! i was testing the new release,
To achieve that i deleted the previous folder (the one cloned from git) and then downloaded and unzipped the release file in the custom_components folder.
Before the upgrade it was working, but now the entity is always unavailable
immagine
Sorry, the image is in italian, but anyway it says it's unavailable.
Nevertheless, if i click the buttons of the disabled entity, the AC execute the commands correctly even with the entity disabled.

my AC unit is a: ras-b13n4kvrg-e

Current temperature doesn't update

Quick question. Does the integration periodically update the current temperature? When initially starting (or reloading) the integration, all current temperature values are correct, but they don't change afterwards for me. Am I missing something?

toshiba_ac-2022.6.16 not supported by configuration via the UI.

When I put toshiba_ac-2022.6.16 into the recommended folder structure ".\config\custom-components\toshiba_ac" this add-on is not detected by Hassio. When I drop it into ".\config\toshiba_ac" then I can lookup Toshiba_ac when selecting "+add integration" in Hassio 2022.6.6.
After selecting Toshiba_ac I get the following Error messaga:
"This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant."
As far as I can judge I'am running the latest Hassio versions (pasted from Settings/about):
Home Assistant Core 2022.6.6
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.2
Can someone support me.
Thanks Wim

stopped working

uninstalled, reinstalled.
takes my credentials for toshiba but all it reports is the outside temp.
no controls.
Toshiba Haori 25

Energy consumption not showing up in 2021.8.8

I updated Toshiba AC to the latest version 2021.8.8 via HACS today and restarted my HA instance. Toshiba AC then was was not working (my AC was unavailable, if that happens I have to uninstall/install Toshiba AC, which I did). After this, the Toshiba AC integration still showed 1 device and 1 entity:

image

Did I forget anything?

Thanks!
Robert

Lost sensors after upgrading HA core

After updating to core-2021.12.10 the sensors went offline. I tried deleting and re-adding the integration, but no devices or sensors are found. The toshiba ac app on my phone works fine.

Possibly multiple Toshiba AC endpoints?

I have installed the custom integration in HA. However, when I try to configure it and enter my (Toshiba) userName & PW, I’m getting an “Invalid Authentication”. I can ensure that it’s not a UserName/PW. I even logged out of the Toshiba AC app and copied/pasted UserName & PW into the App and HA. The App authenticates but HA doesn’t. I could imagine that Toshiba uses different endpoint for their App depending on the region. Not sure if this could be configured in the component somewhere?

BTW: I’m in the US and the (iOS) App is called “Toshiba AC NA”, whereas “NA” most probably stands for North America, which would indicate that there are different Apps with different endpoints…

Any idea where/how to adapt to different regions?

Home integration assistant

Hello
I also have a Toshiba air conditioning including Seiya RAS-B07J2KVG-E splits
All splits are equipped with a WIFI Module - RB-102S-G

I put all the files in /config/python_scripts

I would like to test a script but I don't understand how to integrate it into Home Assistant

can you help me ?

Set swing mode off

Noticed that there is no option to turn of swinging as "off" is referred to as "not used".
I altered the following lines locally and got it to work.
https://github.com/h4de5/home-assistant-toshiba_ac/blob/main/custom_components/toshiba_ac/climate.py#L334
https://github.com/h4de5/home-assistant-toshiba_ac/blob/custom_components/toshiba_ac/climate.py#L424

    elif self._device.ac_swing_mode == ToshibaAcSwingMode.FIXED_5:
        return "fixed5"
    **elif self._device.ac_swing_mode == ToshibaAcSwingMode.OFF:
        return "off"            
    else:
        return "notused"**

and
I altered the following lines and was able to stop swinging (row 424):

    elif swing_mode == "fixed5":
        await self._device.set_ac_swing_mode(ToshibaAcSwingMode.FIXED_5)
    **elif swing_mode == "off":
        await self._device.set_ac_swing_mode(ToshibaAcSwingMode.OFF)
    elif swing_mode == "notused":
        await self._device.set_ac_swing_mode(ToshibaAcSwingMode.NOT_USED)**

List of Supported Devices

In order to keep an overview of which devices work with this integration and to get to know which functions they provide, I would like to start a list.

If you tried a device please just post

- Series name: Suzumi, Seiya, Haori, etc..
- Indoor device: RAS-XX
- Outdoor device: RAS-XX
- Wifi: RB-XX / WRE-XX / built-in
- Merit Features: Hi-Power, Eco, 8°C, etc..
- Power Consumption: yes/no
- working: yes/no

If you see your device in the list already (even if its a different dimension) just quote it and add your findings.

Failed to load configuration flow: undefined

Hello,
I'm writing to report a bug for which the downloaded integration cannot be configured.

I download Toshiba AC, from HACC 2022.2.3, on my HA 2022.3.8, I reboot and I found it in integration list.
Integration

I click on it and it is loading for a very long time...

Integration

After some minute I can see an error "Failed to load configuration flow: undefined" and installation stop.

Integration

In HA log I don't have error with "thoshiba". I think there are some issue in installation code.
Can you check please?

Details
HA version: core-2022.3.8
Type: Home Assistant OS
Host OS: Home Assistant OS 7.5
Supervisor version: supervisor-2022.03.5
Docker: 20.10.9

Best regards
Marco

Outdoor temperature always unknown in HA

With Toshiba Polar35 I have this problem that outdoor temp is always unknown

AC Indoor unit model: RAS-35J2KVSG-ND
AC outdoor unit model: RAS-35J2AVSG-ND

in logs I can see that the first time indoor temp is shown correctly outdoor is unknown

[toshiba_ac.device] [AC_xxxx] Current state: AcStatus: ON, AcMode: HEAT, AcTemperature: 22, AcFanMode: HIGH, AcSwingMode: NOT_USED, AcPowerSelection: POWER_100, AcMeritBFeature: OFF, AcMeritAFeature: OFF, AcAirPureIon: OFF, AcIndoorAcTemperature: 25, AcOutdoorAcTemperature: UNKNOWN, AcSelfCleaning: OFF

Then the next logs are showing also outdoor temp but it is never updated to HA. HA always shows outdoor temp as unknown

[toshiba_ac.device] [AC_xxxx] Current state: AcStatus: ON, AcMode: HEAT, AcTemperature: 21, AcFanMode: HIGH, AcSwingMode: NOT_USED, AcPowerSelection: POWER_100, AcMeritBFeature: OFF, AcMeritAFeature: OFF, AcAirPureIon: OFF, AcIndoorAcTemperature: 25, AcOutdoorAcTemperature: 8, AcSelfCleaning: OFF

kuva

Also the hearbeat shows oTemp
[toshiba_ac.device] [AC_xxxx] AC heartbeat from AMQP: {'iTemp': 21, 'oTemp': 8, 'fcuTcTemp': 255, 'fcuTcjTemp': 255, 'fcuFanRpm': 255, 'cduTdTemp': 255, 'cduTsTemp': 255, 'cduTeTemp': 255, 'cduCompHz': 255, 'cduFanRpm': 255, 'cduPmvPulse': 255, 'cduIac': 255}

Credential

Where can i put the credential of toshiba app after installed the repository?
Thanks

Integration does not show up in the add integration dialog

I am running HomeAssistant 2021.12.2 in a docker image. I followed the instructions creating custom components and copying the toshiba_ac folder in it.

After the roobt I see a log from home assistant that states that it found the custom component, but I canno add it because it does not show up in the add integration dialog.

What can I do?

2021.8.8

Outdoor sensor as an attribute of outdoot_temperature: null

Is this a typo? I get a reading of null though?

Use AC Toshiba in automation

When i try to use one of my Toshiba AC in automation, i cannot set the entity. When i click, it reset the Field.
How can i do?
Home assistant core, last update.

Ps: i can use AC with dashboard

Set AC State API Endpoint

Hello there! I was wondering if you found the api endpoint to just set ACs on/off. E.g. a POST to something like api/AC/SetACState. Thank you for your work.

Device unavailable after update to 2022.2.1

After updating to 2022.2.1, I get following error messages:

Logger: homeassistant.components.climate
Source: custom_components/toshiba_ac/climate.py:182
Integration: Climate (documentation, issues)
First occurred: 04:39:41 (4 occurrences)
Last logged: 05:17:40

Error adding entities for domain climate with platform toshiba_ac
Error while setting up toshiba_ac platform for climate
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 614, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 782, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 539, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 572, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 545, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
    return self.hvac_mode
  File "/config/custom_components/toshiba_ac/climate.py", line 234, in hvac_mode
    if not self.is_on:
  File "/config/custom_components/toshiba_ac/climate.py", line 182, in is_on
    return self._device.ac_status == ToshibaAcFcuState.AcStatus.ON
AttributeError: type object 'AcStatus' has no attribute 'ON'

Downgrading to 2021.9.5 and everything works again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.