[SOMFY] Remove unnecessary macro (#1822)

This commit is contained in:
Florian authored and GitHub committed 2023-12-04 12:20:34 -06:00
1 parent 7f9f042f7c
commit 25af43bdeb
2 files changed
+4 -5

No files matched your search

+4 -2
View File
@@ -137,10 +137,12 @@ Optionally it can contain the following property:
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:
`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:
`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}'`
-3
View File
@@ -39,7 +39,4 @@ const uint32_t somfyRemotes[SOMFY_REMOTE_NUM] = {0x5184c8};
/*-------------DEFINE YOUR MQTT PARAMETERS BELOW----------------*/
#define subjectMQTTtoSomfy "/commands/MQTTtoSomfy"
/*-------------------INTERNAL DEFINITIONS----------------------*/
#define RF_FREQUENCY_SOMFY 433.42
#endif