• 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
  Bug: double free or corruption in pilight-send blackzombie 12 114 10-07-2019, 08:15 PM
Last Post: blackzombie
  pilight-control modify values coolinx 2 80 09-20-2019, 07:24 PM
Last Post: coolinx
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 133 08-13-2019, 05:43 PM
Last Post: curlymo
  pilight Nano USB interface curlymo 228 97,201 07-10-2019, 06:14 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 9,759 03-14-2019, 09:01 PM
Last Post: curlymo
  Issue send actions over Socket API in AdHoc network ggtrts 10 780 03-13-2019, 06:32 AM
Last Post: curlymo
  Send pulsestream via API Phunkafizer 19 1,049 02-27-2019, 09:54 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 2,912 02-15-2019, 06:22 PM
Last Post: polo
  pilight-debug shows nothing minhdomanh 3 541 10-18-2018, 07:01 AM
Last Post: felfert
  pilight-send and pilight-daemon DieterK 0 562 06-20-2018, 12:44 AM
Last Post: DieterK

Forum Jump:


Browsing: 1 Guest(s)