Coder Social home page Coder Social logo

epoplavskis / homeassistant_salus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from konradb3/homeassistant_salus

47.0 47.0 16.0 39 KB

Home Assistant integration with Salus devices

License: MIT License

Python 100.00%
hacktoberfest hacs hass home-assistant integration

homeassistant_salus's People

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

Watchers

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

homeassistant_salus's Issues

Not working

Hi there,

I have just installed Salus IT600 via Hacs.

In Configuration.yaml I have added the right "toke".

After the restart I had in the "Dashboard" an entry in the sensors map. But I do not get the data from thermostat Salus SQ610.

Gateway Salut iT6000 model UG600 / UGE600 runs fine on the mobile app.

I have also worked the troubleshooting steps you recommended.

Any Idea?

Bildschirmfoto 2022-07-08 um 15 49 34
Bildschirmfoto 2022-07-08 um 15 49 49
Bildschirmfoto 2022-07-08 um 15 57 34

Bildschirmfoto 2022-07-08 um 15 51 39

Salus SR600 - delayed state change in home assistant UI

When I click one of those two buttons (SR600 switches set to toggle on/off), I need to wait several seconds for them to change color which indicates a change of state. The switch itself responds instantaneously though. Then I have to wait 9+ seconds for it to show a change of state. I'm using Salus Gateway. Could this be a gateway problem?

dashboardHA

SR600 New features for button S1-S2

Dear @jvitkauskas,

Could you please add new features for SR600,
Below a description of how it works SR600

I hope it helps you.

"sButtonS": 
{
"Mode": 3,
"Mode_a": 3,
"PowerOnState": 0,
"ButtonStatus": 1,
"LostConnectionState": 0
 },



When "ButtonStatus" = 1 - terminals S1-S2 is close;
When "ButtonStatus" = 0 - terminals S1-S2 is open;

Description of Mode S1-S2 : 
When "Mode": 0 - S1-S2 no function, not showed S1-S2 on the app;
When "Mode": 1 - S1-S2 Switch on and off output; 
When "Mode": 2 - Reverse output for suitable for lighting; 
When "Mode": 3 - No output control, only show in app; 
When "Mode": 4 - S1-S2 Switch toggle relay;

Description of Power On State after turn on supply: 
When "PowerOnState": 0 - SR600 Keep last state after power cycle;
When "PowerOnState": 1 - SR600 Turn OFF relay after power cycle; 
When "PowerOnState": 2 - SR600 Turn ON relay after power cycle; 

Description of Lost Connection State after lost link ZigBee: 
When "LostConnectionState": 0 - not configured;
When "LostConnectionState": 1 - Output Off; Input enabled;
When "LostConnectionState": 3 - Output ON; Input enabled;
When "LostConnectionState": 5 - Maintain current state, input enabled ;

Always „Follow Schedule“ mode

When I use the Salus integration to manually change the values of my Salus SQ610RF with the Lovelace Dashboard or the HomeKit Integration the mode „Follow Schedule“ alway comes up. It doesn‘t matter what values I changed. If I use the drop-down menus or the automation in Home Assistance the values are changed as desired after a short waiting period.

Do you have any idea what is going wrong with my configuration?

Cannot connect to UGE600

I am trying to add UGE600 gateway via HACS installed component and I can't seem to connect to the gateway - tried both real and all-zero EUIDs.

I've made sure to maintain Local WIFI setting and I've also tried connecting via Ethernet and WIFI connections one after another - no success - I'm getting "Invalid IP address. Try again." error message.

Is there a log file somewhere that I can use to analyze the response from the GW?

Integration not showing up when trying to install

Hi
I have had the salus integration working for months, but then one day it was not working anymore. I have tried to install it as described - both manually and through HACS. In HACS the repository is added fine, but when i go to configuration > integrations > add integration the salus integration dows not show up. Same for manual installation.
The files are added to config/custom_components/salus

Do you have any suggestions? has this behaviour been reported before?

Floor temperature - new feature request

