Re: [mh] Help for Alexa Integration - Hue Emulation
Gianni Veloce via misterhouse-users <[email protected]> Sun, 6 Mar 2022 19:49:53 +0000 (UTC)
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dan and Gilles thanks a lot for your responses and willingness to help Still no joy (discovery fails consistently..) But in the meantime i have activated the debug for Alexa (I was stupid as my mh,private.ini had another debug command somewhere below saying debug=0 LoL) so I am attaching herein the print_log output after the failed discovery.Maybe someone may understand more on this case by looking into it. Hopefully :) Regarding the potential firewall block as a reason i think RPIs dont have a firewall activated by default,Not a Unix expert so I have used a couple of commands that in my understanding mean that RPI is listening to ports 1900 and 50000. Right?root@misterhouse:~# sudo netstat -lptu|grep 1900udp 0 0 0.0.0.0:1900 0.0.0.0:* 1574/perlroot@misterhouse:~# sudo netstat -lptu|grep 50000udp 0 0 0.0.0.0:50000 0.0.0.0:* 1574/perl BTW What Alexa model / version are you guys using ?Perhaps my Dot 3rd Gen is behaving in a different way? Hope someone can help me to solve this, as my MH/Unix skills dont help me too much and really want to use my Dot for mh voice control. CheersGV ---------------------------------------------------------------------------------------------------------- On Sun, Mar 6, 2022 at 04:17, Gianni Veloce via misterhouse-users <[email protected]> wrote: hi Misterhouse lovers!! I hope someone can help me againFor the last days I am trying to integrate my new Alexa Echo Dor/Gen3 to MH, but in vain :(.Devices discovery does not work neither from the Alexa Dot nor from the Amazon-Alexa web interface (no devices found)Searched the internet exhaustively and not many articles found for mh a=while some more found for OpenHub but did not help me so far as see quite old. i am using mh version 5.0 with perl 5.28.1 on a brand new Raspberry Pi 4.Both RPI and Alexa Dot are in te same network and Alexa works in genaral responidng to std voice commands etx On my Rpi I have setup the mh.private.ini as described in the guide here for the "Chunked Method"Amazon Echo and Google Home local integration using MH native Hue Emulation · hollie/misterhouse Wiki · GitHuband I have also setup a couple of my lights as Alexa items in the mht file and I see that the mhp generated includes them.. As my mh is running on local port 8080 (user non-root) i used the iptables redirect iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080which seems to work as running http://mhIpAddress/description.xmlbrings me the Hue XML file Also in mh.log I see that the notifier/listener are activatedmh.log: - creating alexaSsdpNotification on udp 50000mh.log: - creating alexaSsdpListen on udp 1900 One strange thing is that although i have set debug in the .ini withdebug = alexa:5 I dont see any debug messages at all in the print.log....and wonder why... Hope I gave a good overview of my case so can someone help? Can you confirm that Alexa integration works currently with MH or is perhaps somehow broken?And if possible provide some examples for INI and MHT entries?Of course any other tips/advices are very welcome! TIA GV ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
print_log_GV.txt
(text/plain, 24.8 KB)
06/03/22 09:12:20 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
ST:ssdp:all
MAN: "ssdp:discover"
MX: 3
06/03/22 09:12:20 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: upnp:rootdevice
USN: uuid:94:3A:91:93:10:00::upnp:rootdevice
06/03/22 09:12:20 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: uuid:2f402f80-da50-11e1-9b23-94:3a:91:93:10:00
USN: uuid:2f402f80-da50-11e1-9b23-001e0694:3A:91:93:10:00
06/03/22 09:12:20 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:2f402f80-da50-11e1-9b23-94:3a:91:93:10:00
06/03/22 09:12:21 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
ST:upnp:rootdevice
MAN: "ssdp:discover"
MX: 3
06/03/22 09:12:21 PM [Alexa] Debug: Port: ( 80 ) URI: ( /description.xml ) Body: ( ) Type: ( GET )
06/03/22 09:12:21 PM [Alexa] Debug: MH Response <?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.9.11:80/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:basic:1</deviceType>
<friendlyName>Amazon-Echo-MH-Bridge (192.168.9.11)</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://misterhouse.sourceforge.net/</manufacturerURL>
<modelDescription>Hue Emulator for Amazon Echo bridge</modelDescription>
<modelName>Philips hue bridge 2012</modelName>
<modelNumber>929000226503</modelNumber>
<modelURL>https://github.com/hollie/misterhouse</modelURL>
<serialNumber>amazon-mh-bridge0</serialNumber>
<UDN>uuid:amazon-mh-bridge0</UDN>
<serviceList>
<service>
<serviceType>(null)</serviceType>
<serviceId>(null)</serviceId>
<controlURL>(null)</controlURL>
<eventSubURL>(null)</eventSubURL>
<SCPDURL>(null)</SCPDURL>
</service>
</serviceList>
<presentationURL>index.html</presentationURL>
<iconList>
<icon>
<mimetype>image/png</mimetype>
<height>48</height>
<width>48</width>
<depth>24</depth>
<url>hue_logo_0.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<height>120</height>
<width>120</width>
<depth>24</depth>
<url>hue_logo_3.png</url>
</icon>
</iconList>
</device>
</root>
06/03/22 09:12:21 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:21 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:21 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:21 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:21 PM [Alexa] Debug: GetChunk - Time ( 1646593941.62447 ) ChunkSize: ( 0 ) Count: ( 0 ) CountHash: ( 0 )
06/03/22 09:12:21 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:21 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:21 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:21 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:21 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:21 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:21 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:21 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:21 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:21 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:21 PM [Alexa] Debug: GetChunk - Time ( 1646593941.96909 ) ChunkSize: ( 0 ) Count: ( 0 ) CountHash: ( 0 )
06/03/22 09:12:21 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:21 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:21 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:21 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:21 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:21 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:24 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
ST:ssdp:all
MAN: "ssdp:discover"
MX: 3
06/03/22 09:12:24 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: upnp:rootdevice
USN: uuid:94:3A:91:93:10:00::upnp:rootdevice
06/03/22 09:12:24 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: uuid:2f402f80-da50-11e1-9b23-94:3a:91:93:10:00
USN: uuid:2f402f80-da50-11e1-9b23-001e0694:3A:91:93:10:00
06/03/22 09:12:24 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:2f402f80-da50-11e1-9b23-94:3a:91:93:10:00
06/03/22 09:12:24 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
ST:upnp:rootdevice
MAN: "ssdp:discover"
MX: 3
06/03/22 09:12:27 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:27 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:27 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:27 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
ST:ssdp:all
MAN: "ssdp:discover"
MX: 3
06/03/22 09:12:27 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: upnp:rootdevice
USN: uuid:94:3A:91:93:10:00::upnp:rootdevice
06/03/22 09:12:27 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: uuid:2f402f80-da50-11e1-9b23-94:3a:91:93:10:00
USN: uuid:2f402f80-da50-11e1-9b23-001e0694:3A:91:93:10:00
06/03/22 09:12:27 PM [Alexa] Debug: SSDP OUT - HTTP/1.1 200 OK
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://192.168.9.11:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE:10:00
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:2f402f80-da50-11e1-9b23-94:3a:91:93:10:00
06/03/22 09:12:27 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
ST:upnp:rootdevice
MAN: "ssdp:discover"
MX: 3
06/03/22 09:12:27 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:27 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:27 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:27 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:27 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:27 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:27 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:32 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:32 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:32 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:32 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:32 PM [Alexa] Debug: GetChunk - Time ( 1646593952.62272 ) ChunkSize: ( 0 ) Count: ( 0 ) CountHash: ( 0 )
06/03/22 09:12:32 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:32 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:32 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:32 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:32 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:32 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:37 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:37 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:37 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:37 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:37 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:37 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:37 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:37 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:37 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:37 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:42 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:42 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:42 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:43 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:43 PM [Alexa] Debug: GetChunk - Time ( 1646593963.27593 ) ChunkSize: ( 0 ) Count: ( 0 ) CountHash: ( 0 )
06/03/22 09:12:43 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:43 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:43 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:43 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:43 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:43 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:44 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST:urn:dial-multiscreen-org:service:dial:1
USER-AGENT: Microsoft Edge/99.0.1150.30 Windows
06/03/22 09:12:45 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST:urn:dial-multiscreen-org:service:dial:1
USER-AGENT: Microsoft Edge/99.0.1150.30 Windows
06/03/22 09:12:47 PM [Alexa] Debug: SSDP IN - HOST:239.255.255.250:1900
MAN: "ssdp:discover"
MX: 1
ST:urn:dial-multiscreen-org:service:dial:1
USER-AGENT: Microsoft Edge/99.0.1150.30 Windows
06/03/22 09:12:48 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:48 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:48 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:48 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:48 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:48 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:48 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:48 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:48 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:48 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:53 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:53 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:53 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:53 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:53 PM [Alexa] Debug: GetChunk - Time ( 1646593973.818 ) ChunkSize: ( 0 ) Count: ( 0 ) CountHash: ( 0 )
06/03/22 09:12:53 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:53 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:53 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:53 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:53 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:53 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}
06/03/22 09:12:58 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api ) Body: ( {"devicetype": "Echo"} ) Type: ( POST )
06/03/22 09:12:58 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 35
Date: Sun, 06 Mar 2022 19:12:58 GMT
[{"success":{"username":"lights"}}]
06/03/22 09:12:59 PM [Alexa] Debug: Port: ( 80 ) URI: ( /api/lights/lights ) Body: ( {"devicetype": "Echo"} ) Type: ( GET )
06/03/22 09:12:59 PM [Alexa] Debug: get_set_state (3 get ) : name: Balcony Light realname: $XB_light sub: set state:
06/03/22 09:12:59 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:59 PM [Alexa] Debug: get_set_state (4 get ) : name: Living Room Light realname: $LR_light sub: set state:
06/03/22 09:12:59 PM [Alexa] Debug: get_state (actual object state: off) - (object type: X10_Appliance) - (determined state: off) - returning - "on":false,"bri":254
06/03/22 09:12:59 PM [Alexa] Debug: MH Response HTTP/1.1 200 OK
Server: MisterHouse
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT
Access-Control-Max-Age: 3600
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
X-Application-Context: application
Content-Type: application/json;charset=UTF-8
Content-Length: 361
Date: Sun, 06 Mar 2022 19:12:59 GMT
{"3":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Balcony Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"},"4":{"state":{"on":false,"bri":254,"reachable":true},"type":"Extended color light","name":"Living Room Light","modelid":"LCT001","manufacturername":"Philips","swversion":"65003148"}}