Closed herrwusel closed 5 years ago
Probably due to runtime memory, please enable debug component to see how much RAM is available.
Please also post what configuration you used for OpenMQTTGateway (interested in codes, so I can find out why it's not detected)
@OttoWinter do those IR and RF code arrays (and other such blobs like images for LCDs) go into DRAM or are they kept in IRAM? I thought I saw that you'd been trying to split more of the strings and other such stuff out with attributes. Not sure if that would help with RAM or not, but perhaps could help with image size on more complicated configs.
@brandond They're stored in the static data section (so runtime memory). Seeing as the codes here are 400 uint32_t * 5 = 8kb the RAM is definitely the limiting factor here.
I guess the raw data codes could also be stored in flash memory directly (a bit like images are stored right now).
For @herrwusel: It looks like your codes contain repeated data. At least the 8000us long pulses indicate that a new transmission is started, can you try removing all data in the raw code after a pulse with length 8000us?
Please also post what configuration you used for OpenMQTTGateway (interested in codes, so I can find out why it's not detected)
I didn't change OpenMQTTGateway at all. Just flashed it to the ESP so I don't know what part you want to see. In mqtt I can see this when using the rf remote:
home/OpenMQTTGateway/433toMQTT/protocol 5
home/OpenMQTTGateway/433toMQTT/bits 24
home/OpenMQTTGateway/433toMQTT/length 513
home/OpenMQTTGateway/433toMQTT 3354476
home/OpenMQTTGateway/commands/MQTTto433 3354476
Probably due to runtime memory, please enable debug component to see how much RAM is available.
I will try this and report back. Right now I got some gosund sp111 and use them.
This has been addressed
Operating environment/Installation (Hass.io/Docker/pip/etc.):
pip install of home assistant
ESP (ESP32/ESP8266/Board/Sonoff):
ESP8266
Affected component:
https://esphomelib.com/esphomeyaml/components/remote_transmitter.html https://esphomelib.com/esphomeyaml/components/remote_receiver.html RF sockets
Description of problem: I wanted to switch from openmqttgateway to esphome. So I started to receive my remote codes. Although I have typical typ a sockets (openmqtt did show according codes) esphome doesn't recognize these in my case - only the raw codes were received. So I started to add remote switches. One switch does work but when I add another one, every time I press the remote control esp seems to reboot or at least hangs. Moreover it is hard to find additional raw codes because I get the message
Message skipped because it was too big to fit in TCP buffer - This is only cosmetic
(pressing the same button on the remote results in a different lenght of raw code each time).Problem-relevant YAML-configuration entries:
Traceback (if applicable):
Additional information: