Git Product home page Git Product logo

mold_risk_index's People

Contributors

elad-bar avatar misa1515 avatar strixx76 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mold_risk_index's Issues

Multiple sensors

Is it possible to use multiple instances for multiple pairs of sensors?
(e. g. basement and attic)

thx.

An extension collaboration ?

Hi,
I found your integration by accident and I find it useful already.
I would like to extend it, but before I bluntly fork it I wanted to run it past you.

I'm using your integration for bathrooms - and I started considering to use the indicated risk for triggering the dehumidifiers / forced ventilation. However to my mind there is one important thing missing. As you said - you used graphs from craw space graphs. In bathrooms it's often that air temp will be greatly higher than wall / window - which during winter will have greatly different temp and increase local humidity.

I've considered extending your integration by:

  • providing an additional sensor input for outside temperature
  • providing a predicted insulation coefficient ( in % )
  • providing an configuration "at whih risk level engage dehumidification / ventilation"
  • provide configuration in form of offset - how low (in % of humidity) below the risk, keep on dehumidifying / venting
  • provide a simple trigger output / "true/false" value for triggering the dehumidification / veltilation

This could be enabled by choosing "advanced operation" and of course I would code that my self, but I would prefer this to be part of your integration rather than pointless duplication.

Plot image - annotation spelling

Hello and thank you for this integration work 💪 I'll try it out - after seeing it on the BeardedTinker channel on youtube.

Just wanted to ask if the image plot.png - describes areas on the left, bottom and right - that are much too cold or much too hot or too dry for condensation/mold to appear?
If so, then the correct terms should be "Too cold", "Too dry" and "Too hot" instead of "To".

Thank you!

Risk index always 0

Hi,
I was trying this custom component, suggested from a discussion I found on same argument, but using values coming from Broadlink sensor I’ve risk index always set to 0.

here’s what I have now:
Broadlink temperature sensor reports 18.6 *C
Broadlink humidity sensor reports 58.16 %
calculated risk index 0

But it’s zero also when temperature raise to 20C and humidity is higher than 75% .

Thanks.

Error in logs when temp / humidity are unavailable

Although is handling well unavailailbility of entities attached to it, since last version of HA, logs are getting filled with logs (below), reason states are reported as unknown which is not valid type (string) while the expectation is for a numeric / None,
I change the code locally and it solve that issue, but essentially, need to use whatever reported from the mold risk calculator even if it is None, HA will translate it to unknown by itself.

06/10/2023 2:20:12 PM
During handling of the above exception, another exception occurred:
06/10/2023 2:20:12 PM
06/10/2023 2:20:12 PM
Traceback (most recent call last):
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 581, in state
06/10/2023 2:20:12 PM
    numerical_value = int(value)
06/10/2023 2:20:12 PM
                      ^^^^^^^^^^
06/10/2023 2:20:12 PM
ValueError: invalid literal for int() with base 10: 'unknown'
06/10/2023 2:20:12 PM
06/10/2023 2:20:12 PM
The above exception was the direct cause of the following exception:
06/10/2023 2:20:12 PM
06/10/2023 2:20:12 PM
Traceback (most recent call last):
06/10/2023 2:20:12 PM
  File "/usr/local/lib/python3.11/logging/handlers.py", line 1498, in emit
06/10/2023 2:20:12 PM
    self.enqueue(self.prepare(record))
06/10/2023 2:20:12 PM
                 ^^^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/util/logging.py", line 44, in prepare
06/10/2023 2:20:12 PM
    record = super().prepare(record)
06/10/2023 2:20:12 PM
             ^^^^^^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/local/lib/python3.11/logging/handlers.py", line 1480, in prepare
06/10/2023 2:20:12 PM
    msg = self.format(record)
06/10/2023 2:20:12 PM
          ^^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/local/lib/python3.11/logging/__init__.py", line 953, in format
06/10/2023 2:20:12 PM
    return fmt.format(record)
06/10/2023 2:20:12 PM
           ^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/local/lib/python3.11/logging/__init__.py", line 687, in format
06/10/2023 2:20:12 PM
    record.message = record.getMessage()
06/10/2023 2:20:12 PM
                     ^^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/local/lib/python3.11/logging/__init__.py", line 377, in getMessage
06/10/2023 2:20:12 PM
    msg = msg % self.args
06/10/2023 2:20:12 PM
          ~~~~^~~~~~~~~~~
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/core.py", line 253, in __repr__
06/10/2023 2:20:12 PM
    return f"<Job {self.name} {self.job_type} {self.target}>"
06/10/2023 2:20:12 PM
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 677, in __repr__
06/10/2023 2:20:12 PM
    return super().__repr__()
06/10/2023 2:20:12 PM
           ^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in __repr__
06/10/2023 2:20:12 PM
    return f"<entity {self.entity_id}={self._stringify_state(self.available)}>"
06/10/2023 2:20:12 PM
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 596, in _stringify_state
06/10/2023 2:20:12 PM
    if (state := self.state) is None:
06/10/2023 2:20:12 PM
                 ^^^^^^^^^^
06/10/2023 2:20:12 PM
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 585, in state
06/10/2023 2:20:12 PM
    raise ValueError(
06/10/2023 2:20:12 PM
ValueError: Sensor sensor.roni_s_room_mold_risk_index_risk_index has device class 'None', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unknown' (<class 'str'>)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.