Unofficial EasyHome Hygro PremiumSP speed controller via exposed web and REST API
Project description
EasyHome Hygro Premium SP controller
Unofficial speed controller for EasyHome Hygro Premium SP via web. It exposes an API REST server with a simple frontend in order to control the current speed.
Requirements
- Raspberry PI
- Up to 7 relays
- Software: pip
- Development Software: pip, node, yarn
Setup
We need to interface our Raspberry PI to the EasyHome Hygro card through relays. There are currently two types of configurations available:
- With normal relays. When the Raspberry PI has not started is in
QUIET
speed. - With solid state relays.
NOTE: If you want to shut down the EasyHome Hygro when the Raspberry PI has not started with normal relays use the solid state configuration.
Interfacing EasyHome Hygro card with Raspberry PI
Array of 7 relays
Array of 7 solid state relays
Installation
sudo pip install hygro
Web server
Run the command hygro-premium-sp-server
.
If do you prefer to have it in a background process you can run as nohup hygro-premium-sp-server &
It will open a web frontend in Raspberry PI at port 21000. It exposes an API rest too in the same port.
API REST
GET /api/status
{
"speeds": ["quiet", "normal", "maximum"],
"available_speeds": ["quiet", "maximum"],
"current": {
"speed": "maximum",
"ratio": 1.00,
"real_ratio": 1.00
}
}
GET /api/configuration
{
"velicity_ratio": 1.00,
"product": "default"
}
POST /api/configure
{
"velocity_ratio": 0.54,
"velocity_percentage": 66,
"velocity": "quiet",
"product": "default"
}
Power consumption and acoustic measurements
Power consumption [1]
Acoustic [1]
References
[1] Page 36: https://www.aldes-international.com/img/2019/10/Gamme_EasyHOME_Tech_Corp_En_2_HD.pdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hygro-premium-sp-server-2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01cf562d87c8e0ae00dcbbea1d31904614d1f3b4c117f189ac9c719c505e076b |
|
MD5 | 3663c24b9eb934c940e9226ac9311117 |
|
BLAKE2b-256 | 7aa0c0ac7a507ebf6411d825d0065415090399e953c4c917f78bb32e819a2000 |
Hashes for hygro_premium_sp_server-2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 459763b9e3caa92a822e3832e6be135998e3bbf21b93618025c230b91039dca3 |
|
MD5 | 65115132b98c9ac7e765f6268ed65165 |
|
BLAKE2b-256 | 98d15645af20d53be68d5971cc8328f64c8f58cd03e8d9ac99273cd7e72181b7 |