Did you not read this?
Not looking for a DIY project, but rather a simple WiFi temp sensor.
I have 2, they work great
- platform: mqtt
name: "HT Dinner Temp"
state_topic: "shellies/shellyht-YOUR_ID_1/sensor/temperature"
unit_of_measurement: '°C'
device_class: temperature
- platform: mqtt
name: "HT Dinner Humidity"
state_topic: "shellies/shellyht-YOUR_ID_1/sensor/humidity"
unit_of_measurement: '%'
device_class: humidity
- platform: mqtt
name: "HT Dinner Battery"
state_topic: "shellies/shellyht-YOUR_ID_1/sensor/battery"
unit_of_measurement: '%'
device_class: battery
- platform: mqtt
name: "HT Dinner Online"
state_topic: "shellies/shellyht-YOUR_ID_1/online"
- platform: mqtt
name: "HT Living Temp"
state_topic: "shellies/shellyht-YOUR_ID_2/sensor/temperature"
unit_of_measurement: '°C'
device_class: temperature
- platform: mqtt
name: "HT Living Humidity"
state_topic: "shellies/shellyht-YOUR_ID_2/sensor/humidity"
unit_of_measurement: '%'
device_class: humidity
- platform: mqtt
name: "HT Living Battery"
state_topic: "shellies/shellyht-YOUR_ID_2/sensor/battery"
unit_of_measurement: '%'
device_class: battery
- platform: mqtt
name: "HT Living Online"
state_topic: "shellies/shellyht-YOUR_ID_2/online"
- platform: mqtt
name: "Shelly Firmware"
state_topic: "shellies/announce"
value_template: "{{ value_json.new_fw }}"
json_attributes:
- fw_ver
- new_fw
- id
- mac
- ip
Looks interesting. Do you know if they could be stuck to the ceiling, or would that interfere with the sensors? Thanks.
Installing on the ceiling will always give a higher temperature than at body level but otherwise it should be ok.
This sounds very interesting!
Did you flash tasmota or does shelly h&t publish mqtt out of the box?
Is it possible to have a temperature sensor inside a cooler and connected to HA so we can receive an alarm in case of high temperature. Could you suggest a device. can be wifi or Zigbee.
Esp8266 with connected temp sensor but wifi into cooler(metal?) May not work.
Hardwired Ethernet connected RasPi with HA with GPIO connected temp sensor
This would be my choice. The ESP could be installed external to the cooler and just run the temp sensor inside. Something like a DS18B20 would work fine. If wanting to install the whole thing in the cooler then perhaps a Wemos D1 mini Pro (with external wifi antenna) would be the way to go for the ESP side of things
Currently using the aqara sensors (zigbee) for this exact purpose. Also, despite documentation to the contrary, you can get the latest to run with home assistant.
Hi @Dale_Atkin
- are you using the Aqara with a hub, or is HA able to talk to them directly via the HomeKit integration?
Not using Home Kit. Talking straight to the hub,
What hub do you use?
I myself have no dedicated hub - except Philips Hue - for all the various manufacturers, but using zigbee2mqtt addon w/ Home-Assistant. See https://www.zigbee2mqtt.io/
Also why not using the Philips Hue motion sensors? They do have an internal temp sensor. Wait for some discounts actions/periods and you can have a nice solution. And it just works is my experience + it can act as a security device. Do things when motion is detected. Etc. etc. So multi-purpose
See my partial screenprint:
and partial e.g. YAML code:
# Philips Hue
- platform: hue_custom
- platform: template
sensors:
## Voortuin
frontyard_temperature:
friendly_name: 'Voortuin'
value_template: '{{state_attr("binary_sensor.voortuin_motion_sensor", "temperature")}}'
unit_of_measurement: °C
frontyard_light_level:
friendly_name: 'Voortuin'
value_template: '{{state_attr("binary_sensor.voortuin_motion_sensor", "lx")}}'
unit_of_measurement: lux
device_class: illuminance
frontyard_battery_status:
friendly_name: 'Voortuin'
value_template: '{{state_attr("binary_sensor.voortuin_motion_sensor", "battery")}}'
unit_of_measurement: "%"
device_class: battery
## Achtertuin
backyard_temperature:
friendly_name: 'Achtertuin'
value_template: '{{state_attr("binary_sensor.achtertuin_motion_sensor", "temperature")}}'
unit_of_measurement: °C
backyard_light_level:
friendly_name: 'Achtertuin'
value_template: '{{state_attr("binary_sensor.achtertuin_motion_sensor", "lx")}}'
unit_of_measurement: lux
device_class: illuminance
backyard_battery_status:
friendly_name: 'Achtertuin'
value_template: '{{state_attr("binary_sensor.achtertuin_motion_sensor", "battery")}}'
unit_of_measurement: "%"
device_class: battery
Or
Slightly DIY, but only minimal. You do save a lot of money in potential. It depends on your long term goals. Get some cheaper Xiaomi Aqara WSDCGQ11LM in combination with various Texas Instruments adapters.
IMHO do not start with: TI CC2531 even with an antenna. Up the game a bit.
A lazy option, If you already have an Ecobee, is to pick up used sensors on eBay for cheap. Mark them as “ignored” in the Ecobee setup and use for Garage, Fridge, etc. I haven’t tried them outside or in the freezer so I don’t know if the temp range is good enough or not, but the one I have in the fridge works fine and the battery is only slightly impacted by being in the cold metal box, lasts about 8-10 months instead of 12-18.