• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


gs-iwds07 window sensor
#1
Hello,

i bought this window sensors:
http://www.lightinthebox.com/de/gs-iwds0...66217.html

They sends a signal when the window is opened or closed.
I want to use them in pilight.

But I think their is no explicit protocol that works.
I only receive raw-codes like this

Code:
time:           Sat Jan 28 18:54:53 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       411

Raw code:
1233 411 411 1233 1644 411 1233 411 411 1233 1233 411 822 1233 411 1233 411 1233                                      1233 411 1233 411 1233 411 411 1233 411 1233 1233 411 1233 411 411 1233 411 123                                     3 411 1233 411 1233 1233 411 411 1233 1233 411 822 1233 411 13974

and this:


Code:
time:           Sat Jan 28 18:54:48 2017
hardware:       433gpio
pulse:          4
rawlen:         50
pulselen:       414

Raw code:
1242 414 828 828 1242 414 1242 414 414 1242 1242 414 414 1242 414 1242 414 1242                                      1242 414 1242 414 1656 414 828 1242 414 1242 1242 414 1656 414 828 1242 414 1242                                      414 1242 828 828 1242 414 414 1656 828 414 1656 414 414 14076

Is there any possibility too get a protocol for this codes?

Thanks a lot and sorry for my english Wink[/quote]

With pimatic this sensors work: https://forum.pimatic.org/topic/2032/contact04

Is it possible to get them in in pilight?
 
Reply
#2
Yes, it is possible.
Can you test the updated development branch from my github repository:
https://github.com/wo-rasp/pilight.git/
?

Due to the lack of various definitions for the correct bit settings it may report reverse state for opened/closed and the battery status.

Code:
Raw code:
1233 411 411 1233 1644 411 1233 411 411 1233 1233 411 822 1233 411 1233 411 1233 1233 411 1233 411 1233 411 411 1233 411 1233 1233 411 1233 411 411 1233 411 1233 411 1233 411 1233 1233 411 411 1233 1233 411 822 1233 411 13974

{
    "message": {
            "unit": 52781,
            "battery": 1,
            "state": "closed"
    },
    "origin": "receiver",
    "protocol": "GW-iwds07",
    "uuid": "0000-80-3f-5d-22639b",
    "repeats": 1
}
 
Reply
#3
We need a at least three of these devices before we can create a mature protocol for this device.
 
Reply
#4
(01-29-2017, 01:49 AM)wo_rasp Wrote: Yes, it is possible.
Can you test the updated development branch from my github repository:
https://github.com/wo-rasp/pilight.git/
?

How can I install this?

(01-29-2017, 10:08 AM)curlymo Wrote: We need a at least three of these devices before we can create a mature protocol for this device.

I have six of these sensors.
Should I post the raw-codes of all of them?
 
Reply
#5
If you can get me the six raw codes, i can perform all tests required.
What would be good, if you could get at least one pulsetrain with a weak battery ....

You do need to compile the source code.

Follow the instructions in the manual for Manually Compiled Version.
It works well for debian based distributions (e.q. raspbian)

In Step 4 you do need to change the link to git.
Replace the following command:
Code:
root@pilight:~# git clone --depth 5 -b [branch] https://www.github.com/pilight/pilight.git
with
Code:
root@pilight:~# git clone --depth 10 -b development https://www.github.com/wo-rasp/pilight.git
Everything else is the same.
 
Reply
#6
(01-29-2017, 01:49 AM)wo_rasp Wrote: Yes, it is possible.
Can you test the updated development branch from my github repository:
https://github.com/wo-rasp/pilight.git/

I tested it, but it didn't work.

Here are the raw-codes for 3 sensors

sensor 1
open:
Code:
time:           Tue Jan 31 09:49:09 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       410

Raw code:
1230 410 410 1230 1640 410 410 1230 1640 410 1640 410 1640 410 410 1230 1230 410 410 1230 410 1230 410 1230 410 1230 410 1230 1230 410 1230 410 410 1230 410 1230 410 1230 410 1230 1230 410 410 1230 1230 410 410 1230 410 13940
close:
Code:
time:           Tue Jan 31 09:49:18 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       415

Raw code:
1245 415 415 1245 1245 415 415 1245 1245 415 1660 415 1245 415 415 1245 1245 415 415 1245 415 1245 415 1245 415 1245 415 1245 1245 415 1245 415 415 1245 415 1245 415 1245 415 1245 1245 415 1245 415 1245 415 415 1245 415 14110
sensor 2
open:
Code:
time:           Tue Jan 31 09:52:48 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       411

Raw code:
1233 411 411 1233 1233 411 1233 411 822 1233 1233 411 411 1233 411 1233 411 1233 1233 411 1233 411 1233 411 411 1233 411 1233 1233 411 1233 411 411 1233 411 1233 411 1233 411 1233 1233 411 411 1233 1233 411 411 1233 411 13974
close:
Code:
time:           Tue Jan 31 09:53:50 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       413

Raw code:
1239 413 413 1239 1239 413 1239 413 413 1239 1239 413 413 1239 413 1239 413 1239 1239 413 1239 413 1239 413 413 1239 413 1239 1239 413 1239 413 413 1239 413 1239 413 1239 413 1239 1239 413 1239 413 1239 413 413 1239 413 14042
sensor 3
open:
Code:
time:           Tue Jan 31 09:57:24 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       412

Raw code:
1236 412 412 1236 1236 412 1236 412 412 1236 1236 412 412 1236 1236 412 1236 412 1236 412 412 1236 412 1236 412 1236 1236 412 1236 412 1236 412 412 1236 412 1236 412 1236 412 1236 1236 412 412 1236 1236 412 412 1236 412 14008

close:
Code:
time:           Tue Jan 31 09:58:14 2017
hardware:       433gpio
pulse:          3
rawlen:         50
pulselen:       414

Raw code:
1242 414 414 1242 1242 414 1242 414 414 1242 1242 414 414 1656 1242 414 1242 414 1242 414 414 1242 414 1242 414 1242 1242 414 1242 414 1242 414 414 1242 414 1242 414 1242 414 1242 1242 414 1242 414 1242 414 414 1242 414 14076

Isn't it possible to use the informations from the pimatic-forum to build a protocol? https://forum.pimatic.org/topic/2032/contact04
 
Reply
#7
The protocol development is done, and you can get it from my repository.

I do need this information for regression testing and confirmation from you that it is working, before it is accepted by curlymo and added to the main development branch.

You said it is not working, thus i assume that the protocol does not show up in pilight-receive ?
 
Reply
#8
It works! Smile

I tested all my sensors and all work.

But when I open pilight shows closed and when I close it shows opened Wink

And every sensor sends with 2 unit-codes.

So far, thanks a lot. Nice work!
 
Reply
#9
Will be fixed with the next beta release


Gesendet von iPhone mit Tapatalk
 
Reply
#10
(02-01-2017, 09:00 PM)wo_rasp Wrote: Will be fixed with the next beta release

When will it be released?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
Lightbulb [Fully Supported] Kaku Door sensor (AMST-606) geerttttt 53 24,938 10-19-2019, 06:26 PM
Last Post: curlymo
  Digoo / Baldr / Nexus / Rubicson temperature/humidity sensor thielj 4 1,478 09-30-2019, 04:48 PM
Last Post: curlymo
  433MHz PIR sensor from Amazon ha_username 0 139 09-29-2019, 11:44 PM
Last Post: ha_username
  Pearl weatherstation sensor for FWS-686 & FWS-665 chklump 13 4,879 08-12-2018, 05:34 PM
Last Post: fourty2
  TFA 30.3160 Pool Sensor wseifert 4 963 05-30-2018, 09:24 AM
Last Post: wseifert
Lightbulb BH1750 i2c digital illuminance sensor marcm 14 3,787 02-25-2018, 08:40 PM
Last Post: morph027
  GS-IWDS07 Chekov 3 1,355 11-23-2017, 11:12 PM
Last Post: curlymo
  [Fully Supported] LM75 and LM76 temperature sensor horst_dieter 64 25,566 11-19-2017, 08:54 PM
Last Post: edepi
  Air Pollution Data Sensor Alex 0 909 08-07-2017, 06:26 AM
Last Post: Alex
Lightbulb TSL2561 i2c digital illuminance sensor marcm 9 3,180 06-25-2017, 10:36 AM
Last Post: marcm

Forum Jump:


Browsing: 1 Guest(s)