• 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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EV1527 based contact and motion sensors
#31
Just make sure it's UTC time.
 
Reply
#32
It depends on the config of your pi, it takes the time in the timezone you configured in your pi.
 
Reply
#33
Then like i said, let it use UTC time. Then you always know what you get. Or use the timezone lookup and conversion tools i use in the sunriseset and datetime protocol. However, it does need a longitude and latitude.
 
Reply
#34
I have bought this CS2262 sensor link and i'm trying to get it to work.

@creamers: how did you adjust the protocol made by meloen? Did the sensor only work when set to 3,3M?

@meloen: how far are you with the protocol development? I would love to help but not that experienced in C.
 
Reply
#35
@pimknops, mine is recognised as the protocol 'pollin' The sensor also work with other settings, but 3,3M works good for me. Haven't used it yet as alarm sensor cause i updated to the latest pilight dev.
Maybe curlymo considers to implement meloens protocol?
 
Reply
#36
Sad 
i want to send command with remote control that buy from electronic shop (4 key A B C D)
433mhz
ev1527
4 key

and receive remote cod from my rx board with similar config
but
i cant decode it
lcd show unusual character like(xXx!||)

ATMEGA16
micro clock 8000000
baud rate 2400
 
Reply
#37
I have a door switch relay ev1527 (only one state). I had the idea to take it up in pilight, but I face an unexpected difficulty. With pilight-receive, I get the following unit:
Code:
"code": {
                "id": 61,
                "unit": 10,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "rev_switch_old",
        "uuid": "0000-00-00-b1-2d1b4e",
        "repeats": 1
If I include this in config.json, and i restart pilight, I get an error:
Code:
[....] Starting : pilight[ May 01 17:40:54:26936] pilight-daemon: ERROR: setting #3 "id" of "achterdeur", invalid

Any ideas?
(the door switch is like here
 
Reply
#38
Without posting your actual config not.
 
Reply
#39
good idea Smile

Code:
"achterdeur": {
                        "name": "achterdeur",
                        "protocol": [ "rev_switch_old" ],
                        "id": [{
                                "id": 61,
                                "unit": 10
                        }],
                        "state": "off"
                }
 
Reply
#40
Can you try changing this line (locally) in libs/protocols/rev_old.c
Code:
options_add(&rev_old_switch->options, 'u', "unit", OPTION_HAS_VALUE, CONFIG_ID, JSON_NUMBER, NULL, "^([0-9]|[1][1-5])$");
to
Code:
options_add(&rev_old_switch->options, 'u', "unit", OPTION_HAS_VALUE, CONFIG_ID, JSON_NUMBER, NULL, "^([0-9]|[1][0-5])$");
And then recompile and reinstall.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Recommondation for contact sensors MorfelPi 0 322 04-07-2019, 12:54 AM
Last Post: MorfelPi
  Charts for temperature sensors? Dergo 3 1,108 01-01-2018, 08:13 PM
Last Post: curlymo
  Motion Sensors... (KAKU, Trust...), what now? haboku 1 876 09-27-2017, 02:26 PM
Last Post: pilino1234
  EV1527 Problem Alex 6 2,484 04-30-2017, 06:25 PM
Last Post: Alex
  first contact JoeC. 7 2,662 08-10-2016, 07:06 PM
Last Post: JoeC.
  How to integrate sensors and actors on a non Rpi system? schorsch 3 1,595 05-06-2016, 05:54 PM
Last Post: Niek
  EV1527 Screen Partovic 2 2,197 12-14-2015, 10:31 PM
Last Post: Partovic
Question 433 Temp/Humi Sensors laubi 6 4,416 10-17-2015, 07:35 PM
Last Post: miguipda
Question Generic Webcam and motion-jpeg mjpeg danieljo 2 2,004 07-17-2015, 02:37 PM
Last Post: danieljo
  Alarm - burglary notice - motion detection IDEA's creamers 8 4,898 10-13-2014, 02:50 PM
Last Post: picasso

Forum Jump:


Browsing: 1 Guest(s)