Bit more troubleshooting today, but still nothing. The reachability test on the api/status help page is now correct for ip4, Responds? yes, Ours? yes.
I switched on debug with log:set debug org.openhab.io.hueemulation
And now I have these logs when I discover.
2021-04-22 11:22:41.502 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET 6ec3ff66-dd37-4b21-8042-5fb8dd1f15c9/lights/59
2021-04-22 11:22:41.504 [DEBUG] [ulation.internal.HueEmulationService] - REST response: {"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-59","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Kitchen Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}}
2021-04-22 11:22:49.269 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET status
2021-04-22 11:22:49.273 [DEBUG] [ulation.internal.HueEmulationService] - REST response: <html><body><h1>Self test</h1><p>To access any links you need be in pairing mode!</p><p>Pairing mode: Off (V2) <a href='http://192.168.1.10:80/api/status/link'>Enable</a> | <a href='http://192.168.1.10:80/api/status/link?V1=true'>Enable with bridge V1 emulation</a></p>11 published lights (see <a href='http://192.168.1.10:80/api/testuser/lights'>http://192.168.1.10:80/api/testuser/lights</a>)<br>275 published sensors (see <a href='http://192.168.1.10:80/api/testuser/sensors'>http://192.168.1.10:80/api/testuser/sensors</a>)<br><h2>UPnP discovery test</h2><p>service not registered</p><table style='border:1px solid black'><tr><td>serial no</td><td>name</td></tr><tr><td>null</td><td>Loft Screen</td></tr>
2021-04-22 11:22:50.344 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET 6ec3ff66-dd37-4b21-8042-5fb8dd1f15c9/lights/62
2021-04-22 11:22:50.346 [DEBUG] [ulation.internal.HueEmulationService] - REST response: {"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-62","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Loft TV","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}}
2021-04-22 11:22:52.278 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET status/link
2021-04-22 11:22:52.280 [DEBUG] [ulation.internal.HueEmulationService] - REST response: null
2021-04-22 11:22:52.292 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET status
2021-04-22 11:22:52.294 [DEBUG] [ulation.internal.HueEmulationService] - REST response: <html><body><h1>Self test</h1><p>To access any links you need be in pairing mode!</p><p>Pairing mode: On (V2) <a href='http://192.168.1.10:80/api/status/link'>Enable</a> | <a href='http://192.168.1.10:80/api/status/link?V1=true'>Enable with bridge V1 emulation</a></p>11 published lights (see <a href='http://192.168.1.10:80/api/testuser/lights'>http://192.168.1.10:80/api/testuser/lights</a>)<br>275 published sensors (see <a href='http://192.168.1.10:80/api/testuser/sensors'>http://192.168.1.10:80/api/testuser/sensors</a>)<br><h2>UPnP discovery test</h2><p>service not registered</p><table style='border:1px solid black'><tr><td>serial no</td><td>name</td></tr><tr><td>null</td><td>Loft Screen</td></tr>
2021-04-22 11:23:02.812 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET a710390b-e2b3-4d0c-a075-66e427d6b96d/lights/59
2021-04-22 11:23:02.815 [DEBUG] [ulation.internal.HueEmulationService] - REST response: {"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-59","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Kitchen Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}}
2021-04-22 11:23:09.985 [DEBUG] [ulation.internal.HueEmulationService] - REST request GET 6014c256-dac3-44f7-87cb-a0bf6488fa2b/lights
2021-04-22 11:23:09.988 [DEBUG] [ulation.internal.HueEmulationService] - REST response: {"12F":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-12F","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Gemma\u0027s Desk Lamp","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"130":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-130","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Gemma\u0027s Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"131":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-131","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Lego Lights","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"24F":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-24F","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Aimee\u0027s Desk Lamp","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"50":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-50","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Bathroom Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"54":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-54","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Loft Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"55":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-55","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Loft Fan","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"57":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-57","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Lounge Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"58":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-58","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Dining Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"59":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-59","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Kitchen Light","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}},"62":{"state":{"on":false,"reachable":true,"mode":"homeautomation","alert":"none"},"type":"On/off light","modelid":"Plug 01","uniqueid":"25:5A:A3:A3:75:33:6B:98-62","manufacturername":"OSRAM","productname":"On/Off plug","swversion":"V1.04.12","hascolor":false,"name":"Loft TV","config":{"archetype":"classicbulb","function":"functional","direction":"omnidirectional"},"capabilities":{"certified":false,"streaming":{"renderer":false,"proxy":false},"control":{}}}}
It will seem that although I get the Not Authorized (mentioned in last post), it is indeed working and returning details from the logs. I have compared Bathroom Light that is discovered and works, with Lego Lights that is not discovered. But can’t see any difference between them. Can anyone see anything obvious? or what to try next.
Stuck! Thanks for looking.