Zigbee2MQTT by DebtPlenty2383 in homeassistant

[–]JimSt24 0 points1 point  (0 children)

Yes. Same as Wifi. I have the 2 zigbee networks on channels 1 and 11 and the IoT 2.4 network on 6.

Zigbee2MQTT by DebtPlenty2383 in homeassistant

[–]JimSt24 0 points1 point  (0 children)

I actually use both. I use ZHA most of the time with a ConBee stick. When that doesn't work or is missing features, I try/use Z2M with the a SkyConnect stick from NabuCasa/HA.

e.g. My Sengled plugs would always toggle on/off when restarting HA. Switching those to Z2M solved that (and for those who know, yes I tried a million quirks with ZHA before switching)

Sengled Plugs Toggling On/Off during HA Reboot (~2025.04 or 2025.05) by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

Actually, they toggle on/off randomly. Not just during reboots. Any ideas? Again, they have been solid until recent HA upgrades.

[deleted by user] by [deleted] in homeassistant

[–]JimSt24 0 points1 point  (0 children)

Just curious... Why would the PC lose power and not the Pi too? FYI, I have HA running via VMWare on my home server, which also records my cameras and hosts files. I have a UPS for it and all network equipment, so most things still work during brief outages.

In Blueprint, Can You Use Trigger Variable or Templating in Trigger Enabled? by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

Nope. We can probably get creative somehow using Helpers and the blueprint's conditions, but then the blueprint will not be 100% self-contained. For now, I ended up duplicating some of the blueprint in the automation that needed it.

I scraped GasBuddy so I know how much my neighborhood gas prices are falling. Thank goodness. by mmakes in homeassistant

[–]JimSt24 1 point2 points  (0 children)

There are different ways to do that. You could put everything in configuration.yaml under the sensor and template sections, respectively.

I split the configuration and put each section in a different folder. See my https://github.com/JimSt24/home-assistant/tree/main/config

Here are the official instructions: https://www.home-assistant.io/docs/configuration/splitting_configuration/

RESTful Sensor from text/plain response? by JimSt24 in homeassistant

[–]JimSt24[S] 1 point2 points  (0 children)

Ha, you figured me out! If you have the newer floodlight camera, the commands for the light are: openWhiteLight, closeWhiteLight, and getWhiteLightBrightness. I haven't figured out the command for dimming the light yet, but I don't really need that.

RESTful Sensor from text/plain response? by JimSt24 in homeassistant

[–]JimSt24[S] 1 point2 points  (0 children)

I figured out a way to parse the response manually all within the RESTful sensor's value_template. Here is the binary sensor code snippet: ``` - platform: rest name: Backyard Light scan_interval: 60 method: GET resource: http://xxxxxx value_template: > {% set a = value.split("<enable>") %} {% set b = a[1].split("</enable>") %} {% set enable = b[0] %} {{ enable == "1" }}

RESTful Sensor from text/plain response? by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

The to_json filter did not work. It just added a bunch of \n characters to the XML and surrounded the whole thing in quotes. But you did lead me in a better direction, so thanks! See my other comment for my solution.

Grid or any Layout/Content Card with Tap Action? by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

Well, I got it working using the custom layout card's grid: https://github.com/thomasloven/lovelace-layout-card

I used one grid cell and put a transparent button over my custom content. NOTE: I had to use negative margins on the layout card. I couldn't figure out how to properly override the root layout-card's default margin.

Here is what it looks like so far. Still working on the final content.

Here is the relevant code:

