alqassam
Expert Member
- Joined
- Aug 11, 2014
- Messages
- 4,112
Ds1820b is pretty much the universal sensor. Im using a shelly as the interface as it was already controlling the pool pumpMay I ask what thermostat you are using?
Ds1820b is pretty much the universal sensor. Im using a shelly as the interface as it was already controlling the pool pumpMay I ask what thermostat you are using?
I thought so. I have one as well hooked up to a pi in my weather station. I have often wondered if and how far you can extend it with a lan cable.I'm using the DS18B20 from Micro Robotics (It's cheap at R25 + VAT), with a D1 Mini. The D1 is managing 4 separate temp sensors from 1 GPIO pin.
Temperature Sensor - DS18S20 - Micro Robotics
Temperature Sensor, DS18B20, Sensor, Temperaturewww.robotics.org.za
My longest run is about 35 metres. I have read that the resistor should be placed close to the furthest temp sensor, to minimise interference.I thought so. I have one as well hooked up to a pi in my weather station. I have often wondered if and how far you can extend it with a lan cable.
Great stuff, thanksMy longest run is about 35 metres. I have read that the resistor should be placed close to the furthest temp sensor, to minimise interference.
Just want to give an update on my energy usage, based on the https://github.com/klaasnicolaas/home-assistant-glow that I made in late August. After the 1st full month of usage here is the results:
View attachment 1168882
According to the municipality I used 947units(kwh) for the period of 1 September till the 29 September. My usage for the 30th mine meter reading has 29.67kwh usage for the day.
Which I would say is pretty much accurate using a "hack" to measure energy usage.
I've been meaning to do the same in over a year, everything still sitting in the draw.Just want to give an update on my energy usage, based on the https://github.com/klaasnicolaas/home-assistant-glow that I made in late August. After the 1st full month of usage here is the results:
View attachment 1168882
According to the municipality I used 947units(kwh) for the period of 1 September till the 29 September. My usage for the 30th mine meter reading has 29.67kwh usage for the day.
Which I would say is pretty much accurate using a "hack" to measure energy usage.
Damn that's pretty high usage
I've been meaning to do the same in over a year, everything still sitting in the draw.
Currently using an Efergy Engage - and got it within 99% accuracy by fiddling with the voltage on their web portal.
Pics of which IO you used.Did another thing!
Connected a sonoff sv to my D5s gate status IO and now I know when my gate isn't closed. Have an automation that sends me a couple of screenshots when the gate is opened.
View attachment 1170164
I'm trying to get my google home devices to announce it but having done google tts before, so need to figure that out still.
Did another thing!
Connected a sonoff sv to my D5s gate status IO and now I know when my gate isn't closed. Have an automation that sends me a couple of screenshots when the gate is opened.
View attachment 1170164
I'm trying to get my google home devices to announce it but having done google tts before, so need to figure that out still.
Did another thing!
Connected a sonoff sv to my D5s gate status IO and now I know when my gate isn't closed. Have an automation that sends me a couple of screenshots when the gate is opened.
View attachment 1170164
I'm trying to get my google home devices to announce it but having done google tts before, so need to figure that out still.
action:
- service: media_player.turn_on
entity_id: media_player.bedroom_speaker
- service: media_player.volume_set
entity_id: media_player.bedroom_speaker
data:
volume_level: 0.5
- service: tts.google_say
entity_id: media_player.bedroom_speaker
data_template:
message: >
The alarm has been sleep armed. {{ states.sensor.inside_alarm_active_sensors.state }} {{ states.sensor.outside_alarm_active_sensors.state }}
TTS is pretty simples, but dont over notify the **** out of yourself.Did another thing!
Connected a sonoff sv to my D5s gate status IO and now I know when my gate isn't closed. Have an automation that sends me a couple of screenshots when the gate is opened.
View attachment 1170164
I'm trying to get my google home devices to announce it but having done google tts before, so need to figure that out still.
Did another thing!
Connected a sonoff sv to my D5s gate status IO and now I know when my gate isn't closed. Have an automation that sends me a couple of screenshots when the gate is opened.
I'm trying to get my google home devices to announce it but having done google tts before, so need to figure that out still.

