Quantcast
Channel: Configuration - Home Assistant Community
Viewing all 105527 articles
Browse latest View live

MQTT to toggle lights (switch - rpi_rf )

$
0
0

@vazma wrote:

Hey,

I have a rpi_rf switch setup and I would like to control it via my mqtt topic by sending a message with this format:

{
    "data": [
        {
            "service": "switch.bedroom_light",
            "entity": "switch.bedroom_light",
            "ingredient": "on"   # OR "off"
        }
    ]
}

In my configuration file I have configured the mqtt and the switch:

switch:
  - platform: rpi_rf
    gpio: 17
    switches:
      bedroom_light:
        protocol: 1
        pulselength: 180
        code_on: 4273420
        code_off: 4273411

mqtt:
    broker: example.broker.com

And now in the automations.yaml file I would like to add the right configuration but I cant find any example how to handle the message and match it with the right switch state.

- id: '1581790322545'
- alias: 'Bedroom lights'
  trigger:
    platform: mqtt
    topic: 'channel/topic'
  action:
    service: homeassistant.toggle
    data:
      entity_id: switch.bedroom_light

Is there any idea how to switch the state by getting ON or OFF from the mqtt?

Cheers

Posts: 2

Participants: 2

Read full topic


Bluetooth speaker

$
0
0

@goosst wrote:

Hello

A question about getting connected to a bluetooth speaker.
My idea was to run a python script and play some music at specific events.

I’ve installed home assistant in a virtual environment (so not the docker setup):

  • armbian buster running on a tinkerboard
  • additional bluetooth usb-dongle

Through my “normal” account I can connect to my bluetooth speaker and play music from the command line (using command cvlc --no-video test.mp3). Doing similar commands in a python way also works.
i.e. this code below works:

xxx@tinkerboard:~$ bluetoothctl
Agent registered
[bluetooth]# power off
Changing power off succeeded
[bluetooth]# power on
[CHG] Controller 00:1A:7D:DA:71:14 Class: 0x000c0000
Changing power on succeeded
[CHG] Controller 00:1A:7D:DA:71:14 Powered: yes
[bluetooth]# connect 94:E3:6D:61:59:72
Attempting to connect to 94:E3:6D:61:59:72
[CHG] Device 94:E3:6D:61:59:72 Connected: yes
Connection successful
[CHG] Device 94:E3:6D:61:59:72 ServicesResolved: yes
[Living Room Bluetooth]# power off
[CHG] Device 94:E3:6D:61:59:72 ServicesResolved: no
[CHG] Device 94:E3:6D:61:59:72 Connected: no
Changing power off succeeded
[CHG] Controller 00:1A:7D:DA:71:14 Powered: no
[CHG] Controller 00:1A:7D:DA:71:14 Discovering: no
[CHG] Controller 00:1A:7D:DA:71:14 Class: 0x00000000
[bluetooth]# quit

Unfortunately this doesn’t work when I move to the homeassistant virtual environment:

  • the bluetoothctl command already hangs and needs to be interrupted with ctrl+c to move forward
  • no (bluetooth) controller gets detected
  • homeassistant user has been added to the group via sudo adduser homeassistant bluetooth
@tinkerboard:~$ sudo -u homeassistant -H -s
homeassistant@tinkerboard:/home/xxx$ source /srv/homeassistant/bin/activate
(homeassistant) homeassistant@tinkerboard:/home/xxx$ bluetoothctl

[bluetooth]# power on
No default controller available
[bluetooth]# agent on
Agent registration enabled
[bluetooth]# default-agent
No agent is registered
[bluetooth]# devices
No default controller available

Do you have any suggestions how to get this resolved?

Thanks!

Posts: 1

Participants: 1

Read full topic

2 networks, 1 for wan, 1 for lan

$
0
0

@rbees wrote:

I am setting up a pi4 as a home assistant. Due to the nature of my needs I had to use the raspbian manual install. All seams to be working fine. Till I break it that is :slight_smile:

I have the pi set up as a WiFi AP for the exclusive use of Home Assistant, but I want the web-app to be available on the LAN (eth0) so it can be connected to.

I see that there are some network setting is some of the files, just not sure which ones to edit.

Is there a Guide or Tutorial of some kind for this setup?

Posts: 1

Participants: 1

Read full topic

Conflicting mqtt automations for input_number (slider)?

$
0
0

@Stoli wrote:

