-
Notifications
You must be signed in to change notification settings - Fork 1
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
I cannot get it working #5
Comments
I've the same issue, the c1011 is not connected to the esp while booting. |
For me the ESP is not booting if I upload the code. For some reason I can complile, but the ESP seems to not boot. |
Not sure why it wouldn't boot, I think I have mine updated up to 2024.11 without issues, but I'll can check to update it coming weekend to rebuild it from scratch. |
I tried again on an ESP32-C2 and a wemos D1 mini. Both are not booting. Do you see anything in my code that is wrong? |
Just updated to the latest ESPhome and for me it build just successfully, configuration looks good, there are a few minor things that are different when I clean up my (working) configuration and yours displayed, could you check? (Left representing yours, right the working one I have). The captive portal obviously doesn't matter, but maybe the platform type and board should be moved nowadays? |
Thanks for looking into this. I still have the same issue (did all the above suggestions). Do you know if you can boot if the radio is not attached? I wonder if the radio can be an issue, but without the radio attached I also cannot boot up. I does not come online, the upload is successfull, but it will not boot up. |
I'm actually trying to completely rewrite it into an 'external component' spotting that 'custom' components are deprecated - but that nevertheless should 'just work'. I have no clue why it won't boot - I see the same garbage in serial logging on mine on bootup (but I guess that's auto speed sensing doing it's thing) then neatly booting up |
If I use Very_Verose logging, I get the following output:
so after the garbage It still does something. |
not sure if it helps, but if I use an ESP32 C3 board I get a lot of errors:
|
Looks like it's not picking up the 'found libraries' that I'm ingesting - I'm trying to write it more towards the external_component ... problem is I haven't yet found a proper way to change a hardcoded reference to 'D1' (yeah, it's in the config yaml, but changing it doesn't change the actual call yet). Anyway, if you have a D1 mini - with connection to D1, you could give https://github.com/CoMPaTech/esphome_ct/blob/main/components/cc1101/README.md a whirl |
Right - your comment was on a esp32 - that might make more things troublesome with the older code I think - If time allows I'll run it on an m5 or generic esp32 (my s3's and c3's are all in use) - it's one of the oldest projects so still running on an esp8266 here Forgot to mention, but not all works (as included in the readme - only base functionality could work) |
I've just updated the new repo to also consume the set port number from the yaml :) |
I tried the new repo, but I think I do something wrong. It cannot find the fan. See the result from a clean build:
my code now looks like this:
Anything i'm missing? |
I got hung up on that as well yesterday, but blamed it on still tinkering with the repo. But I do see one of my typos ... it's supposed to be
|
I got one step further, but now it still gives some errors during compiling:
|
Good finding, we'd still need two libs in there, i.e.
|
though not sure about ticker, but that's still in mine |
Yes, that did the trick, it does need ticker (without it failed). So now it compiles and uploads successful, but unfortunately it still does not boots up. I use as (chinese) Wemos D1 mini. Tried 3 different ones that do work with other ESPHome projects. So i do not think it's that hardware.
|
I'm using an old one, but apparently both of my. wireless transmitters are out of battery - will swap batteries after the family-shizzle later tonight. It looks like it booted up successfully though? Does the fan become available in HA (or did you not yet add it)? |
ow, and chips ... I need to make a button for you as you won't have this transmitter 'joined' to unit ... my bad, that isn't helpful. I'll recheck tonight to create some buttons. |
Hitting a wall on adding buttons (ie generalising the RF_code shared between fan and buttons) ... will retry sometime tomorrow |
It still got stuck after those first messages. It also stays offline in ESPhome and does not show up in HA, so it looks like it stops during it's boot. no clue why, I'm not a programmer, so difficult to debug other than what I get from the logging itself. |
Just a heads-up ... still not getting better code with a simple button to join (which you would need for setting up the first time). Not sure why it locks up on your side, does it 'auto-reboot' a couple of times or does it just freeze up? |
Thanks for all the effort so far. |
This is what I roughly see - note that even with the latest update of the new repo, it still doesn't listen properly on my side, but at least it should provide you with the buttons -> https://github.com/CoMPaTech/esphome_ct/blob/main/components/cc1101/cc1101.yaml What I see in the logging (first pressing TImer3 -> then just off again):
|
Moved you issue from the old repository to this new one. As custom components are deprecated (but still work) - and some users had issues, I decided to start on making a more proper external component. The current code is 'working' but still less than optimal. |
could you test if the esp boots without the C1011 board attached? it might be that it get stock because my chip is defect? |
If (with latest code) I disconnect the power (vcc) to the board - I still see 'restoring' and the mechanical fan state but nothing else - it seems stuck, it doesn't necessarily crash |
Its working !! |
This code is really what I was looking for. Still had an old project via MySensors, but want to replace all with ESPHome.
I spend almost all weekend, but I cannot get it to work. I created the directory and stored the fancontol.h in the ITHO directrory. I updated the itho.yaml with some miror things like fixed IP, Wifi etc. Than I upload it to the ESP, this all goes well. After a successfull upload the board does not come online any more, so no option for logging. So I have no clue where to start with debugging.
Could this have anything to do with updates from ESPHome itself?
If I do a reset I get this:
[21:26:08]sdd��|�$�|�����l�c|������{�c�#��'o�dog���b�x��l{lsdp�g�����d���c�o�|�����b��no�d��$
����og�l���gs�ۓn�cl��lx�o���{�ܜ������c'�|���b��no��l
����g'�l ���n{���o�#����{��o�#��
����l��8�d���o��l������n�{��n|�d��l
��#����|�s��l�o���o��l���s�l�d����[I][logger:034]: Log initialized [21:26:08][C][safe_mode:079]: There have been 4 suspected unsuccessful boot attempts [21:26:08][I][app:029]: Running through setup()...
I tested with multiple devices, Wemos mini and other ESP's
my code:
The text was updated successfully, but these errors were encountered: