-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
52 lines (47 loc) · 2.25 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
var bridgeXml = ['<?xml version="1.0" encoding="UTF-8"?>',
'<root xmlns="urn:schemas-upnp-org:device-1-0">',
'<specVersion>',
'<major>1</major>',
'<minor>0</minor>',
'</specVersion>',
'<URLBase>http://192.168.1.128:8082/</URLBase>',
'<device>',
'<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>',
'<friendlyName>Node-Red-Alexa-Bridge (192.168.1.128)</friendlyName>',
'<manufacturer>Royal Philips Electronics</manufacturer>',
'<manufacturerURL>http://www.philips.com</manufacturerURL>',
'<modelDescription>Hue Emulator for Node Red</modelDescription>',
'<modelName>Philips hue bridge 2015</modelName>',
'<modelNumber>BSB002</modelNumber>',
'<modelURL>http://www.meethue.com</modelURL>',
'<serialNumber>12345</serialNumber>',
'<UDN>uuid:88f6698f-2c83-4393-bd03-cd54a9f8595</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>'].join("\n");
exports.bridgeXml = bridgeXml;