Most of Salus thermostats have S1, S2 terminals witch allow to connect floor temperature sensor. When connected, floor temperature is reported in app. Any chance to add this to default to HA?
termostat1
termostat2

Temperature automations

Hi,

I’m trying to automate the thermostats but are not working as expected. Unfortunately I’m not able to set the temperature at specific hour. Only 2 options are available, change HVAC or PRESET. If I’m manually editing the Yaml, I cannot add temperature attribute.

Can you guide me please?
3223525A-3A2F-4F3C-AA89-4F023012CCE3
BB1619B8-23C4-46FC-A63B-0701C4D68BB8
14136027-4FE7-4AF2-B219-A8235E2B139C

unable to connect - EUID error

Same error - "Failed to connect, please check EUID"

IP is pingable from HA (same segment), troubleshooting done, done several reboots. In HA timeout - any ideas ? Same error on 0.3.0 0.3.1

In log of HA:
2021-10-20 17:55:00 ERROR (MainThread) [pyit600] Timeout while connecting to gateway:

SW vewrsion: 020143210405 coordinator 20210317

@jvitkauskas any chance for help ? Multiple resets of gateway did nothing. with GH working fine but GH is connecting over cloud not directly

Migration to new SALUS Premium lite app - any impacts?

I am being prompted to migrate from the salus smart home app to the new SALUS Premium lite app . The information about the app suggests the data is moved to a new service running on an AWS server .. is there some implication to the integration when this is done?
Anyone moved so far and can comment?

RX10RF not updating

I have lost automatic updates from the salus boiler switch RX10RF. This has been working for a over a year with no issues on home assistant.

It will strangely update if I go onto the salus android app and open the boiler switch overview page in equipment but I am not doing anything apart from this.

It is functioning correctly as in it is physically switching and updating on the salus smart home app just not on home assistant.

The salus thermostats are still updating and reading correctly it is just the boiler switch.

I have tried uninstalling the salus component from home assistant but this did not fix the issue.

HA 2024.01 breaking changes

HA Core 2024.01 brings some changes which make this integration incompatible

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity capabilities=entity.capability_attributes, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 333, in capability_attributes if ClimateEntityFeature.TARGET_HUMIDITY in supported_features: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'int' is not iterable

Deprecated Code Causing Failure

There appears to be an issue with the integration which I think is due to some deprecated code since Home Assistant V2023.5.0

Googling the error in the log led me to this page: https://community.home-assistant.io/t/error-async-get-registry-after-core-2023-5-0/567951/6
Someone there says: "I fixed this issue and submitted a pull request. The fix is trivial - in the init.py change line 21 from: async_get_registry as async_get_entity_registry, to: async_get as async_get_entity_registry, effectively async_get_registry was marked as deprecated and was removed in 2023.5.0 and async_get is the replacement."

I've tried a basic modification (basically just find and replacing) which was clearly rather optimistic, and didn't work. Could anyone advise how big a job it might be to update the init file to use the latest code (async_get) pls?

Unable to change hvac modes or presets - SQ610RF

Hello, I notice since the cold weather started that I am unable to change the hvac modes or presets.
I getting readings on temperature and current mode but there is no way I change it. The only thing that works is the temperature and even that reverse after couple of seconds. This is a inconvenient for me as I can't make automations switch presets from fallow schedule to off or hvac mode from Auto to off. That saddest thing is that I cannot trace the error. My guess is that the Fallow Schedule preset override every change you made in home assistant.
Thermo SQ610RF

After update to 0.3.0, any thermostat doesn't work in HA

Dear @jvitkauskas
Today I updated pyit600 to 0.3.0, but after the restart, all thermostats are not available.

This message show in logs :

Logger: pyit600
Source: /usr/local/lib/python3.9/site-packages/pyit600/gateway.py:544
First occurred: 14:36:08 (1298 occurrences)
Last logged: 14:54:25

