Comments (19)
Hello, I have a dump for Hisense/Gorenje Split Pandora AST-18UW4RXATE00A air conditioner (attached)
airCondDumpHisense.json
from connectlife-ha.
I have just pushed the branch climate, but it's only a starting point, and not ready to go even to HACS. Feel free to fork the repository and contribute PRs!
from connectlife-ha.
I found my bug! I was passing deviceId
as puid
🤦
I will make a release shortly.
from connectlife-ha.
Hi @nikogusm - thank you for you feedback!
I'm currently investigating legal values for all the sensors. The next step is indeed to try to send commands to the API, but as I only have a dishwasher I have very limited testing possibilities.
It would be nice to make a climate entity of the air conditioner - are you able to share a JSON dump of the attributes for you appliance?
from connectlife-ha.
i tried to do an export but i don't know how to do it. can you help me?
from connectlife-ha.
i tried to do an export but i don't know how to do it. can you help me?
With Python 3.11 or newer:
pip install connectlife
python -m connectlife.dump my_connectlife_username my_connectlife_password
Replace my_connectlife_username
and my_connectlife_password
of course.
This should produce a JSON dump with private information redacted (deviceId
, puid
, and wifiId
)
from connectlife-ha.
i tried to do an export but i don't know how to do it. can you help me?
If you are not familiar with the phyton, you can also installl https://github.com/bilan/connectlife-api-connector and just copy the content of the log produced by addon and share it.
Which appliance do you have?
from connectlife-ha.
I have started porting support for air conditioner from https://github.com/bilan/connectlife-api-connector, but since I don't own one myself I'll not be able to test it properly. I can push the development branch when it's a bit more polished if someone wants to contribute coding and/or testing it.
from connectlife-ha.
hello @oyvindwe sorry for the late reply. i can test it out, when you push i'm going to update your plugin from HACS store.
from connectlife-ha.
One more:
{
"bindTime": 1716010840136,
"createTime": 0,
"deviceFeatureCode": "104",
"deviceFeatureName": "104\u51b7\u6696\u8282\u80fd\u65e0\u529f\u7387",
"deviceId": "<redacted>",
"deviceNickName": "Split air conditioner",
"deviceTypeCode": "009",
"deviceTypeName": "",
"offlineState": 1,
"puid": "<redacted>",
"role": 1,
"roomId": 4355056,
"roomName": "Lounge Room",
"seq": 0,
"statusList": {
"daily_energy_kwh": 0,
"f_e_arkgrille": "0",
"f_e_incoiltemp": "0",
"f_e_incom": "0",
"f_e_indisplay": "0",
"f_e_ineeprom": "0",
"f_e_inele": "0",
"f_e_infanmotor": "0",
"f_e_inhumidity": "0",
"f_e_inkeys": "0",
"f_e_intemp": "0",
"f_e_invzero": "0",
"f_e_inwifi": "0",
"f_e_outcoiltemp": "0",
"f_e_outeeprom": "0",
"f_e_outgastemp": "0",
"f_e_outtemp": "0",
"f_e_push": "0",
"f_temp_in": "20",
"t_eco": "0",
"t_fan_mute": "0",
"t_fan_speed": "0",
"t_fan_speed_s": "0",
"t_power": "0",
"t_sleep": "0",
"t_super": "0",
"t_temp": "22",
"t_temp_type": "0",
"t_up_down": "1",
"t_work_mode": "1"
},
"useTime": 1716010840115,
"wifiId": "<redacted>"
}
]
from connectlife-ha.
@psylenced I have a dehumidifier in my case I have a
t_fan_speed
and t_work_mode
value like yours does your mapping and my mapping match?
t_work_mode
- 1 == manual (which allows setting of target)
- 0 == continuous
- 2 == auto which basically sets humidity to 50 and auto
t_fan_speed
- 2 == auto
- 1 == high
- 0 == low
from connectlife-ha.
I must admit I'm really struggling with setting properties. I'm trying to do the same as in https://github.com/bilan/connectlife-api-connector/blob/main/app/Services/ConnectlifeApiService.php#L30-L44
However, all I get back is
{
"message": "Server Error"
}
from connectlife-ha.
@oyvindwe do you have your branch with the code to do the update so I can take a look at it maybe it's something odd with the HTTP client implementation
from connectlife-ha.
I tried to do it via curl but I am getting blocked by cloudflare
curl -v -H 'Content-type: application/json' -H 'X-Token: <token>' -XPOST --data '
{
"puid": "<redacted>",
"properties": {
}
}' https://connectlife.bapi.ovh/appliances
from connectlife-ha.
do you have your branch with the code to do the update
connectlife
library: https://github.com/oyvindwe/connectlife/tree/write-properties- HA integration (includes entity service): https://github.com/oyvindwe/connectlife-ha/tree/set-value-service
Note that most properties are probably read-only. I have tried to set the property value as both string and integer without success. I'm mostly experiencing using curl
.
I tried to do it via curl but I am getting blocked by cloudflare
As you discovered in #6 (comment) User-Agent
seems to be a required header.
from connectlife-ha.
Hoe can I set values? I only see sensors for my dishwasher? Great job!
from connectlife-ha.
@CyberrNerd I just updated README.md with instructions.
from connectlife-ha.
Ah great thanks, do you perhaps know which value to remote start the dishwasher? Or better, how can I see which values are available?
from connectlife-ha.
Ah great thanks, do you perhaps know which value to remote start the dishwasher? Or better, how can I see which values are available?
These are the great questions! As there is no data dictionaries published, we will need to figure out the properties and values to use ourselves.
For AC devices, the t_*
properties seems writeable. E.g. set t_power
to 0 to turn off and to 1 to turn it on.
I only have a dishwasher myself. I have not yet figured out how to remote control it, but you will first have to set it to remote start on the actual appliance.
from connectlife-ha.
Related Issues (20)
- No climate entity HOT 17
- Timeout fetching connectlife data HOT 2
- Where do I go from here? HOT 2
- https://github.com/oyvindwe/connectlife-ha.git is not a valid add-on repository HOT 2
- Support for accounts created with external IDP HOT 1
- sensor: support setting unit based on another property
- Devices become unavailable every 1 hour HOT 5
- Cannot disable beep to control in the night without noise HOT 2
- ERROR (MainThread) [aiohttp.server] Error handling request HOT 4
- Refactoring may be in order for strings.json and en.json. HOT 1
- What is the reason for all properties to be enabled, but hidden by default, rather than disabled by default? HOT 6
- add 009-129.yaml HOT 2
- Problem with 009-104 with Aeh W4G2 module HOT 2
- Device 009-128 - Switching from mode OFF to COOL changes set temperature HOT 4
- Mapped properties are still hidden HOT 4
- Help with device 009-117 HOT 2
- Energy consumption not shown correctly HOT 7
- Expose HVACMode.DRY for climate devices in HomeKit HOT 8
- Does this integration support google SSO? HOT 1
- 009-117 temperature unit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectlife-ha.