epoplavskis / homeassistant_salus

Home Assistant integration with Salus devices
MIT License
47 stars 16 forks source link

New features #9

Open marithpl opened 3 years ago

marithpl commented 3 years ago

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.

jvitkauskas commented 3 years ago
  1. Humidity for SQ610 was added by @albei I don't have that model, so I can't test. Are you talking about SQ610?
  2. Do you have this function available in the official app?
albei commented 3 years ago

The function exists in the app as a settings that you can access in advance mode. Gonna try search for it in Salus ha

marithpl commented 3 years ago

1.I use SQ610RF, and I have humidity in in Salus App but not in HA.

  1. On third screenshot I mark an Comfort Floor function
image image image
albei commented 3 years ago

You can look humidity up in developer tools in States section. Look it up by name.

If you wanna us it you have to make a custom sensor in your configuration.yaml with the humidity parameter like this.

climate_YOUR_THERMO_NAME_humidity:
    friendly_name: "You can chose your friendly name"
    unit_of_measurement: '%'
    value_template: "{{state_attr ('thermostat_entity_name', 'current_humidity')}} "
marithpl commented 3 years ago

I can't see humidity. Maybe I need to update a module? edited: I copied files and it works

image
albei commented 3 years ago

What version do you have installed? Looks like you have previous version of pyit600 since you dont have the complete hvac_modes. it should look like this

hvac_modes:
  - 'off'
  - heat
  - auto
min_temp: 5
max_temp: 35
preset_modes:
  - Follow Schedule
  - Permanent Hold
  - 'Off'
current_temperature: 24.1
temperature: 5
current_humidity: 54
hvac_action: 'off'
preset_mode: 'Off'
friendly_name: Thermo
supported_features: 17
marithpl commented 3 years ago

I edited previous comment, that I updated. Is it possible to have this extension in HACS? To get notification about new version?

I hope "comfort floor" feature is possible to get in HA.

albei commented 3 years ago

@jvitkauskas i dont know how can the settings section of the thermostat can be added to homeassistant. The thermostat Card only has Preset and Operation options in the settings. The Comfort Warm Floor property is in the: 'customPropertiesForQuantumThermostat'

                    propName: "ComforWarmFloor_Custom",
                    propTitleKey: "equipment.property.names.quantumThermostat.ComfortWarmFloor"                  

The way it is constructed:

 else if ("ComforWarmFloor_Custom" === d) c = [{
                        key: "equipment.property.values.disabled",
                        value: "00"
                    }, {
                        text: t.translate("equipment.property.values.levelNumber", {
                            number: 1
                        }),
                        value: "01"
                    }, {
                        text: t.translate("equipment.property.values.levelNumber", {
                            number: 2
                        }),
                        value: "02"
                    }, {
                        text: t.translate("equipment.property.values.levelNumber", {
                            number: 3
                        }),
                        value: "03"
                    }], a = {
                        type: "dropdown",
                        collection: c
albei commented 3 years ago

I edited previous comment, that I updated. Is it possible to have this extension in HACS? To get notification about new version?

I hope "comfort floor" feature is possible to get in HA.

It is in hacs, it has what it needs to be installed. I added the repository and it works flawless :)

jvitkauskas commented 3 years ago

@albei do you know how can I submit this to HACS default repositories?

albei commented 3 years ago

@albei do you know how can I submit this to HACS default repositories?

This is process: https://hacs.xyz/docs/publish/include https://github.com/hacs/default

jvitkauskas commented 3 years ago

Ok, I have these PRs pending

Also, I have bought SQ610RF, but I probably will have to wait a few weeks till it gets to me.

marithpl commented 3 years ago

As I understand it's possible to have comfort floor in HA?