Failed to poll device 001e5e09026820c2
Failed to poll device 001e5e0902681f37
Failed to poll device 001e5e09026821a6
Failed to poll device 001e5e090208ed91
Failed to poll device 001e5e0902518e08
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyit600/gateway.py", line 500, in _refresh_climate_devices
device = ClimateDevice(
TypeError: () missing 3 required positional arguments: 'fan_mode', 'fan_modes', and 'locked'

Error on HA 2021.12.10 docker container

Hello,

The following error error is displayed while adding the integration:
2022-01-28 09:23:17 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package pyit600==0.3.1: ERROR: Cannot install pyit600==0.3.1 because these package versions have conflicting dependencies.
...
homeassistant.requirements.RequirementsNotFound: Requirements for salus not found: ['pyit600==0.3.1'].
Home Assistant 2021.12.10 running on Docker; no other HACS custom_component.

Support for ECM600 - Electric Monitor

These electric meters are being used to measure the power usage of heat pumps, which is a requirement for UK installs. Integration with HA would be very helpful.

New features

I really appreciate your good job.
I've got a question if is possible to extract to HA two things:

  1. Humidity form thermostats
  2. Some thermostats eg. SQ610 have function "Comfort floor" available in installer menu.
    Comfort mode is turn on heating for X minutes every hour to maintain comfortable warm floor.
    I really excited of this feature but it's not economic for heating for ex. at night. I wish to have this attribute to make automation when comfort floor should be turned on or off.

HA 2024.01

I've checked logs after last update and there is something like this:

Entity None (<class 'custom_components.salus.climate.SalusThermostat'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|PRESET_MODE: 17>, please create a bug report at https://github.com/jvitkauskas/homeassistant_salus/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

So here I am :)

Unavailable entries after reboot.

Hi I'm facing a weird problem.

All is working well and fine when I install via hacs.
I add the integration give key and ip, all entries comes and changeable.

But when I restart HA, then all entries becomes unavailable.
Then I can remove and add integration and then it's working fine.

I have tried reinstall via hacs, but nothing seems to work.

Kindly Daniel

Data not updating after system update

My entities does not update after having updated to "Home Assistant Core 2022.6.1", "Home Assistant Supervisor 2022.05.3" and "Home Assistant OS 8.1". Looking at the integrations page (/config/integrations) it shows, that the integration is not loaded (it is written in Danish, so bare with my Danglish :) ). This causes my picture-elements card to show all the entities with warning triangles. Before the updates, all entities did show correct values.
What can I do to get this working once again?
Thank you.

Selling my Salus devices on eBay

SD600

Hi,

Thankyou for your good job. I just installed HA and i have several problems with Xioami, smarthings and other but your Salus iT600 worked so easy...thank you again

One question. By any chance can you integrate also the smoke detectors SD600?

Thanks,

How to add this to Home Assistant Green?

If I'd done my own Pi install or docker install I'd know where to look, but I got the off the shelf HA Green device and have no clue even where to start.

Really need to get the Salus smart button working with this. Then hopefully the Kiasa/Tuya heaters.

Any help much appreciated!

Missing follow schedule button from thermostat card.

Something is not quite complete. I tested both homeassistant_salus gits, yours and konradb3's. In Konradsb3's the follow schedule button exists in your doesnt. I only see the heat and the off button. It a little beyond me, cant manage to find the cause. Gonna still look for it comparing the code.

sq610rf thermostats not found

Hope you can help with this. My set up has a UGE600 gateway, 3no SR600 smart relays, 5 no SQ610Rf thermostats and a KL08RF underfloor heating controller. The integration identifies the smart relays but only sees one of the thermostats. is there something that needs to be set to be able to see multiple thermostats?

SQ610RF - Humidity extraction

Hi

Firstly, thank you for pulling together this HA integration, it has massively improved the usage of the setup.

I have temperature extracting well from my SQ610RF but cant seem to find humidity - see extract from my HA states below:

image

I have pulled down the code and installed the integration manually today and wondered what i was doing wrong as i have seen others are able to extract it?

Thank you in advance.

Underfloor heating automation

I have 2 distributors, 6 zones and 9 circuits each. I plan on buying the salus gateway, 18 actuators and 2 KL08RF command centres. Will I be able to control the KL08RF from HA with this gateway integration?

NA family of Devices just released

I have been testing this with the Salus UG888 gateway (for North America) and it can communicate with the gateway but is not pulling in any additional devices - TRV’s and Thermostats. Do you think that the code needs to have the new models/devices added?

SG888ZB Gateway
AC10RF Coordinator
AS20WRF/BRF Digital Thermostat
AWRT10RF Wireless Radiant Thermostat
AKL01PRF Zone Pump Wiring Center
AKL08RF Zone Valve Wiring Center I
ARV10RFM Radiator Valve Actuator

Change Fan mode not working

changing Salus thermostate “fan mode” gives error:

Failed to call service climate/set_fan_mode. Unknown error occurred while communicatino with iT600 gateway

Can anyone offer a solution?

Blocking call

As the logs suggest:

Logger: homeassistant.util.async_
Source: util/async_.py:144
First occurred: 06:30:48 (1 occurrences)
Last logged: 06:30:48

Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for salus doing blocking calls at custom_components/salus/__init__.py, line 55: time.sleep(3)

Not all Thermostats are visible

Hello!

I just configured my Salus system on Home Assistant and my issue is that only 4 of 6 thermostats are visible as entity/device.

image

Has anybody run into the same problem?

Thanks
Johann

Can I run more than one gateway?

Can I run more that one gateway or am I limited to just one? I have two boilers for two different spaces with separate gateways, boiler controllers and thermostats and would like to be able to control both via HA. Can I run multiple instances of the integration? Any pointers on how to do this would be appreciated

KL08RF control any chance?

Maybe i'll be little naive but can we control KL08RF to enable/disable heat like the thermostats this do?

Config flow could not be loaded: undefined

Hi, when I try to add Salus iT600 integration to HA I get and error "Config flow could not be loaded: undefined".

In the logs I see the following:

Logger: homeassistant.util.package
Source: util/package.py:99 
First occurred: 10:01:37 (3 occurrences) 
Last logged: 10:01:50

Unable to install package pyit600==0.5.1: ERROR: Cannot install pyit600==0.5.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts WARNING: You are using pip version 22.0.3; however, version 23.3.1 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.


Logger: aiohttp.server
Source: requirements.py:194 
First occurred: 10:01:50 (1 occurrences) 
Last logged: 10:01:50

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 100, 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 173, in post
    return await super().post(request)
  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 70, in post
    result = await self._flow_mgr.async_init(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 205, in async_init
    flow, result = await task
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 223, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 740, in async_create_flow
    await async_process_deps_reqs(self.hass, self._hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 360, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 83, in async_get_integration_with_requirements
    await _async_process_integration(hass, integration, done)
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 99, in _async_process_integration
    await async_process_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 162, in async_process_requirements
    await _async_process_requirements(
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 194, in _async_process_requirements
    raise RequirementsNotFound(name, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for salus not found: ['pyit600==0.5.1'].

I use container version of Home Assistant Core 2022.5.4, Homeassistant_salus 0.5.1 release code is cloned to custom_components folder where I have other third party working components.

HA not adjusting Salus Temperature

HA is now not able to adjust/control my Salus thermostat temperatures, I can't figure out why.

I can see the entities and attributes, no problem, but adjusting the temperature of a thermostat in HA does not seem to get through to the thermostat.

However, HA can control the thermostat mode, ie from permanent hold to schedule etc.

If I manually adjust the temperature on the thermostat in the room, HA sees the adjustment.

So it my diagnosis is that HA isn't sending temperature adjustments through to the gateway, but the gateway sends information to HA. Any ideas please?

Bug with PS600

Dear Julius,

I found a bug with my PS600,
in HA shows two devices like the temperature sensor and binary sensor with the same name

Below in attachment my screenshot :
image
image

``

Maintainer wanted

I am no longer developing this integration and therefore I am seeking someone who is willing to maintain it. Please contact me if you are interested.

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.