mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 22:02:17 +01:00
chore: name cjkas as the manufacturer in MQTT discovery and SSDP
The MQTT discovery device's manufacturer and SSDP's manufacturer, model URL and manufacturer URL now name this fork, so a click from a UPnP browser lands on this repo. The SSDP device type stays: the Home Assistant integration discovers devices by it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8c7a2dee12
commit
ac7dd4bb98
3 changed files with 5 additions and 4 deletions
|
|
@ -294,9 +294,9 @@ void ESPNetwork::setConnected(conn_types_t connType) {
|
|||
snprintf(sModel, sizeof(sModel), "ESP32-%s", settings.chipModel);
|
||||
SSDP.setModelNumber(0, sModel);
|
||||
}
|
||||
SSDP.setModelURL(0, "https://github.com/rstrouse/ESPSomfy-RTS");
|
||||
SSDP.setManufacturer(0, "rstrouse");
|
||||
SSDP.setManufacturerURL(0, "https://github.com/rstrouse");
|
||||
SSDP.setModelURL(0, "https://github.com/cjkas/ESPSomfy-RTS");
|
||||
SSDP.setManufacturer(0, "cjkas");
|
||||
SSDP.setManufacturerURL(0, "https://github.com/cjkas");
|
||||
SSDP.setURL(0, "/");
|
||||
SSDP.setActive(0, true);
|
||||
resetTaskWdt();
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ void shadeDisco(const shade_disco_t &shade, JsonObject obj, char *topic, size_t
|
|||
JsonObject dobj = obj["device"].to<JsonObject>();
|
||||
dobj["hw_version"] = shade.fwVersion;
|
||||
dobj["name"] = shade.hostname;
|
||||
dobj["mf"] = "rstrouse";
|
||||
dobj["mf"] = "cjkas";
|
||||
JsonArray arrids = dobj["identifiers"].to<JsonArray>();
|
||||
snprintf(topic, len, "mqtt_espsomfyrts_%s", shade.serverId);
|
||||
arrids.add(topic);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue