-
Notifications
You must be signed in to change notification settings - Fork 425
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
Feature request: Add support for TRVZB via Cloud #1244
Comments
It's very difficult to add a thermostat remotely. You can try to collect all commands from the device (via debug logs). |
do you think that I can solve the problem with a zigbee dongle? Now my TRVZB are connected via a Z-bridge pro, I think that with the dongle I can manage thermostat directly via zha or zigbee2mqtt. |
You should try |
Hi @Furlanstefano , did you managed to handle it? I plan to install a similar configuration, but I would like to be sure I can use it. |
@pippo73 works great with the zigbee usb-dongle and zha component on home assistant. I manage 10 TRVZB with a wifi thermostat connected to the water heater. |
@Pante90 like i said you have to use a usb zigbee dongle and zha integration for use trvzb ad a thermostat, not the zigbee hub. |
how to do, to connect a usb dongle.with ewelink app? i think you need a hub or coordinator . |
When you use the USB d'ongle, your HA become an hub itself thanks to zha (or mqtt2zigbee). You create a network apart and you will no more use ewlink app but only HA |
Ohh yess, but the zigbee device connected to this usb dongle doesn't appear on ewelink app. and you posted a SONOFFLAN integration on the first picture, and not a ZHA. i can't found anything about a TRVZB on sonofflan integration |
Now I pass the answer to @Furlanstefano, because I don't have any of them. I was answering you just for the theory 😅 |
"use usb dongle", "use zha" etc. How is that solution? It has nothing to do with that addon. It's like "I cannot start my motorcycle" - "Use car instead, works for me". I'm trying to switch from Z2M where I have TRVZB connected together with around 100 other devices to separate ecosystems with HA in the middle. It works good with every brand except Sonoff :( Point of this addon is to use official hub and ewelink app, so ditching that on favor of ZHA/Z2M is not a solution that should be suggested in this repository :/ @AlexxIT I personally would love to see support for this device, which is very popular recently :) |
|
Any news meanwhile ;)? |
I agree, it is possible have the integration for this device? |
Yes please! Can we please have support for this - having invested in the zigbee hubs it would be a shame to have to purchase a usb dongle (+ home assistant isn't located in an ideal place for zigbee signal) |
Hello Any updates on this? |
Looking for "TRVZB" support 🙏 |
Looking for "TRVZB" support please 🙏 |
I attach log from my 3 devices.
|
It seems like new UIID 7017 should be added to core\devices.py (TRVZB workMode = 0 - Manual manTargetTemp 215 - Set new target to 21.5 in manual mode List of All options Some Code for TRVZB
|
@bob-tm while at it, can you please add the state to see if the valve open or not (heating or not) Yes it is possibly to compare target and room temperature, but doing it from the attribute will be better. Thank you |
Seems like workState in this log I increase target temp, wait to state changed and decrease it back.
|
Some base to start from.
|
Yes +1 for TRV support and thanks a lot for your great work!!! really appreciate it! i have the trv on 3 different floors, so dongle is no option for me, as i need 2-3 bridges to cover the whole area. |
@bob-tm indeed adding your code to devices.py makes the data coming into HA. However, it does not give thermostat control from HA. What would be the best way? To make a climate entity in configuration.yaml like this?:
|
At the moment I don't understand at all the relationship between these parameters - switch, workMode, workState, manTargetTemp, autoTargetTemp, curTargetTemp, ecoTargetTemp. Which parameter is used to switch on which mode. Which parameter is used to set the target temperature, probably the name of the parameter depends on the mode. Looks like the logic is similar to this thermostat, but there are still important differences: SonoffLAN/custom_components/sonoff/climate.py Lines 245 to 254 in 0859df4
|
HI all, your work is great ! .. I'm strongly interested (it's exactly I was searching for ..maintaining bridge pro original firmware and monitor/control devices by HA integration) and I want to thank @AlexxIT and all for your contribution and effort .. I'm not able to support you but don't hesitate to ask me if you need tests and checks. Tks |
hi Alex the ihost API is defined here for the thermostat: https://ewelink.cc/ewelink-cube/introduce-open-api/document/ there are 3 workmodes: AUTO, MANUAL and ECO see here what you can set in ewelink app when you change the code i can try it out for you if you want! if needed I can also give you access to my ewelink through a private channel... Cheers |
Thank you for example. Done with climate entity! toggle switch to on - enable manual mode Preset changing is working. Replace two files from archive and test it. |
I need some help with config:
|
and yes one thing, in one of the TRV the SONOFF API does not return a 'switch' parameter, and that makes the thermostat unusable in the HA thermostat, I have no idea why... |
I do not touch mode code. Presets work like in app |
Alex may I ask why you have not taken the code from Bob that defines a new Thermostat_TRV in the climate.py? |
Missed it. A file with code in the issues comment is quite rare case. |
How to Setup temperature units of mesaurment for manTargetTemp, autoTargetTemp? Looks like this already present in your code and can be done via simple configure Tomorrow I will check mode logic for climate entity and update the code. |
I think only Celsius supported for now. |
In fact, they're stupid sensors. They shouldn't be there. This is should be climate-type device. |
New release. climate.py, switch.py and core/devices.py should be replaced. Code is attached. |
Hi @bob-tm .. I kindly ask your help... I loaded into custom_component folder your "release", replacing the existing one (the official last is 3.8.2). I reloaded the integration, restarted HA, rebooted Raspberry .. but in the integration pages I'm not able to see the climate entity associated to my TRVZBs... I'm surely doing mistakes... Could you give some advices ? Thank you in advance |
I uploaded new code to my fork https://github.com/bob-tm/SonoffLAN/ |
and create pull request #1569 |
Any progress? |
Hi, can u add support for new TRVZB via Cloud?
With the ZIGbee Hub in home assistant I see the new device with wrong value for the temperature sensor and not as a thermostat device.
Thanks
sonoff-13cc52bc63d19deb63f9bbb0b37fffa0-Termo Cucina-62dbf1b3885e9f4850d306905a99df9a.json.txt
The text was updated successfully, but these errors were encountered: