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

DNS name used by later firmware #7

Open
glyndon opened this issue Aug 26, 2018 · 4 comments
Open

DNS name used by later firmware #7

glyndon opened this issue Aug 26, 2018 · 4 comments

Comments

@glyndon
Copy link

glyndon commented Aug 26, 2018

FWIW, I am observing traffic from a relatively new VeSync unit, and it is looking for 'server22.vesync.com' (as distinct from 'server2' as described in the readme file).
Perhaps they've added servers, or changed server name(s) since that text was written.

@iceman73
Copy link

Seems like something might have changed than just the server, as the unit I have pointing at server22 never gets registered with Voltlet

@glyndon
Copy link
Author

glyndon commented Aug 29, 2018

My suspicion is that older/original firmware contacted server2, where newer firmware contacts server 22.
The firmware version in this unit is 1.95.

I'm seeing the version by tapping the serial lines on the ESP8266 (don't do this using mains power, or with the device in any way connected to the mains power, supply your own 3.3.v to the board if the case is open).

But the server22 observation is from a network packet trace. server22 is the name it asks DNS to resolve for it.

@trumpetrhapsody
Copy link

trumpetrhapsody commented Apr 24, 2022

Can confirm that 2018+ units use server22.vesync.com. I'm getting the following error returned:

read error: json: cannot unmarshal number into Go value of type map[string]interface {}

I'm running this in a HomeAssistant add-on docker container, so I would have to try and spin up a dedicated instance to troubleshoot the json response. Any chance someone else has this sorted already?

@glyndon
Copy link
Author

glyndon commented Apr 24, 2022

My solution to the Vesync device firmware issue was to pry open the case, solder on a header, flash ESPHome by RS232, remove the header, snap the case closed, and enjoy them as wonderfully-compact ESPHome devices from then on.
YMMV, but if you go this route, pry the case open very carefully. It takes longer, but you'll be glad you did.

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

3 participants