damianburrin / WVC-Life-Edition-Data-Collector

A project to get better data analysis from the WVC R3 Life edition inverters.
4 stars 1 forks source link

DNS / On boarding #3

Open markschroeder77 opened 1 year ago

markschroeder77 commented 1 year ago

Hi Guys,

Thanks for making this information available.

When the life device is first connecting to the Ali server, is there any indication to what hostname / port it's connecting too?

I'd like to direct the traffic to my own server by spoofing the dns.

Failing that does anyone know how to set the server the device will connect to. (How the onboarding process works after factory reset)

damianburrin commented 1 year ago

The data is posted unencrypted so i just capture it the  push it to my host On 21 Aug 2023 17:45, markschroeder77 @.***> wrote: Hi Guys, Thanks for making this information available. When the life device is first connecting to the Ali server, is there any indication to what hostname / port it's connecting too? I'd like to direct the traffic to my own server by spoofing the dns. Failing that does anyone know how to set the server the device will connect to. (How the onboarding process works after factory reset)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

MrGoodbody commented 3 months ago

At least my WVC is trying to get the dns of public.iot-as-mqtt.eu-central-1.aliyuncs.com, after that its connecting to port 1883 but tls encrypted (it does not check the ca). default mqtt is used. topic: /sys/xxxxx/xxxxxx/thing/event/property/post (xxxx=device secrets on qrcode)

damianburrin commented 3 months ago

@MrGoodbody I'm not sure what your asking me? Which WVC version are you using?

MrGoodbody commented 3 months ago

No question, an answer to @markschroeder77. I am not a native speaker, so maybe i used some wrong terms

damianburrin commented 3 months ago

No problemsOn 2 Jun 2024 19:58, MrGoodbody @.***> wrote: No question, an answer to @markschroeder77. I am not a native speaker, so maybe i used some wrong terms

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

markschroeder77 commented 3 months ago

Thank you MrGoodbody!

I'm sure someone else will find this information helpful.

If I remember correctly when I was trying to do this I didn't have a NIC that supported promiscuous mode, so I was unable to see the DNS request in WireShark.

In the end I used a Raspberry PI I had lying around to read from the serial port and push it to my Home Assistant instance via mqtt.