Open convicte opened 3 years ago
I wonder if updating the supported protocols from the original repo for the rtl-433 would resolve the issue. I’ve noticed there’s about 20 new devices in the list and that they do update/correct issues from existing protocols.
It could be. That should get update the next version that gets push. But I suspect we need it defined in the rtf_433_mqtt_hass.py file, and I am not sure what the config would be. I suspect its getting added to MQTT but the auto discovery is ignoring it.
ok, yep, looks like the rtf_433 team has been working on the 7n1.
Let me make some quick changes.
Ok, added a definition for the light_klx sensor. Update the add-on and see if the Lux sensor shows up. Sorry, I dont have a way to test.
So we will test in production.
Hi, thank you so very much for looking into it:
A few comments: 1) Your changes added the klx sensor just fine! The issue is the solar radiation reported by the device is given in Watts/m2 as opposed to light intensity given in Lux. Furthermore, the reported value of 25 does not seem to relate to the watt/m2 directly 2) Furthermore, the 25 klux, which I assume would be 25.000 lux or 25lux (if we ignore the K), has an over 1-3 order of magnitude mismatch against another lux sensor I have in the garden. The other sensors The klux sensor readout
3) While addind the 7-in-1 sensor, I cannot get the old 6-in-1 sensor entities removed. Even though it's not listed in the add-on for pooling, nor did it update for hours, since I disabled it, it still cannot be deleted from HA.
I did restart HA and the add-on twice since, also change the MQTT retain to false, to make sure the last state is not rebroadcasted to HA, but this didn't help:
Any additional help will be greatly appreciated.
Hmm.. Based on this (https://github.com/merbanan/rtl_433/issues/1492#issuecomment-693456112) it made it sound like the value was in klux from the sensor so I assumed the weather display is converting that to watts/m2 which looks like its just lux multiplied by .0079, so I left it as is. But we could update the definition to do the conversion.
I'm more worried that it appears that lux sensor doesn't align with your other one, although 25000 * .0079 is close to your reported watts/m2 in the screen shot so maybe its right in terms of converting to watts/m2.
And you know, I recently ran into that phantom entity issue too where the button to delete an entity was greyed out recently.
I was able to delete the whole device which Took care of it using delete from the device page:
Which may work, and the others that should be there should rebuild. But you may have to remove the MQTT topic as well to get it to re-add to HA which I am not sure you can do from inside HA. Still a noob on this auto discovery stuff.
I'll have to see if there is a better way than that.
Thank you for the response, and my apologies for the long delay in getting back to you.
I've created a small test dashboard and honestly there doesn't seem to be much correlation at all. At least one should be able to calculate the Solar Radiation (which I see on the station's display and the Wunderground portal) from the sensor klux, but it's not the case.
Thous on this would be greatly appreciated. Thanks!!
P.S. I was able to delete the ghost entities the way you described - thank you!
All but the abovementioned metric are pulled into HA without any issues.
https://www.bresser.de/en/Weather-Time/BRESSER-WIFI-ClearView-Weather-Center-with-7-in-1-Sensor.html