Closed franciscot closed 11 months ago
This might be the problem I am having (65US). However, deactivating "Disable Cloud" has no effect.
Additionally, not only is status always offline
, but stat.camera
only updates on boot (sometimes)
Here's some info:
2023-10-13 13:25:01: New connection from 123.456.7.8:55061 on port 1883.
2023-10-13 13:25:01: New client connected from 123.456.7.8:55061 as yicam_c (p2, c1, k15, u'mqttuser').
2023-10-13 13:25:02: Client yicam closed its connection.
Maybe nothing but...
online
message is received but immediately afterwards offline
message is received.QOS Value in MQTT settings for birth/will is 1, not 0
On further investigation, I enabled discovery for "MQTT Camera Settings Advertise." This was to see if the camera was properly advertising the correct status. As expected, during boot it broadcasts the correct settings, but the corresponding member does not update (in any amount of time) when for example cmnd.camera.switch_on
is changed.
It appears to be a connection issue with the broker in my case, but this doesn't explain why it goes online
for a split second, nor why the broker is not giving me an authentication error.
Stumped.
This issue has been stale for 30 days - it will be closed within the next 7 days if not updated
I can confirm: In MQTT QoS is always in "0".
This issue has been stale for 30 days - it will be closed within the next 7 days if not updated
Testing with 0.4.1d now it's working the state (online/offline) in mqtt, with or without "disable cloud".
Describe the bug With Disable cloud enabled mqtt's state is always offline. Tested with version 0.40 0.41a & 0.41b
To Reproduce Steps to reproduce the behaviour:
Expected behaviour Disable cloud doesn't affect to status in mqtt. In Home Assistant mqtt the camera is "not available" because is offline.
Set Up Details (please complete the following information):
Additional context mqtt message: yicam/status/offline