-
Notifications
You must be signed in to change notification settings - Fork 30
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
read failed: {'requestAttr': 'deviceid', 'id': []} #2
Comments
Whole HA log errors above: |
try moving the library to the folder /config/python_scripts/ |
By library what do you mean? I'm python noob to be honest. |
This one from here https://github.com/jvitkauskas/pyit600/tree/master/pyit600 In to the folder /config/python_scripts/ So in the end you will have /config/python_scripts/pyit600 |
Unfortunatly it didn't work. I've tried many combinations:
Nothing works, I receive all the time error: |
Did you made this part: _This integration is configured through configaration.yaml. Example : climate:
? |
and did you add to the configuration.yaml python_script: ? |
Well, yes, and yes. |
Can you tell me what salus devices you have? |
wiring center: KL08RF |
pyit600.exceptions.IT600CommandError: iT600 gateway rejected 'read' command with content '{'requestAttr': 'deviceid', 'id': []}' you have a local problem. If you open a browser window, on your local network with the IP address of your Salus gateway, it is opening? If you can't see this:
|
I got Connection refused. What I did is enable wifi in gateway (it was disabled) and I've forward port 80 in gateway, however I still can't open gateway adress in browser. Now the log is quite obvious: |
check if the gateway from salus is in the same vlan as the HA server |
You mean the same network? Both devices are connected by lan to the same network. My serwer doen't have vlan-card. |
I guess that port 80 in salus gateway is not open. When I use:
Is there a way to open it within salus gateway? |
You can try to forward the port of salus gateway 80 to other available... |
Sorry, I don't understand :( |
Forward the port 80 to 8000 for example. Ex: Salus ip gateway:: port from:80 :: port to:8000 |
Ok, I had something messed with network setting. I've reset gateway, configured access through wifi (gateway ip is now 192.168.8.170, I've change it in configuration.yaml), and I can see in web browser empty ID List: Yet, it still doesn't work. Now HA log errors are similar to the previous one (from the issue start): |
now it should work ok, are you sure euid is correctly write? |
HA is on ubuntu server. laptop is on windows. I'm quite comfortably with both OS'es. |
then you can do the test on which machine you want, after that it will be much easier to find the problem. |
If you mind helping me. I'm not familiar with python, and I don't really know how to use it. I've downloaded it(library) with pip, and what next? I have no idea where to look for any help. |
Any chance for help? I've tried clean HA installation on second terminal and some errors occurred. |
Hi, I'm having here same problem.
SR600 and OS600 are waiting to first run thermostat integration...
I think we just do not know how to install it properly. Whole logs:
|
I have same problem i tryed to make a py file to run with the text here and run it with python but i get this error
C:\Users\dyrvi\Downloads\pyit600-master\pyit600-master\tests>python test_encryptor.py |
Looks like it is a problem with pyit600 library. I have asked my friend to help me launch connection with salus gateway in python from my local windows system. He found "main.py" in @jvitkauskas repository (https://github.com/jvitkauskas/pyit600/blob/master/main.py) of pyit600 which is demo app and example of how to use it. I get very similar error using only this file (the connection to gateway was established):
|
@dyrvigk which thermostat are you using? @slusaro2 can you pull latest master of https://github.com/jvitkauskas/pyit600 run |
I am using the salus sq610rf and gateway uge600
ons. 9. sep. 2020 00.38 skrev Julius Vitkauskas <[email protected]>:
… @dyrvigk <https://github.com/dyrvigk> which thermostat are you using?
@slusaro2 <https://github.com/slusaro2> can you pull latest master of
https://github.com/jvitkauskas/pyit600 run main.py with --debug and send
me the output or post it here? My email is ***@***.***
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG7RHTB6TW6TOHSRQFVC5XTSE2W57ANCNFSM4QCDRC4A>
.
|
i can get the main.py to connect and find the termostat but the homeassistant part not working DEBUG:pyit600:Gateway request: POST http://192.168.1.122:80/deviceid/read DEBUG:pyit600:Gateway response: DEBUG:pyit600:Refreshed 0 climate devices C:\Users\dyrvi\Downloads\pyit600-master\pyit600-master> |
@dyrvigk I was able to start integration with HA and it works quite well (even with two TS600!) except that I have realized that the information about actual state (heating or not) is unsupported. It is because data model of TS600 thermostat is a little bit different from default in pyit600 master and integration code. It is something that would not be hard to change but right now I had to switch to different things... There is also strange error appearing after several hours which I described in TS600 issue (epoplavskis/pyit600#3 (comment)). If @jvitkauskas will start new branch for sq610rf you will be able to switch to it changing requirements in:
For TS600 my looks like that BUT I AM NEWBIE SO CHECK IF THAT IS CORRECT APPROACH:
Finally, I checked main.py response for SALUS OS600 window sensor and there is no problem to integrate it unless you have to learn python ;) Right now I am working on remote access to place where normally my salus devices work. If I will managed to connect I would be able to start learning python and working on thermostats and other sensors. |
I have made thermostat filtering much less strict and opened a PR #3 hopefully @konradb3 will accept it. In the meanwhile you can try using my fork https://github.com/jvitkauskas/homeassistant_salus |
here is the log output from homeassistant
2020-09-14 22:33:51 ERROR (MainThread) [homeassistant.components.climate]
Error while setting up salus platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py",
line 184, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/salus/climate.py", line 90, in
async_setup_platform
async_add_entities(SalusThermostate(coordinator, idx, gateway) for idx
TypeError: 'NoneType' object is not iterable
2020-09-14 22:33:51 ERROR (MainThread) [homeassistant.components.climate]
Error while setting up salus platform for climate Traceback (most recent
call last): File
"/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line
184, in _async_setup_platform await asyncio.shield(task) File
"/config/custom_components/salus/climate.py", line 90, in
async_setup_platform async_add_entities(Salus Thermostat(coordinator, idx,
gateway) for idx
TypeError: 'NoneType' object is not iterableordinator, idx, gateway) for
idx TypeError: 'NoneType' object is not iterable
Em seg., 14 de set. de 2020 às 22:01, Julius Vitkauskas <
[email protected]> escreveu:
Guys, I have made thermostat filtering much less strict and opened a PR #3
<#3> hopefully
@konradb3 <https://github.com/konradb3> will accept it.
In the meanwhile you can try using my fork
https://github.com/jvitkauskas/homeassistant_salus
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG7RHTAV4JE3B2664FMTQG3SFZZCHANCNFSM4QCDRC4A>
.
|
@dyrvigk unfortunately, the log doesn't say much. Can you try running pyit600 main.py in debug mode and post the output? https://github.com/jvitkauskas/pyit600
|
here is log
kenn
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virusfri.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Em ter., 15 de set. de 2020 às 09:34, Julius Vitkauskas <
[email protected]> escreveu:
… @dyrvigk <https://github.com/dyrvigk> unfortunately, the log doesn't say
much. Can you try running pyit600 main.py in debug mode and post the log?
https://github.com/jvitkauskas/pyit600
sudo apt update
sudo apt install git python3 python3-pip
git clone https://github.com/jvitkauskas/pyit600.git
cd pyit600
pip3 install .
python3 main.py --host YOUR_GATEWAYS_IP_ADDRESS_HERE --euid YOUR_GATEWAYS_EUID_HERE --debug
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG7RHTD4PKAPA4NQHNR767DSF4KHLANCNFSM4QCDRC4A>
.
|
Such error occured in HA log:
I'm using HA Supervised on ubuntu server 18.04
python3.8 is installed if that matters
The text was updated successfully, but these errors were encountered: