Skip to content
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

Unable to access API? #3

Open
dwightmulcahy opened this issue Oct 12, 2020 · 17 comments
Open

Unable to access API? #3

dwightmulcahy opened this issue Oct 12, 2020 · 17 comments

Comments

@dwightmulcahy
Copy link

just testing out this and when I do this

auth = UhooAuth(email, password)
devices = get_all_devices(auth)

devices returns this:

{'status': 2, 'message': 'You are not authorized to access this API.'}

guessing that you have to have an Enterprise account to access the rest API... :/

@anomaly256
Copy link

anomaly256 commented Oct 14, 2020

FYI, I was told by a uHoo rep back in August (possibly unofficially though so don't bet the farm on it) that they intend to release a set of APIs for home users to create custom integrations at the end of the year.

I've emailed them just now asking if there's any news or information available about it.

@netmanchris
Copy link
Owner

netmanchris commented Oct 14, 2020 via email

@dwightmulcahy
Copy link
Author

this is what I got when asked about a consumer API...

...I will feedback this to our engineering team. We're continuously gathering feedback on features that users would like to have. Thus far, requests for API access have been very few but we will continue to gather feedback and if that increases, we will consider building REST APIs for users to access.

...so if you are interested in a consumer REST API you ought to email their support so that they know there really is a demand for it.

Here is the link: https://uhooair.com/contact/

@anomaly256
Copy link

Yeah this is the response to my email this week, slightly different tune to before:

APIs for home users are part of our roadmap but we do not have an ETA for it yet. It depends on the amount of requests we get. Thus far, there has only been a small handful of users who have requested. As we get more requests, we may consider pushing the ETA forward.

So... make some noise I Guess? Kind of absurd they don't do this given the premium price they charge for the device itself imo

@dwightmulcahy
Copy link
Author

A couple of friends also have the Uhoo (by my suggestion) and they voiced their interest in having an API with them too. Pretty much got the same canned response back.

Kind of absurd they don't do this given the premium price they charge for the device itself

+1 on that.

@anomaly256
Copy link

I decided to ask about API acces for home users again last week, got this response:

Thanks for your message. APIs for home users and Home Assistant integration will be available in the second quarter of this year. The team has already moved this up in priority as a number of users have started requesting for it in the last 2-3 months.
🤞

@dwightmulcahy
Copy link
Author

awesome! I'll definitely be on that when they allow access.

as a number of users have started requesting for it in the last 2-3 months.

hmmmm... nice work guys!!!

dWiGhT

@dwightmulcahy
Copy link
Author

still no API... :(

@matteofranceschini
Copy link

matteofranceschini commented Aug 2, 2021

I wrote them yesterday, but I'm not sure how to interpret it...

We are planning to release a uHoo Premium product in September where one of the features is integration with HomeAssistant. The other features would be deeper analytics on your data, comparing different rooms and sensors against each other, and access to a web portal, to name a few.

@matteofranceschini
Copy link

I've asked for clarification, here it is:

Thanks for your message. It is compatible with your existing uHoo. uHoo Premium is an in-app subscription to upgrade your account to a uHoo Premium account to gain access to those additional features. You don't need to change your existing uHoo.

@dwightmulcahy
Copy link
Author

uHoo Premium is an in-app subscription

So $$/month... 🤔

was hoping I didn't have to spend time reverse engineering the mobile app...

@matteofranceschini
Copy link

I'm not so into reversing iOS apps, but the hardware is quite standard.. By accepting to lose their calibration (if any), it's probably not so difficult to write a custom firmware. Sadly, an ESP32/ESP8266 would've be waaaay simpler (for me) to handle.

Cool thing, someone already opened it:
https://wiki.liutyi.info/display/CO2/uHoo+inside

@jererobles
Copy link

You can look at my implementation here https://github.com/jererobles/airq/blob/master/airq/api/crypto.py

@jererobles
Copy link

If somebody wants to port that to Node.js so I can use with Homebridge I'd be super happy 😊

@iqbalhs
Copy link

iqbalhs commented Feb 9, 2022

any updates about this?
is uhoo premium released yet?

@MilitaryNerd
Copy link

Now it seems obvious why the Home Assistant HACS integration is broke. Is the above code to work with the Uhoo device directly?

@anomaly256
Copy link

anomaly256 commented Jul 11, 2022

uHoo Premium is an in-app subscription

So $$/month... 🤔

Worth noting they've just launched a home user version of 'premium' with web dashboard, integrations etc. Free for current owners for 1 year, $10/month (I assume USD) after that which is still more accessible than the 'office' premium plans previously.

The app also highlights a Home Assistant integration 'coming soon'.

Not an advertisement, just noting this is probably the user API they mentioned to me 2 years ago finally being delivered.

Edit: can confirm the premium web dashboard is now accessible on this plan, with API key retrievable from user settings and json data sent to client.

178183732-d0955249-589b-43cd-933e-d37db07758a5178183746-acf01018-fcea-4557-b3a9-fc79bc8e1a02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants