-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Gryfsmart.markdown #37355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
karlowiczpl
wants to merge
26
commits into
home-assistant:next
Choose a base branch
from
karlowiczpl:gryfsmart.markdown
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Gryfsmart.markdown #37355
Changes from 18 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
300e022
added gryf smart docs
karlowiczpl c8b9a0b
added gryf smart docs
karlowiczpl d023a40
added gryf smart docs
karlowiczpl 192a36f
added gryf smart docs
karlowiczpl b445c30
added gryf smart docs
karlowiczpl 7faa916
Add some feature
karlowiczpl 15d6e62
added GryfSmart docs
karlowiczpl b8ec43d
Merge branch 'next' into gryfsmart.markdown
karlowiczpl 7c68ca9
Merge branch 'next' into gryfsmart.markdown
karlowiczpl 1ff80b2
Update gryfsmart.markdown
karlowiczpl f1144b5
Update gryfsmart.markdown
karlowiczpl 632d811
Update gryfsmart.markdown
karlowiczpl 78702e4
Update gryfsmart.markdown
karlowiczpl 3234a6a
Update gryfsmart.markdown
karlowiczpl 8e486e4
Update gryfsmart.markdown
karlowiczpl aa03c62
Update gryfsmart.markdown
karlowiczpl 0fc27ab
Update gryfsmart.markdown
karlowiczpl 42456df
Update gryfsmart.markdown
karlowiczpl a13e874
Update gryfsmart.markdown
karlowiczpl 0cdd7c0
Update gryfsmart.markdown
karlowiczpl b5779be
Update gryfsmart.markdown
karlowiczpl 162f595
Merge branch 'next' into gryfsmart.markdown
karlowiczpl f931375
Update gryfsmart.markdown
karlowiczpl cc07357
Update gryfsmart.markdown
karlowiczpl 61013da
Update gryfsmart.markdown
karlowiczpl 0b4cf4f
Update gryfsmart.markdown
karlowiczpl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
--- | ||
title: GRYFSMART | ||
description: Instructions on how to integrate GryfSmart components with Home Assistant. | ||
ha_release: 2025.1 | ||
ha_category: | ||
- Binary sensor | ||
- Climate | ||
- Sensor | ||
- Switch | ||
- Light | ||
ha_iot_class: Local Pushing | ||
ha_config_flow: true | ||
ha_domain: gryfsmart | ||
ha_platforms: | ||
- Binary sensor | ||
- Climate | ||
- Sensor | ||
- Switch | ||
- Light | ||
- binary_sensor | ||
ha_codeowners: | ||
- "@karlowiczpl" | ||
ha_integration_type: hub | ||
--- | ||
|
||
## The [GryfSmart](https://gryfsmart.pl) integration for home assistant allows you to connect to GryfSmart devices | ||
|
||
This document describes how to configure and use the GryfSmart integration. The integration support Config Flow (UI-based setup), and requires RS232 interface. | ||
|
||
There is currently support for the following device types within Home Assistant: | ||
|
||
- Light | ||
- Switch | ||
- Thermostat | ||
- Binary Input | ||
- PWM | ||
- Termometer | ||
- Input | ||
|
||
{% include integrations/config_flow.md %} | ||
|
||
## 1. Important Integration Information | ||
|
||
### 1.1 How to Use the ID | ||
|
||
The ID is a combination of the driver ID and the cell number (for outputs, | ||
inputs, etc.). | ||
|
||
17 | ||
|
||
- 1 is the driver ID | ||
- 7 is the cell number | ||
|
||
### 1.2 Communication | ||
|
||
To connect gryfsmart, you can use either a Physical RS-232 connection or a | ||
USB/RS-232 converter. You need to know the address of the device. Typically, it | ||
is "/dev/ttyS0" for a physical RS-232 port, or "/dev/ttyUSB0" for a converter. | ||
|
||
### 1.3 Module Count | ||
|
||
The module count is the number of modules in the network. | ||
|
||
### 1.4 Entities | ||
|
||
{% note %} | ||
|
||
**gryfsmart driver supports 5 types of functions:** | ||
|
||
- **Relay Output (O)** | ||
- **Input (I)** | ||
- **PWM** | ||
- **Temperature Input (T)** | ||
- **Cover Output(S)** | ||
|
||
{% endnote %} | ||
|
||
#### 1.4.1 Light | ||
|
||
- **Type of function:** Relay Output | ||
- **Services:** turn_on, turn_off | ||
- **Icon:** lightbulb | ||
- **Entity type:** light | ||
- **Configuration scheme:** classic | ||
- **Device class:** None | ||
|
||
#### 1.4.2 Switch | ||
|
||
- **Type of function:** Relay Output | ||
- **Services:** turn_on, turn_off, toggle | ||
- **Icon:** switch, outlet | ||
- **Entity type:** switch | ||
- **Device class:** switch, outlet | ||
- **Default device class:** switch | ||
|
||
#### 1.4.3 Thermostat | ||
|
||
- **Type of function:** Relay Output and Temperature Input | ||
- **Services:** turn_on, turn_off, toggle, set_temperature | ||
- **Entity type:** climate | ||
In Config Flow, you enter the t_id into the "extra" parameter | ||
and the o_id into the "id" parameter. | ||
|
||
- **Device class:** None | ||
|
||
#### 1.4.4 Binary Input | ||
|
||
- **Type of function:** Input | ||
- **Services:** None | ||
- **Icon:** Specific for the chosen device class | ||
- **Entity type:** binary_sensor | ||
- **Device class:** door, garage_door, heat, light, motion, | ||
window, smoke, sound, power | ||
- **Default device class:** opening | ||
|
||
#### 1.4.5 PWM | ||
|
||
- **Type of function:** PWM | ||
- **Services:** turn_on, turn_off, toggle, set_value | ||
- **Icon:** lightbulb | ||
- **Entity type:** light | ||
- **Device class:** None | ||
|
||
#### 1.4.6 Thermometer | ||
|
||
- **Type of function:** Temperature Input | ||
- **Services:** None | ||
- **Icon:** thermometer | ||
- **Entity type:** sensor | ||
- **Device class:** None | ||
|
||
#### 1.4.7 Input | ||
|
||
- **Type of function:** Input | ||
- **Services:** None | ||
- **Icon:** switch | ||
- **Entity type:** sensor | ||
- **Device class:** None | ||
- **Extra information:** | ||
If the input is a short press and release, the sensor state is 2; | ||
if it is a long press, the state is 3. | ||
|
||
|
||
|
||
## 2. Configuration via Config Flow | ||
|
||
The "extra" parameter corresponds to the device_class if it exists. In the case | ||
of a thermostat, the "extra" parameter maps to **t_id** instead. Otherwise, this | ||
parameter is not required. Additionally, the integration supports editing of | ||
individual devices and configuration. Please note that after making changes, | ||
you must reload the integration for the changes to take effect. | ||
|
||
## 4. Helper Entities | ||
|
||
Additionally, the configuration automatically generates two entities—**gryf_in** | ||
and **gryf_out**. The **gryf_in** entity receives incoming messages, and the | ||
**gryf_out** entity handles outgoing messages. However, if you are not an | ||
experienced GRYF SMART installer, you may ignore these details. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.