Skip to content

Conversation

@gaxkalik
Copy link

The temperetures for the sensors were unsigned and displayed wrong
Also I found the humidity mask (I have tested all the changes)

- dps_val: 0
invalid: true
- entity: sensor
name: Humidity probe 1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this also apply to other probes?
Is the humidity sensing probe optional? In which case this should be hidden if unavailable?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gateway supports multiple types of devices and not all of them can measure the humidity, so it should be optional. Also, the gateway supports connection up to 8 devices and all of them can have humidity values. The problem is that I can't test the masks for all possible devices as I don't have them but the idea is to shift the mask by 20 characters (add 20 zeros at the end of previous mask).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know the value it puts in the humidity field when the probe does not support humidity? I think this can be used to hide the probes sensors that are not supported by default.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am getting this string (in raw hex format) from the gateway that has no device "ffffffffffffffff0000". So I guess it should be something like "null" but I am not sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

2 participants