Replies: 2 comments 3 replies
-
Hi and thanks for your sharing this component. My understanding of your component is that it allows to make an esp32 become part of a AwoX mesh network, and to discover all AwoX registered devices so as to advertise them to ha MQTT. In this context, I don't see why there is a device_info section. I have another question:
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answer.
For information I've tried with an ESP32S3 to flash both components, my
Climate and your Mesh, and it works well.
I had to filter the MAC addresses of my 4 ATC Xiaomi Thermometers because
they were causing a nullPointer somewhere in a Ble lib.
I have few remarks:
- the entity names in homeassistant are based on the first discovered name
which results in something like this "unknown_device_type"
- You can have a look at my esphome mitsubishi integration as I saw you
want to make your sensors available through homeassistant API. You don't
have to, you can use the ESPHome integration which is the same at the end.
I did that for my climate component and for "extra components" named
stage_sensor, compressor_frequency_sensor...
But I'm surprised because you did it too for the main mesh component.
In my project, for example, adding a "stage_sensor:" inside the climate
component builds a new sensor available in the ESPHome integration.
Another way is to register your sensors with :
```
this->iSee_sensor = new binary_sensor::BinarySensor();
this->iSee_sensor->set_name("iSee sensor");
this->iSee_sensor->publish_initial_state(false);
App.register_binary_sensor(this->iSee_sensor);
```
https://github.com/echavet/MitsubishiCN105ESPHome/blob/main/components/cn105/climate.py
Thanks again
Le lun. 11 mars 2024 à 21:02, Frans Saris ***@***.***> a
écrit :
… Will update the readme and getting started with more info about the
product id
—
Reply to this email directly, view it on GitHub
<#71 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYTHBDHAFOMA42UMHHHLG3YXYEW5AVCNFSM6AAAAABDOI3F4CVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONJRGEYDM>
.
You are receiving this because you commented.Message ID:
<fsaris/EspHome-AwoX-BLE-mesh-hub/repo-discussions/71/comments/8751106@
github.com>
--
Eric
|
Beta Was this translation helpful? Give feedback.
-
First get familiar with the basics of ESPHome https://esphome.io/guides/getting_started_hassio.html
to ensure (when possible start with framework
esp-idf
then you can skip step 3.):Enable logging and validate you can see the logs when the device is running (details about logging see https://esphome.io/components/logger)
logger:
to your example yaml from step 1Switch framework from
arduino
toesp-idf
framework:
type:
value in the yaml fromarduino
toesp-idf
Setup and test the mqtt connection
api:
from your test yaml from step 1 by the mqtt config see https://esphome.io/components/mqtt.htmlCheck if you can also see the logging now you switched to MQTT
Now the build/install process and connections are working you can move on to adding the AwoX component
captive_portal:
external_components:
and all below from the example yaml to your yaml https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub/blob/main/awox-ble-mesh-hub.yamlNext update the
awox_mesh:
device_info:
in your yaml. https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub/tree/main#devicesBeta Was this translation helpful? Give feedback.
All reactions