-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Ahoy Arduino nano Port #478
base: main
Are you sure you want to change the base?
Conversation
thank you for your contribution! Really nice to see that other help to get things fixed and improved. |
Hallo Lukas, |
Hallo Michael, |
@lumapu das klingt nach genau dem was Du schon immer vorhattest. Eine Bibliothek die sowohl auf Arduino nano als auch auf ESP8266 und ESP32 läuft. |
There would be no need for a ssd1306 screen at night. |
I've tested this and it doesn't work at all for me. The "original" code works perfectly fine. |
Hi Flole998, |
I'm running on an Atmega4808 and for some reason it doesn't receive responses for like 99% of the time. I've switched to another project (DtuSim) which works better, so I'd rule out a hardware issue aswell. |
…ost, see config.h
Its good that you receive at least once, something. So your inverter ID matches. |
I think I modified the config.h to poll with a 1 second interval. I'm not really sure if "spamming the whole night" is actually an issue, the power consumption isn't a huge factor according to my tests, it does kinda add interference to WiFi channels but during night they should mostly be idle anyways. |
One sec polling interval is by far too fast. I'll make up to 10 re-transmissions if a fragment is missing and this will take up to 4sec in total. If you send faster the inverter response might never match to the last request. |
Hello Lumapu,
thanks for all your great work! I follow this project now for 2 month and learned a lot. My task was to bring the app to work on an Arduino-nano with Serial output. The main decoding shall be done by FHEM or python from external. So I skipped Wifi and MQTT. Finally its working, but I had to modify the ESP8266 code quite a lot.
Nevertheless I think I found some issues and solutions of the nrf24+ radio handling which would be useful for you as well:
All my changes are in subdir under /nano/ahoyUL. It also works on ESP8266 but via serial-IF only.
best regards
Michael (golfi200)