solidgrue

joined 3 years ago
[–] solidgrue@lemmy.world 4 points 2 weeks ago* (last edited 2 weeks ago)

You are asking the right questions. You're even drawing the right conclusions. Keep pushing.

There have been limits on funding science just for science's sake. The oversight has been the peer review process: other scientists reviewing grant requests on merit, reviewing methodologies and findings on merit, checking the math, and building of reputations of researchers among peers. If you do good science, you get more grants. If you do shoddy science, you get called out and you get fewer grants.

Yes there was abuse, yes there was waste, yes there was nepotism, yes there was duplication. This was friction on the system, but the system fundamentally worked. It needed to be adjusted, not shattered.

Now the whole thing is being actively upended, and a veritable politburo is being established to decide what science gets funded. Politics entered the chat. Its chilling research, and we in the US are losing one of the benefits of our society, such as it is.

[–] solidgrue@lemmy.world 1 points 2 months ago

I'd blitz shredded dried coconut in a food processor, then add the evaporated milk, blend, then the chunked pineapple and blend again. Finally banana and blend a final time.

Then ice, rum and the milk/fruit purée in ratio (3:2:1) into a blender, blitz, and garnish with a half orange wheel and a cherry.

Yum yum

[–] solidgrue@lemmy.world 3 points 3 months ago

You can use trigger IDs and conditional execution to accomplish this. Not precisely your use case, but I have an automation that manages two ornamental lamps via two smart buttons: one lamp and one button on each nightstand to either side of the bed in our main bedroom.

A single click of either button toggles the lamp on that nightstand. A double click on either button turns off both lamps, and a long press on either button calls a script that turns off all the lights inside and outside the house, by area.

I use trigger IDs to tag the button events, and then use that ID in conditional action logic to toggle the lamps, turn them off, or call the shutdown service.

You can probably use trigger IDs for your upper and lower bounds to conditionally execute your air conditioner functions.

Here's the YAML, if you'd like to see how I use it.

alias: "QoL: Bedroom Smart Button Features"
description: |-
  Short press toggle local ornamental lamp (amethyst, salt)
  Long press turn off both ornamental lamps
  Double press call Shutdown Everything automation
triggers:
  - device_id: b11766b6ab9a7ae6f752e70514562f18
    domain: zha
    type: remote_button_short_press
    subtype: button_1
    trigger: device
    id: bedroom_button_short_press_right
  - device_id: b11766b6ab9a7ae6f752e70514562f18
    domain: zha
    type: remote_button_double_press
    subtype: button_1
    trigger: device
    id: bedroom_button_double_press_right
  - device_id: b11766b6ab9a7ae6f752e70514562f18
    domain: zha
    type: remote_button_long_press
    subtype: button_1
    trigger: device
    id: bedroom_button_long_press
  - device_id: 2a9e9c869c5e611e791232491169da77
    domain: zha
    type: remote_button_short_press
    subtype: button_1
    trigger: device
    id: bedroom_button_short_press_left
  - device_id: 2a9e9c869c5e611e791232491169da77
    domain: zha
    type: remote_button_double_press
    subtype: button_1
    trigger: device
    id: bedroom_button_double_press_left
  - device_id: 2a9e9c869c5e611e791232491169da77
    domain: zha
    type: remote_button_long_press
    subtype: button_1
    trigger: device
    id: bedroom_button_long_press
conditions: []
actions:
  - if:
      - condition: or
        conditions:
          - condition: trigger
            id:
              - bedroom_button_short_press_right
    then:
      - action: light.toggle
        metadata: {}
        data: {}
        target:
          entity_id: light.salt_lamp_switch
  - if:
      - condition: or
        conditions:
          - condition: trigger
            id:
              - bedroom_button_short_press_left
    then:
      - action: light.toggle
        metadata: {}
        data: {}
        target:
          entity_id:
            - light.amethyst_lamp
  - if:
      - condition: or
        conditions:
          - condition: trigger
            id:
              - bedroom_button_long_press
    then:
      - action: light.toggle
        metadata: {}
        data: {}
        target:
          entity_id:
            - light.salt_lamp_switch
            - light.amethyst_lamp
  - if:
      - condition: trigger
        id:
          - bedroom_button_double_press_right
          - bedroom_button_double_press_left
    then:
      - action: light.turn_off
        metadata: {}
        data: {}
        target:
          entity_id:
            - light.amethyst_lamp
            - light.salt_lamp_switch
mode: restart

Another idea, you could use a wait_for action in the turn_on action to wait for a lower bound trigger to execute your turn_off action. I've used that for actions that turn on a light when motion is detected, and then wait for motion to clear before turning off the light.

Really, you could peel.it a bunch of different ways, but these are trucks I've used in my automations.

[–] solidgrue@lemmy.world 10 points 4 months ago* (last edited 4 months ago)

https://xcancel.com/i/status/2028150767626948616

Netanyahu says Trump fulfilled his dreams: In bombing Iran, Israel now has the "assistance of the United States, my friend, US President Donald Trump, and the US military. This coalition of forces allows us to do what I have yearned to do for 40 years

[–] solidgrue@lemmy.world 7 points 6 months ago

Sounds like nah.

[–] solidgrue@lemmy.world 8 points 7 months ago

I use /srv/[service] for services by the same logic, and leave /opt for local user apps. It's kind of a coin toss though. On another day I night have decided differently.

[–] solidgrue@lemmy.world 3 points 7 months ago* (last edited 7 months ago) (1 children)

As it happens I’m actually looking for a smart lamp switch if anyone knows of any options

I was doing the same myself earlier this year. I'd found a European product that was an inline smart switch, like one of those rocker switches they put on the wire for those decorative canister uplights. The switches were out of stock on all the sites that listed it, and the manufacturer website didn't seem to indicate they'd be producing more any time soon.

Eventually I just settled on using an inexpensive smart button (Tuya TS0041/TZ300 over ZHA) to control a smart bulb or a smart plug on the "dumb" fixtures. It wasn't exactly what I wanted, but nobody seems to make a smart inline switch anymore. As a bonus, the switch supports double-tap and long press gestures so I was able to program the bedside button with a few functions to toggle the bedside lamp on a short press, and turn off all the lights in the house on a double tap.

It uses a coin battery that lasts a few months. I think I've changed it maybe once since I got it.

[–] solidgrue@lemmy.world 7 points 7 months ago

It's not the answer you're probably looking for but, my cookbooks. I happen to have a bunch of old cookbooks I've inherited from family members and friends. It takes some research skills sometimes, but it works.

I also maintain a personal blog site which is my online cookbook. It's not only my own recipes, but also a link dump. When I find a good, non-AI article I'll share it there like a clipping with the usual tags for how I catalog things. It takes a bit of discipline, but for me its second nature by now. It also lets me take notes on how a recipe worked out, and what substitutions or adjustments I'd like to make next pass.

[–] solidgrue@lemmy.world 3 points 9 months ago* (last edited 9 months ago) (1 children)

The HA Ecobee integration requires a developer API key which ecobee no longer distributes, if you already have a key it still works, but they stopped giving out new keys a few years ago.

On the other hand, the HomeKit integration allows new users to control most of the thermostat's features locally over WiFi. I got my thermostat after the Developer program ended, and this is how I control it today. Once you install the HomeKit integration, it will discover the thermostat if its on the same LAN, and then prompt you to add it.

[–] solidgrue@lemmy.world 9 points 9 months ago

I have an ecobee I mainly control locally through the HomeKit integration on HA. Just about all of the basic features are covered: setpoints, heat/cool/auto/off and fan on/off/auto. Some of the more advanced features like Home/Away/Sleep profiles are not available through the integration, but they tend to be set & forget.

It doesn't need Internet access or the companion app to operate your system, though it will use external access to track local weather and energy rates. (And probably collect usage data.) The companion app gives access to a few more features remotely, but the unit is completely programmable from its front panel.

It's worked out fine for me so far. My local power utility sells them at a steep discount through their online storefront. Check around for rebates.

 
 
 

She whispered, "they're right behind you."

 

A cargo ship with links to Russia packed with explosive fertiliser is floating off the Kent coast after being denied entry at other ports over safety fears.

Ruby, a Maltese-flagged cargo ship carrying 20,000 tonnes of ammonium nitrate fertiliser from a port in Russia, was ordered out of Tromso in Norway and turned away from Danish waters.

More alleged shenanigans with this craft drifting around the North Sea, ostensibly enroute to the Canaries.

 

Now that I think about it, it was probably before the pandemic. 🤔

 

ethical edit: For a toss-off gag that even I thought was a bit sketch, I'm learning a lot about this situation and I appreciate it

 
 
 
view more: next ›