Pics of which IO you used.
So no need for the Reed sensor then
Interesting. Would like to know how that is wired. Also got the Sv hooked up to my D5 Smart but was planning on installing the window/ door sensor to get the open/closed status
Please post some more info of how you connected the SV to the status of the gate. Do you use the status LED outputs to the GPIO of the SV? Does it just read on/off when the light flashes or a voltage?
Mmm... I can't get mine to workFairly simple - you need to turn the device "on" first. I do the following when the alarm sleep arms and a zone is "open".
Code:action: - service: media_player.turn_on entity_id: media_player.bedroom_speaker - service: media_player.volume_set entity_id: media_player.bedroom_speaker data: volume_level: 0.5 - service: tts.google_say entity_id: media_player.bedroom_speaker data_template: message: > The alarm has been sleep armed. {{ states.sensor.inside_alarm_active_sensors.state }} {{ states.sensor.outside_alarm_active_sensors.state }}
- alias: Test Google Say
trigger:
platform: state
entity_id: 'switch.lounge_light'
from: 'off'
to: 'on'
action:
- service: media_player.turn_on
entity_id: media_player.master_bedroom_speaker
- service: media_player.volume_set
entity_id: media_player.master_bedroom_speaker
data:
volume_level: 0.2
- service: tts.google_say
entity_id: media_player.master_bedroom_speaker
data_template:
message: "Testing my Google TTS automation"
volume_level: 0.20000000298023224
is_volume_muted: false
media_content_id: 'https://www.home-assistant.io/images/cast/splash.png'
media_position: 0
media_position_updated_at: '2021-10-19T10:23:44.020836+00:00'
app_id: CC1AD845
app_name: Default Media Receiver
entity_picture_local: null
friendly_name: Master bedroom speaker
supported_features: 21391

This is my setup. Very basic, but it works like a charm.Mmm... I can't get mine to work
Here is my sample code, just using a light switch to test automation for now instead of my gate.
YAML:- alias: Test Google Say trigger: platform: state entity_id: 'switch.lounge_light' from: 'off' to: 'on' action: - service: media_player.turn_on entity_id: media_player.master_bedroom_speaker - service: media_player.volume_set entity_id: media_player.master_bedroom_speaker data: volume_level: 0.2 - service: tts.google_say entity_id: media_player.master_bedroom_speaker data_template: message: "Testing my Google TTS automation"
If I turn the light on the the volume changes and I get the "on" chime on my google home, but no speech.
If I check the state of the google home in HA then I get the below:
YAML:volume_level: 0.20000000298023224 is_volume_muted: false media_content_id: 'https://www.home-assistant.io/images/cast/splash.png' media_position: 0 media_position_updated_at: '2021-10-19T10:23:44.020836+00:00' app_id: CC1AD845 app_name: Default Media Receiver entity_picture_local: null friendly_name: Master bedroom speaker supported_features: 21391
No idea why the media_content_id is a png instead of the mp3.
If I use the media card on my lovelace dashboard then it sends through the text and my google home speaks:
View attachment 1170204
I just updated my HA version and it's working now!This is my setup. Very basic, but it works like a charm.
action:
- service: notify.telegram
data:
title: Dishwasher
message: Dishwasher is done
- service: tts.cloud_say
data:
entity_id: media_player.googlehome4965
message: The dishwasher is done!
If I use the media card on my lovelace dashboard then it sends through the text and my google home speaks:
No idea hey tbh.I have the opposite issue. I use node red to cast to my home mini speakers and it works as expected
But if I use the lovelace UI to send a text then it just beeps as if the speaker is tuning on then nothing.
Any idea on how to fix that?