PS. I am not able to found this extension in HACS (https://hacs-repositories.web.app)

jvitkauskas commented 3 years ago

@marithpl I'll see what I can do once I get the device. Regarding HACS, I've written in the past comment that I have submitted it, but PRs are pending review. Hopefully somebody will take a look at them soon.

martinez1000 commented 3 years ago

I am impressed with this repo, unfortunately I have an IT500 based system installed. Have you prepared similar or are you planning for the IT500? Unfortunately, I found only working elements for the IT500 for Node-red, but I would prefer, as probably most, the integration with HA and access to Lovelace UI.

jvitkauskas commented 3 years ago

IT500

Took a quick look at iT500 app. It seems to be an entirely different system and also cloud-only. So no code could be reused from iT600 integration. Unfortunately, I have no plans for iT500 support.

marithpl commented 3 years ago

@jvitkauskas Any update with comfort floor feature?

jvitkauskas commented 3 years ago

I'll have SQ610 coming to me this week. Probably will take a look at this this weekend.

torsteinhs commented 3 years ago

I really appreciate the work you are doing here. I am currently testing out several sensors, as I am working in a company that sell these products. For now, I am testing with the following products, and can provide some feedback on how these are working: -SQ610: I have set up two of these, they work perfectly -WLS600: One of these, it also works perfectly. Really nice that you can extract the temperature (which you can't in the Salus app) -OS600: Same as WLS600, works perfectly and even lets you see the temperature -SD600: I have two of these, but only one is discovered. I have tried to completely remove and reinstall the integration. The one that is discovered works like a charm. Maybe it also has some temperature sensor that could be used? -SPE600: I have one of these, works perfectly -SR600: I have 6 of these, but none of them are discovered. I will try again to see if it is a PICNINC issue (Problem In Chair, Not In Computer), but as stated above, I have tried removing and reinstalling the integration without any improvement.

I do not have any particular skills when it comes to programming, but if there is any information that I can assist you with, please let me know!

jvitkauskas commented 3 years ago

@marithpl I've checked that comfort floor feature and setting it seems to be unnecessarily complicated. The issue is that all settings needs to be set at once and there's no easy way to get current settings. The app basically has everything hardcoded and reconstructs full settings and sends it back each time you change anything (I think it even sets current time). I've checked the manual and it seems like it just enables heating for a certain period time. Is there any reason you could not automate it using other home assistant automation features? You could probably set temperature to 35 degrees to enable heating and then set it back periodically.

torsteinhs commented 3 years ago

@jvitkauskas I have sent you an e-mail with some information. I am currently running HA on a raspberr pi.

jvitkauskas commented 3 years ago

@torsteinhs can you update to 0.2.7 and see if SR600 devices are available?

Regarding SD600, I have bought it and it works fine for me. Not sure why the gateway doesn't report information for you.

torsteinhs commented 3 years ago

@jvitkauskas All my SR600 units are showing after the update. Regarding the SD600, I have from time to time been able to discover one of my two units, but never both at the same time. It also seems to disappear after a while.

Ashden commented 2 years ago

You can look humidity up in developer tools in States section. Look it up by name.

If you wanna us it you have to make a custom sensor in your configuration.yaml with the humidity parameter like this.

climate_YOUR_THERMO_NAME_humidity:
    friendly_name: "You can chose your friendly name"
    unit_of_measurement: '%'
    value_template: "{{state_attr ('thermostat_entity_name', 'current_humidity')}} "

While this works as a custom sensor, the Salus integration in Homebridge exposes the humidity sensor automagically and it's linked to the thermostat (adding the integration to HA causes HA to have both temp and humidity entities for the thermostat). This also leads to being able to ask Siri for the humidity and getting the data, in the case of Apple Home integration.

Is this possible to be implemented in this integration?

sarbuandreidaniel commented 1 year ago

@marithpl I've checked that comfort floor feature and setting it seems to be unnecessarily complicated. The issue is that all settings needs to be set at once and there's no easy way to get current settings. The app basically has everything hardcoded and reconstructs full settings and sends it back each time you change anything (I think it even sets current time). I've checked the manual and it seems like it just enables heating for a certain period time. Is there any reason you could not automate it using other home assistant automation features? You could probably set temperature to 35 degrees to enable heating and then set it back periodically.

@jvitkauskas Any updates here ? I'm interested too into the comfort floor setting, or any other advanced settings.

george-apostu8 commented 9 months ago

Any updates on "comfort floor feature"?