I have an alarmsystem with 2 PIR-sensor and one alarm bell 433mhz form 1byone and try to integrate the sytem into pimatic. It is possible for me to read the signals from the PIR’s. But i don’t know how i can use this protocol to ring the alarm bell.
The PIR’s protocol i can receive is a unknown protocol:
name: pir4
options id:19636
unit: 43722.
I created a Homeduino RFPirDevice with this protocol and for receiving of this sensors works very well. But now i want to send with this protocol. So i tried to create a RFSwitch device with this pir protocol. But this doesn’t work because for RFSwitch devices only switch protocols are allowed. Have anybody an idea how i can use a pir protocol for sending?
-
[solved]How to ring an 1byone alarm bell with pir protocol?
-
not sure, but maybe with a raw switch device or a homeduinoRFbuttonsdevice
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Thank a lot for your answer. The RFbuttonsdevice doesn’t work. The RFbuttonsdevice also doesn’t accept pir protocol. I’m not sure how to create a raw switch. I don’t have too much experiences in pimatic and in the forum i can’t find something. Can anybody help me in this case. My pimatic message debug shows:
-
Is seams that the proposal with the raw switch is the best waytot send pir protocol. I’ve created this device:
It only works sporadic, but something happens.
My question: if i debug the protocols, it shows me several protocols. How can i know which protocol is the right on? Is this something i only can find out by trying? Have anybody an suggestion what could be the problem if the protocol only works sometimes? The distance between transmitter and alarm is very short. -
what hardware do you use for rf transmission and reception?
check here for more information https://forum.pimatic.org/topic/487/hardware-tip-433-mhz-receiver-for-pimatichow far is the pir away from the receiver? any walls / concrete between?
regarding the multiple protocol options from your debug - well, yes, sometimes it’s try and error, especially if you have a device / brand that is not listed in our supported list.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
I use this Hardware: Geeetech 433Mhz Superheterodyne 3400RF Transmitter and Receiver Link. I know the distance problems by using a cheeper transmiter. It seams that my hardware works well. The distance between transitter and receiver(alram bell) during my tests was only 1 meter. I read and send the signals without using a arduino. I’ve connected the hardware directly to the raspberry. Even the receiving of signals works very very well. 20m between two rooms (2 walls) are no problem. I think my problem have something to do with the protocol.
As i mentioned before: sometime it works and i can ring the alarm bell by sending the pir protocol(also by 20m distance). Most ot the time it will work two times after another, but the third try always fails. Then i have to make a power off/on to the alarm bell and than it will works once again for two times. I think i has something to do with the “switch off” protocol
I think i will test another protocols and go on with try and error … -
Yes, it works!!! I tried the protocol for the rawswitch like this:
Thans a lot for helping… You do an great job with pimatic and your forum… -
thx a lot and great to hear that you found a solution!
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !