Hi David,
here’s the prettyprinted json output of /api/testuser/lights:
{
"1": {
"state": {
"bri": 0,
"ct": 500,
"on": false,
"reachable": true,
"mode": "homeautomation",
"alert": "none"
},
"type": "Color Temperature Light",
"modelid": "LTW001",
"uniqueid": "5d643ec4-256f-4f48-b01f-2f103a115318-1",
"manufacturername": "Philips",
"swversion": "66012040",
"friendsOfHue": true,
"colorGamut": "2200K-6500K",
"hascolor": false,
"name": "Rollladen Esszimmer Terrasse",
"config": {
"archetype": "classicbulb",
"function": "functional",
"direction": "omnidirectional"
},
"capabilities": {
"certified": true,
"streaming": {
"renderer": false,
"proxy": false
},
"control": {}
}
},
"2": {
"state": {
"bri": 0,
"ct": 500,
"on": false,
"reachable": true,
"mode": "homeautomation",
"alert": "none"
},
"type": "Color Temperature Light",
"modelid": "LTW001",
"uniqueid": "5d643ec4-256f-4f48-b01f-2f103a115318-2",
"manufacturername": "Philips",
"swversion": "66012040",
"friendsOfHue": true,
"colorGamut": "2200K-6500K",
"hascolor": false,
"name": "Licht Wohnzimmer",
"config": {
"archetype": "classicbulb",
"function": "functional",
"direction": "omnidirectional"
},
"capabilities": {
"certified": true,
"streaming": {
"renderer": false,
"proxy": false
},
"control": {}
}
},
"3": {
"state": {
"bri": 0,
"ct": 500,
"on": false,
"reachable": true,
"mode": "homeautomation",
"alert": "none"
},
"type": "Color Temperature Light",
"modelid": "LTW001",
"uniqueid": "5d643ec4-256f-4f48-b01f-2f103a115318-3",
"manufacturername": "Philips",
"swversion": "66012040",
"friendsOfHue": true,
"colorGamut": "2200K-6500K",
"hascolor": false,
"name": "Rollladen Wohnzimmer Ost",
"config": {
"archetype": "classicbulb",
"function": "functional",
"direction": "omnidirectional"
},
"capabilities": {
"certified": true,
"streaming": {
"renderer": false,
"proxy": false
},
"control": {}
}
},
"4": {
"state": {
"bri": 0,
"ct": 500,
"on": false,
"reachable": true,
"mode": "homeautomation",
"alert": "none"
},
"type": "Color Temperature Light",
"modelid": "LTW001",
"uniqueid": "5d643ec4-256f-4f48-b01f-2f103a115318-4",
"manufacturername": "Philips",
"swversion": "66012040",
"friendsOfHue": true,
"colorGamut": "2200K-6500K",
"hascolor": false,
"name": "Rollladen Esszimmer S?d",
"config": {
"archetype": "classicbulb",
"function": "functional",
"direction": "omnidirectional"
},
"capabilities": {
"certified": true,
"streaming": {
"renderer": false,
"proxy": false
},
"control": {}
}
},
"5": {
"state": {
"on": true,
"reachable": true,
"mode": "homeautomation",
"alert": "none"
},
"type": "On/Off plug-in unit",
"modelid": "Plug 01",
"uniqueid": "5d643ec4-256f-4f48-b01f-2f103a115318-5",
"manufacturername": "OSRAM",
"productname": "On/Off plug",
"swversion": "V1.04.12",
"hascolor": false,
"name": "Rolladenautomatik",
"config": {
"archetype": "classicbulb",
"function": "functional",
"direction": "omnidirectional"
},
"capabilities": {
"certified": false,
"streaming": {
"renderer": false,
"proxy": false
},
"control": {}
}
},
"6": {
"state": {
"bri": 0,
"ct": 500,
"on": false,
"reachable": true,
"mode": "homeautomation",
"alert": "none"
},
"type": "Color Temperature Light",
"modelid": "LTW001",
"uniqueid": "5d643ec4-256f-4f48-b01f-2f103a115318-6",
"manufacturername": "Philips",
"swversion": "66012040",
"friendsOfHue": true,
"colorGamut": "2200K-6500K",
"hascolor": false,
"name": "Rolladen Wohnzimmer Terasse Sued",
"config": {
"archetype": "classicbulb",
"function": "functional",
"direction": "omnidirectional"
},
"capabilities": {
"certified": true,
"streaming": {
"renderer": false,
"proxy": false
},
"control": {}
}
}
After enabling pairing (and echo device discovery fix in case that makes any difference) and opening the url
http://192.168.4.70/api/testuser2/config/whitelist
I see the new user “testuser2” is being added compared to just /api/testuser/config/whitelist:
{
...
"testuser": {
"name": "Formerly authorized device",
"createDate": "2019-01-19T01:08:44.405",
"lastUseDate": "2019-01-26T23:48:54.245"
},
"testuser2": {
"name": "Formerly authorized device",
"createDate": "2019-01-26T23:48:59.473",
"lastUseDate": ""
}
}
After a refresh, also the “lastUseDate” gets a value.
The other users (not shown here) are numerous echo entries (one with a timestamp a few minutes ago, probably from another device discovery attempt I just did) and my smartphone (twice).
Accessing http://192.168.4.70/api/testuser2/lights also shows the six devices. When disabling the Alexa Fix while keeping pairing mode enabled and accessing http://192.168.4.70/api/testuser3/lights I receive a “Not Authorized” JSON message.
All Echos in da house (one Echo and two Echo Dot) run version number 628568520.
For reference, here’s the description.xml from one of the two Tasmota devices. Just deleted them and they were rediscovered via the Alexa website without complaints:
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.4.52:80/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Amazon-Echo-HA-Bridge (192.168.4.52)</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2012</modelName>
<modelNumber>929000226503</modelNumber>
<serialNumber>dc4f2237dcab</serialNumber>
<UDN>uuid:f6543a06-da50-11ba-8d8f-dc4f2237dcab</UDN>
</device>
</root>
You should tidy up your addons.cfg indeed.
Never touched it, everything was done through PaperUI. The weird state of mqtt action add-on probably happened due to OpenHAB version hopping. I enabled legacy plugins now to make MQTT Action Add-On show up (never had it enabled before) and clicked uninstall. Logs look better now.
PS: For reference, these are the discovery messages I see in tcpdump on my OpenHAB VM coming from the Echoes:
Echo
M-SEARCH * HTTP/1.1
Host: 239.255.255.250:1900
Man: "ssdp:discover"
MX: 3
ST: upnp:rootdevice
and
M-SEARCH * HTTP/1.1
Host: 239.255.255.250:1900
Man: "ssdp:discover"
MX: 3
ST: ssdp:all
Echo Dots
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 15
ST: urn:Belkin:device:**
and
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 15
ST: urn:schemas-upnp-org:device:basic:1
Port 1900 is owned by the OpenHAB Java process.