Is there anyone that would be willing to help port this App and Driver?
I'm down to 3 lines of code that i need converted.
javax.crypto.Mac mac = javax.crypto.Mac.getInstance("HmacSHA1")
mac.init(new javax.crypto.spec.SecretKeySpec(oauth_key.getBytes(), "HmacSHA1"))
return mac.doFinal(oauth_base.getBytes()).encodeAsBase64()
I added:
import javax.crypto.Mac
import javax.crypto.spec.SecretKeySpec
import java.security.InvalidKeyException
and Changed:
javax.crypto.Mac mac = javax.crypto.Mac.getInstance("HmacSHA1")
to:
mac = javax.crypto.Mac.getInstance("HmacSHA1")
Now Getting Expression [MethodCallExpression] is not allowed: javax.crypto.Mac.getInstance(HmacSHA1)
@damon.dinsmore - we're you ever able to get this ported?
Unfortunatly no luck. There is a need to get Hubitat to do this as a true integration as a key is needed from Carrier
@damon.dinsmore I'd like to give this a shot. Would you mind sharing where you got to and what you have from a code perspective please?
Hi all, did anyone get to a solution on this?
I am going to be replacing my HVAC and this topic is of interest to me.
I was able to get some documentation on the topic, if that helps.....
https://openapi.ing.carrier.com/docs
And I've attached a document from the HVAC company with more instructions....
Did you ever come up with a solution here? I hate the hacky one I have.
Has anyone tried requesting a key from Carrier? There are instructions on their API documentation page.
https://openapi.ing.carrier.com/docs
OAuth 2.0 Specifications Guide on pg 6.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.