Comments (13)
I think you're the first person to try a TRV. I haven't coded the component to be able to support TRVs, so it'll just be using the code from something similar (I'm surprised it works, and this is probably also the reason that your other radiator isn't getting picked up). I'm very happy to try and add this, if you have some time to send me log files and a bit of patience to try some new releases and give me feedback.
Can you increase the level of logging please and send me an new log? You'll need to add the following lines to your configuration.yaml
file and then restart HA.
logger:
default: warning
logs:
lightwave2.lightwave2: debug
I have opened a new issue (#14) for this. I will close this issue and let's pick it up in the other thread.
from homeassistant-lightwave2.
PS also, if you could use the app to change the settings on the TRV, then that should be picked up by the logging and give me something to work with. Cheers.
from homeassistant-lightwave2.
Hi Ian,
Where are you getting stuck? Once it's installed you need to go to the integrations page and click on the + in the bottom right. Then it should appear in the list of new integrations - are you saying it doesn't show up here?
from homeassistant-lightwave2.
Yes not showing up here so clearly i have borked something up but I can't for the life of me work out what?!
from homeassistant-lightwave2.
Can you send me your homeassistant.log file?
from homeassistant-lightwave2.
yes I would love to. Where can I find this easily (told you I was new at this! Sorry!)
from homeassistant-lightwave2.
Ignore me, just found it:
2020-06-02 20:21:00 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-06-02 20:21:24 ERROR (MainThread) [hass_nabucasa.iot] Error handling message
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/hass_nabucasa/iot.py", line 94, in _async_handle_handler_message
result = await handler(self.cloud, message["payload"])
File "/usr/local/lib/python3.7/site-packages/hass_nabucasa/iot.py", line 154, in async_handle_webhook
return await cloud.client.async_webhook_message(payload)
File "/usr/src/homeassistant/homeassistant/components/cloud/client.py", line 188, in async_webhook_message
found["webhook_id"], request
File "/usr/src/homeassistant/homeassistant/components/webhook/init.py", line 79, in async_handle_webhook
peer_ip = request[KEY_REAL_IP]
TypeError: 'MockRequest' object is not subscriptable
2020-06-02 20:21:29 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)
2020-06-02 20:21:38 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 295, in _handle_entity_registry_updated
await self._sync_helper(to_update, to_remove)
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 239, in _sync_helper
await self.async_get_access_token()
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 128, in async_get_access_token
raise RequireRelink
homeassistant.components.cloud.const.RequireRelink
2020-06-02 20:21:46 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for lightwave2 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-06-02 20:22:31 ERROR (MainThread) [homeassistant.components.upnp] Timeout fetching DGA2231 (1921SA827) data
2020-06-02 20:52:31 ERROR (MainThread) [homeassistant.components.upnp] Timeout fetching DGA2231 (1921SA827) data
2020-06-02 21:02:11 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.105
2020-06-02 21:02:11 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 192.168.1.105
2020-06-02 21:13:26 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)
2020-06-02 21:13:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 295, in _handle_entity_registry_updated
await self._sync_helper(to_update, to_remove)
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 239, in _sync_helper
await self.async_get_access_token()
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 128, in async_get_access_token
raise RequireRelink
homeassistant.components.cloud.const.RequireRelink
2020-06-02 21:14:22 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)
2020-06-02 21:14:22 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 295, in _handle_entity_registry_updated
await self._sync_helper(to_update, to_remove)
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 239, in _sync_helper
await self.async_get_access_token()
File "/usr/src/homeassistant/homeassistant/components/cloud/alexa_config.py", line 128, in async_get_access_token
raise RequireRelink
homeassistant.components.cloud.const.RequireRelink
from homeassistant-lightwave2.
Hmmm. I'm a bit stumped. The line
2020-06-02 20:21:46 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for lightwave2 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
Shows the component is being loaded. And there aren't any subsequent errors. So I'm not sure why it's not in the integrations list. Let's try two things:
- Is it in the list but in the wrong place? Try searching for "light" in the new integration
- Do you have all the files needed for the integration and the permissions are correct. You should have in the following files in custom_components/lightwave2
-rw-r--r-- 1 homeassistant homeassistant 4573 Jun 2 17:34 binary_sensor.py
-rw-r--r-- 1 homeassistant homeassistant 6597 Jun 2 17:34 climate.py
-rw-r--r-- 1 homeassistant homeassistant 2329 Jun 2 17:34 config_flow.py
-rw-r--r-- 1 homeassistant homeassistant 354 Jun 2 17:34 const.py
-rw-r--r-- 1 homeassistant homeassistant 5120 Jun 2 17:34 cover.py
-rw-r--r-- 1 homeassistant homeassistant 6546 Jun 2 17:34 __init__.py
-rw-r--r-- 1 homeassistant homeassistant 6724 Jun 2 17:34 light.py
-rw-r--r-- 1 homeassistant homeassistant 285 Jun 2 17:34 manifest.json
-rw-r--r-- 1 homeassistant homeassistant 4014 Jun 2 17:34 sensor.py
-rw-r--r-- 1 homeassistant homeassistant 595 Jun 2 17:34 services.yaml
-rw-r--r-- 1 homeassistant homeassistant 4965 Jun 2 17:34 switch.py
and in custom_components/lightwave2/translations
-rw-r--r-- 1 homeassistant homeassistant 687 Jun 2 17:34 en.json
from homeassistant-lightwave2.
Good news. Gone back to it this morning and it has decided to appear! Not a scooby f-ing doo why the hell it wasnt there before! But so far all installing fine.
Thanks for getting back at me, even if we did nothing different and it just decided to work!
(Next bit of fun will be seeing how well it moves across to the Pi4!)
from homeassistant-lightwave2.
Only downside at the moment- Heating only by temp and not position!
from homeassistant-lightwave2.
OK - most likely it was still installing the dependencies in the background. For info, if a component needs additional libraries to work, HA will automagically go off in the background and install them. This is possibly what happened here, with the component not starting until the required dependencies had been installed. Particularly if it was a new install of HA, there might have been other things queued up to install before the lightwave library.
I don't get your comment on the heating - anything that I need to look at?
from homeassistant-lightwave2.
TRV's can either be set by temperature (i.e. if below temp x then open TRV - I have always found this bloody irritating as you can guarantee the temp will just tip either above or below a set temp during a movie and then they start wurring like demented things) or they can also be set in position 0 1 2 3 4 and 5. I use this method as i can then control when the valve is opening / closing. I can't find an option to do this. It may be there and i'm just looking in the wrong place!
from homeassistant-lightwave2.
Also I am missing one device - The toilet radiator. Showing in the lightwave app but not on Hass. All others seem to be in. Is it worth removing it from the app and adding again to see if picked up?
from homeassistant-lightwave2.
Related Issues (20)
- Control not available on v1 devices when Homekit devices hidden HOT 1
- Plug sensor is not hidden when hiding Homekit devices HOT 1
- Door sensor open/close state not hidden when hiding Homekit events HOT 5
- Unable to connect HOT 12
- Functionality question... HOT 2
- Status not updating in HA HOT 2
- Public API: Attempt to decode JSON with unexpected mimetype: text/html HOT 10
- All my lightwave lights are hidden HOT 3
- General sign in problem HOT 22
- AttributeError when adding integration - object has no attribute 'product_code' HOT 14
- Inline relays not discovered (both Connect and Smart Series) HOT 3
- Individual LED status colours HOT 3
- Error while setting up lightwave2 platform for sensor
- Lightwave RF using Honeywell Wireless Thermostat causes integration to fail. Error: AttributeError: 'NoneType' object has no attribute 'state' HOT 2
- Control of the LED on Gen2 Sockets not shown in HA (whereas the LED is controllable in HA for Light Switches) HOT 7
- Not pulling in correct names of devices HOT 35
- Lightwave Wirefree dimmers (scene selector) HOT 5
- HASS 2024.1.x - Deprecated Constants HOT 19
- Log entries for deprecated code HOT 3
- Enhancement: Add support for event entity type 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 homeassistant-lightwave2.