Displaying supported sensors in README.md #439
Replies: 4 comments 18 replies
-
Yes, I totally understand the struggle you have with the table, I have the exact same thing and the same thoughts have crossed my mind how to make it better. the table, of course, has a history, it started small with a few sensors, which was readable. But now it has grown till what it is now. one possibility is grouping per advertisement format, so make a different table for qingping, xiaomi MiBeacon, govee, etc. another possibility that crossed my mind is splitting up the entire readme, with an individual page for
the introduction could have a short list with only the supported sensor types with a link to the second page. each page should have a link to the other pages. An additional idea is to create a different landing page for hacs, that refers to the pages on github. My experience is that the links in Hacs never work, as the are relative links. This would also have the advantage of not having to update the same things twice. For hacs we use the info.md page, which is basically a copy of the README.md with slightly changed links for pictures, to make them work. Personally, I have the best feeling with the second option, multiple pages |
Beta Was this translation helpful? Give feedback.
-
Sure, that would be more than welcome. You still combine it with the first option, on the sensor page, you can still split up in sensors per advertisement format or something like that. Just to let you know, I’m currently working on writing unittests. I might ask you to send me some advertisements for govee sensors, to write the tests, but I will first create the basic setup. |
Beta Was this translation helpful? Give feedback.
-
@Thrilleratplay I'm not sure if it is possible, but as you might have seen, I have created a pypi package ( |
Beta Was this translation helpful? Give feedback.
-
@Ernst79 I enabled github pages mainly to ensure that the Jekyll config settings worked correctly for this repo. https://custom-components.github.io/ble_monitor/ I had difficulty getting the relative path of the image assets correct. As I was typing this, I also remembered using I am not sure how much information to be left in README.md and info.md, I'll leave that up to you. I will also add a page for ble_parser to begin incorporating that information. @Magalex2x14 If you have the time, can you also review https://custom-components.github.io/ble_monitor/ to ensure there is no misinformation or missing information? |
Beta Was this translation helpful? Give feedback.
-
When adding the Govee devices to README.md, I found adding the line " Govee devices only send data with the option active_scan set to True, so make sure you change this setting, as the default is False" to every device was redundant. What started off as a change to add a column to the Supported Sensors table turned into an attempt to "simplify" the table.
This did not turn out as well as I hoped. An attempt to group like devices by shared functionality became confusing as there are enough differences (example: does an alarm clock that transmits temperature and humidity go under Thermometers/Hydrometers?). Additionally many devices are manufactured under different brands with and without variations so grouping by brand cannot be done. Instead it was left as one table, but close to finishing but see a table that is more complicated than when I started.
Perhaps I am over thinking it and am solving a problem that does not exist. If it is an issue, the only thing I can think of is to leave a list of sensors in the README with a link to specific device details in another markdown file. This however may lead to information being missed.
Thoughts? Concerns? Ridicule?
Beta Was this translation helpful? Give feedback.
All reactions