-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Range extender clients list #17048
Range extender clients list #17048
Conversation
command output looks like this:
|
@sfromis mentioned the output format is not friendly to tasmota rules processing. |
I'd say that the need for having the enhancement as a separate build-time option to be selected may not be that great, as I'm not expecting RGX to be to be added to "busy" builds where space is very tight. If people want the RGX feature, let them have the new command included too. About the JSON format.... This format would be more like existing JSON payloads, with a consistent pattern for using them in rules and other places: The A shorter format could be this, but less flexible in case of wanting to add other fields, like RSSI or hostname, to the payload: But again, I'm not trying to suggest a "need" for the more general format, more like pointing it out for consistency. |
Thanks,
|
@sillyfrog as author of the orig code, can you have a look? |
Let me have a look. I agree with @sfromis to have it included anyway. |
@joba-1 pls make the suggested changes (JSON like you suggested, no define needed, just include it). |
ok |
When it comes to Rgx/Mac, or uppercase, as I do now see that existing usages have mixed case, it would indeed be most consistent to match how it is written elsewhere. |
sample results
|
ci errors don't look like caused by my code. |
result with RSSI looks like this: {"RgxClients":{"4c:eb:d6:77:f7:60":{"IPAddress":"192.168.4.2","RSSI":-84},"ac:5f:3e:50:65:bb":{"IPAddress":"192.168.4.4","RSSI":-53}}} |
hope it's good to go now... |
Looks very good. A final suggestion, the zigbee crew are using their "mac" address without the colon like
Although colon is a valid JSON name character I think this is a better approach with regards to Tasmota rule processing too. If you agree, pls make this last change (in uppercase too) and I'll merge ;-) |
This is looking great, I'll continue to keep an eye on the progress, however it looks well in hand! :) |
|
Description:
Related issue (if applicable): addresses #16047
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass