If you're trying to avoid a whole zigbee or zwave network, Govee makes some inexpensive battery-powered bluetooth thermometer/hygrometers, and have a HA integration, but bluetooth can be tricky to get running on Pis. I feel like most of the actual wifi devices are phone-home type setups. My govee thermometers have pretty good range - one of them even reads from inside the refrigerator.
Like others have said, ZigBee is the way to go for low-traffic things like temperature sensors. It uses a lot less power than WiFi, so battery-powered devices can last for months on a CR2032.
I also recently got some Sensibo Elements boxes, which are wall-powered WiFi air quality sensors that include temperature/humidity. They have an official HA integration. If you go for them, don't worry about the sale countdown on the website; it doesn't actually seem to ever end.
I get alerts from BI Motion in HA (via mqtt)... I'll look at it a bit to jog my memory and see if I can give any tips. It'll likely be tomorrow or so as I'm traveling today
I'd be interested to hear how you have it set up. My issue is definitely with HA. I can see the messages making it to the broker; HA just isn't recognizing them it seems.
Auto detection for MQTT devices is a bit tricky. I struggled with that myself when I was trying to incorporate data from a web scraper I wrote. This config file here shows what I ended up with to create auto detecting sensors in HA https://github.com/chunkystyles/reservationsScraper/blob/main/mqttConfig.json
Each one of the devices gets registered at start up of the app.
If I were doing this all over again, I probably wouldn't use auto detect sensors. I'd manually configure them. Here's some examples of that kind of configuration I used for some HVAC remote devices I built:
The strange part is that the BlueIris integration already has "Motion" devices for each of my cameras. The documentation made it sound like I just needed to start feeding HA with MQTT messages that these devices were expecting.
I may do like you suggested and just manually set up binary MQTT sensors. It would look a lot cleaner to tie it into the existing integration, but I'm not sure if it's worth the extra troubleshooting.
I have a couple of Pi Zeros around the house I use as media players. They were running piCorePlayer. I replaced just the software with a vanilla Pi OS and installed Squeezelite and then Wyoming Satellite. I added a microphone and an automation to silence the media player as soon as a wake word is detected.
Voice recognition is adequate but I wish it was smarter.
Still switchable? Man I wish there would be a pure power meter plug available, with no switching ability. I would plug them into a lot of things. I know you could measure the whole power usage of a line or your home but that requires the right equipment (power meter) or an electrician to install it
Why not just not use the switch function? You can even "disable" the switch in Home Assistant so you can't accidentally turn it off, and most of these sorts of switches have a setting for default (on power restoration after power loss) of on or off.
I'm not the person who you're responding to, but at least in my case I am just not comfortable with having the ability to switch, since I would like to connect devices which could be seriously damaged if the switch toggled for any reason. I have modified a couple of switchable power monitoring plugs already, but I would rather pay slightly less and not have a hassle.
I'm kinda stupid. I've seen these but they always show pictures within the distribution box. Here only certified electricians are allowed to open them. But I totally didn't saw the option to just clamp it on a wire outside the box. I even asked Bing AI for help, because not everyone must sell on Amazon and Google Search just spits out the affiliate link sites, that suggests always the same popular options. 90% of the time switchable plugs.
If you want the whole house, you'll need to crack the box to get at the phase split as it comes in.
If you want to track individual circuits, you should be able to do it outside the box. It will work with single phase at least,but not sure about dual-phase; but those are usually reserved for heavy appliances like stoves and dryers.
With a digital electric meter, I could read that out but I still have an old analog meter. But individually measuring devices is also appealing. HA allows for that. Opening the box would require an electrician and it only gives measurements per room or circuit. This may also be appealing to some.
I now look into ESP Home. I sadly didn't found a clamp meter here that works outside the distribution box or require lose mains power but ESP has the option for clamp meters
I disabled the switch button on the plug so that they cannot be turned off by mistake. And set it to power on after power outage. Had no problems for a long time with this setup.
Do updates switch the switch? I have Homematic IP plugs. They do work but had one update that switched my PC off but besides that, pretty reliable but expensive af. I don't want to take a chance with important devices. Sure I don't need to update the plugs but I have an urge to install updates.
Hmm, good question. I think it is no problem. From an electrical point of view I think it would make sense that the relais power cycles when the plug reboots after an update. But I have not yet seen it do it.
on_tts_end: you have a media player component while you define a speaker instead. They are not interchangeable. It is likely trying to grab default values from somewhere because of that. Media player is better if you want the device to also play music or alerts through home assistant instead of voice assistant or some preset wav files.
Media player is also a speaker using an arduino library (not compatible with esp_adf as that uses the esp-idf framework and not arduino). If you want to use the media player, you have to get rid of vad_threshold and the esp_adf.
This did compile and the audio output from the echo is played on the media_player, but the audio is also played on the Echo itself. Previously, changing the i2s_dout_pin from GPIO22 to GPIO21 prevented the Echo from playing the audio (I think by directing audio data to pin 21, which is not used).
I'm not sure what you meant here:
Media player is also a speaker using an arduino library (not compatible with esp_adf as that uses the esp-idf framework and not arduino). If you want to use the media player, you have to get rid of vad_threshold and the esp_adf.
I tried removing "vad_threshold: 3" and the "esp_adf" component:
Sorry, I misunderstood what you are trying to do here. I thought you were trying to use the Atom Echo itself as a media player. Disregard that arduino library comment, it isn't relevant. I just watched the video since I couldn't earlier.
Indeed what you are doing should work. Are you certain that the upload was successful? With GPIO21 set as the speaker output, the speaker data should absolutely not work. The fact that it does means that somewhere along the line, the GPIO22 is set as the speaker output.
I'm sure that the install is successful because there are no errors during/after install, the Echo recognizes speech and interacts with Home Assistant, and when I change something in the yaml (e.g., which media player to pipe the audio to) the change takes effect.
Here's something weird: I believe the default pin for "speaker" should be GPIO22, and when I switch it to GPIO21 it should not work. This works on some of my Echos, but not all of them!
Also weird: I think the standard pinout is:
GPIO0: Button (Boot)
GPIO19: LED (RGB)
GPIO21: I2C SDA
GPIO22: I2C SCL
GPIO23: Speaker (PWM output)
GPIO25: Microphone (Analog input)
Though I don't know what these mean, I tried setting "speaker" to GPIO18 - which apparently isn't used- and still the audio comes out of the Echo speaker! But again, only on some of my Echos.
I'd think that maybe some of these Echos are ignoring the GPIO setting for "speaker" and using a default, but these Echos used to work! (that is, they used to not play audio out of the Echo speaker when "speaker" was GPIO21). And so I want to think that maybe the ESPHome upgrade made them stop working, but all my Echos have the same upgrade and yet still some of them work.
Is there a way to config the Echo speaker to have zero volume? If so, I could just set that and then who cares if the audio is piped to it.
I am making an esphome system for my old Yamaha AV receiver. RCA out via a cheap i2s chip, mems I2S mic in the enclosure that can hear well enough in the room, and an IR blaster output to change the AV receiver channel to the esp when voice is activated and change it back after.
Cool side effect is that it can also be used as an HA media player for streaming Spotify and local music to the speaker system.
This sounds like a good solution for my receiver too, I want some satellites around the house but I was wondering how I would hook it up to the main system
Yeah... I've been trying out the resizable cards and... well... hopefully the next version will be better.
Don't get me wrong, I'm all for incremental improvements and that means we need a Step1 somewhere.
I wanted to just change one dashboard, but there's no migration option (yet?) which is fair enough, so I created a new one and tried copying over cards...
I have a couple of Glance cards with a title and I can't really get a single row of icons with title to line up nicely unless I use a 3-row card...
But, it's also nice to slim down a Graph card to just 2 or 3 columns wide if it's a short-duration graph.
Can't believe no one has mentioned Inovelli yet. Developed with the community, with OTA support in Z2M, they are absolutely fantastic and incredibly flexible!
homeassistant
Active
This magazine is from a federated server and may be incomplete. Browse more on the original instance.