vekexasia / comfoair-esp32

Interact with Zehnder Comfoair with esp32
Other
124 stars 40 forks source link

No MQTT #35

Closed Obelixje closed 1 year ago

Obelixje commented 1 year ago

Hi,

There is no MQTT traffic coming from the esp32. Is there a way to check logging on the ESP32?

When connecting to the IP of the ESP32 directly I only see possibility to upload files.

zhellmann commented 1 year ago

You can check if ESP32 is sending data by connecting to MQTT broker that you set and check for incoming messages.

Obelixje commented 1 year ago

There are no incoming messages on the broker.

Do we ONLY expect messages when there is data coming in from Comfoair? I am asking this because I may have blew up the Can tranceiver.

Or do we expect messages always when ESP is on the wifi. (Even when comfoair is not yet connected)?

gsabbe commented 1 year ago

In my experience messages are sent as they are received and decoded from the comfoair. Also the comfoair seems to only send data as it changes. So it took two hours for all my variables to be set in Home Assistant. One amelioration would be to send a status message every 60 seconds or so just to say "I'm online".

On Fri, Nov 18, 2022 at 7:59 AM Obelixje @.***> wrote:

There are no incoming messages on the broker.

Do we ONLY expect messages when there is data coming in from Comfoair? I am asking this because I may have blew up the Can tranceiver.

Or do we expect messages always when ESP is on the wifi. (Even when comfoair is not yet connected)?

— Reply to this email directly, view it on GitHub https://github.com/vekexasia/comfoair-esp32/issues/35#issuecomment-1319621584, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYAK47B3ZPYZTHENRMWMXLWI4SOFANCNFSM6AAAAAASDF7QYY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Obelixje commented 1 year ago

ok, thanks. My first impression was that the Can tranciever is defect. It could be the case that I have to wait some hours for the first message.. Thanks for your help'

gsabbe commented 1 year ago

Things like fan speed would change rather quickly and are the first messages I saw coming in. Can you connect your laptop to the ESP and open the arduino console? This way you'd see the message coming in, and perhaps triple check your MQTT settings. (I managed to mess up the port and password when setting it up the first time :)) I also blew up my ESP32 because I didn't tune the DC-DC step down to 3.3V from the 12V set at the factory. The CAN module didn't care about the over voltage thankfully. Late night projects are always fun.

On Fri, Nov 18, 2022 at 9:36 AM Obelixje @.***> wrote:

ok, thanks. My first impression was that the Can tranciever is defect. It could be the case that I have to wait some hours for the first message.. Thanks for your help'

— Reply to this email directly, view it on GitHub https://github.com/vekexasia/comfoair-esp32/issues/35#issuecomment-1319698439, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYAK4ZAUZQ3VY7P66ZOF7DWI45Y3ANCNFSM6AAAAAASDF7QYY . You are receiving this because you commented.Message ID: @.***>

Obelixje commented 1 year ago

LOL

Same thing happened to me, also blew up the ESP32 because of the 12v... I did triple test the incoming voltage (+/-), but did not check the outcoming voltage. So on my first connection I blew up the esp32, and an errormessage of the Comfoair.

I am going to connect the esp32 to Arduino, and see if something happens.

gsabbe commented 1 year ago

My comfoairq actually shutdown completely with my mistake, rather scary. But it came back to life after unplugging/replugging the power. The ESP 5V pin is a lot more tolerant and accepts unregulated 5-12V. But the 3.3V wants regulated 3.3V and nothing else.

On Fri, Nov 18, 2022 at 9:47 AM Obelixje @.***> wrote:

LOL

Same thing happened to me, also blew up the ESP32 because of the 12v... I did triple test the incoming voltage (+/-), but did not check the outcoming voltage. So on my first connection I blew up the esp32, and an errormessage of the Comfoair.

I am going to connect the esp32 to Arduino, and see if something happens.

— Reply to this email directly, view it on GitHub https://github.com/vekexasia/comfoair-esp32/issues/35#issuecomment-1319708327, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYAK46RZJ2XXVNLQTVLSS3WI47B7ANCNFSM6AAAAAASDF7QYY . You are receiving this because you commented.Message ID: @.***>

Obelixje commented 1 year ago

Is is working, the schedule was not correct. image

CanH and CANL were switched....

Obelixje commented 1 year ago

@gsabbe Thanks for your help this morning? Do you have a good dashboard (yaml) that you can share?

I don't succeed in adding functionality to my dashboard to change the setting of the Comfoair. (1,2,3 or auto)

Obelixje commented 1 year ago

All solved. Wiring issue....