Git Product home page Git Product logo

Comments (11)

beckyricha avatar beckyricha commented on September 22, 2024

from broadlink-rm-smartthings-alexa.

harmonykorine avatar harmonykorine commented on September 22, 2024

My on/off is a toggle switch. The OFF function is the one that works.
When my air conditioner is ON and, through the app I tap to turn it OFF, it does. The problem is that the switch doesn't go to the OFF position. It bugs and returns to ON, even though my air con is still off. And after that, if I tap to try and turn it back ON, it fires the OFF signal again - I hear the beep - which does nothing since the on and off signal are different.
I have tested the codes directly in the broadlink app and in the RM Tasker and both of them work.
When I paste the codes for the Smartapp on the Smartthings IDE it comes back with the following error

error java.lang.IllegalArgumentException: The JSON input text should neither be null nor empty. @ line 66

I've seen the previous issue posted about this error, tried to make de adjustments, but it didn't work. Maybe the problem is in the naming.
I named my device Air Conditioner and in it I added two code buttons - on and off.

Once again, thank you so much for trying to help me with this! You've done a great great job with the codes - I have tried others before finding yours!

from broadlink-rm-smartthings-alexa.

beckyricha avatar beckyricha commented on September 22, 2024

from broadlink-rm-smartthings-alexa.

beckyricha avatar beckyricha commented on September 22, 2024

from broadlink-rm-smartthings-alexa.

harmonykorine avatar harmonykorine commented on September 22, 2024

Sorry for my confusion about the toggle button. But yes, the ON and OFF are different on this remote.
The codes I'm using are the

Broadlink LAN SmartApp
https://github.com/beckyricha/Broadlink-RM-SmartThings-Alexa/blob/master/Broadlink%20LAN%20SmartApp

Broadlinkswitch device handler
https://github.com/beckyricha/Broadlink-RM-SmartThings-Alexa/blob/master/Broadlinkswitch%20device%20handler

Unfortunately I'm not a coder. I don't think I'd be able to fix the issue on my own, even if I knew what it is

from broadlink-rm-smartthings-alexa.

beckyricha avatar beckyricha commented on September 22, 2024

from broadlink-rm-smartthings-alexa.

harmonykorine avatar harmonykorine commented on September 22, 2024

No worries! I'll be waiting for when you finish fixing it
Thanks so much!

from broadlink-rm-smartthings-alexa.

beckyricha avatar beckyricha commented on September 22, 2024

from broadlink-rm-smartthings-alexa.

harmonykorine avatar harmonykorine commented on September 22, 2024

I've replaced the device handler and it works! It now fires both ON and OFF signals and the button on the phone app doesn't bug when it's clicked.

Altought it is working, when I installed the smartapp it reported an error:

e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:42: debug device name: Air Conditioner, URL: 192.168.0.26:9876, mac: c8f742172e9d, onCodeID: 1), offCodeID: 2
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:42: debug getChildDevices(false), children=1
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:41: debug adding device Air Conditioner with on
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:41: debug In response handler
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:41: debug hub id is b3abaf2a-f80e-4dbb-bbec-c91cf8ba7d72
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:42: error java.lang.IllegalArgumentException: Text must not be null or empty @line 66 (lanResponseHandler)
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:42: debug In response handler
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:42: debug hub id is b3abaf2a-f80e-4dbb-bbec-c91cf8ba7d72
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:41: debug adding device Air Conditioner with on
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:41: debug In response handler
e78f1160-9c0b-468c-8a62-54c8537930f6 13:31:41: debug hub id is b3abaf2a-f80e-4dbb-bbec-c91cf8ba7d72

and, whenever I turn it ON or OFF I get the following:

e78f1160-9c0b-468c-8a62-54c8537930f6 13:32:48: error groovy.lang.MissingPropertyException: No such property: name for class: java.util.TreeMap$Entry
Possible solutions: value @line 68 (doCall)
e78f1160-9c0b-468c-8a62-54c8537930f6 13:32:48: debug In response handler
e78f1160-9c0b-468c-8a62-54c8537930f6 13:32:48: debug hub id is b3abaf2a-f80e-4dbb-bbec-c91cf8ba7d72

I do not know if this is a major issue, since the device is properly turning ON and OFF as it should, but I though it would be better to run it past you.

Still, I deeply appreciate your help! You are amazing!

from broadlink-rm-smartthings-alexa.

beckyricha avatar beckyricha commented on September 22, 2024

from broadlink-rm-smartthings-alexa.

harmonykorine avatar harmonykorine commented on September 22, 2024

No, they're not. Everything has been working like a charm. I've even created some automations and routines and all of them are working. I've no idea what those bugs are about. Oh, well...

Anyways, thank you so much for your time and attention! I wouldn't have been able to make it work if it hadn't been for you!

from broadlink-rm-smartthings-alexa.

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.