I am trying to make an input_number slider entity work with an mqtt roller shade. I have 2 automations, the first sets the input_number value when triggered by an mqtt (Set Shade1 slider), and the second sends an mqtt when the slider is moved in the gui (Shade1 slider moved). The mqtt format for the shade is simple. When it is sent a value between 0 and 100 (percentage of closed), it will first send out a json with its current position (position) and the new setting (set). After the shade has completed moving, it sends out another json with the current status (position and setting) and in this transmission, they are always the same (the new set position).

i.e. Assuming current position is 10.

when shade is sent payload: 20
shade returns “set”: 20, “position”: 10
after it finishes moving, shade returns “set”:20, “position”:20

Both automations will work individually (when the other is removed), but when both are present, the shade will move to the new position (as set by the slider or an external source), but then it will move back up to zero in single step increments.

input_number:
  shade1:
    name: Shade1
    mode: slider
    initial: 0
    min: 0
    max: 100
    step: 10
    icon: mdi:blinds

automation:
  - alias: "Set Shade1 slider"
    trigger:
      platform: mqtt
      topic: /raw/esp8266/6831410/out
    condition:
      - condition: template
        value_template: "{{ trigger.payload_json.set == trigger.payload_json.position }}"
    action:
      - service: input_number.set_value
        data_template:
          entity_id: input_number.shade1
          value: "{{ trigger.payload_json.position | int }}"

  - alias: "Shade1 slider moved"
    trigger:
      platform: state
      entity_id: input_number.shade1
    action:
      - service: mqtt.publish
        data_template:
          topic: /raw/esp8266/6831410/in
          retain: true
          payload: "{{ states('input_number.shade1') | int }}"

Thanks

Posts: 3

Participants: 2

Read full topic

Error message about emulated_hue integration in HA log

$
0
0

@didiergo wrote:

Hello

Could someone help me to understand the following message in HA log:

  • Unkown entity number : 2 not found in emulated_hue_ids.json
    components/emulated_hue/hue_api.py (error)

Below, the contents of the emulated_hue_ids.json
{ "1": "input_boolean.tv" }
This file is automatically created when emulated_hue integration is actived

and a partial contents of configuration.yaml about emulated_hue integration :

emulated_hue:
host_ip: 192.168.1.18
listen_port: 80
#advertise_ip: 192.168.1.18
#advertise_port: 80
#off_maps_to_on_domains:
#- script
#- scene
expose_by_default: true
exposed_domains:
#- light
- input_boolean
entities:
input_boolean.TV_Test:
name: “TV_Test”
hidden: false

I have the same message for ten numbers.
Thank you in advance for your help

Posts: 1

Participants: 1

Read full topic

Ffmpeg camera + Amcrest DVR = Screen Tearing

$
0
0

@TimothyGaray wrote:

Does anyone know what causes this?

ScreenTearing

Running HASS.io on ODROID-XU4.

My configuration:

camera:
    - platform: ffmpeg
      name: Backyard
      input: !secret DVR_Channel03
      extra_arguments: '-q:v 1 -r 25 -vf "scale=800:600"'

This is pulling the stream from my Amcrest DVR on my local network:

DVR_Channel03: rtsp://user:pass@DVRIP:554/cam/realmonitor?channel=3&subtype=0

If I go with subtype=1 then this doesn’t happen but the image quality is very poor.

Next time it grabs a frame then it usually looks ok.

I pulled the extra arguments off the Internet somewhere. Not sure what they mean other than the scale so I am open to suggestions.

Thanks!

-Tim

Posts: 1

Participants: 1

Read full topic

Lovelace Picture card not updating image form file/url

$
0
0

@palengh wrote:

I was hoping the picture card would refresh it’s content, and read the images when opening the card, but unfortunately this I not my experience.

How do I get the latest image version (of the same file) to show in Lovelace?

The image is stored at the location below. A new snapshot is taken when PIR is triggered, replacing the previous image.
This is my card, and I can verify the image is updated at file level, but not so in Lovelace, even after restarting the app, or when reloading page from server (updating cache) in browser.

hold_action:
  action: none
tap_action:
  action: none
type: picture
image: 'http://192.168.xxx.xxx:8123/local/camera_snapshots/frontdoor/frontdoor_2.jpg'

Posts: 2

Participants: 2

Read full topic

Yr.no - error in configure file

$
0
0

@Byrkjis wrote:

