Is anyone else having issues making changes to their Hive kit through HA? I am able to read Hive device data through the integration, but every time I try to make any kind of change (set temperature, set a device to off etc), I see in the logs that an error 403 is thrown back.
I’ve removed the integration and rebooted HA. I’ve removed all trusted devices from the Hive app then tried to re-install the integration. All devices come back okay but again, if I try to make any change, an error 403 is thrown back.
Specific error in the logs (this is an extract of, as the error log is much longer than this):
2025-02-14 15:57:54.168 | ERROR | apyhiveapi.api.hive_async_api:request:87 - Something has gone wrong calling https://beekeeper.hivehome.com/1.0/nodes/trvcontrol/1[REMOVED-FOR-PRIVACY]6 - HTTP status is - 403
5 Likes
Yes, same here
2025-02-14 16:04:14.415 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [xxxxxxxxxxxxxxx] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 955, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/hive/__init__.py", line 94, in wrapper
await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/hive/climate.py", line 121, in async_set_temperature
await self.hive.heating.setTargetTemperature(self.device, new_temperature)
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/heating.py", line 273, in setTargetTemperature
resp = await self.session.api.setState(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
data["type"], device["hiveID"], target=new_temp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 288, in setState
resp = await self.request("post", url, data=jsc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/apyhiveapi/api/hive_async_api.py", line 92, in request
raise HiveApiError
apyhiveapi.helper.hive_exceptions.HiveApiError
1 Like
sdaly
(Stephen)
February 14, 2025, 5:10pm
4
Yes, getting it since today running a script to boost the heat:
Executed: 14 February 2025 at 17:06:07
Error: HiveApiError
Result:
params:
domain: hive
service: boost_heating_on
service_data:
entity_id: climate.heating
temperature: '22'
time_period: '00:30:00'
target: {}
running_script: false
I tried removing and re-adding the integration but doesn’t work.
sdaly
(Stephen)
February 14, 2025, 5:21pm
5
I cannot access that community link . It does multiple redirects until it goes to a 403
I wonder if its related.
1 Like
Same here for the last 5 hours or so.
1 Like
sdaly
(Stephen)
February 14, 2025, 6:45pm
8
That community link doesn’t work for me either. I get the same “forbidden” message. I tried in different browsers.
I can access the hive portal to manage my devices but the community is blocked for me. Maybe specific to my account (I shouldn’t be banned, never use it) or maybe IP related (using 5g so I am behind a cgnat shared IP).
Update: tried a few VPN IPs and same issue so probably rules out IP blocked.
Strange, links work ok for me, I had to log in though
1 Like
Bokke
February 14, 2025, 9:34pm
10
Same issue here. Was in the process of trying to solve the issues reported with the Hive integration here:
opened 11:11AM - 30 Dec 24 UTC
integration: hive
### The problem
Detected that integration 'hive' calls `device_registry.async_g… et_or_create` referencing a non existing `via_device` is shown in logs on startup. There's 5 entries (See below)
### What version of Home Assistant Core has the issue?
2025.1.0b3
### What was the last working version of Home Assistant Core?
2024.12.x
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Hive
### Link to integration documentation on our website
https://rc.home-assistant.io/integrations/hive
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: 11:05:36 am (5 occurrences)
Last logged: 11:05:38 am
Detected that integration 'hive' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57'), with device info: {'identifiers': {('hive', 'badbcf1f-df01-4016-833e-c79494c1b5de')}, 'manufacturer': 'Computime', 'model': 'SLT3', 'name': 'Downstairs', 'sw_version': '05110213', 'via_device': ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57')} at homeassistant/components/hive/binary_sensor.py, line 95: async_add_entities(sensors, True). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hive%22
Detected that integration 'hive' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57'), with device info: {'identifiers': {('hive', 'badbcf1f-df01-4016-833e-c79494c1b5de')}, 'manufacturer': 'Computime', 'model': 'SLT3', 'name': 'Downstairs', 'sw_version': '05110213', 'via_device': ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57')} at homeassistant/components/hive/climate.py, line 68: async_add_entities((HiveClimateEntity(hive, dev) for dev in devices), True). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hive%22
Detected that integration 'hive' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57'), with device info: {'identifiers': {('hive', 'badbcf1f-df01-4016-833e-c79494c1b5de')}, 'manufacturer': 'Computime', 'model': 'SLT3', 'name': 'Downstairs', 'sw_version': '05110213', 'via_device': ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57')} at homeassistant/components/hive/sensor.py, line 99: async_add_entities(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hive%22
Detected that integration 'hive' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57'), with device info: {'identifiers': {('hive', 'badbcf1f-df01-4016-833e-c79494c1b5de')}, 'manufacturer': 'Computime', 'model': 'SLT3', 'name': 'Downstairs', 'sw_version': '05110213', 'via_device': ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57')} at homeassistant/components/hive/water_heater.py, line 55: async_add_entities((HiveWaterHeater(hive, dev) for dev in devices), True). This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hive%22
Detected that integration 'hive' calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57'), with device info: {'identifiers': {('hive', 'badbcf1f-df01-4016-833e-c79494c1b5de')}, 'manufacturer': 'Computime', 'model': 'SLT3', 'name': 'Downstairs', 'sw_version': '05110213', 'via_device': ('hive', '39e6db50-e662-4d9e-8513-78beefb08e57')} at homeassistant/components/hive/switch.py, line 44: async_add_entities(. This will stop working in Home Assistant 2025.12.0, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hive%22
```
### Additional information
_No response_
In the process I’ve had to restore my whole system, after the restore I have this new issue. Was working normally a few hours aho
1 Like
Bokke
February 14, 2025, 10:37pm
11
I’ve managed to work around this by adding hive to google home; then I’m issuing Google assistant commands using Google assistant SDK to control the thermostat. Fortunately only had add this action to 2 scripts and disable the direct control action.
1 Like
Dansz
(Dan)
February 15, 2025, 7:16am
12
Yep same. And I happened to be doing an HA upgrade at the time so assumed it was that. Restore from backup then wouldn’t work, did a CLI downgrade, still didn’t work, and then discovered that the last backup I have which actually works is nearly two months old and I’ve made lots of changes since then
But most frustratingly my house is now all over the place in terms of temperature. Looks like it’s still down nearly 24 hours later.
I can’t open the hive community link either. Anyone see it can share any insights?
1 Like
gwatuk
(Gareth)
February 15, 2025, 12:10pm
13
1 Like
Yes. Actually just posted an entry in 3rd Party Integrations. Can read, but not set changes to Hive devices.
gwatuk
(Gareth)
February 15, 2025, 12:40pm
15
@Heating-On everything is working for me Simon.
sdaly
(Stephen)
February 15, 2025, 1:25pm
16
It’s back working for me too. I updated Home Assistant and then after restart I got the update to Hive Custom Component. Updating that fixed it for me and I can now turn on the heating.
1 Like
k-eker
(Kadir)
February 15, 2025, 1:47pm
17
I’m still experiencing this issue. I don’t see any updates, has the update not been published yet?
sdaly
(Stephen)
February 15, 2025, 2:01pm
18
This is the custom component (using HACS) I’m using that got updated which fixes the issue for me:
A custom version of the home assistant hive component
It only showed to update after I updated Home Assistant to the latest (might be coincidence or the restarted polled for fresh updates in HACS).
1 Like
Valiceemo
(Richard)
February 15, 2025, 2:04pm
19
I still have the issue using the native Hive integration
JohnS87
February 15, 2025, 2:17pm
20
Same for me with the native integration. Oddly enough, it seemed to be working briefly earlier and is now back to the same error.