-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.html
executable file
·44 lines (42 loc) · 3.05 KB
/
config.html
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
<script type="text/javascript">
RED.nodes.registerType("smartlifeair-login", {
category: "config",
color: "#a6bbcf",
defaults: {
email: { required: true },
password: { required: true },
},
label: function () {
return this.email;
},
});
</script>
<script type="text/html" data-template-name="smartlifeair-login">
<div class="form-row">
<p><b>NOTE : </b>Please enter the account details you created in <a href="https://smartlife-air.web.app">https://smartlife-air.web.app</a></p>
<p>Or just create a new one.<b>NOTE: This plugin is only conncted to our US DB, So please choose US on the mobile app registration. Please DO NOT use support email in app store to reach for support. Log issues and support requests on github.</b> </p>
</div>
<div class="form-row">
<label for="node-config-input-email"><i class="icon-tag"></i> Email</label>
<input type="text" id="node-config-input-email">
</div>
<div class="form-row">
<label for="node-config-input-password"><i class="icon-tag"></i> Password</label>
<input type="password" id="node-config-input-password">
</div>
</script>
<script type="text/html" data-help-name="smartlifeair-login">
<p>A simple node that allows you to communicate with devices enrolled to SmartLife Air App.</p>
<br>
<b>How do I get set up?</b>
<p>1. <b>NOTE: This plugin is only conncted to our US DB, So please choose US on the mobile app. Please DO NOT use support email in app store to reach for support. Log issues and support requests on github.</b> Enroll the devices to Smart Life AIR APP <a href="https://www.smartlife.nz/smartlife-air#store-links">Smartlife Air Home Automation Company's App</a>.
But this will work with any tuya or smart life device (If any device not working updated the firmware from app-> device -> update firmware).
</p>
<p>2. Create an account under <a href="https://smartlife-air-plugins.smartlife.nz/"> Smart Life Smart Home linker App</a> and add your SmartLife air credentials.</p>
<p>3. Install NodeRed node and add your <a href="https://smartlife-air-plugins.smartlife.nz/"> Smart Life Smart Home linker App</a> Login credentials.</p>
<p>4. Choose the device, input and output. (Please change a status before you select the device, Backend has to receive at least one update in order to pop up in the list).</p>
<b>More on Country limitation</b>
<p>
There is one limitation on this plugin due to the server location. This node-red plugin only talks to US DB. That’s mean you will have to choose a country that belongs to US region when you sign up to the mobile app. Unfortunately, if you have already created an account you will have to create a new one and enrol devices again.<br>
Countries in the US region Canada, The United States, Peru, Mexico, Argentina, Brazil, Chile, Colombia, Venezuela, Malaysia, Indonesia, Philippines, New Zealand, Thailand, Japan, Korea, Vietnam, Myanmar(Burma), Guatemala, Bolivia, Ecuador, Paraguay, Suriname, Uruguay, Hongkong SAR China, Macao SAR China, Taiwan China, Puerto Rico, Curacao</p>
</script>