home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.48k stars 29.42k forks source link

RFXtrx Sensor not showing all sensors #5131

Closed frelev closed 7 years ago

frelev commented 7 years ago

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.36-DEV

Python release (python3 --version):

Component/platform: rfxtrx sensor

Description of problem: Maverick BBQ Thermometer not visible in HASS. It is using protocol Hideki and visible in RFXMngr

Expected: Food/BBQ temperatures shown as sensors, preferably battery level too

Problem-relevant configuration.yaml entries and steps to reproduce:

   platform: rfxtrx
   automatic_add: True

log:

17-01-01 18:29:52 homeassistant.loader: Loaded sensor.rfxtrx from homeassistant.components.sensor.rfxtrx
17-01-01 18:29:53 homeassistant.components.sensor: Setting up sensor.rfxtrx

Traceback (if applicable):

Additional info:

frelev commented 7 years ago

@Danielhiversen I think you have good insight in this?

Danielhiversen commented 7 years ago

Is it working with other rfxtrx sensors?

frelev commented 7 years ago

@Danielhiversen Unfortunately this is the only sensor I have that is supposed to work with rfxcom, the main reason I´ve started the move from Tellstick. But I think I read in the community other people having issues with rfxcom sensors.

Update: today when I got home I saw that two sensors has been added to HASS: 0820011b9c930c0460 Sensor 082001309e910c0460 Sensor

Probably not my units but I guess these are RFXCom sensors but the value is "Motion"?

Danielhiversen commented 7 years ago

Your config should be like this:

rfxtrx:
  device: PATH_TO_DEVICE

sensor:
  platform: rfxtrx
  automatic_add: True

If you are sure your setup is correctly, then your sensor is probably not supported by the library we are using. Then you have to add support for it here: https://github.com/Danielhiversen/pyRFXtrx

Probably not my units but I guess these are RFXCom sensors but the value is "Motion"?

What do you mean by that?

frelev commented 7 years ago

Hi @Danielhiversen My config looks like that yes. Ok, how can I help to add support for Hideki protocol? I´m not a developer. I also got a couple of Rising Sun switches (Lightning4) that are not working.

NEXA switches are fine though.

EDIT: sorry, missed your question. Since I only got this Maverick that is suppose to work with rfxcom and these two sensors appear I guess it can be from some neighbor?

I´m not sure but reading the conf the Maverick should appear as 1 sensor but with 2 values? (Food, Grill)

frelev commented 7 years ago

Running your receive.py I can see that I receive some codes: Recv: 0x0a 0x4e 0x01 0x06 0xfc 0xd8 0x00 0x13 0x00 0x13 0x79

Is it possible to see what unit that is sending these?

Danielhiversen commented 7 years ago

Then it seems that we currently do not support your sensor. Then someone have to add support for it to the rfxtrx library.

frelev commented 7 years ago

@Danielhiversen with the rfxtrx library you mean your repository? https://github.com/Danielhiversen/pyRFXtrx

Should I add a request in our community?

I can see that both OpenHab and Domoticz have support so hopefully HASS can support it too https://github.com/openhab/openhab/wiki/RFXCOM-Binding http://www.domoticz.com/wiki/Hardware

Danielhiversen commented 7 years ago

Yes, my library.

frelev commented 7 years ago

OK! Would it be possible for you to do it? If it can make it easier I can check how much it will cost to send the thermometer to Norway.