Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All sensors are unavailable #30

Open
mindtripper opened this issue Apr 6, 2021 · 3 comments
Open

All sensors are unavailable #30

mindtripper opened this issue Apr 6, 2021 · 3 comments
Labels
wontfix This will not be worked on.

Comments

@mindtripper
Copy link

Hi,

Great compoment! And It has been working well for quite some time, but I've been struggling with this component for a couple of days now. Using the latest version (0.8.2) data (except humidity) is shown when I restart HA or reload the component, but after 30+ seconds all sensors become "unavailable"
Humidity is completely gone.

Anyone else having similar issues?

This is what the HA debug log states:

2021-04-06 16:21:57 INFO (MainThread) [custom_components.jq300] 
-------------------------------------------------------------------
JQ-300/200/100 Indoor Air Quality Meter
Version: 0.8.2
This is a custom integration!
If you have ANY issues with this you need to open an issue here:
https://github.com/Limych/ha-jq300/issues
-------------------------------------------------------------------

2021-04-06 16:21:57 WARNING (MainThread) [homeassistant.loader] You are using a custom integration airthings_wave which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-04-06 16:21:57 DEBUG (MainThread) [custom_components.jq300] Connecting to account *****************
2021-04-06 16:21:57 DEBUG (SyncWorker_0) [custom_components.jq300.api] Connecting to cloud server
2021-04-06 16:21:57 DEBUG (SyncWorker_0) [custom_components.jq300.api] Requesting URL http://www.youpinyuntai.com:32086/ypyt-api/api/app/loginByEmail
2021-04-06 16:21:58 DEBUG (SyncWorker_0) [custom_components.jq300.api] _query ret 200
2021-04-06 16:21:58 DEBUG (SyncWorker_0) [custom_components.jq300.api] Start connecting to cloud MQTT-server
2021-04-06 16:21:58 DEBUG (SyncWorker_0) [custom_components.jq300.api] Updating devices list for account *****************
2021-04-06 16:21:58 DEBUG (SyncWorker_0) [custom_components.jq300.api] Requesting URL http://www.youpinyuntai.com:32086/ypyt-api/api/app/deviceManager
2021-04-06 16:21:58 DEBUG (Thread-4) [custom_components.jq300.api] Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'*****************'
2021-04-06 16:21:59 DEBUG (Thread-4) [custom_components.jq300.api] Received CONNACK (0, 0)
2021-04-06 16:21:59 DEBUG (Thread-4) [custom_components.jq300.api] Connected to MQTT
2021-04-06 16:21:59 DEBUG (Thread-4) [custom_components.jq300.api] Updating devices list for account *****************
2021-04-06 16:21:59 DEBUG (Thread-4) [custom_components.jq300.api] Requesting URL http://www.youpinyuntai.com:32086/ypyt-api/api/app/deviceManager
2021-04-06 16:21:59 DEBUG (Thread-4) [custom_components.jq300.api] _query ret 200
2021-04-06 16:21:59 DEBUG (Thread-4) [custom_components.jq300.api] Sending SUBSCRIBE (d0, m1) []
2021-04-06 16:21:59 DEBUG (SyncWorker_0) [custom_components.jq300.api] _query ret 200
2021-04-06 16:21:59 DEBUG (MainThread) [custom_components.jq300.binary_sensor] Setup binary sensors for account *****************
2021-04-06 16:21:59 DEBUG (MainThread) [custom_components.jq300.sensor] Setup sensors for account *****************
2021-04-06 16:21:59 DEBUG (MainThread) [custom_components.jq300.sensor] Sensors list is not ready. Wait for 3 sec...
2021-04-06 16:21:59 DEBUG (SyncWorker_5) [custom_components.jq300.api] Updating sensors state for account *****************
2021-04-06 16:21:59 DEBUG (SyncWorker_5) [custom_components.jq300.api] Requesting URL https://www.youpinyuntai.com:31447/device/list
2021-04-06 16:22:01 DEBUG (SyncWorker_5) [custom_components.jq300.api] _query ret 200
2021-04-06 16:22:01 DEBUG (SyncWorker_5) [custom_components.jq300.api] Requesting URL https://www.youpinyuntai.com:31447/device/list
2021-04-06 16:22:01 DEBUG (Thread-4) [custom_components.jq300.api] Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b'*****************'
2021-04-06 16:22:01 DEBUG (Thread-4) [custom_components.jq300.api] Received CONNACK (0, 0)
2021-04-06 16:22:01 DEBUG (Thread-4) [custom_components.jq300.api] Connected to MQTT
2021-04-06 16:22:01 DEBUG (Thread-4) [custom_components.jq300.api] Sending SUBSCRIBE (d0, m2) [(b'*****************', 0), (b'*****************', 0)]
2021-04-06 16:22:01 DEBUG (SyncWorker_5) [custom_components.jq300.api] _query ret 200
2021-04-06 16:22:01 DEBUG (MainThread) [custom_components.jq300.api] Finished fetching ******************* device's sensors in 1.470 seconds
2021-04-06 16:22:01 DEBUG (MainThread) [custom_components.jq300.binary_sensor] Initialize binary_sensor.jqsensor01_air_quality_alert
2021-04-06 16:22:01 DEBUG (MainThread) [custom_components.jq300.binary_sensor] Initialize binary_sensor.jqsensor02_air_quality_alert
2021-04-06 16:22:01 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27438) AND True (timeout) = True
2021-04-06 16:22:01 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27128) AND True (timeout) = True
2021-04-06 16:22:01 DEBUG (Thread-4) [custom_components.jq300.api] Received SUBACK
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor01_internal_temperature
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor01_pm25
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor01_hcho
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor01_tvoc
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor01_eco2
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor02_internal_temperature
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor02_pm25
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor02_hcho
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor02_tvoc
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.sensor] Initialize sensor.jqsensor02_eco2
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27438) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27438) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27438) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27438) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27438) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27128) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27128) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27128) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27128) AND True (timeout) = True
2021-04-06 16:22:02 DEBUG (MainThread) [custom_components.jq300.api] Availability: True (account) AND True (device 27128) AND True (timeout) = True
........
@mindtripper mindtripper added the bug Something isn't working. label Apr 6, 2021
@Limych
Copy link
Owner

Limych commented Apr 6, 2021

It's a bug in cloud, not in component. I can't fix it, sorry.

Detailed description here: https://community.home-assistant.io/t/jq-300-200-100-indoor-air-quality-meter/189098/79

I will not close this issue yet, simply because other users will probably encounter a similar problem in the near future. So that they do not produce new issues...

@Limych Limych added wontfix This will not be worked on. and removed bug Something isn't working. labels Apr 6, 2021
@Limych Limych changed the title Humidity not shown and all other sensors are unavailable All sensors are unavailable Apr 6, 2021
@Johnssj3
Copy link

Unavailable sensors

Im having the exact same issue, to bad that it cant be fixed this makes it useless.

@grinco
Copy link
Contributor

grinco commented Jun 8, 2022

Even if it's a cloud issue, can you display last value instead of "unavailable"? I'm having the same issue, and it's intermittent. A few weeks it might work stable, then again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on.
Projects
None yet
Development

No branches or pull requests

4 participants