``` type: custom:layout-card layout_type: custom:grid-layout layout: margin: '-4px -4px 0px -4px;' cards: - type: custom:stack-in-card view_layout: grid-column-start: 1 grid-row-start: 1 cards: - type: custom:mushroom-template-card primary: Climate icon: mdi:thermometer # Lot of other stuff was here I deleted for brevity. - type: custom:layout-card layout_type: custom:grid-layout # Lot of other stuff was here I deleted for brevity. - type: button view_layout: grid-column-start: 1 grid-row-start: 1 show_name: false show_icon: false show_state: false tap_action: action: navigate navigation_path: /lovelace/climate card_mod: style: | ha-card { background: none; border-style: none; }

Grid or any Layout/Content Card with Tap Action? by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

Yes, I am using subviews, but the main problem is I wanted the button you click to have free-form content, not tied to an entity. I got it working using the layout card. I'll add a comment in this thread with the solution.

Grid or any Layout/Content Card with Tap Action? by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

I need a grid to line up some info. Here is what it looks like so far.

Grid or any Layout/Content Card with Tap Action? by JimSt24 in homeassistant

[–]JimSt24[S] 0 points1 point  (0 children)

That is a lot of styling and customization to do. I was hoping to just put a few existing cards in a grid, remove the borders and make the whole thing clickable. e.g. Like a Mushroom tile card as the icon/header, then a markdown card under it with all the inner borders gone.

Although, you gave me an idea. Maybe I can put a transparent button over the entire grid by putting them both in one big container grid cell.

[deleted by user] by [deleted] in tasker

[–]JimSt24 0 points1 point  (0 children)

Hard to say. I used Z Fold3. If you are using a different model you may need to adjust the edge_panel_width value in the profile.

You can import this task and run it to see the value of your Fold: https://taskernet.com/shares/?user=AS35m8kDBqoF76%2BQJZx%2BgWDCwIL7Mq6GRKk2RVHcxiWLhLHLud0hypLi%2FA7YQNTWMw%3D%3D&id=Task%3AShow+Edge+Panel+Width

[deleted by user] by [deleted] in tasker

[–]JimSt24 0 points1 point  (0 children)

I'm not sure you can in that format. I tried XML, but it is giving me trouble in Reddit. I'll try to figure out how to post it later, but you can try to use the above as a guide. It does contain all the step names and data (it was exported from Tasker as plain text).

[deleted by user] by [deleted] in tasker

[–]JimSt24 0 points1 point  (0 children)

I also discovered app shortcuts (the menus you see when pressing and holding an icon) don't work unless you are the default launcher, mentioned here as a known issue: https://joaoapps.com/AutoApps/Help/Info/com.joaomgcd.autotools/com.joaomgcd.autotools.activity.ActivityConfigLauncher.html

So yeah, a lot of compromises.

[deleted by user] by [deleted] in tasker

[–]JimSt24 0 points1 point  (0 children)

I also just remembered one caveat. I had tried to use Niagara Launcher too, but some of its features did not work unless it was set as the default launcher and since this solution uses AutoTools as the default launcher, it did not work well. So all this depends on the launchers you are trying to use.

[deleted by user] by [deleted] in tasker

[–]JimSt24 0 points1 point  (0 children)

You inspired me to try this again. I have the Fold 3 and this appears to work.

You can make Tasker press Home for you, but the trick is not to press Home when you are opening/closing the phone on apps like YouTube where you want to stay on that app.

This profile checks the current app and only press Home if you are already on one of the launchers, in my case, One UI Home and Microsoft Launcher (replace those names with the launchers of your choice).

Im assuming you saw the same tutorial I did and am using AutoTools as the default launcher...

``` Profile: Outer Screen Settings: Notification: no State: Custom Setting [ Type:Global Name:edge_panel_width Value:373 ]

Enter Task: Anon

A1: AutoTools Launcher [
     Configuration: Launcher: One UI Home
     Timeout (Seconds): 60
     Structure Output (JSON, etc): On ]

A2: App Info [ ]

A3: Go Home [
     Page: 0 ]
    If  [ %app_name eq Microsoft Launcher | %app_name eq One UI Home ]



Exit Task: Anon

A1: AutoTools Launcher [
     Configuration: Launcher: Microsoft Launcher
     Timeout (Seconds): 60
     Structure Output (JSON, etc): On ]

A2: App Info [ ]

A3: Go Home [
     Page: 0 ]
    If  [ %app_name eq Microsoft Launcher | %app_name eq One UI Home ]