Is it possible to implement support for the the somfy RTS protocol to control my blinds
Looking @ http://wiki.pilight.org/doku.php/somfy this should be possible, right?
Somfy support
Is it possible to implement support for the the somfy RTS protocol to control my blinds
Looking @ http://wiki.pilight.org/doku.php/somfy this should be possible, right?
sounds like a job for @Icesory with RF development rather then a feature request.
it’s a rolling code - guess not easy to implement
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
Any idea if this is implemented yet? Wiki link looks to contain all the information.
@Icesory Could you please have a look at the Pilight Somfy topic and create a plugin for Pimatic
at the moment icesory is “out of office” sorry guys!
maybe another @developer is able to check this topic?
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
Hey,
It would be nice to have RTS protocol, I need it for Somfy too.
Thanks.
ps. I will try to make it work, but for now my Homeduino doesn’t see the code emitting by the RF transmitter - in the debug section of pimatic.
@Kiss-Barna-Albert
No homeduino debug at all?
which pimatic version do you use?
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
@leader21
Tha latest version, and i have all plugins up to date, i get ‘no updates available’.
I have tried again, very close to the receiver, but nothing.
I will try to build an Rf sniffer tomorrow with an arduino, and i hope to see something.
Try the following: change the below settings at your config.json. should be relatively on top of it.
“debug” = “true”,
“loglevel” = “debug”,
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
@leader21
I don’t have yet set, but i have debug info from other 433 devices:
Debug
All
Showing 140 of 67636 Messages
2016-06-11 15:04:28debug [pimatic-homeduino]: data: "ACK 18.2 99.9"
15:04:25debug [pimatic-homeduino]: weather16: { id: 26,
channel: 2,
temperature: -127.9,
humidity: 136,
lowBattery: false }
15:04:25debug [pimatic-homeduino]: weather5: { id: 26, lowBattery: false, avgAirspeed: 7.2 }
15:04:25debug [pimatic-homeduino]: weather1: { id: 134,
channel: 1,
temperature: 21,
humidity: 67,
lowBattery: false }
15:04:25debug [pimatic-homeduino]: received: [ 518, 1923, 3874, 9172 ] 01020102020101010102020102010101010101010202010201010201010201010101020203
15:04:25debug [pimatic-homeduino]: data: "RF receive 518 1923 3874 9172 0 0 0 0 01020102020101010102020102010101010101010202010201010201010201010101020203"
15:04:25debug [pimatic-homeduino]: weather16: { id: 26,
channel: 2,
temperature: -127.9,
humidity: 136,
lowBattery: false
ok, i see! your homeduino is working properly.
icesory told me once that homeduino needs improvement for receiving “special” code.
maybe that somfy protocol is one of that special kind of code …
sorry, i am of no help anymore since this is beyond me …
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
@leader21 Thank you anyway. I solved in other way - i hope just for the moment - i made a rf receiver arduino with relay shield and i send commands from the pimatic box.
I will wait for somfy support in homeduino.
nice to hear that you are having a workaround.
maybe you could tell us more about so other users can participate.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
Ok,
The wiring to the 230V part is not yet made, but the relay are working correctly, remotely. Soon i will come back with confirmation - and the schematics.
i’ll try to describe what i do in this weekend, for my new rolling shader.
I have: Centralis Uno RTS and Telis 1 RTS remote control.
We have 3 wires coming from the shader motor - Null - Up - Down 230V each.
Centralis Uno gives us 180 sec in each direction. - or stops at the ‘my’ button pressed.
I have Arduino Uno + Relay Shield + RWS317(433mhz)
From the pimatic i declared a new device :
{
"id": "halo-redony",
"name": "Halo redony",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 123,
"unit": 2
}
}
]
}
a new button group:
{
"id": "redony-buttons",
"name": "Redony-buttons",
"class": "ButtonsDevice",
"buttons": [
{
"id": "redony-down",
"text": "Redony down"
},
{
"id": "redony-up",
"text": "Redony up"
}
]
}
and new rules for the buttons:
{
"id": "redonydown",
"name": "redonydown",
"rule": "if redony-down button is pressed then turn on halo-redony",
"active": true,
"logging": false
},
{
"id": "redonyup",
"name": "redonyup",
"rule": "if redony-up button is pressed then turn off halo-redony",
"active": true,
"logging": false
}
On the other side:
#include <NewRemoteReceiver.h>
int redonyfel = 4;
int redonyle = 5;
const unsigned long redony_interval = 25;
unsigned long timerfel = 0;
unsigned long timerle = 0;
long previousTime = 0;
long interval = 1000;
int ledState = LOW;
void setup() {
Serial.begin(115200);
NewRemoteReceiver::init(0, 2, showCode);
pinMode(redonyfel, OUTPUT);
pinMode(redonyle, OUTPUT);
}
void loop() {
if (timerfel > 0 and millis() >= timerfel) // check if Inside timer is active and expired
{
digitalWrite(redonyfel,LOW);
Serial.println("Inside timer expired");
Serial.println(timerfel);
timerfel = 0; // remove timer flag
}
if (timerle > 0 and millis() >= timerle) // check if Inside timer is active and expired
{
digitalWrite(redonyle,LOW);
Serial.println("Inside timer expired");
Serial.println(timerle);
timerle = 0;
}
}
void showCode(NewRemoteCode receivedCode) {
Serial.println("Addr ");
Serial.println(receivedCode.address);
if ((receivedCode.address == 123) and (receivedCode.unit == 2 )) {
switch (receivedCode.switchType) {
case NewRemoteCode::off:
Serial.println(" off");
if (timerle > 0) {
break;
}
else {
digitalWrite(redonyfel,HIGH);
timerfel = millis() + 45000; //45 seconds enough
Serial.println(timerfel);
break;
}
case NewRemoteCode::on:
if (timerfel > 0) {
break;
}
else
{
digitalWrite(redonyle,HIGH);
timerle = millis() + 45000;
Serial.println(timerle);
break;
}
}
}
}
I used this :
https://bitbucket.org/fuzzillogic/433mhzforarduino/wiki/Home
Ok, it’s working! Now i made the wiring, and the tests, everything looks good. Hm, not everything, actually the setup beside the original Somfy controller looks UGLY, in my bedroom…
Just as an information:
I also got Somfy for nearly every shutter in my house, it was “build in” from my house manufacturer…
Since i know that there was no support for somfy products i changed everything to intertechno-shutters with the same and build in wiring.
Later i sold everything on ebay and got ~ 45-50 Euro for ONE receiver (used !!) remember, i bought the intertechno shutters for 30 Euro.
Over all, everything works as expected.
Although this is quite a old topic.
Is there any progress in supporting Somfy RTS remotes from within Pimatic ?
@passie said in Somfy support:
Is there any progress in supporting Somfy RTS remotes from within Pimatic ?
Not as far as I know as we’re currently short on developers willing to deep dive into the details of rf-control.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
@hyperx Good idea! It’s ugly anyway. I will get intertechno…
maybe it helps