Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


peejayw

1839 posts

Uber Geek


#319472 28-Apr-2025 14:44
Send private message quote this post

I have an ESP8266 sending data from a moisture probe, been working fine for some time.
It is now throwing this error........

 

 

 

 

14:36:08

 

[W]

 

[component:170]

 

 

Component api cleared Warning flag

 

 

 

 

14:36:08

 

[W]

 

[api.connection:107]

 

 

: Reading failed: BAD_INDICATOR errno=11

 

 

 

 

14:36:08

 

[W]

 

[component:157]

 

 

Component api set Warning flag: unspecified

 

 

 

 

 

When I checked the yaml file i see this...

 

 

# Enable Home Assistant API

 

api:

 

 

I thought there was a key there before, any idea on where I would find the api key?

 

Thanks.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic
elpenguino
3374 posts

Uber Geek


  #3368302 28-Apr-2025 14:47
Send private message quote this post

Are you using this sensor with ESPHome?





Most of the posters in this thread are just like chimpanzees on MDMA, full of feelings of bonhomie, joy, and optimism. Fred99 8/4/21


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Note that to use Quic Broadband you must be comfortable with configuring your own router.
peejayw

1839 posts

Uber Geek


  #3368303 28-Apr-2025 14:48
Send private message quote this post

Yes I am.

 

 





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


elpenguino
3374 posts

Uber Geek


  #3368306 28-Apr-2025 15:14
Send private message quote this post

You put the api key into each ESPHome device firmware, use the addon to find the editor.

 

 

 

 

# Enable Home Assistant API

 

api:

 

  encryption:

 

    key: "API key goes here"

 

 

 

But you also have to enter the same key so HA knows these messages are from ESPHome...... sorry, can't find where that is controlled right now.

 





Most of the posters in this thread are just like chimpanzees on MDMA, full of feelings of bonhomie, joy, and optimism. Fred99 8/4/21




peejayw

1839 posts

Uber Geek


  #3368308 28-Apr-2025 15:19
Send private message quote this post

In ESP Home, where it says show api key I get "Unable to automatically extract API key. It may not be set. Open the configuration and look for api:."

 

and in the config it just says 

 

 

# Enable Home Assistant API

 

api:

 





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


elpenguino
3374 posts

Uber Geek


  #3368333 28-Apr-2025 16:18
Send private message quote this post

Sorry, I can't for the life of me find the place where this is autogenerated in HA.





Most of the posters in this thread are just like chimpanzees on MDMA, full of feelings of bonhomie, joy, and optimism. Fred99 8/4/21


peejayw

1839 posts

Uber Geek


  #3368335 28-Apr-2025 16:20
Send private message quote this post

No worries, I had another ESP device so I copied the api from that and it worked, guess its not specific to the device.
Thanks for the replies.





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


elpenguino
3374 posts

Uber Geek


  #3368343 28-Apr-2025 16:36
Send private message quote this post

Glad you got there.

 

AFAIK you're right, the API is common to all ESPHome devices. Accordingly, its defined in HA somewhere - but where?!





Most of the posters in this thread are just like chimpanzees on MDMA, full of feelings of bonhomie, joy, and optimism. Fred99 8/4/21




peejayw

1839 posts

Uber Geek


  #3368344 28-Apr-2025 16:38
Send private message quote this post

I am going to keep a copy, until I find where it's stored in HA 😀





 I'm supposed to respect my elders, but it's getting harder and harder for me to find one now.


Create new topic





News and reviews »

Bolt Launches in New Zealand
Posted 11-Jun-2025 00:00


Suunto Run Review
Posted 10-Jun-2025 10:44


Freeview Satellite TV Brings HD Viewing to More New Zealanders
Posted 5-Jun-2025 11:50


HP OmniBook Ultra Flip 14-inch Review
Posted 3-Jun-2025 14:40


Flip Phones Are Back as HMD Reimagines an Iconic Style
Posted 30-May-2025 17:06


Hundreds of School Students Receive Laptops Through Spark Partnership With Quadrent's Green Lease
Posted 30-May-2025 16:57


AI Report Reveals Trust Is Key to Unlocking Its Potential in Aotearoa
Posted 30-May-2025 16:55


Galaxy Tab S10 FE Series Brings Intelligent Experiences to the Forefront with Premium, Versatile Design
Posted 30-May-2025 16:14


New OPPO Watch X2 Launches in New Zealand
Posted 29-May-2025 16:08


Synology Premiers a New Lineup of Advanced Data Management Solutions
Posted 29-May-2025 16:04


Dyson Launches Its Slimmest Vaccum Cleaner PencilVac
Posted 29-May-2025 15:50


OPPO Reno13 Pro 5G Review 
Posted 29-May-2025 15:33


Logitech Introduces New G522 Gaming Headset
Posted 21-May-2025 19:01


LG Announces New Ultragear OLED Range for 2025
Posted 20-May-2025 16:35


Sandisk Raises the Bar With WD_BLACK SN8100 NVME SSD
Posted 20-May-2025 16:29









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







GoodSync is the easiest file sync and backup for Windows and Mac