41 lines
1.6 KiB
Text
41 lines
1.6 KiB
Text
|
|
## Helpful links
|
|
- https://docs.circuitpython.org/projects/minimqtt/en/latest/examples.html
|
|
- [how to use settings.toml](https://learn.adafruit.com/circuitpython-octoprint-controller-and-monitor/create-your-settings-toml-file)
|
|
- [adafruit-circuitpython-esp32spi docs](https://docs.circuitpython.org/projects/esp32spi/en/latest/)
|
|
- [pico pinout](https://pico.pinout.xyz/)
|
|
- [home assistant mqtt guide](https://www.home-assistant.io/integrations/mqtt/#testing-your-setup)
|
|
- [home assistant device classes](https://www.home-assistant.io/integrations/sensor/#device-class)
|
|
|
|
## Home assistant debugging
|
|
|
|
homeassistant/sensor/balcony_weather_station/test_bme_280
|
|
homeassistant/sensor/balcony_weather_station/test_bme_280
|
|
{
|
|
"name": "BEM 280 Temperature",
|
|
"device_class": "temperature",
|
|
"unit_of_measurement": "°C",
|
|
"value_template": "{{ value_json.temperature}}",
|
|
"state_topic": "homeassistant/sensor/balcony_weather_station/test_bme_280/state",
|
|
"unique_id": "balcony_weather_station_bme_280_test_temperature",
|
|
"device": {
|
|
"identifiers": "balcony_weather_station_001",
|
|
"name": "Balcony Weather Station"
|
|
}
|
|
}
|
|
|
|
homeassistant/sensor/balcony_weather_station/test_bme_280/state
|
|
{ "temperature": 23.20, "humidity": 50 }
|
|
|
|
{
|
|
"name": "BEM 280 Humidity",
|
|
"device_class": "humidity",
|
|
"unit_of_measurement": "%",
|
|
"value_template": "{{ value_json.humidity}}",
|
|
"state_topic": "homeassistant/sensor/balcony_weather_station/test_bme_280/state",
|
|
"unique_id": "balcony_weather_station_bme_280_test_humidity",
|
|
"device": {
|
|
"identifiers": "balcony_weather_station_001",
|
|
"name": "Balcony Weather Station"
|
|
}
|
|
}
|