Giter Site home page Giter Site logo

Comments (7)

J-N-K avatar J-N-K commented on September 13, 2024

Did you solve your issues?

from addons.

TrekGIneer22 avatar TrekGIneer22 commented on September 13, 2024

oh actually no I didn't, I was thinking this was for something else. Thanks for following up so I could notice

from addons.

JasonMask avatar JasonMask commented on September 13, 2024

hi,

i belief to have the same issue. unfortunatally the logs do not provide many helpfull information, exept of the udp listener logging an unexpected end of input and the devices going on and offline once in a while. also the device things pretending to have sent the command but no action follows. also the plugin seams incapable to fetch the current state from the devices

im running openhabian 1.9beta/openhab 4.1.1 on an raspberry 5
i have one tuya device setup with the smart app and one other with tuya app. both could be found using discovery but could not detect their own local ip adress. once i defined these manually the devices are listed as being online (most of the time)

is there anything one could do to help you debugging the issue?

update: i finally gave up and enabled control through mqtt by flashing my devices with OpenBK as described here: https://www.elektroda.com/rtvforum/topic4020803.html
hope this is a help for anyone who just want control over the device and doesn´t need a tuya app functionality

from addons.

alexgug avatar alexgug commented on September 13, 2024

Hi,

I have the same issue; I posted it on the Openhab Community, but here it is : https://community.openhab.org/t/smarthome-j-tuya-binding-for-openhab-4/147193/56?u=alexandre_guglielmin

Hi Everyone,

I don't understand why my dimmer switch (Gosund) don't work.
I can switch it ON/OFF from Openhab and the physical button.
I can use the physical dimmer and it modified the bright_value in Openhab.
But when I modify the bright_value in Openhab, nothing happen.
I have 2 of them, and it's exactly the same behavior for both.

Each Things have been added by the Binding, using the scan button.
Here's the configuration of the channel :
image

The DPs have been validated using the Tuya Platform and the manual method described here : https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html#_8-find-your-data-point

I have nothing in the logs except the value changed in the events.log :

2024-02-28 08:08:47.530 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Bar_Light_bright_value' received command 59
2024-02-28 08:08:47.531 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Bar_Light_bright_value' predicted to become 59
2024-02-28 08:08:47.532 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Bar_Light_bright_value' changed from 36 to 59

I suspected a missconfiguration between the item, the min/max value, the fact that it's a dimmer, etc...
But I tried a lot of configuration and find nothing...
Can someone help me ?

from addons.

alexgug avatar alexgug commented on September 13, 2024

Here's the TRACE log I have from Openhab;
Everything seems to work, I can do an update from the Smart Life app, fom Tuya Platform, from Postman...
But the "bright_value" command from Openhab just didn't work.

[a.internal.local.handlers.TuyaEncoder] - [DEVICE_ID]/[IP]:6668: Sending CONTROL, payload {devId=[DEVICE_ID], uid=[DEVICE_ID], t=1709576826, dps={1=true, 3=89}, gwId=[DEVICE_ID]}

[a.internal.local.handlers.TuyaDecoder] - [DEVICE_ID]/[IP]:6668: Received MessageWrapper{commandType=CONTROL, content='[B@2737708e'}

from addons.

stale avatar stale commented on September 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from addons.

TrekGIneer22 avatar TrekGIneer22 commented on September 13, 2024

boop to de stale?

from addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.