I’m trying to figure out what is wrong, configuration is giving me error:
Configuration invalid

Invalid config for [sensor.yr]: [yr_symbol_current] is an invalid option for [sensor.yr]. Check: sensor.yr->yr_symbol_current. (See ?, line ?).
  - platform: yr
    forecast: 24
    monitored_conditions:
      - temperature
      - symbol
  - platform: template
      sensors:
    yr_symbol_current:
      friendly_name: "Akkurat nå:"
      value_template: >-
        {% if states.sensor.yr_symbol.state | int==1%}Klart
        {% elif states.sensor.yr_symbol.state | int==2%}Lettskyet
        {% elif states.sensor.yr_symbol.state | int==3%}Delvis skyet
        {% elif states.sensor.yr_symbol.state | int==4%}Skyet
        {% elif states.sensor.yr_symbol.state | int==5%}Regnbyger
        {% elif states.sensor.yr_symbol.state | int==6%}Regbyger med torden
        {% elif states.sensor.yr_symbol.state | int==7%}Sluddbyger
        {% elif states.sensor.yr_symbol.state | int==8%}Snøbyger
        {% elif states.sensor.yr_symbol.state | int==9%}Regn
        {% elif states.sensor.yr_symbol.state | int==10%}Kraftig regn
        {% elif states.sensor.yr_symbol.state | int==11%}Kraftig regn og torden
        {% elif states.sensor.yr_symbol.state | int==12%}Sludd
        {% elif states.sensor.yr_symbol.state | int==13%}Snø
        {% elif states.sensor.yr_symbol.state | int==14%}Snø og torden
        {% elif states.sensor.yr_symbol.state | int==15%}Tåke
        {% elif states.sensor.yr_symbol.state | int==20%}Sluddbyger og torden
        {% elif states.sensor.yr_symbol.state | int==21%}Snøbyger og torden
        {% elif states.sensor.yr_symbol.state | int==22%}Regn og torden
        {% elif states.sensor.yr_symbol.state | int==23%}Sludd og torden
        {% elif states.sensor.yr_symbol.state | int==24%}Lette regbyger og torden
        {% elif states.sensor.yr_symbol.state | int==25%}Kraftige regnbyger og torden
        {% elif states.sensor.yr_symbol.state | int==26%}Lette sluddbyger og torden
        {% elif states.sensor.yr_symbol.state | int==27%}Kraftige sluddbyger og torden
        {% elif states.sensor.yr_symbol.state | int==28%}Lette snøbyger og torden
        {% elif states.sensor.yr_symbol.state | int==29%}Kraftige snøbyger og torden
        {% elif states.sensor.yr_symbol.state | int==30%}Lett regn og torden
        {% elif states.sensor.yr_symbol.state | int==31%}Lettt sludd og torden
        {% elif states.sensor.yr_symbol.state | int==32%}Kraftig sludd og torden
        {% elif states.sensor.yr_symbol.state | int==33%}Lett snø og torden
        {% elif states.sensor.yr_symbol.state | int==34%}Kraftig snø og torden
        {% elif states.sensor.yr_symbol.state | int==40%}Lette regnbyger
        {% elif states.sensor.yr_symbol.state | int==41%}Kraftige regnbyger
        {% elif states.sensor.yr_symbol.state | int==42%}Lette sluddbyger
        {% elif states.sensor.yr_symbol.state | int==43%}Kraftige sluddbyger
        {% elif states.sensor.yr_symbol.state | int==44%}Lette snøbyger
        {% elif states.sensor.yr_symbol.state | int==45%}Kraftige snøbyger
        {% elif states.sensor.yr_symbol.state | int==46%}Lett regn
        {% elif states.sensor.yr_symbol.state | int==47%}Lett sludd
        {% elif states.sensor.yr_symbol.state | int==48%}Kraftig sludd
        {% elif states.sensor.yr_symbol.state | int==49%}Lett snø
        {% elif states.sensor.yr_symbol.state | int==50%}Kraftig snø
        {% endif %}
      entity_picture_template: >-
        {% if is_state('sun.sun', 'above_horizon') %}
        //api.met.no/weatherapi/weathericon/1.1/?symbol={{states.sensor.yr_symbol.state}};is_night=0;content_type=image/png
        {% else %}
        //api.met.no/weatherapi/weathericon/1.1/?symbol={{states.sensor.yr_symbol.state}};is_night=1;content_type=image/png
        {% endif %}

