1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.63k stars 799 forks source link

ESP32+CC1101 and Somfy keeps selecting wrong frequency #1786

Closed Hoeby closed 9 months ago

Hoeby commented 1 year ago

Runnign OpenGateway V1.6.0

I am using an ESP32 with CC1101 for receiving somfy signals. This needs 433.42mHz frequency. First uploaded from the web. Used these settings on the web.

settig

After the upload en setting wifi, i went to console and noticed the frequency is off.

freqoff

I opened the software in platformIO and compiled with these settings [env:esp32dev-somfy-cc1101] platform = ${com.esp32_platform} board = esp32dev lib_deps = ${com-esp32.lib_deps} ${libraries.somfy_remote} ${libraries.smartrc-cc1101-driver-lib} build_flags = ${com-esp32.build_flags} '-DZactuatorSomfy="Somfy"' '-DZradioCC1101="CC1101"' '-DGateway_Name="OMG_ESP32_Somfy-CC1101"' custom_description = Gateway using Somfy Remote library, need CC1101

After that went back to the UI and checked the frequency. Still it shows 433.92 and not the setup frequency that is showed in file ZactuatorSomfy.ino. I noticed in platformIO that the code is grey-out. I am not a platformIO hero, but if i am correct, when it is grey-out, then it is not used when compilling. Correct?

somfy
github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] commented 9 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.