01-30-2014, 11:48 PM
I figure out , but no garanty :
pin 2 transmitter and pin 3 one wire
pin 2 transmitter and pin 3 one wire
Idea: PIR wireless motion sensor
|
pi@raspberrypi ~/433onewire $ sudo pilight-debug
Now press and hold one of the buttons on your remote or wait until
another device such as a weather station has send new codes
It is possible that the debugger needs to be restarted when it does
not show anything. This is because it's then following a wrong lead.
--[RESULTS]--
hardware: 433lirc
pulse: 3
rawlen: 104
binlen: 26
pulselen: 587
Raw code:
587 2935 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 587 587 1761 587 19958
Binary code:
00000000000000000000000001
Quote:What is next?
(01-31-2014, 06:43 PM)curlymo Wrote: If it send just 0's then the sensor isn't connected properly.You were right, renewed some wires and now:
Raw code:
588 2940 588 1764 588 588 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 1764 588 588 588 588 588 1764 588 588 588 1764 588 1764 588 588 588 1764 588 588 588 588 588 1764 588 1764 588 588 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 1764 588 588 588 1764 588 588 588 1764 588 588 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 588 588 1764 588 19992
Binary code:
10000001001101000011100001
if(state == 1) {
if(state == 0) {
(01-31-2014, 11:58 PM)curlymo Wrote: 10000001 0 01101000 01110000 1Thanks, that is nice. Is there a way already to get this read by pilight? In a protocol?
Then:
/binary-decimal-hexadecimal-converter.html
10000001 = 129
0 = positive
10110 = 22
1110 = 14
22.14C
Quote:Can you change line #286 from:Sorry, that doesn't do the trick. But now I'm going for a sleep, ciao!
toCode:if(state == 1) {
Code:if(state == 0) {
Possibly Related Threads... | |||||
Thread | Author | Replies | Views | Last Post | |
using serial/uart to connect a CO2 sensor | behrisch | 15 | 7,855 |
10-15-2021, 01:48 AM Last Post: DesmondOrask |
|
![]() |
433mhz wireless sensor for dormer window | milde | 3 | 4,940 |
12-06-2015, 07:18 PM Last Post: pilino1234 |
weatherstation sensor | p4co86 | 37 | 27,733 |
02-15-2015, 07:46 PM Last Post: pilino1234 |
|
TFA-Dostmann T/H-sensor not in pilight-receive | fozed | 0 | 3,454 |
02-10-2015, 12:59 PM Last Post: fozed |
|
wired sensor | Brn | 3 | 4,017 |
11-29-2014, 11:36 AM Last Post: curlymo |
|
Conrad no name wireless switch | keesse | 9 | 9,207 |
09-11-2014, 07:40 AM Last Post: wo_rasp |
|
ELV power consumption sensor | p4co86 | 0 | 3,189 |
07-06-2014, 05:40 PM Last Post: p4co86 |
|
Arduino sensor | jpoilux | 1 | 4,032 |
07-02-2014, 07:21 PM Last Post: curlymo |
|
About RF and Wireless, useful links... | Gregstah | 0 | 2,319 |
02-12-2014, 02:23 PM Last Post: Gregstah |