Skip to content

Error compiling from dev with Web Keypad also Keypad in HA not working anymore #204

@brucehat

Description

@brucehat

Hi,

Firstly thanks for all the work you have put into this integration, I used some others and then switched to this a while back and it's been working flawlessly although I had to swap out to a ESP-32. I have recently run into an issue compiling - I used to fork from you but you were so active that I have just connected directly are you aware of this:

In file included from src/esphome/components/web_keypad/web_server.cpp:1:
src/esphome/components/web_keypad/web_server.h:553:6: error: 'queue' in namespace 'std' does not name a template type
553 | std::queue pushQueue;
| ^~~~~
src/esphome/components/web_keypad/web_server.h:42:1: note: 'std::queue' is defined in header ''; this is probably fixable by adding '#include '
41 | #include
+++ |+#include
42 | #include <freertos/FreeRTOS.h>
In file included from src/esphome/components/web_keypad/list_entities.cpp:6:
src/esphome/components/web_keypad/web_server.h:553:6: error: 'queue' in namespace 'std' does not name a template type
553 | std::queue pushQueue;
| ^~~~~
src/esphome/components/web_keypad/web_server.h:42:1: note: 'std::queue' is defined in header ''; this is probably fixable by adding '#include '
41 | #include
+++ |+#include
42 | #include <freertos/FreeRTOS.h>
*** [.pioenvs/dscalarm/src/esphome/components/web_keypad/list_entities.cpp.o] Error 1
*** [.pioenvs/dscalarm/src/esphome/components/web_keypad/web_server.cpp.o] Error 1
========================== [FAILED] Took 8.81 seconds ==========================

Thanks
Bruce

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions