ayufan / esphome-components

A repository of custom esphome components
96 stars 25 forks source link

eq3 valve state without mqtt? #7

Closed JamesT42 closed 4 years ago

JamesT42 commented 4 years ago

Hi! Is it possible to get the valve state without using mqtt? Then your creation would be even better! Thank you for your work Cheers James

JamesT42 commented 4 years ago

Ok maybe uncommenting

expire_after: 11min

like this is enough?

h0jeZvgoxFepBQ2C commented 4 years ago

Did you get it work without MQTT?

I completely removed MQTT from my home assistant server, so I' would like to know this as well if it's possible to use the EQ3 support without mqtt?

ayufan commented 4 years ago

Can you just test? The only requirement should be some kind of time service.

On Tue, 7 Jul 2020 at 13:11, h0jeZvgoxFepBQ2C notifications@github.com wrote:

Did you get it work without MQTT?

I completely removed MQTT from my home assistant server, so I' would like to know this as well?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ayufan/esphome-components/issues/7#issuecomment-654780567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQKAEGAZZV7FCWW3NTTR2L7GZANCNFSM4MAO3TJQ .

h0jeZvgoxFepBQ2C commented 4 years ago

I will try when I have time and can report it back then 👍

JamesT42 commented 4 years ago

Yes it works without MQTT, just uncomment or delete the line expire_after: ...

h0jeZvgoxFepBQ2C commented 4 years ago

Are there any sideeffects when commenting out this line (even when you dont use mqtt)?

ayufan commented 4 years ago

Not really. I believe it is just a setting in config, but should not affect the actual code.

On Tue, 7 Jul 2020 at 13:52, h0jeZvgoxFepBQ2C notifications@github.com wrote:

Are there any sideeffects when commenting out this line (even when you dont use mqtt)?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ayufan/esphome-components/issues/7#issuecomment-654802953, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQO6NOATWEW6HNOOGYLR2MD7ZANCNFSM4MAO3TJQ .

h0jeZvgoxFepBQ2C commented 4 years ago

Ok, I have it running now and it works without MQTT 👍

Is it normal that it doesn't transmit the measured temperature?

ayufan commented 4 years ago

No. It is not exposed

On Wed, 8 Jul 2020 at 19:46, h0jeZvgoxFepBQ2C notifications@github.com wrote:

Ok, I have it running now and it works without MQTT 👍

Is it normal that it doesn't transmit the measured temperature?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/ayufan/esphome-components/issues/7#issuecomment-655663588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQKZATXTCIC76Y4GF3LR2SWI5ANCNFSM4MAO3TJQ .

JamesT42 commented 4 years ago

You can connect a temperature sensor to the esp32 example:

sensor:
  - platform: htu21d
    temperature:
      name: "Temperature"
      id: temperature
    humidity:
      name: "Humidity"
      id: humidity
    update_interval: 60s

i2c:
  sda: 21
  scl: 22
  scan: on
  #frequency: 400kHz

climate:
  - platform: eq3_v2
    id: eq3
    name: "EQ3"
    mac_address: 00:1AXX:XX:XX:XX
    update_interval: 5min
    temperature_sensor: temperature
    valve: # optional, allows to see valve state in %
      name: "EQ3 Valve"
h0jeZvgoxFepBQ2C commented 4 years ago

Ah ok cool, nice to see! Thanks for the hint!