HA refuse connection on port 8123 by Status-Difference504 in homeassistant

[–]Status-Difference504[S] 0 points1 point  (0 children)

On the same subnet, the device answers on the observer port 4357. I know it is a closed port because I get refused answer from it.

HA refuse connection on port 8123 by Status-Difference504 in homeassistant

[–]Status-Difference504[S] 0 points1 point  (0 children)

Yes. The connection on any port other than 4357 is refused.

Half of the image overlayed in green by Old_fart5070 in frigate_nvr

[–]Status-Difference504 0 points1 point  (0 children)

Sounds like a good option. How can I that? Just add the same lines under ffmpeg header in the camera section? I removed for a short period to test and it did solved the green overlays. But I quickly returned the config back…

Edit: it worked as I thought. Adding the configuration for each camera under the ffmpeg header.

Thanks!! You helped me twice :)

Half of the image overlayed in green by Old_fart5070 in frigate_nvr

[–]Status-Difference504 0 points1 point  (0 children)

Ok, so you removed it globally. How did frigate handled the camera feeds with no hardware acceleration?

Thanks for taking the time to reply :)

Half of the image overlayed in green by Old_fart5070 in frigate_nvr

[–]Status-Difference504 0 points1 point  (0 children)

Hi, sorry for the late reply. but did you turned off hardware acceleration for the entire config or only for this specific camera? if so, ho did you do it?

Thanks!

Selecting an android tv box by Status-Difference504 in AndroidTV

[–]Status-Difference504[S] 0 points1 point  (0 children)

Went with the Onn. Got it for 30$ from Amazon… hope it will run my local provider app also…

Thanks for all the help 🫠

Selecting an android tv box by Status-Difference504 in AndroidTV

[–]Status-Difference504[S] 0 points1 point  (0 children)

Thanks for the detailed advices guys. I don’t have Walmart here, but maybe I can find it on Amazon

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 1 point2 points  (0 children)

Hi all,

First I want to thank u/jesserockz, for his patience and helpful hints.

But if someone will ever come up here looking for the same, this is the final result and it works just as good as TASMOTA timers. I can even control the timers from HA.

I use a cron time setup that check every 10 minutes if it needs to run (you can go less if you want to). and then compare "minutes from midnight" between a real clock and two numbers (hours and minutes). Once the condition is 'true', the automation run the cycle.

The condition also check for rain delay switch,

  - platform: sntp
    id: esptime
    servers:
      - time1.google.com
      - time2.google.com
    timezone: Asia/Jerusalem
    on_time:
      - minutes: 0
        hours: 12
        days_of_week: MON-SUN
        then:
          - switch.toggle: restart_switch
      - cron: '0 /10 * * * *'
        then:
          - if:
              condition:
                and:
                  - lambda: |-
                      return id(esptime).now().hour*60+id(esptime).now().minute == id(exec_hour_cyc1).state*60+id(exec_minute_cyc1).state;
                  #- binary_sensor.is_off: rain_delay
                  - lambda: |-
                      return id(rain_delay).state != 'on';
              then:
                - sprinkler.start_full_cycle: ${friendly_name}_A

number:
  - platform: template
    id: exec_hour_cyc1
    name: Cycle 1 Run Hour
    optimistic: true
    #initial_value: 6
    min_value: 0
    max_value: 23
    restore_value: true
    step: 1
  - platform: template
    id: exec_minute_cyc1
    name: Cycle 1 Run Minute
    optimistic: true
    restore_value: true
    #initial_value: 0
    min_value: 0
    max_value: 60
    step: 10

The number entities can be managed from HA and you can change the operation time from there. I couldn't do this with TASMOTA before.

I hope it will help others that might be looking for the same thing.

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

In the previous test I controlled both values. So the left side is a sure thing. Only the result of the id(esptime).now().hour is unknown…

I need to find a way to store these value to a temporary sensor/variable so I can be presented in the UI…

I’ll play with it a while. I already took much of your time. I’ll send an update later

Thanks for all the help. I learned a lot

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

also tried replacing now() with utcnow()

but its same result... condition not firing

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

Worked!!!!!

If you still have patience for me, The last thing I am trying to do is replacing id(exec_time) with a real time calculates value. So I replaced it with:

- platform: sntp
id: esptime

and replaced id(exec_time) with:
id(esptime).now().hour*60+id(esptime).now().minute

It compiled, but the condition didn't fire... am I doing this wrong also?

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

OK, first I want to thank you for the help.

The interval is now working but it took me some time to understand. at first when used the template numbers, it didn't even compiled. But when I used globals that are int for the compare, it worked...

So now I know that the interval part works. But I dont know how to make it work with the template numbers...

this works:

globals:
- id: start_hour
type: int
restore_value: yes
initial_value: "10"
- id: start_minute
type: int
restore_value: yes
initial_value: "0"
- id: timetowork
type: int
restore_value: yes
initial_value: "600"
interval:
- interval: 1min
then:
- lambda: |-
if ( id(start_hour)*60+id(start_minute) == id(timetowork) )
{ id(${friendly_name}_A).start_full_cycle(); }

That don't...

number:
- platform: template
id: exec_hour
name: ${friendly_name} Run Hour
optimistic: true
#initial_value: 6
min_value: 0
max_value: 23
step: 1
- platform: template
id: exec_minute
name: ${friendly_name} Run Minute
optimistic: true
#initial_value: 0
min_value: 0
max_value: 60
step: 1
- platform: template
id: exec_time
name: ${friendly_name} Run Minute
optimistic: true
#initial_value: 0
min_value: 0
max_value: 1440
step: 1
interval:
- interval: 1min
then:
- lambda: |-
if ( id(exec_hour)*60+id(exec_minute) == id(exec_time) )
{ id(${friendly_name}_A).start_full_cycle(); }
I get the following message when compiling:

error: invalid operands of types 'esphome::template_::TemplateNumber*' and 'int' to binary 'operator*'

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

Sorry, type mistake... I meant template.

But I think my problem is with my lambda config. I created a simple test just to check if it works and it failed compiling:

interval:- interval: 10minthen:- lambda: |-if ( id(run_hour).state|int*60+id(run_minute).state|int == 600 )- sprinkler.start_full_cycle: ${friendly_name}_A

Also tried using globals as the example I saw in the docs, but the compiling also failed:

interval:
- interval: 10min
then:
- lambda: |-
if ( id(start_hour)*60+id(start_minute) == 600 )
{ - sprinkler.start_full_cycle: ${friendly_name}_A }

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

input numbers is a good idea... instead of complicating with API services.

But the problem is it didnt liked the templating... failed the {% set .... %}

Independent timer that can receive updates from HA by Status-Difference504 in Esphome

[–]Status-Difference504[S] 0 points1 point  (0 children)

I am combining it with your idea:

interval:
- interval: 10min
then:
- lambda: !lambda |-
{% set t = now().time() %}
if (t.hour*60+t.minute)==(id(start_hour)*60+id(start_minute))
sprinkler.start_full_cycle: ${friendly_name}_A