UlrichMai / MaiPureSpaController

IoT Controller for Intxx PxxxSPA
MIT License
13 stars 12 forks source link

ESP can read values but writing doesn't work #13

Open QBANIN opened 11 months ago

QBANIN commented 11 months ago

Hi, I've tried to implement your project and everything seems to work (wifi, mqtt, reading values from jacuzzi) but sending buttons events doesn't, no reaction on the jacuzzi panel. The only difference between schematics and my work is that R1 resistor in my case has 977 Ohm (1k 5%). Does it matter?

UlrichMai commented 11 months ago

The resistor value is ok. Are you sure, that your esp8266 is running at 160MHz? This most likely the reason. If it is not running at full speed it misses the time frame to send the key press.

Which implementation are you using? https://github.com/UlrichMai/MaiPureSpaController is not very stable, and I am not using it anymore. Did you consider using https://github.com/UlrichMai/diyscip/tree/support-homekit ? I ported the code to esphome, because I use homeassistant since 2 years now.

QBANIN commented 11 months ago

The resistor value is ok. Are you sure, that your esp8266 is running at 160MHz? This most likely the reason. If it is not running at full speed it misses the time frame to send the key press.

Which implementation are you using? https://github.com/UlrichMai/MaiPureSpaController is not very stable, and I am not using it anymore. Did you consider using https://github.com/UlrichMai/diyscip/tree/support-homekit ? I ported the code to esphome, because I use homeassistant since 2 years now.

I'm using this implementation https://github.com/UlrichMai/MaiPureSpaController flashed over Wemos D1 Mini (not sure what's the cpu speed (?) ) Will the https://github.com/UlrichMai/diyscip/tree/support-homekit solve my issue or there's something else to check?

EDIT: Ok, found the option inside Arduino IDE. It's runnin @ 160MHz

EDIT2: It works now after re-selecting 160MHz option and reflashing.

QBANIN commented 11 months ago

BTW. Could you share your ESPhome code?