-
Notifications
You must be signed in to change notification settings - Fork 204
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
Setting a specific scene on an LED Strip #584
Labels
tuya_device
Support for specific Tuya Devices
Comments
If you start a monitor loop https://github.com/jasonacox/tinytuya/blob/master/examples/monitor.py and change the scene using the SmartLife app, what does it say? |
|
Interesting to see payload duplicate the same dps (51):
@dan00ile Did you try sending back those values of 51 to see if it replicated what you did in the app? import tinytuya
d = tinytuya.BulbDevice('DEVICE_ID_HERE', 'IP_ADDRESS_HERE', 'LOCAL_KEY_HERE', version=3.5)
d.set_socketPersistent(True)
# Set 51
d.set_value(51, 'ARcDXl5gAABkADgvAB5cANVFARpk') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
I have an LED lamp running on version 3.5, which has multiple operating modes. As I understand it, DP25 stores information about the current configuration of the enabled scene. I wanted to know how I can read and change this information.
Right now, when I request status(), I only get this response:
{'dps': {'20': True, '21': 'scene', '24': '002803e803e8', '26': 0, '47': 50, '53': 18, '101': 'RGB'}}.
Is there any way to expand the number of dps I get it from?
Sorry for the stupid questions(
The text was updated successfully, but these errors were encountered: