Closed SanzISE closed 7 months ago
I'm sorry I don't have experience with Postman and can't answer your query. But from your first log, I have a feeling that the data should be error free and the messages are being reported properly. Maybe you need to seek help about Postman inside the ESPHome community.
Don't worry, I talked about Postman as an example, my problem is that I need to know how Home Assistant / ESPHome accesses the data. I understand that it does it through an api, but I need information about the topics to use. For example http://ESP_IP:ESP_PORT/topic1/topic2 etc..
I see what you mean, I don't think the device is connected to ESPHome in a way that you can listen to it. But I would suggest you to get the data listening by additionally configuring the mqtt service, here is the example I found on the web.
mqtt:
broker: '192.168.1.10'
username: 'youruser'
password: 'yourpassword'
switch:
- platform: gpio
name: "Living Room Light"
pin: D1
id: living_room_light
mqtt:
state_topic: "home/living_room/light/state"
command_topic: "home/living_room/light/switch"
It works! I am so gratefull with you!
Hi, I´m trying to use the mmwave Human Detector Sensor kit from Seed Studio without using esphome / home assistant cause I can´t have it for now. I was searching for some information and I discovered the .yaml files, I have configured one and I am able to connect my device to my Wifi network, perform successful pings and read the data logs that the sensor throws.
But, what I really need is to extract that data through other source (In my case, I´m using Postman to send some GET request). Using the following .yaml configuration:
I got this logs in the cmd terminal:
In postman:
GET http://192.168.88.100:6053/api/
Returns in my terminal:
I already tested the following api configuration in the .yaml:
And using that key in postman request Header:
Key: Authorization value: Base64 password
Returns in my terminal:
Do you know how can I extract the sensor data trough an API? Or maybe I´m writing wrong topics in my requests or the problem is in my .yaml file?
Sorry for the time,
Best regards, Sergio.