Comments (4)
I will let the developers respond to your programming request. I have found that I can manually at the on/off channel by finding the switch DP in the dimmer channel and then creating a new switch channel and giving it that DP. It works well. I agree it would be great if the binding did it automatically.
from addons.
In general openHAB tried to avoid unnecessary channels. You can send ON or OFF commands via a switch to the color/dimmer channel and only on/off is transmitted to the device, so the stored brightness/color of the device stays unchanged.
Adding the channel would be inconsistent with all other bindings, which do not provide such a channel in the same situation (like hue, deconz, etc.).
If you really need an addition switch channel, you can use the workaround suggested by @BigGeorgeTx.
from addons.
I didn't know that a Dimmer item would send a separate ON/OFF. I thought ON is translated to 0 and ON to 100, and therefore it would lose its brightness setting. This is how it is with mqtt (afaik) and tasmota, the Dimmer channel is dimmer (0-100) and power is on/off. Sending OFF to dimmer simply sends 0 to Tasmota's dimmer value.
If the Tuya binding actually sends ON/OFF on the dimmer, I guess I could just link the channel to two items: one a SwitchItem for on/off and one Dimmer, and then it would work the way I'm accustomed to, without even having to use the workaround suggested by @BigGeorgeTx. WDYT?
I haven't used the Tuya binding and I have reverted back to using tuya-mqtt because the binding hasn't been stable for me, and I haven't had a chance to troubleshoot all the issues.
from addons.
Yes, it should be possible to link two items to the channel. If you experience problems, please open an issue for that. Thanks.
from addons.
Related Issues (20)
- Tuya things and items are online but do not work (OH3.4.1. on raspi4) HOT 3
- Humidifier Stadler Karl Big - Tuya thing configuration template HOT 1
- Wifi Battery Door Sensor not discovered HOT 1
- [Viessmann] no gas-consumption-values with a VitoDens 222-F HOT 5
- TUYA Vacuum Roboter HOT 1
- [Viessmann] missing basic-API-values HOT 3
- tuya devices with protocoll 3.4 HOT 9
- TUYA Configurable Port Number HOT 3
- [tuya] Device Missing Channels HOT 2
- Addon does not play nicely with tuya-mqtt HOT 4
- Tuya PoolHeatpump Connection refused HOT 3
- Influxdb? HOT 3
- [Basic Profile - Round] After upgrade to OH 4.0.0.M2 item states are jumping up and down HOT 3
- Tuya binding compile failure in 4.0.x Branch HOT 12
- Ledkia DC Fan motor driver comes online but drop offline immediately HOT 1
- [tuya] Gateway supoort HOT 3
- Nedis Smart Plug asks for IP HOT 1
- How to install the Addon HOT 3
- Tuya Binding: cloud project Informationen? HOT 1
- Divide profile handling of NULL 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 addons.