timothybrown / BSEC-Conduit

A first class Systemd process which acts as a conduit between between BSEC Library and MQTT.
MIT License
13 stars 11 forks source link

IAQ always 0 #2

Open m4dm4xi opened 5 years ago

m4dm4xi commented 5 years ago

Hello Timothy,

I´ve been running your BSEC Conduit for quite a while now and it´s working stable.

However, the IAQ returned by it to home assistant is always 0.0

Have you had this problem as well? What could be the issue?

sudo systemctl start bsec-conduit.service; journalctl -f -u b sec-conduit.service -- Logs begin at Thu 2016-11-03 18:16:42 CET. -- Dez 28 14:25:54 RaspPi-Ni-2 systemd[1]: Starting BSEC-Conduit Daemon... Dez 28 14:25:54 RaspPi-Ni-2 BSEC-Conduit[12418]: BSEC-Conduit v0.3.4 Dez 28 14:25:54 RaspPi-Ni-2 BSEC-Conduit[12418]: Generated MQTT Client ID: BME68 0-9D57DF51 Dez 28 14:25:54 RaspPi-Ni-2 BSEC-Conduit[12418]: Generated MQTT Base Topic: Rasp Pi-Ni-2/BME680 Dez 28 14:25:55 RaspPi-Ni-2 BSEC-Conduit[12418]: Connected to MQTT Broker. Dez 28 14:25:56 RaspPi-Ni-2 BSEC-Conduit[12418]: Found existing BSEC-Library exe cutable, skipping build. Dez 28 14:25:56 RaspPi-Ni-2 BSEC-Conduit[12418]: Using existing BSEC-Library con figuration [generic_33v_3s_4d]. Dez 28 14:25:56 RaspPi-Ni-2 BSEC-Conduit[12418]: Found existing BSEC-Library sta te file, skipping creation. Dez 28 14:25:56 RaspPi-Ni-2 BSEC-Conduit[12418]: BSEC-Library started. Dez 28 14:25:56 RaspPi-Ni-2 systemd[1]: Started BSEC-Conduit Daemon.

image

Thank you for your work! Max

azrael783 commented 5 years ago

I have nearly the same issue. Reported at the home assistant community, but didn't get a reply so far :-(

alfatag commented 5 years ago

I had the same issue and solved it by following the procedure posted on HA forum:

The next thing I’d try is resetting bsec-library: Go into /opt/bsec (or wherever you installed the program) and run sudo systemctl stop bsec-library; sudo rm bsec-library*; sudo systemctl start bsec-conduit. This will delete the bsec-library binary, config and state files. (Fresh ones will be created once bsec-conduit starts back up.)

Be advised that the above procedure will erase the BSEC data stored so far and start a new one, so all the stabilizing routines will be executed again.

Best regards!

Renato Troitino

azrael783 commented 5 years ago

I tried it @alfatag but it doesn't change anything. I still get a watchdog errror message. I don't know but maybe my BME is broken ...

m4dm4xi commented 5 years ago

I had the same issue and solved it by following the procedure posted on HA forum:

The next thing I’d try is resetting bsec-library: Go into /opt/bsec (or wherever you installed the program) and run sudo systemctl stop bsec-library; sudo rm bsec-library*; sudo systemctl start bsec-conduit. This will delete the bsec-library binary, config and state files. (Fresh ones will be created once bsec-conduit starts back up.)

Be advised that the above procedure will erase the BSEC data stored so far and start a new one, so all the stabilizing routines will be executed again.

Best regards!

Renato Troitino

This solved the problem for me. I´ve had a valid IAQ for 12 days now. Thank you!