• 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
433 mhz receiver working on Raspberry pi with a hack
#1
I think theres something missing in the pilight builds.
I got this 433 mhz receiver for my rasperry pi and orage pi.

ASK Transmitter STX882
https://www.banggood.com/5sets-433MHz-10...rehouse=CN

It works well using python GPIO but it doesnt with pilight.
This receiver is very good so it would be great to get it working nativly in pilight

Running this python code before starting pilight makes this receiver work

Code:
#!/usr/bin/env python3
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(12, GPIO.IN) # 12 is gpio 18 or 1 for wiringx pilight (just count)

maybe this is only for raspberry pi but maybe you could check the platform before and open the GPIO Pin then.

Thank!
knex
 
Reply
#2
Just to be sure, are you saying it is working for you with python but you are not able to send with pilight? If that is the case I would make sure you have the correct gipo-platform set.


https://manual.pilight.org/configuration...o-platform
 
Reply
#3
(01-21-2018, 11:13 AM)joshovki Wrote: Just to be sure, are you saying it is working for you with python but you are not able to send with pilight? If that is the case I would make sure you have the correct gipo-platform set.


https://manual.pilight.org/configuration...o-platform

thanks.
If I run that python script it starts working on pilight.
I have setup gpio correctly. I will explain what exactly the problem is after I know it exacly.
 
Reply
#4
For debugging purposes, use (lib)wiringX (rewrite branch) directly. That's what drives the GPIO.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight on RPi with latest Arch stopped working Ypsilon 12 4,706 12-17-2017, 12:43 PM
Last Post: tinusv
  AdHoc network with 2 Raspberry and 2 GPIO transmitter not working webdandy 29 6,503 09-06-2017, 02:39 PM
Last Post: wseifert
  pilight-raw working in nightly? Cipher 8 1,703 08-30-2017, 09:35 PM
Last Post: curlymo
  glibc 2.24 / kernel 4.8.x breaks things on raspberry pi? Forumkel 0 803 12-11-2016, 02:25 PM
Last Post: Forumkel
Bug json get request not working, error in documentation Jan 1 1,609 03-25-2016, 04:12 PM
Last Post: Jan
  Cannot move configuration from old to new raspberry koos147 6 2,421 03-07-2016, 08:10 PM
Last Post: curlymo
  pilight WebGui not working after reboot Frank_a 7 4,578 02-04-2016, 09:11 AM
Last Post: wo_rasp
  Manually-Compiled Nightly | Rules not working Alex 18 6,517 08-20-2015, 06:29 AM
Last Post: Alex
  Webserver PHP no longer working Jurre 8 3,677 07-14-2015, 04:35 PM
Last Post: Jurre
  Raspberry Pi 2 darkday 26 14,149 05-07-2015, 11:18 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)