@codechimp@mastodon.online
@codechimp@mastodon.online avatar

codechimp

@codechimp@mastodon.online

Live in Ipswich, Suffolk in the UK, mainly work from home but occasionally in London.
I’m an IT architect by day but I don’t post about work stuff.
In my free time, in no particular order I am interested in #HomeAssistant #HomeAutomation #3dPrinting #iosDev #macOS #lego #food #cooking #diy #gardening

This profile is from a federated server and may be incomplete. Browse more on the original instance.

codechimp, to homeassistant
@codechimp@mastodon.online avatar

Anyone using and ?
I've spent some time creating an integration that mirrors the shopping lists and also creates a read-only calendar of the meal plan. Beta so things may break but if anyone wants to try it feedback is most appreciated.

https://github.com/andrew-codechimp/HA-Mealie

codechimp, to homeassistant
@codechimp@mastodon.online avatar

My Hilderbrand Glow smart meter interface dropped connection and became unavailable in #HomeAssistant for the first time but I didn't notice for a few days so my energy tracking is missing.
I didn't want to create automations for each critical sensor to alert me when they drop off so with a bit of searching I found a way to do label based triggers.
This wasn't easy and with people relying on HA for more critical things this needs some thought and to be part of core. (1/2)

cassidy, to homeassistant
@cassidy@blaede.family avatar

Alright nerds, I have a question. I would like to set up a standard way to get a derived value back from a number of sensors; for example, given a sensor’s PM2.5, PM10, Ozone, CO, SO2, and/or NO2 reading, I would like to return an estimated air quality index (AQI). Ideally I could also have a standard way to map any given AQI value to a category string, e.g. 10 = Good, 75 = Moderate, 175 = Unhealthy, etc.

codechimp,
@codechimp@mastodon.online avatar

@cassidy Maybe some macro templates would help, you could define the logic to create the AQI as a function for each sensor type then have a parameter passed in of the sensor to calculate.
https://www.home-assistant.io/blog/2023/04/05/release-20234/#macros-for-your-templates… (1/2)

paul, to homeassistant
@paul@crashloop.social avatar

Hi,
I recently had some issue regarding some custom integration: The resource (sensor) names were localised / translated.

This created first some confusion, later some effort to get some other custom-card working.

Example:
sensor.CHARGERNAME_dynamic_circuit_limit --> sensor.CHARGERNAME_dynamisches_stromkreislimit

Is there a general rule for (integration-) developers to localise resource/sensor names?

What is yr idea?

@homeassistant @homeassistant @homeassistant @homeassistant

codechimp,
@codechimp@mastodon.online avatar

@paul @homeassistant @homeassistant @homeassistant @homeassistant For entity ids I stick to english with the entity name being translated since the ids are used in code which is english.
I did make the mistake of translating them to start with but got flack from people who couldn’t make common templates etc. much like you’ve experienced.
I’ve not seen official guidance either way but core integrations seem to not translate them.

kyleejohnson, to homeassistant
@kyleejohnson@jawns.club avatar

I've been waiting for over 2 years for something I could use to replace my Logitech Harmony remote (since Logitech dumped it and it has a cloud config that could die any day). I spent a pretty large sum of money on a remote that can't even stay connected to my wifi consistently. Got so fed up I grabbed an old Raspberry Pi and an RF remote with a dongle and glued it into via MQTT so I can control all my media devices with one little local only remote.

https://github.com/pkscout/rpi-keyboard-to-mqtt

codechimp,
@codechimp@mastodon.online avatar

@kyleejohnson Do you have any recommendations on nice remotes for this?
I’ve been looking but only seen cheaply made ones.

tomi, to homeassistant

Last month I learned about the integration which helps track battery change status in various devices connected to .

Today I installed integration (source) called ‘Battery Notes‘. After the installation and HA restart, it automatically found my battery devices ( buttons, magnetic door sensors, temperature and humidity):

https://blog.rozman.info/wp-content/uploads/2024/01/image-1-1024x540.pngThese devices now have 3 new entities: Battery replaced (date), Last replaced (time since replacement), and Battery Type (e. g. CR….).