Posts: 3

Participants: 3

Read full topic


Pushover sending images to Apple watch

$
0
0

@ptdalen wrote:

Has anyone else experienced this. I have one Pushover API, I send messages to myself and my wife. She is listed as a user on my account (I think thats the right term for it).

If I send an image we both get it on our phones, but only I get it on my watch. Is that a pushover thing? I did a bit of web searching about only sending images to an apple watch for the primary account? But could not find anything. I know this is a semi edge case, so was hoping there were others with two iphones, two apple watches, who send images to thier phones using pushover.

Posts: 1

Participants: 1

Read full topic

Deleting MQTT Devices

$
0
0

@gdc wrote:

I have a couple of MQTT discovered devices that I want to delete, I have tried different ways on here to do this with no success. Th e device entities have all deleted OK but the devices stick around
I have deleted every thing in MQTT Explorer I can find, But when I delete the Entry’s in t he core_device Registry HA fails to boot and I have to restore the file to get it to run, I have read that this delete feature is now implemented but I cant find where it is, Cheers

Posts: 1

Participants: 1

Read full topic

Tap_Action: Scene Turn On

$
0
0

@bigverm23 wrote:

clicking the icons does nothing…where it should in theory turn on a scene…what did I miss?

          - entity: light.salonlights
            type: custom:multiple-entity-row
            name: White Light Choices
            entities:
              - entity: light.salonlights
                icon: mdi:weather-sunny
                tap_action:
                  action: call-service
                  service: scene.turn_on
                  service_data:
                    entity_id: scene.salonday
              - entity: light.salonlights
                icon: mdi:weather-night
                tap_action:
                  action: call-service
                  service: scene.turn_on
                  service_data:
                    entity_id: scene.salonnight

Posts: 1

Participants: 1

Read full topic

Problem with Regular Expressions and Templating

$
0
0

@Prokktor wrote:

Hi,

I have values like this:
AA B1 03 04C4 0186 30F2 28190908190909090908190819090908190908190819090819 55

And I need only the longest word in this “sentence”, so I tried Regular Expressions:
‘value_template: "{{value_json.RfReceived.Data | regex_findall_index(’\S{20,}’)}}"’

But I get an error (HA does not understand the escaped S)

I tried the solution for this related problem in the template editor:

But HA says unknown error while parsing… even if I copy the suggested solution char by char

I then read the jinja docs but no other solution was obvious to me…

Thanks for your time!

Regards

Martin

Posts: 1

Participants: 1

Read full topic

Naming Change - am I missing something?

$
0
0

@MikeSherman wrote:

We used hassio.local in the past, if you have a system that is installed before this naming change, you might need to use hassio.local instead of homeassistant.local .

Am I missing something?
It appears I have to go and reprogram ALL of my sensors to change the mqtt server from “hassio.local” to “homeassistant.local”.

Most of my devices are not OTA programmable.

This is a MAJOR PITA.
Is there some way around this?

-Mike

Posts: 3

Participants: 2

Read full topic

MQTT Sensor not showing up

$
0
0

@kceleslie wrote:

I’m using motion (https://github.com/andrewjfreyer/monitor) to detect bluetooth devices at home. Right now i’m just trying to determine who is home but in the future i’d like to try to figure out where in the house we are.

Following the example in the documentation i should either add to the device_tracker or a sensor node. Here is the config for the sensor

sensor:
 - platform: mqtt
    state_topic: 'monitor/monitor-garage/keith_phone'
    #value_template: '{{ value_json.confidence }}'
    #unit_of_measurement: '%'
    name: 'keith-bluetooth-monitor'
  - platform: mqtt
    state_topic: 'monitor/monitor-garage/alias'
    value_template: '{{ value_json.confidence }}'
    unit_of_measurement: '%'
    name: 'Garage-Kristy-Phone'
    uname_id: garage_kristy_phone

For some reason i cannot see the state of the sensor. It does not show up on the Developer -> States page. I know MQTT is working as i receive other MQTT messages, and i know the “monitor” script is publishing to mqtt as i can see them on my laptop.

I’ve waited a bit to see if it just took a while but the sensors never show up.

When i try with the device_tracker i get a configuration error. Does anyone have it working for either sensor or device_tracker?

Posts: 3

Participants: 2

Read full topic

Upgrade keeps failing from 0.104.3 to 0.105.5

$
0
0

@bhadrig wrote:

Hello

I am currently in 0.104.3 and trying to update to 0.105.5. But the upgrade keeps failing with this error.

20-02-19 02:04:04 ERROR (SyncWorker_17) [hassio.docker.interface] Can’t install homeassistant/qemux86-64-homeassistant:0.105.5 -> 404 Client Error: Not Found (“no such image: homeassistant/qemux86-64-homeassistant:0.105.5: No such image: homeassistant/qemux86-64-homeassistant:0.105.5”).
I do not have Netatmo like issues are pointing to.
What would be the best way to update without having to redo everything.

Thanks

Posts: 3

Participants: 2

Read full topic


Amcrest Camera not working on hass.io

$
0
0

@fsa317 wrote:

I have a pretty simple amcrest that was working at one point (and is working via the direct url to the camera). The only related errors I see in the log are:

2020-02-18 22:17:30 ERROR (MainThread) [homeassistant.components.camera] Error requesting stream: Camera is off
2020-02-18 22:17:30 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 172.30.33.4

Any idea how I can debug?

Posts: 1

Participants: 1

Read full topic

Lovelace: What is a 'cover'?

$
0
0

@stevemann wrote:

What is a Lovelace ‘cover’? I find “cover” all over the forums, but nowhere can I find what a cover does.

Posts: 2

Participants: 2

Read full topic

Node Red Call Service node stopped working

$
0
0

@stevemann wrote:

My Home Assistant server (Raspberry Pi-3) crashed last week and as my bad luck had it, I had no saved snapshots. So, I am starting over.

Getting my lights and switches back on Alexa seemed to be working. I had been using Alexa-Local nodes in the past, but an Alexa Discover couldn’t find the nodes on the new system, so I decided to try Alexa-Home. Discover finds the Alexa-Home nodes nicely, except for the frequent:

Error: connect ECONNREFUSED 34.240.81.189:8883

I’ll work on that later unless someone has any suggestions.
By my real issue is with the Call Service node.

I can reliably turn the light on or off using the Services tab:

So, I put the entity and service into a Call Service node:

After deploying, everything seemed to work, then my wife called me to dinner.
A couple of hours later, one of the Call Service nodes has this error:

"Call-service API error. "

and the other has this error:

“Call-Service attempted without connection to server.”

The only difference from the two is the service; switch.turn_on or switch.turn_off.

Here is what my flow looks like:

And here is the flow:

[ 
   { 
      "id":"75ebe44.60af51c",
      "type":"inject",
      "z":"ae89a19a.1fd39",
      "name":"on",
      "topic":"",
      "payload":"on",
      "payloadType":"str",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":470,
      "y":580,
      "wires":[ 
         [ 
            "7c92a4da.c068fc"
         ]
      ]
   },
   { 
      "id":"fc188614.f1eae8",
      "type":"inject",
      "z":"ae89a19a.1fd39",
      "name":"Off",
      "topic":"",
      "payload":"off",
      "payloadType":"str",
      "repeat":"",
      "crontab":"",
      "once":false,
      "x":470,
      "y":620,
      "wires":[ 
         [ 
            "56defcf1.8ffa24"
         ]
      ]
   },
   { 
      "id":"52ffe154.20495",
      "type":"alexa-home",
      "z":"ae89a19a.1fd39",
      "conf":"49ef520c.ed4c0c",
      "device":"93601",
      "acknoledge":true,
      "name":"Floodlight",
      "topic":"",
      "x":140,
      "y":520,
      "wires":[ 
         [ 
            "2efea101.04239e"
         ]
      ]
   },
   { 
      "id":"2efea101.04239e",
      "type":"switch",
      "z":"ae89a19a.1fd39",
      "name":"Turn light on or off",
      "property":"command",
      "propertyType":"msg",
      "rules":[ 
         { 
            "t":"eq",
            "v":"TurnOnRequest",
            "vt":"str"
         },
         { 
            "t":"eq",
            "v":"TurnOffRequest",
            "vt":"str"
         }
      ],
      "checkall":"true",
      "outputs":2,
      "x":330,
      "y":520,
      "wires":[ 
         [ 
            "9413c9d0.915b48"
         ],
         [ 
            "c3528af3.bc2c58"
         ]
      ]
   },
   { 
      "id":"9413c9d0.915b48",
      "type":"change",
      "z":"ae89a19a.1fd39",
      "name":"Set payload to on",
      "rules":[ 
         { 
            "t":"set",
            "p":"payload",
            "pt":"msg",
            "to":"on",
            "tot":"str"
         }
      ],
      "action":"",
      "property":"",
      "from":"",
      "to":"",
      "reg":false,
      "x":550,
      "y":500,
      "wires":[ 
         [ 
            "7c92a4da.c068fc"
         ]
      ]
   },
   { 
      "id":"c3528af3.bc2c58",
      "type":"change",
      "z":"ae89a19a.1fd39",
      "name":"Set payload to off",
      "rules":[ 
         { 
            "t":"set",
            "p":"payload",
            "pt":"msg",
            "to":"off",
            "tot":"str"
         }
      ],
      "action":"",
      "property":"",
      "from":"",
      "to":"",
      "reg":false,
      "x":550,
      "y":540,
      "wires":[ 
         [ 
            "56defcf1.8ffa24"
         ]
      ]
   },
   { 
      "id":"94d052df.3be92",
      "type":"comment",
      "z":"ae89a19a.1fd39",
      "name":"========== Floodlight ==========",
      "info":"",
      "x":230,
      "y":460,
      "wires":[ 

      ]
   },
   { 
      "id":"7c92a4da.c068fc",
      "type":"api-call-service",
      "z":"ae89a19a.1fd39",
      "name":"Floodlight On",
      "server":"cc0d1734.6963a8",
      "version":1,
      "debugenabled":true,
      "service_domain":"switch",
      "service":"turn_on",
      "entityId":"switch.aeon_labs_zw139_nano_switch_switch",
      "data":"",
      "dataType":"json",
      "mergecontext":"",
      "output_location":"",
      "output_location_type":"none",
      "mustacheAltTags":false,
      "x":790,
      "y":540,
      "wires":[ 
         [ 

         ]
      ]
   },
   { 
      "id":"56defcf1.8ffa24",
      "type":"api-call-service",
      "z":"ae89a19a.1fd39",
      "name":"Floodlight Off",
      "server":"cc0d1734.6963a8",
      "version":1,
      "debugenabled":true,
      "service_domain":"switch",
      "service":"turn_off",
      "entityId":"switch.aeon_labs_zw139_nano_switch_switch",
      "data":"",
      "dataType":"json",
      "mergecontext":"",
      "output_location":"",
      "output_location_type":"none",
      "mustacheAltTags":false,
      "x":790,
      "y":600,
      "wires":[ 
         [ 

         ]
      ]
   },
   { 
      "id":"49ef520c.ed4c0c",
      "type":"alexa-home-conf",
      "z":"",
      "username":"SteveMann"
   },
   { 
      "id":"cc0d1734.6963a8",
      "type":"server",
      "z":"",
      "name":"Home Assistant- Raspberry",
      "legacy":true,
      "hassio":true,
      "rejectUnauthorizedCerts":true,
      "ha_boolean":"y|yes|true|on|home|open",
      "connectionDelay":true,
      "cacheJson":true
   }
]

Assistance would be appreciated…

Posts: 1

Participants: 1

Read full topic

InfluxDB only collects some sensor values

$
0
0

@tellblom wrote:

In my configuration I have no inclusion or exclusions i.e

influxdb:
  host: 10.0.0.100
  ssl: false

The enity_id is in the database (it shows up in Grafana)
image

But only cpu_temperature has values, do I select futten_temperature there is no data at all.

In HA it updates its values correctly.

What have I done wrong?

Posts: 1

Participants: 1

Read full topic

Adding Tasmota 3 channel PWM to HA

$
0
0

@karsie wrote:

Hi,

I’m having trouble in where to start with adding 3 PWM fans on a single Tasmota to my HA configuration. In Tasmota everything is working fine but I don’t know which configuration lines I have to add to control them from HA. The command to control fanspeed is the channel command.

fan_controller/stat/RESULT = {"Time":"2020-02-19T12:31:31","Uptime":"0T00:01:25","UptimeSec":85,"Heap":26,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER1":"ON","Channel1":13,"POWER2":"ON","Channel2":95,"POWER3":"OFF","Channel3":99,"Color":"33,242,252","Wifi":{"AP":1,"SSId":"-","BSSId":"-","Channel":10,"RSSI":100,"Signal":-39,"LinkCount":1,"Downtime":"0T00:00:06"}}

Posts: 1

Participants: 1

Read full topic

Viewing all 105527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>