Added 404 error (windows) on homeassistant api in the readme

This commit is contained in:
Mathieu 2021-09-13 15:22:56 +02:00
parent e828154351
commit 318d9caf30

View File

@ -42,11 +42,13 @@ go to the Python Console and enter the following commands :
# Errors
Common errors than I personally encoured during this project, hope this can help you.
### FANN/FANN2 error during pip requirements
#### Linux :
I actually don't know how I solved this but I tried building myself FANN following the instruction from [here](https://github.com/libfann/fann#from-source).
Here is some links I found trying to solve the error :
I actually don't know how I solved this but I tried building myself FANN following the instruction
from [here](https://github.com/libfann/fann#from-source). Here is some links I found trying to solve the error :
https://stackoverflow.com/questions/51367972/lib-fann2-failed-to-install
https://github.com/FutureLinkCorporation/fann2/issues/11
https://github.com/MycroftAI/padatious#installing
@ -54,8 +56,17 @@ https://github.com/MycroftAI/padatious/issues/21
https://jansipke.nl/installing-fann-with-python-bindings-on-ubuntu/
#### Windows
Solution for windows users :
```
pip install pipwin
pipwin install fann2
```
### Error 404 from the HomeAssistant API
*/!\ Only Windows usually*
Returns an error 404 when requesting information about an entity_id, you need to edit the source code of the file "
rawapi.py" from the api.
Line 53 of rawapi.py must be changed from ``self.endpoint(path),`` to ``self.endpoint(path.replace('\\', '/')),``