Hi Willy,
Could you do the same for my Roller? I’ve already tried both scripts but they don’t work yet.
I willl try to post the debug info this evening.
Shutter 2 Protocol
Hi Willy,
Could you do the same for my Roller? I’ve already tried both scripts but they don’t work yet.
I willl try to post the debug info this evening.
Down:
16:18:31.915 [pimatic-homeduino] debug: data: "RF receive 624 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010010101010110101010101010101001101010100101011001010110011002"
16:18:31.927 [pimatic-homeduino] debug: received: [ 208, 624, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101101010101001010101010101010110010101011010100110101001100112
UP:
16:19:10.174 [pimatic-homeduino] debug: data: "RF receive 628 208 5212 0 0 0 0 0 0011001101010010110101010010110010101010110100110100110010110100110101001010101 0110101010101010101010101001100101011010101010011002"
16:19:10.186 [pimatic-homeduino] debug: received: [ 208, 628, 5212 ] 11001100101 01101001010101101001101010101001011001011001101001011001010110101010100101010101 0101010101010110011010100101010101100112
Stop:
16:19:27.801 [pimatic-homeduino] debug: data: "RF receive 624 208 5216 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010010101010110101010101010101010011010100101011010010110011002"
16:19:27.813 [pimatic-homeduino] debug: received: [ 208, 624, 5216 ] 11001100101011010010101011010011010101010010110010110011010010110010101101010101001010101010101010101100101011010100101101001100112
This is the command when I see to all (3) receivers to move.
Hi Willy,
That’s great, thank you!
@Willy nice work you have done yet. Do you want to create some more requested protocols?
pimatic rocks!!!
Hi Willy yes:
Shutter 1 (down):
19:20:26.665 [pimatic-homeduino] debug: data: "RF receive 624 208 5208 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101010100110101010101010101001101010100101011010010101101002"
19:20:26.677 [pimatic-homeduino] debug: received: [ 208, 624, 5208 ] 11001100101011010010101011010011010101010010110010110011010010110010101010101011001010101010101010110010101011010100101101010010112
Shutter 1 (up):
19:20:49.347 [pimatic-homeduino] debug: data: "RF receive 628 204 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101010100110101010101010101010101001100101100101101001101002"
19:20:49.358 [pimatic-homeduino] debug: received: [ 204, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101010101011001010101010101010101010110011010011010010110010112
Shutter 1 (stop)
19:21:02.757 [pimatic-homeduino] debug: data: "RF receive 624 208 5204 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101010100110101010101010101010011010100101100101010101101002"
19:21:02.768 [pimatic-homeduino] debug: received: [ 208, 624, 5204 ] 11001100101011010010101011010011010101010010110010110011010010110010101010101011001010101010101010101100101011010011010101010010112
EDIT: added code tags
Shutter 2 up:
19:21:31.203 [pimatic-homeduino] debug: data: "RF receive 624 208 5208 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101010011010101010101010101010101001100101100101101001100102"
19:21:31.214 [pimatic-homeduino] debug: received: [ 208, 624, 5208 ] 11001100101011010010101011010011010101010010110010110011010010110010101010101100101010101010101010101010110011010011010010110011012
Shutter 2 down:
19:21:54.892 [pimatic-homeduino] debug: data: "RF receive 624 208 5208 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101010011010101010101010101001101010100101011010010101100102"
19:21:54.903 [pimatic-homeduino] debug: received: [ 208, 624, 5208 ] 11001100101011010010101011010011010101010010110010110011010010110010101010101100101010101010101010110010101011010100101101010011012
Shutter 2 stop:
19:22:11.531 [pimatic-homeduino] debug: data: "RF receive 624 208 5212 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101010011010101010101010101010011010100101100101010101100102"
19:22:11.543 [pimatic-homeduino] debug: received: [ 208, 624, 5212 ] 11001100101011010010101011010011010101010010110010110011010010110010101010101100101010101010101010101100101011010011010101010011012
Shutter 3 (down):
19:23:44.878 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101001101010101010101010101001101010100101011010010101010102"
19:23:44.889 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101010110010101010101010101010110010101011010100101101010101012
Shutter 3 (up):
19:24:26.610 [pimatic-homeduino] debug: data: "RF receive 628 208 5208 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101001101010101010101010101010011010011010011010101010101002"
19:24:26.621 [pimatic-homeduino] debug: received: [ 208, 628, 5208 ] 11001100101011010010101011010011010101010010110010110011010010110010101010110010101010101010101010101100101100101100101010101010112
Shutter 3 (stop):
19:24:00.770 [pimatic-homeduino] debug: data: "RF receive 624 208 5212 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010101001101010101010101010101010011010100101100101010101010102"
19:24:00.781 [pimatic-homeduino] debug: received: [ 208, 624, 5212 ] 11001100101011010010101011010011010101010010110010110011010010110010101010110010101010101010101010101100101011010011010101010101012
@bremmie
Hi,
in the description of your remote is a 5 channel remote mentioned.
I need the 4th channel as well even you have only 3 shutters.
Just to verfiy:
the first debug was for all shutters, the others in the right order (channel numbers) for your 3 shutters?
If a second remote is available, these debug datas are also welcome
Hi Willy, You are right. I don’t use the 4th yet and only have one remote .
This is channel 4 down:
22:28:58.470 [pimatic-homeduino] debug: data: "RF receive 632 200 5232 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001101010100101011001101010010102"
22:28:58.481 [pimatic-homeduino] debug: received: [ 200, 632, 5232 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110010101011010100110010101101012
channel 4 up (4 times i also don’t know why?):
22:29:47.244 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010101001100101100101100110010102"
22:29:47.257 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101010110011010011010011001101012
22:29:47.267 [pimatic-homeduino] debug: data: "RF receive 636 200 116 5244 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010201010101010101010101001100101100101100110010103"
22:29:47.277 [pimatic-homeduino] debug: received: [ 116, 200, 636, 5244 ] 22112211212122121121212122121122121212121121221121221122121121221121212122112121212021212121212121212121221122121122121122112212123
Channel 4 stop
22:30:34.081 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010011010100101011010101010010102"
22:30:34.092 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101100101011010100101010101101012
When i press the buttons longer the outcome is different:
UP:
22:37:52.445 [pimatic-homeduino] debug: received: [ 208, 628, 5220 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101010110011010011010011001101012
22:37:53.594 [pimatic-homeduino] debug: data: "RF receive 628 208 5236 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010101001100101100101100110010102"
22:37:53.605 [pimatic-homeduino] debug: received: [ 208, 628, 5236 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101010110011010011010011001101012
22:37:55.662 [pimatic-homeduino] debug: data: "RF receive 628 208 5220 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010101001100101100101100110010102"
22:37:55.675 [pimatic-homeduino] debug: received: [ 208, 628, 5220 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101010110011010011010011001101012
22:37:56.842 [pimatic-homeduino] debug: data: "RF receive 628 208 5220 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010101001100101100101100110010102"
Down:
22:38:55.652 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110010101011010100110010101101012
22:38:56.767 [pimatic-homeduino] debug: data: "RF receive 628 208 5236 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001101010100101011001101010010102"
22:38:56.778 [pimatic-homeduino] debug: received: [ 208, 628, 5236 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110010101011010100110010101101012
22:38:59.438 [pimatic-homeduino] debug: data: "RF receive 628 208 5220 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001101010100101011001101010010102"
22:38:59.450 [pimatic-homeduino] debug: received: [ 208, 628, 5220 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110010101011010100110010101101012
22:39:01.884 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001101010100101011001101010010102"
22:39:01.895 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110010101011010100110010101101012
**
Stop **
22:39:31.605 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101100101011010100101010101101012
22:39:33.372 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010011010100101011010101010010102"
22:39:33.384 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101100101011010100101010101101012
22:39:34.277 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010011010100101011010101010010102"
22:39:34.289 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101100101011010100101010101101012
22:39:35.207 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010011010100101011010101010010102"
22:39:35.218 [pimatic-homeduino] debug: received: [ 208, 628, 5224 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010101100101011010100101010101101012
22:39:36.067 [pimatic-homeduino] debug: data: "RF receive 628 208 5224 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101010011010100101011010101010010102"
Up again (channel 4):
22:42:44.517 [pimatic-homeduino] debug: received: [ 204, 628, 5236 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:44.702 [pimatic-homeduino] debug: data: "RF receive 628 208 5228 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:44.713 [pimatic-homeduino] debug: received: [ 208, 628, 5228 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:44.894 [pimatic-homeduino] debug: data: "RF receive 628 204 5232 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:44.905 [pimatic-homeduino] debug: received: [ 204, 628, 5232 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:45.091 [pimatic-homeduino] debug: data: "RF receive 628 204 5228 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:45.103 [pimatic-homeduino] debug: received: [ 204, 628, 5228 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:45.288 [pimatic-homeduino] debug: data: "RF receive 628 204 5236 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:45.298 [pimatic-homeduino] debug: received: [ 204, 628, 5236 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:45.484 [pimatic-homeduino] debug: data: "RF receive 628 204 5228 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:45.495 [pimatic-homeduino] debug: received: [ 204, 628, 5228 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:45.681 [pimatic-homeduino] debug: data: "RF receive 628 204 5236 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:45.692 [pimatic-homeduino] debug: received: [ 204, 628, 5236 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:45.874 [pimatic-homeduino] debug: data: "RF receive 628 204 5228 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:45.884 [pimatic-homeduino] debug: received: [ 204, 628, 5228 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
22:42:46.070 [pimatic-homeduino] debug: data: "RF receive 628 208 5236 0 0 0 0 0 00110011010100101101010100101100101010101101001101001100101101001101010100110101010101010101010101001100110011001011001011001100102"
22:42:46.081 [pimatic-homeduino] debug: received: [ 208, 628, 5236 ] 11001100101011010010101011010011010101010010110010110011010010110010101011001010101010101010101010110011001100110100110100110011012
@bremmie
test this:
controller.js
shutter2.js
The ID is binary due to the length of the ID. If we get more of these remotes the ID part should be clearer.
So be warned that there could be some changes in the future.
Hi Willy,
Thank you! Will give it a try
Receiving the roller works fine , only issue is the ID, see log below:
Receiving:
07:59:00.485 [pimatic-homeduino] debug: received: [ 208, 628, 5216 ] 11001100101011010010101011010011010101010010110010110011010010110010101101010101001010101010101010101010110011010100101010101100112
07:59:00.523 [pimatic-homeduino] debug: shutter2: { id: '10100011000011011111001001011001000',
07:59:00.523 [pimatic-homeduino] debug:> unit: 5,
07:59:00.523 [pimatic-homeduino] debug:> command: 'up' }
Sending:
08:00:19.963 [pimatic-homeduino] debug: Sending Protocol: shutter2 id: 1.0100011000011011e+34 unit: 5 command: up all: false Pin: 4 Repeats: 7
08:00:20.231 [pimatic-homeduino] debug: data: "ACK"
@bremmie
Hi,
devided the id in two parts. Now the ids are smaller and can be handled by homeduino and future changes shouldn’t affect the protocol.
“Unit 5” is for “all”. The other units are the channel numbers.
Changed protocol: shutter2.js
Use it this way:
{
"id": "rolladen",
"name": "Rolladen",
"class": "HomeduinoRFButtonsDevice",
"buttons": [
{
"id": "roll1",
"text": "Rauf",
"protocols": [
{
"name": "shutter2",
"options": {
"id": 166967,
"id2": 103112,
"unit": 5,
"command": "up"
}
}
]
},
{
"id": "roll2",
"text": "Stop",
"protocols": [
{
"name": "shutter2",
"options": {
"id": 166967,
"id2": 103112,
"unit": 5,
"command": "stop"
}
}
]
},
{
"id": "roll3",
"text": "Runter",
"protocols": [
{
"name": "shutter2",
"options": {
"id": 166967,
"id2": 103112,
"unit": 5,
"command": "down"
}
}
]
}
]
}
@Willy
i’m no coder but i remember that @icesory faced similar problems with long raw codes.
homeduino can only work with 64 digits as far as i remember (and i hope i am correct with this).
@icesory correct me if i’m wrong!! but isn’t there a possibility to “combine” both id’s to one id number?
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
If @Icesory has a solution for this, I would like to implement it.
In some protocols I have ignored a part of the id and use only 32bit.
And Willi please add a extra message part called “all” and when this is set to true set the unit to 5 and vise versa. When Homeduino receives a unit 5 only emit “id”, “state”, and “all=true”
pimatic rocks!!!
Sending looks ok now but it doesn’t work. I don’t have other equipment so I can’t check if my transmitter is the issue or the code below. Will buy a second transmitter and a power switch tomorrow.
17:36:24.099 [pimatic-homeduino] debug: Sending Protocol: shutter2 id: 166967 id2: 103112 unit: 2 command: up all: false Pin: 4 Repeats: 7