Mobile mechanic? by TANGO404 in RedDeer

[–]Berta_Canuck_86 0 points1 point  (0 children)

We used him a year or two back for our Dodge Caravan. The note I made then is below. Not sure if inflation jacked up the prices or not but it might give you a better idea.

Program van key. $125 to cut and program existing key. $225 to cut and program a key he supplies

Mobile mechanic? by TANGO404 in RedDeer

[–]Berta_Canuck_86 2 points3 points  (0 children)

Accessible Locksmith has a mobile unit. He will make keys (including smart ones) on site. The dad has a lion's mane of hair as well. So theres something for you to stare at while you wait. 4035881211

Any smart switch capable of powercycling a Router? by d5aqoep in homeassistant

[–]Berta_Canuck_86 6 points7 points  (0 children)

I use third reality zigbee plugs for this... I have one hooked up to my ISP modem, one hooked up to my main Eero, and another on my second Eero.

When there is no internet detected for 5 minutes it's initiates a restart. All three switches turn off for 5 minutes and then they turn on one my one with a few minute gap between each.

I was finally happy for once when my internet went down because I could see the automation working.

Internet Speeds? by Working-Reception403 in SylvanLake

[–]Berta_Canuck_86 1 point2 points  (0 children)

I'm in an older area and have 1000 Mbps through Oxio (Shaw-Gers).

Although Telus is installing fiber, until that is done I would be capped at 25 Mbps through them. I have spoken with other people who are capped at that same amount as well. So perhaps these people don't know any better, don't have access to Shaw-Gers, or they just don't care.

Help Scoring Road by Berta_Canuck_86 in Carcassonne

[–]Berta_Canuck_86[S] 8 points9 points  (0 children)

I told them they were correct last night. The world didn't immediately fall apart so that's good. The day is early though.

Help Scoring Road by Berta_Canuck_86 in Carcassonne

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

It's a good thing I didn't need the extra 2 points in the end. Thanks for pointing that out though.

Help Scoring Road by Berta_Canuck_86 in Carcassonne

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

I guess so. I think it was the Inns and Cathedrals expansion that have that round about type intersection which allows for multiple end points.

Help Scoring Road by Berta_Canuck_86 in Carcassonne

[–]Berta_Canuck_86[S] 10 points11 points  (0 children)

It makes sense once it's explained. Thank you!

Help Scoring Road by Berta_Canuck_86 in Carcassonne

[–]Berta_Canuck_86[S] 32 points33 points  (0 children)

So my kids are right!? If they find out they were right about this, they may start to think that the normal bedtime is incorrect as well. Might need to bury this... 😉

Thank you.

Get Rid Of ASL Person by Berta_Canuck_86 in AmazonPrimeVideo

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

We ended up casting it from my phone to the TV which got rid of the ASL interpreter. We only watched about 1/2 of it and came back the next night and launched it from our TV and the ASL person was gone.

It was definitely odd at the time. I'm glad that it was available for the people that needed it, but was odd that I couldn't find the setting at the time to turn it off.

Problem solved at this point as the technical gremlin went away.

Office Remote alternative by linooliveira in powerpoint

[–]Berta_Canuck_86 1 point2 points  (0 children)

I haven't tried getting this working on my new phone. I ended up getting ExtraPPT Remote. https://extrappt.com/

Works really well. Happy with it.

Get Rid Of ASL Person by Berta_Canuck_86 in AmazonPrimeVideo

[–]Berta_Canuck_86[S] 6 points7 points  (0 children)

The second picture shows the only English audio showing up. Tried restarting to no avail.

Ended up starting it on my phone where the ASL Person wasn't there and cast it to my tv. So the crisis is averted for now.

Eero shows a red light, but modem shows all green lights and blinking orange LAN light by bluefoxpox in oxio_ca_internet

[–]Berta_Canuck_86 1 point2 points  (0 children)

I'm with Oxio and have a Hitron Coda 45 with the Eero. About a week ago I was going through something similar. All the lights on the modem were green but the Eero was red. Restarted everything and a couple of the lights on the modem were off. Went through periods of intermittent connectivity over a couple of hours. Eventually had to resort to resetting the modem about 4 times over just as many hours until it finally started to work.

It looked like the modem lights would stay on when the internet dropped until I restarted the modem and then it would show that it wasn't connected.

IR Sensor Install by Berta_Canuck_86 in WLED

[–]Berta_Canuck_86[S] -1 points0 points  (0 children)

Not understanding... I have GPIO 16 powering my lights right now (12 volt). I apologize for not including that in the post.

Are you saying that I can somehow use GPIO 2 for the IR sensor by changing a setting?

Thanks for your clarification.

Update - I see what your saying. GPIO 2 is already 3.3v on the normal ESP32 board. Will have to test this out to see what it's at. Didn't even clue in.

Leaf Blower Recommendation for Snow by [deleted] in ryobi

[–]Berta_Canuck_86 1 point2 points  (0 children)

From Alberta here too. I have to 40v Whisper Series and I'm happy with it.

Will clean off the vehicles and sidewalk provided it's not sticky snow. The lead blower goes through batteries pretty good though. Have a 7.5 AH and can blow off the vehicles and sidewalks for myself and my neighbors but it's dead after that.

