CoMPaTech / esphome_c1101

ESPHome approach on ITHO EcoFan control through 868 MHz ESP8266 for https://www.home-assistant.io
24 stars 5 forks source link

Updating speed not working #13

Closed edwardhadders closed 4 months ago

edwardhadders commented 4 months ago

When i change the speed with the original remote this change will not been seen by esphome, i dont know if this is by design or there something going wrong.

CoMPaTech commented 4 months ago

Top of mind quick answer, they obviously need to 'hear' each other (so if you bring the c1101 closer to the remote) and you explicitly need that additional wire from the diagram (and the board supporting it)

edwardhadders commented 4 months ago

Thank you for your quick reaction, i have the remote next to the receiver that should not be the problem. I connected all the wires like the manual said. i only did not connect the GDO0 is this the problem?

CoMPaTech commented 4 months ago

(not trying to be deflective, just tired after a long day) - could you sift through #8 I think it still has some blurry images of my contraption - I just confirmed I still see the 'change of speed' when pressing a wall button but I never got 'which remote' to work. If memory serves correctly (otherwise I'll have a look for you tomorrow) the GD0 is not connected on my side as well and the other GD is connected as that would be the one receiving data on

edwardhadders commented 4 months ago

Hallo Tom ik zie dat je ook uit nederland komt dus dit gaat wat makkelijker, ik gebruik een nodemcu v3 en zag dat in de esphome configuratie stond d1 mini dit heb ik aangepast en nu krijg ik deze fout bij het installeren. kan het hierdoor fout gaan?

Compiling .pioenvs/esp-eh-02/lib67b/ESP8266WiFi/ESP8266WiFiMulti.cpp.o In file included from src/main.cpp:72: src/fancontrol.h: In member function 'virtual void FanRecv::setup()': src/fancontrol.h:41:15: error: 'D1' was not declared in this scope; did you mean 'y1'? 41 | pinMode(D1, INPUT); | ^~ | y1

CoMPaTech commented 4 months ago

Dat is wazig, een NodeMCU3 heeft toch ook een 'label' D1 op de print staan? (De oudere in elk geval wel)

edwardhadders commented 4 months ago

Ja klopt op nodemcu v3 zit gewoon d1 tot d8 poort

CoMPaTech commented 4 months ago

Bijzonder, nog niet eerder tegengekomen, maar ik 'expose' 'm ook niet zoals je bijvoorbeeld vanuit https://forum.dangerousthings.com/t/access-control-with-esphome-home-assistant-and-node-red/13907/15 ziet met die Wiegand component. Maar je zou idd D0 t/m D8 moeten hebben wat ik op ESPhome zelf lees; heb je in de configuratie als board type nodemcuv2 geprobeerd? (Ondanks dat je een v3) hebt? De melding lijkt te impliceren dat hij een board-type gebruikt waarbij de pinnen niet zijn voorgesteld.

edwardhadders commented 4 months ago

sorry voor de late reactie, maar met de aanpassing naar nodemcuv2 lijkt het te werken ik krijg nu keurig de status door. bedankt voor je hulp.

CoMPaTech commented 4 months ago

Super, goed om Te horen