arjenhiemstra / ithowifi

Itho wifi add-on module (ESP32 wifi to itho I2C protocol)
GNU General Public License v3.0
170 stars 29 forks source link

co2 sensor #211

Closed gerben-f1 closed 6 months ago

gerben-f1 commented 8 months ago

hello,

I have itho cve eco. and installed the print with rf module. now i add the humudity sensor and co2 sensor. co2 sensor is 230v powered.

but how can i add this to home assistant? the humudity sensor works and is battery pwered.

arjenhiemstra commented 8 months ago

does this example help? https://github.com/arjenhiemstra/ithowifi/wiki/Home-Assistant#co2-sensor

gerben-f1 commented 8 months ago

When i add that i getting configuration fault in home assistant and cant reboot.And the name to change which one need to change? M.v.g GerbenOp 29 okt 2023 om 00:24 heeft Arjen Hiemstra @.***> het volgende geschreven: does this example help? https://github.com/arjenhiemstra/ithowifi/wiki/Home-Assistant#co2-sensor

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

arjenhiemstra commented 8 months ago

Not sure but using the example and translating that to this in my situation works:

sensor:
  - name: Itho zolder CO2
    state_topic: "itho/remotesinfo"
    unit_of_measurement: "ppm"
    value_template: "{{ value_json.rft-co2.co2 }}"
    device_class: "carbon_dioxide"
    unique_id: "itho_zolder_co2"
    device:
      identifiers: "mv"
B-Lourens commented 8 months ago

or:

 mqtt:
  sensor:
    - name: "nrg-itho-CO2"
      unique_id: "nrg-itho-co2"
      device_class: "carbon_dioxide"
      state_topic: "itho/ithostatus"
      unit_of_measurement: "ppm"
      value_template: "{{ value_json['Highest CO2 concentration (ppm)'] }}"
gerben-f1 commented 8 months ago

Can u see what i do wrong?M.v.g GerbenOp 30 okt 2023 om 08:09 heeft B.Lourens @.***> het volgende geschreven: or: mqtt: sensor: - name: "nrg-itho-CO2" unique_id: "nrg-itho-co2" device_class: "carbon_dioxide" state_topic: "itho/ithostatus" unit_of_measurement: "ppm" value_template: "{{ value_json['Highest CO2 concentration (ppm)'] }}"

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

B-Lourens commented 8 months ago

Can u see what i do wrong?M.v.g GerbenOp 30 okt 2023 om 08:09 heeft B.Lourens @.> het volgende geschreven: or: mqtt: sensor: - name: "nrg-itho-CO2" unique_id: "nrg-itho-co2" device_class: "carbon_dioxide" state_topic: "itho/ithostatus" unit_of_measurement: "ppm" value_template: "{{ value_json['Highest CO2 concentration (ppm)'] }}" —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

Not really, because we have no idea what your configuration.yaml looks like. But, if you're getting errors in Hass, the most likely issue is that you're placing the sensor examples in the wrong place, under the wrong category.

gerben-f1 commented 8 months ago

It already works.One question.Is it possible to complete stop the ventilationAnd that it only turns on when co2 is to high or the humadityM.v.g GerbenOp 30 okt 2023 om 19:58 heeft B.Lourens @.***> het volgende geschreven:

Can u see what i do wrong?M.v.g GerbenOp 30 okt 2023 om 08:09 heeft B.Lourens @.> het volgende geschreven: or: mqtt: sensor: - name: "nrg-itho-CO2" unique_id: "nrg-itho-co2" device_class: "carbon_dioxide" state_topic: "itho/ithostatus" unit_of_measurement: "ppm" value_template: "{{ value_json['Highest CO2 concentration (ppm)'] }}" —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

Not really, because we have no idea what your configuration.yaml looks like. But, if you're getting errors in Hass, the most likely issue is that you're placing the sensor examples in the wrong place, under the wrong category.

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

arjenhiemstra commented 8 months ago

It already works.One question.Is it possible to complete stop the ventilationAnd that it only turns on when co2 is to high or the humadityM.v.g GerbenOp 30 okt 2023 om 19:58 heeft B.Lourens @.> het volgende geschreven: Can u see what i do wrong?M.v.g GerbenOp 30 okt 2023 om 08:09 heeft B.Lourens @.> het volgende geschreven: or: mqtt: sensor: - name: "nrg-itho-CO2" unique_id: "nrg-itho-co2" device_class: "carbon_dioxide" state_topic: "itho/ithostatus" unit_of_measurement: "ppm" value_template: "{{ value_json['Highest CO2 concentration (ppm)'] }}" —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.> Not really, because we have no idea what your configuration.yaml looks like. But, if you're getting errors in Hass, the most likely issue is that you're placing the sensor examples in the wrong place, under the wrong category. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>

If you have the CO2 sensor connected to the itho directly, no If you have connected the CO2 sensor to the add-on, yes

Here's some more info on this topic: https://github.com/arjenhiemstra/ithowifi/wiki/Controlling-the-speed-of-a-fan#help-fan-wont-go-lower-than-ie-30

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.