h4de5 / home-assistant-toshiba_ac Goto Github PK
View Code? Open in Web Editor NEWToshiba AC integration into home-assistant.io
License: GNU General Public License v3.0
Toshiba AC integration into home-assistant.io
License: GNU General Public License v3.0
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
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}
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.
Regards
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'
uninstalled, reinstalled.
takes my credentials for toshiba but all it reports is the outside temp.
no controls.
Toshiba Haori 25
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?
Where can i put the credential of toshiba app after installed the repository?
Thanks
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?
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
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!
Just upgraded from prior release, and does not show within HA. Tried reinstall, rebooting, nothing. Any pointers?
As this is officially added to HACS, we should update the installation instructions.
my AC unit is beeping from time to time. so far it seems this happens when it cannot reach the remote (toshiba) server. in this case i cannot control it with original toshiba app as well.
for such cases or if the device has been taken off the grid, the integration should show it as unavailable. which it does not at the moment.
see request: https://community.home-assistant.io/t/toshiba-home-ac-control/137698/93
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.
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
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?
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?
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
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?
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
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.
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.
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.
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
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:
Did I forget anything?
Thanks!
Robert
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
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
while the climate entity is currently maxed out in terms of functionality, any additional functions on the API could be implemented using a service.
those functions are:
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'}
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?
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!
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'
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.
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.:
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.
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)
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
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.
@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.
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 ...
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 ?
Hello
Update in 2021.9.2
Two out of four recognized device
back to version 2021.8.8
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.)
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)**
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 ?
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.
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.
I click on it and it is loading for a very long time...
After some minute I can see an error "Failed to load configuration flow: undefined" and installation stop.
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
Today the add-on don't work on Toshiba shorai edge with FW ver 4.0
Thanks
Outdoor sensor as an attribute of outdoot_temperature: null
Is this a typo? I get a reading of null though?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.