User Tools

Site Tools


alecto_ws1700_v6_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

alecto_ws1700_v6_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Alecto WS1700**
  
 +^Feature^Support^
 +|Sending|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}|
 +|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +
 +==== Supported Brands ====
 +^Brand^Protocol^
 +|Alecto WS1700|alecto_ws1700|
 +|iBoutique|iboutique|
 +
 +==== Sender Arguments ====
 +
 +//None//
 +
 +==== Config ====
 +<​code>​
 +"​device":​ {
 + "​weather":​ {
 + "​protocol":​ [ "​alecto_ws1700"​ ],
 + "​id":​ [{
 + "​id":​ 108
 + }],
 + "​temperature":​ 18.90,
 + "​humidity":​ 41.00,
 + "​battery":​ 1
 + }
 +},
 +"​gui":​ {
 + "​weather":​ {
 + "​name":​ "​Weather Station",​
 + "​group":​ [ "​Outside"​ ],
 + "​media":​ [ "​all"​ ]
 + }
 +}
 +</​code>​
 +
 +==== Optional Settings ====
 +
 +Device Settings
 +
 +^Setting^Default^Format^Description^
 +|humidity-offset|0|number|Correct humidity value|
 +|temperature-offset|0|number|Correct temperature value|
 +
 +GUI Settings
 +
 +^Setting^Default^Format^Description^
 +|decimals|2|number|How many decimals should the GUIs display|
 +|show-humidity|1|1 or 0|Don'​t display the humidity value|
 +|show-temperature|1|1 or 0|Don'​t display the temperature value|
 +|show-battery|1|1 or 0|Don'​t display the battery value|
 +
 +==== Comments ====
 +
 +This weather station or just the sensor is available from several (mostly Chinese) suppliers on eBay or Alibaba. Description for device is usually like: "​Digital Wireless Indoor/​Outdoor Weather Station with 3 Remote Sensors"​. The sensor can be identified by the option to choose from 3 different channels.\\
 +\\
 +Please be aware that the ID of a sensor changes after you replace the batteries.
 +
 +{{wiki:​threechanwireless.jpg}}
 +
 +==== Protocol ====
 +
 +The protocol sends 74 pulses like:
 +
 +<​code>​
 +540 1890 540 3780 540 1890 540 3780 540 3780 540 3780 540 3780 540 3780 540 1890 540 1890 540 3780 540 3780 540 3780 540 1890 540 1890 540 1890 540 1890 540 1890 540 1890 540 1890 540 3780 540 3780 540 1890 540 1890 540 4050 540 1890 540 4050 540 4050 540 1890 540 1890 540 4050 540 1890 540 3780 540 1890 540 3780 540 3780 540 9180
 +</​code>​
 +
 +There first 8 pulses are the header and the last 2 pulses are the footer. These are meant to identify the pulses as genuine. We don't it for further processing. The next step is to transform this output into 36 groups of 2 pulses (and thereby dropping the footer pulses). ​
 +
 +<​code>​
 +540 1890 
 +540 3780 
 +540 1890 
 +540 3780 
 +540 3780 
 +540 3780 
 +540 3780 
 +540 3780 
 +540 1890 
 +540 1890 
 +540 3780 
 +540 3780 
 +540 3780 
 +540 1890 
 +540 1890 
 +540 1890 
 +540 1890 
 +540 1890 
 +540 1890 
 +540 1890 
 +540 3780 
 +540 3780 
 +540 1890 
 +540 1890 
 +540 4050 
 +540 1890 
 +540 4050 
 +540 4050 
 +540 1890 
 +540 1890 
 +540 4050 
 +540 1890 
 +540 3780 
 +540 1890 
 +540 3780 
 +540 3780 
 +</​code>​
 +
 +If we now look at carefully at these groups you can distinguish two types of groups:
 +
 +  - ''​540 1890''​
 +  - ''​540 3780''​
 +
 +So the first group is defined by a low 2nd, the second group has a high 2nd pulse. So we take either of these two pulses to define a 0 or a 1. In this case we say a high 2nd pulse means a 1 and a low 2nd pulse means a 0. We then get the following output: ​
 +
 +<​code>​
 +0101111100111000000011001011001010111
 +</​code>​
 +
 +Each (group) of numbers has a specific meaning:
 +  * Header 0 till 4
 +  * ID: 5 till 12
 +  * Battery: 13
 +  * TX mode: 14
 +  * Channel: 15 till 16
 +  * Temperature:​ 19 till 28
 +  * Humidity: 29 till 36
 +
 +<​code>​
 +0101 111100111 0 0 00 000110010110 01010111
 +</​code>​
 +
 +  * The ''​ID''​ is defined as a binary number ​
 +  * The ''​Battery''​ identifies the state of the battery
 +  * The ''​TX mode''​ defines whether the signal was sent automatic or manual ​
 +  * The ''​Channel''​ is defined as a binary number and specifies which channel the sensor uses
 +  * The ''​Temperature''​ is defined as a binary number and represents the temperature
 +  * The ''​Humidity''​ is defined as a binary number and represents the humidity
 +
 +This protocol was created for pilight with the help of this thread:
 +http://​forum.pilight.org/​Thread-Fully-Supported-No-brand-temp-humidity-sensor
alecto_ws1700_v6_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)