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

1841 posts

Uber Geek


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

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
3421 posts

Uber Geek


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

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




peejayw

1841 posts

Uber Geek


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

Yes I am.

 

 





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


elpenguino
3421 posts

Uber Geek


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

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

1841 posts

Uber Geek


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

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
3421 posts

Uber Geek


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

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

1841 posts

Uber Geek


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

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
3421 posts

Uber Geek


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

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


 
 
 
 

Send money globally for less with Wise - one free transfer up to NZ$900 (affiliate link).
peejayw

1841 posts

Uber Geek


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

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 »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.