• 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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switching ceiling fan with pilight-send -p raw
#1
Hi forum !

I am new to pilight but what I have seen so far is really great. I have been playing around with a gpio connected receiver and transmitter and I am able to switch some old intertechno wall plugs I had laying around. Receiving from an intertechno remote also works.

I use pilight 7.0 from http://apt.pilight.org/ on a raspi B2 with raspian 8.0

My goal is to take control of my ceiling fan. The remote has 4 Buttons for the motor
off / low / med / hi and a fifth button "light" that toggles the integrated light fixture.
Inside the remote there is a 4 way dip switch to set a house code which has to be the same as the code that is used in the receiver in the fan.
It looks similar to this [Image: Fan%20remote%20control%20OET-FRC210.jpg]

Unfortunately pilight does not seem to know this type of remote control.

I do not get any output in pilight-receive when I press buttons on the remote. So I tried to capture some raw data with pilight-debug


This is what I get for Button "High"

Code:
pilight-debug
Press and hold one of the buttons on your remote or wait until
another device such as a weather station has send new codes
The debugger will automatically reset itself after one second of
failed leads. It will keep running until you explicitly stop it.
This is done by pressing both the [CTRL] and C buttons on your keyboard.
--[RESULTS]--

time:        Fri Dec 11 17:42:38 2015
hardware:    433gpio
pulse:        2
rawlen:        26
pulselen:    253

Raw code:
253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 253 506 8602
^C

I have tried to send this to the fan with

Code:
pilight-send -p raw --code="253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 506 253 253 506 8602"

but the fan would not switch on.

What are my options now ?

Thanks for any ideas, I am stuck with this project at the moment :-(

Regards,

Roland
 
Reply
  


Messages In This Thread
Switching ceiling fan with pilight-send -p raw - by gadget - 12-11-2015, 06:52 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight Nano USB interface curlymo 228 94,077 07-10-2019, 06:14 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 8,667 03-14-2019, 09:01 PM
Last Post: curlymo
  Issue send actions over Socket API in AdHoc network ggtrts 10 649 03-13-2019, 06:32 AM
Last Post: curlymo
  Send pulsestream via API Phunkafizer 19 903 02-27-2019, 09:54 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 2,657 02-15-2019, 06:22 PM
Last Post: polo
  pilight-debug shows nothing minhdomanh 3 470 10-18-2018, 07:01 AM
Last Post: felfert
  pilight-send and pilight-daemon DieterK 0 505 06-20-2018, 12:44 AM
Last Post: DieterK
  Lights not switched on or off by rules in pilight 8.1.0 rorie 22 2,296 06-12-2018, 03:56 PM
Last Post: curlymo
  check API in pilight 8 stratege-0815 4 1,272 02-11-2018, 09:34 AM
Last Post: stratege-0815
  pilight-receive terminates zackdvd 8 1,508 12-30-2017, 09:07 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)