Closed xxddff closed 6 months ago
@xxddff Could you please try the latest version? https://ptvo.info/download/ptvo-firmware-latest.zip?20231212
@ptvoinfo Thank you for your prompt response and for providing the latest version. I have installed it and so far it is working fine. I will monitor the data for one more day and if there are no issues.
Hello, I would like to express my gratitude for the excellent configurable firmware you have provided. It has been very useful in my projects.
However, I have encountered an issue related to the UartSensor while using the ptvo firmware. I have defined a total of 7 UartSensors, ranging from L2 to L8.
Upon monitoring the data reporting in Home Assistant and Zigbee2Mqtt, I have noticed some irregularities. The sensors seem to be reporting incorrect data continuously. For instance, L3, which is a humidity sensor, is reporting temperature data (which should be reported by L2). Similarly, L4, which is a pressure sensor, is reporting humidity data (which should be reported by L3). This pattern continues for all sensors, except for L2 which seems to be functioning correctly. (Temperature fluctuations are normal)
Upon reviewing the logs from Zigbee2Mqtt, it appears that the reported endpoint might be incorrect. For example,
{"description":"C","presentValue":18.149999618530273}' from endpoint 3 with groupID 0
, this is L2 data, but the reported endpoint is 3, not 2Here are the relevant log entries:
Here is my firmware configuration:
I am using stm32f103c8t6 as the UART sensor and Arduino for programming. Here is the relevant Arduino code:
Set the reporting frequency in the Arduino code to once every 3 seconds. This problem occurs approximately every 20 minutes
I would appreciate any assistance you could provide in resolving this issue. Thank you for your time and consideration.