[SOMFY] Remove unnecessary macro (#1822)
This commit is contained in:
1 parent
7f9f042f7c
commit
25af43bdeb
2 files changed
+4
-5
No files matched your search
@@ -137,10 +137,12 @@ Optionally it can contain the following property:
|
|||||||
The middle button on physical Somfy RTS Remote controls is called "My".
|
The middle button on physical Somfy RTS Remote controls is called "My".
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
The frequency key is optional, if not set the gateway will use the default frequency defined by MQTTtoRF command at runtime or `RF_FREQUENCY` at buildtime.
|
||||||
|
|
||||||
Send PROG command with remote 0:
|
Send PROG command with remote 0:
|
||||||
|
|
||||||
`mosquitto_pub -t home/OpenMQTTGateway_Somfy/commands/MQTTtoSomfy -m '{"remote":0,"command":"Prog"}'`
|
`mosquitto_pub -t home/OpenMQTTGateway_Somfy/commands/MQTTtoSomfy -m '{"remote":0,"command":"Prog","frequency":433.92}'`
|
||||||
|
|
||||||
Send Up command with remote 1:
|
Send Up command with remote 1:
|
||||||
|
|
||||||
`mosquitto_pub -t home/OpenMQTTGateway_Somfy/commands/MQTTtoSomfy -m '{"remote":1,"command":"Up"}'`
|
`mosquitto_pub -t home/OpenMQTTGateway_Somfy/commands/MQTTtoSomfy -m '{"remote":1,"command":"Up","frequency":433.92}'`
|
||||||
@@ -39,7 +39,4 @@ const uint32_t somfyRemotes[SOMFY_REMOTE_NUM] = {0x5184c8};
|
|||||||
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
|
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
|
||||||
#define subjectMQTTtoSomfy "/commands/MQTTtoSomfy"
|
#define subjectMQTTtoSomfy "/commands/MQTTtoSomfy"
|
||||||
|
|
||||||
/*-------------------INTERNAL DEFINITIONS----------------------*/
|
|
||||||
#define RF_FREQUENCY_SOMFY 433.42
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user