Comments (5)
I made encryption key optional in b2fa7c4. You can update via HACS to the latest version. After a restart, you'll need to re-add the integration and on the config page you can uncheck the "Use encryption key" checkbox.
from home-assistant-candy.
I'm curious, does your machine work with encrypted=1
too? Because my machine accepts ecrypted=0
, but it also works with an encryption key, and it's easy to get the key using https://github.com/MelvinGr/CandySimplyFi-tool
Not saying I won't make it optional to use encryption, but currently it uses the key to make it compatible with both encrypted and non-encrypted devices.
from home-assistant-candy.
Yes, it works also with encryption.
I think a plain text may be simpler, requires less computing power on the tiny esp chip, and may give less trouble.
Not indispensable, but I think useful.
from home-assistant-candy.
EDITED - maybe should make a new issue for this?
Hi, i think i found a quirk related to this.
I have a Hoover washer dryer that uses this api and doesnt require encryption key as such, but doesnt spit out pure json...
http://x.x.x.x/http-read.json?encrypted=0 returns {"response":"BAD REQUEST"}
http://x.x.x.x/http-read.json?encrypted=1 returns 7B0D0A09227374617475734C6176617472696365223A7B....
This is hex encoded json, but it isnt XORed/encrypted (I tryed leaving encryption key blank and using "\0" but no luck).
As a workaround/for testing I changed line 35 in candy\client_init_.py to resp_json = json.loads(resp_hex). and the the integration works for me now.
from home-assistant-candy.
Yes, please open a new issue. This will require a bit more investigation, and others will find the ticket easier with a more relevant title.
I'm not sure how to overcome this behavior, because we can't detect the kind of response from the response alone, and I don't see any API endpoint that would reveal the exact model of the machine.
from home-assistant-candy.
Related Issues (20)
- Air Conditions support
- Candy Oven in Celsius HOT 1
- backoff - Requirements not found HOT 9
- After last update HA integration not more working HOT 8
- Initial Setup - 500 error HOT 1
- Please add a setting to change the device's IP address HOT 3
- Remaining minutes issue HOT 5
- 2023.3 - async_setup_platforms deprecated ?
- Trying to add device crashes HA HOT 2
- Support for NFC conectivity
- Support for NFC conectivity? HOT 1
- new sensor for your intagration based on my code appdaemon
- Error setting up entry Candy for candy HOT 1
- Time remaining before clean filter
- the intergration broke down HOT 4
- Trying to add induction Hob Hoover HTPSJ644MCWIFI
- Failing initialization when appliance is offline HOT 3
- Washer/Dryer Controls
- TEMP_CELSIUS was used from candy, this is a deprecated constant which will be removed HOT 1
- The method for providing platform translations has changed in Home Assistant Core HOT 3
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 home-assistant-candy.