Closed ghost closed 2 years ago
Can you share your config.yml
?
Of course! This is the config.yml file I have, but I have changed the password and username for obvious reasons:
mqtt:
host: 192.168.1.2
port: 2883
user: "mqtt-username"
password: "mqtt-password"
topic_prefix: home/livingroom/climate
sensor_modules:
- name: dht22_sensor
module: dht22
type: AM2302
pin: 35
sensor_inputs:
- name: temperatur
module: dht22_sensor
interval: 300
digits: 4
type: temperature
- name: luftfuktighet
module: dht22_sensor
interval: 300
digits: 4
type: humidity
Likely related to: https://github.com/flyte/mqtt-io/issues/244
The Python library used by mqtt.io is archived and no longer maintained: https://github.com/adafruit/Adafruit_Python_DHT/
I've opened up PR #16, which should address this issue. Will ship out a release with that fix asap.
@RavenHamster We've shipped v0.1.1 of the add-on. Could you check if that resolves your issue?
@RavenHamster We've shipped v0.1.1 of the add-on. Could you check if that resolves your issue?
The issue is resolved, however I can not pull the sensor data still but because I think the issue is not related to this I decided to open a new issue #17 instead. Thank you so much for the help you provide <3
Problem/Motivation
I was trying to setup this addon and I had made a config.yml file and everything, but when I started the addon after a while it crashed and if I tried to start the addon once more, it would crash on the same spot again.
Expected behavior
The addon would start as expected
Actual behavior
The addon crashes with the following error code:
Steps to reproduce
Start the addon with a fresh install.