arjenhiemstra/ithowifi

(WPU) non-CVE incorrectly reading random messages as 31DA

Closed this issue · 1 comments

Describe the bug
WPU / non-CVE reads random messages as 31DA.
This is shown in the status info (with bogus values).

To Reproduce
Steps to reproduce the behaviour:

  1. Wait some random time.
  2. Look at status page, "air quality" and other 31DA content will show up, with bogus values.

Expected behaviour
31DA type content should never be on WPU/non-CVE systems. There is no 31DA reply.

Screenshots
image

Device information

  • Firmware version 37
  • Hardware revision non-cve 1.
  • Type/model number Itho WPU 5G (does not appear on autotemp)

On the WPU i2c bus there are a few devices transmitting a lot of i2c messages.
(Autotemp has no IOT devices on the i2c bus)

When non-CVE module requests an 31DA, it sometimes recieves a random reply from the i2c bus and inteprets this as 31DA reply.
This results in bogus values.

The fix should be easy: Just check for "31DA" in the reply.

fixed with 2dd3d86