Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Discovery publishes SCMPlus time value, skips the rest such as gas meter consumption. Case sensitive? #169

Open
w2xg opened this issue Nov 2, 2023 · 3 comments
Labels
needs fix upstream Needs a PR filed at merbanan/rtl_433

Comments

@w2xg
Copy link

w2xg commented Nov 2, 2023

The problem

Log from rtl_433

time : 2023-11-02T11:23:23.199319-0400
model : SCMplus id : 78333333
Protocol_ID: 0x1E Endpoint_Type: 0x9C Endpoint_ID: 78333333 Consumption: 6474 Tamper : 0x0A08 crc : 0xCB82 Meter_Type: Gas Integrity : CRC

(gas meter id changed to protect the innocent...)

Log from rtl_433 MQTT Auto Discovery:

INFO:root:Published SCMplus/78333333: time
INFO:root:Skipped SCMplus/78333333: ProtocolID, EndpointType, EndpointID, Consumption, Tamper, PacketCRC, MeterType

Device appearing as expected in hass but only the time, all the other entities are ignored. Consumption, and probably MeterType, are the desired data. Best guess is that it is skipping Consumption because of case?

What addon are you reporting the bug for?

rtl_443

What is the addon version?

0.7.0

What type of MQTT Broker are you using?

Home Assistant Mosquitto MQTT Broker

Addon log messages

No response

Additional information

No response

@deviantintegral deviantintegral added the needs fix upstream Needs a PR filed at merbanan/rtl_433 label Nov 4, 2023
@deviantintegral
Copy link
Collaborator

It looks like there's an issue upstream on this one: merbanan/rtl_433#2207

@catduckgnaf
Copy link

Hey! My auto discovery I don't push issues to upstream,
You can easily fix the issue submit a PR, then use my add-on! easy
https://github.com/catduckgnaf/rtl_433_ha

@IamTheCarl
Copy link

For anyone else who runs into this problem, you can work around it by using the rtl_433 addon without the auto-discovery addon and doing the discovery yourself by hand.

Just add a custom MQTT sensor:

mqtt:
  sensor:
    - name: "Mains Power"
      state_topic: "rtl_433/9b13b3f4-rtl433/devices/SCMplus/xxxxxxxx/Consumption"
      unit_of_measurement: 'kWh'
      force_update: true
      unique_id: "killowatt_hours_sensor"
      device_class: energy
      state_class: total

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs fix upstream Needs a PR filed at merbanan/rtl_433
Projects
None yet
Development

No branches or pull requests

4 participants