https://blog.rozman.info/wp-content/uploads/2024/01/image.pngThe status of the battery’s last replacement is shown like this:

https://blog.rozman.info/wp-content/uploads/2024/01/image-2.png… and the type of the battery like this:

https://blog.rozman.info/wp-content/uploads/2024/01/image-3.pngThis integration is surely useful because I always forget what type of CR…. batteries should I buy.

I just hope I will remember to press ‘battery replaced’ in HA when changing the batteries.

https://blog.rozman.info/when-did-i-change-the-batteries-in-my-sensors/

image/png
image/png

codechimp,
@codechimp@mastodon.online avatar

@tomi Thanks for the post and glad you like the integration. You could write an automation that when batteries go from low % to 100% they call the battery changed service to automatically mark them as changed.
Some devices glitch on their battery levels so I’ve not added this as part of the integration but may think about an include/exclude list for this later.

codechimp,
@codechimp@mastodon.online avatar

@po3mah @tomi I got a lot of new Aqara motion sensors about a year ago and all showing 100% still, some others are showing less so maybe they drop a big percentage very quickly.

SforStuart, to solar

Very cold out there but sunny - first winter with

codechimp,
@codechimp@mastodon.online avatar

@SforStuart Planning to get solar next year so just starting my research, good to see you still get a decent amount in winter.
How many panels do you have and what inverter you using with HA?

codechimp, (edited ) to homeassistant
@codechimp@mastodon.online avatar

I created a new custom integration for that allows you to attach a note to an existing device to indicate the battery type it takes, which then shows up in the Diagnostic section of the device. This allows me to go pre-armed with the right battery when a battery is getting low, which shows up using an auto-entities list on my main dashboard.

Full details here on how to add it either via a HACS custom repository or manually
https://github.com/andrew-codechimp/HA-Battery-Notes

@homeassistant

codechimp,
@codechimp@mastodon.online avatar

@kenguest At the moment I’m keeping the battery type as free text.
Device identification and a library of battery types is something I may stretch to later but my HA dev skills are still new so it’s baby steps as I explore.
Would be good to have a copy/link to your repo though so I can check out what I may need to think about re a library.

codechimp,
@codechimp@mastodon.online avatar

@kenguest Thanks, I’ve bookmarked that ready for when I need to start building a library. I have some multiple battery devices myself so that’s on my radar, though at the moment I’m just putting 2x AAA in the note field, I don’t think I’d need a separate sensor for the quantity.

codechimp,
@codechimp@mastodon.online avatar

@kenguest That is something I want myself and starting to investigate with a button to reset the last changed date.
It’ll be small steps as I learn how to do this stuff but the interest being shown is encouraging to have me grow this more.

codechimp, to random
@codechimp@mastodon.online avatar

@MonaApp love that the desktop app stops animations in posts when the app loses focus to stop distraction but can you apply the same to profile pictures as well?

codechimp,
@codechimp@mastodon.online avatar

@MonaApp I didn’t spot that setting, certain views don’t move that fast so that will be really handy to avoid distraction.

stooovie, to homeassistant
@stooovie@mas.to avatar

I have no idea what this means, even after reading the link. Do I have to do anything or...?

Anyone?

2023.8

codechimp,
@codechimp@mastodon.online avatar

@stooovie seems it’s a change that won’t be addressed until September release of zigbee2mqtt but shouldn’t cause issues.

https://community.home-assistant.io/t/psa-mqtt-name-changes-in-2023-8/598099

codechimp, to homeassistant
@codechimp@mastodon.online avatar

Over the weekend I challenged myself to create my first custom integration.

It allows you to get your broadband quota from Andrews & Arnold @aaisp
I'm using it for showing the info on my pixel display and I might setup a notification if it ever gets low.

No configuration is required, the API determines your account automatically from your connection.

Full details of how to add it via a custom integration in HACS or manually are here.

https://github.com/andrew-codechimp/HA-Andrews-Arnold-Quota

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines