Description
Describe the bug
MQTT not responding as expected to a 'get' with no payload (request to publish value immediately).
The device samples and reports the energy meter data at a very low frequency. When I change the energy usage, like turning on a light, it can take quite a while before it decides to publish an updated value.
I want to increase the update frequency of some values, so my plan is to poll them at the desired rate, however it doesn't respond as expected...
Firmware:
- Version 1.17.464
- Chip/model: BK7231N
- Device: relay + energy meter
- Relay on channel 0 + BL0942
To Reproduce
Steps to reproduce the behavior:
PUBLISH device/0/get
with no payload and device responds device/0/get = true
as expected; it reports channel 0 correctly.
PUBLISH device/voltage/get
with no payload and device responds device/0/get = true
, which is incorrect!
I didn't request channel 0
, I requested the voltage
value, but it responds with channel 0
instead for some reason.
Log:
Info: MQTT - Sent PUBLISH to obk125DAED5: 1, obk125DAED5/voltage/get = (qos: 0)
Info: MQTT - Received PUBLISH from obk125DAED5: 6, obk125DAED5/0/get = 0 (qos: 2)
Info: MQTT - Sent PUBREC to obk125DAED5: 6
Info: MQTT - Received PUBREL from obk125DAED5: 6
Info: MQTT - Sent PUBCOMP to obk125DAED5: 6