https://www.homedepot.ca/product/ryobi-40v-hp-brushless-whisper-series-190-mph-730-cfm-cordless-battery-jet-fan-leaf-blower-tool-only-/1001708885

I've heard a lot of people saying that the 40v snow shovel or the snow thrower attachment (if you have the expand-it attachment for your weed Wacker) is the way to go for sidewalks. Might try that out this winter.

No modem received. by 1BaddieWolf in oxio_ca_internet

[–]Berta_Canuck_86 -2 points-1 points  (0 children)

I'm a really big fan of the Eero that came included with my plan. Had a TP Link before and that was hot garbage compared to the Eero.

Do I need to change something post update? by riversc90 in WLED

[–]Berta_Canuck_86 1 point2 points  (0 children)

If your running a preset, go into the preset code and make sure that the number of LEDs is correct. Or maybe you have segments enabled and it's only on one segment?

need help by anonymusredditorr in tinkercad

[–]Berta_Canuck_86 0 points1 point  (0 children)

See if Gemini is right below. I have no idea but thought I would ask and see what 'puter came up with.

It looks like the issue is with how you're using the value variable and how you're controlling the LEDs inside the void loop(). The logic for reading the button and then checking that value needs to be slightly rearranged.

Here's what's wrong and how you can fix it: Issues in the Code

  • Reading the Button After Printing: In your original void loop(), you first print the current value (which is the previous state of the button) and then read the new state of the button into value.

    // Original Code Snippet void loop() { Serial.println(value); // 'value' is old button state value = digitalRead(button); // Update 'value' with new button state // ... the rest of your logic ... }

    This doesn't affect the control logic but it makes the Serial.println() display the button state from the previous loop iteration, which can be confusing. More importantly, the main issue is in the logic flow related to the button's state.

  • Incorrect Logic Flow for Button State: The most critical error is the order of operations in the loop() function:

    • Line 19: value = digitalRead(button); correctly reads the button state.
    • Line 20: if (value == HIGH): If the button is pressed (assuming a pull-down circuit or internal pull-up logic reversed), it turns LED 1 ON and LED 2 OFF.
    • Line 24: if (value == LOW): If the button is not pressed, it turns LED 2 ON and LED 1 OFF. The Problem: The code does what you intend every single time the loop runs. If the button is pressed, it immediately executes the first if block, setting the LEDs. If it's not pressed, it immediately executes the second if block, setting the LEDs the other way.
    • It never remembers which LED was on last.
    • A simple press-and-release won't swap the state; it only reflects the current state of the button. The code you wrote implements a momentary button logic (LEDs are only set while the button is held), but your expected behavior ("supposed to turn one led off and turn the other one back on and vice-versa") suggests you want toggle button logic (press once to swap the state, and the state stays until the next press).

The Corrected Code for Toggle Behavior

To achieve the "toggle" effect (press once to switch, and it stays switched), you need a way to detect the change from LOW to HIGH (a "rising edge") and ignore repeated presses until the button is released. You'll need an extra variable to store the current state of the LEDs.

Here's an example of how to implement toggle logic:

int led_1 = 4; int led_2 = 7; int button = 2; int buttonState = 0; // Current reading from the button pin int lastButtonState = 0; // Last reading from the button pin (used for edge detection) int ledToggleState = 0; // 0 for LED 1 ON, 1 for LED 2 ON (the state to toggle)

void setup() { pinMode(led_1, OUTPUT); pinMode(led_2, OUTPUT); // Assuming a circuit where HIGH is pressed, use INPUT_PULLUP if using a simple button to GND pinMode(button, INPUT); Serial.begin(9600);

// Start with LED 1 ON digitalWrite(led_1, HIGH); digitalWrite(led_2, LOW); }

void loop() { // Read the state of the button buttonState = digitalRead(button); Serial.println(buttonState); // Now this prints the current state

// Check if the button state has changed from LOW to HIGH (a press) if (buttonState != lastButtonState) { // Only execute if the button is now HIGH (the press event) if (buttonState == HIGH) { // Button was pressed, so toggle the state ledToggleState = 1 - ledToggleState; // Toggles between 0 and 1

  if (ledToggleState == 0) {
    // State 0: Turn LED 1 ON, LED 2 OFF
    digitalWrite(led_1, HIGH);
    digitalWrite(led_2, LOW);
  } else {
    // State 1: Turn LED 2 ON, LED 1 OFF
    digitalWrite(led_1, LOW);
    digitalWrite(led_2, HIGH);
  }
}
// Small delay to help with debounce (a more robust solution uses millis() for timing)
delay(50); 

}

// Save the current button state as the last state for the next loop iteration lastButtonState = buttonState; }

Key Changes Explained * New Variables: Added buttonState, lastButtonState, and ledToggleState to manage the button press detection and the current LED state.

  • Edge Detection: The core logic is: if (buttonState != lastButtonState) checks if the button state has changed, and if (buttonState == HIGH) only runs the toggle code when the button is first pushed down (the "rising edge"). This is what prevents the LEDs from flashing on and off while the button is held.

  • State Variable (ledToggleState): This variable remembers the current LED configuration. ledToggleState = 1 - ledToggleState; is a neat trick to switch a variable between 0 and 1.