Wifi thermostat (Beok, Floureon, Beca Energy) component

Hello everyone!
To be honest I am a bit confused.
I am planning to buy a smart thermostat or control the current one by placing a Shelly on it.
I would prefer to have a smart one mainly due to visual result.
So I found this one Floureon HY08WE
Is it going to work with the uspass/hysenheating in 0.99?
And a bonus question. :grin: What about adding it in HACS?

Hi, i use this thermostat:


with this component:

in Hassio 0.99.2 on Rpi 3b+ and all is working.

Giovani the component is working fine to 0.99.2 but if you install broadlink ir component then it stops. do have a solution?

I’m sorry but i don’t have other broadlink components…

Hedgehog57 , you solved?

I have modified custom component for Tuya-based thermostats. It works locally without thermostat modification. The code i’ve posted here:

after many attempts everything works. thanks Hedgehog57 :wink:

is there anyone who have install the component with any other broadlink component together?? i can’t make this to work with smartir component.Any solution please?? everything was working before upgrade from 0.92.2. and now i can’t restore. I was having the floureon thermostat to control my heating and broadlink ir rm3 mini to control my A/c units. But with 0.99.3 these two can’t work together.

I can’t get the automation to work to turn on the heating - I used to use set operation mode - but thats no longer a climate service - only HVAC

- id: EnSuite underfloor heating on
  alias: EnSuite underfloor heating on
  trigger:
  - at: 06:30:00
    platform: time
  condition:
  - condition: and
    conditions:
    - condition: time
      weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
      - sun
    - below: 5
      condition: numeric_state
      entity_id: sensor.dark_sky_outside
  action:
  - data:
      entity_id:
      - climate.underfloorheating
      temperature: 25
    service: climate.set_temperature
  - data:
      entity_id:
      - climate.underfloorheating
    service: climate.turn_on
  - data:
      entity_id:
      - climate.underfloorheating
      hvac_mode: heat
    service: climate.set_hvac_mode
- id: EnSuite underfloor heating off
  alias: EnSuite underfloor heating off
  trigger:
  - at: 07:00:00
    platform: time
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
    - sat
    - sun
  action:
  - data:
      entity_id:
      - climate.underfloorheating
      temperature: 15
    service: climate.set_temperature
  - data:
      entity_id:
      - climate.underfloorheating
    service: climate.turn_off
  - data:
      entity_id:
      - climate.underfloorheating
      hvac_mode: off
    service: climate.set_hvac_mode

Can anyone share how they set the mode?

@Robbrad, this is my automation to switch on my heating using a switch on the frontend and a slider to set a time after that the heating automatically switch off.

# *********************************** Automazione avvio temporizzato caldaia ***********************************

  - alias: 'caldaia temporizzata on'
    trigger:
      - platform: state
        entity_id: input_boolean.switch_caldaia_timer
        to: 'on'
    action:
      service: climate.set_temperature
      entity_id: climate.termostato
      data:
        temperature: 19.5
        
        
  - alias: 'caldaia temporizzata off'
    trigger:
      - platform: state
        entity_id: input_boolean.switch_caldaia_timer
        to: 'off'
      - platform: state
        entity_id: input_boolean.switch_caldaia_timer
        to: 'on'
        for: 
          minutes: '{{ states.input_number.caldaia_timer.state | int }}'
    action:
      - service: climate.set_temperature
        entity_id: climate.termostato
        data:
          temperature: 15
      - service: climate.set_hvac_mode
        entity_id: climate.termostato
        data:
          hvac_mode: auto
      - service: input_boolean.turn_off
        entity_id: input_boolean.switch_caldaia_timer

Thanks however I think there is an issue in the componenent can you help @cooljimy84 ?

Automation:

  action:
    - service: climate.set_temperature
      entity_id: climate.underfloorheating
      data:
        temperature: 25
    - service: climate.turn_on
      entity_id: climate.underfloorheating
    - service: climate.set_hvac_mode
      data:
        hvac_mode: 'auto'
2019-10-05 07:09:17 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.ensuite_u
nderfloor_heating_on. Unknown error for call_service at pos 2:
Traceback (most recent call last):
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/components/automation/__init__.py", line 434, in action
    await script_obj.async_run(variables, context)
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/script.py", line 162, in async_run
    await self._handle_action(action, variables, context)
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/script.py", line 246, in _handle_action
    await self._actions[_determine_action(action)](action, variables, context)
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/script.py", line 329, in _async_call_service
    context=context,
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 98, in async_call_from_config
    domain, service_name, service_data, blocking=blocking, context=context
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/core.py", line 1234, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/core.py", line 1259, in _execute_service
    await handler.func(service_call)
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 349, in entity_service_call
    future.result()  # pop exception if have
  File "/home/rob/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 371, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/home/rob/.homeassistant/custom_components/floureon/climate.py", line 386, in async_turn_on
    if self._last_on_operation is not None:
AttributeError: 'BroadlinkPIDThermostat' object has no attribute '_last_on_operation'

It seems to be complaining about the PID.
I use nodered to call my heating. Are you able to call each one separately and see which one produces the error?

Im pretty sure its the HVAC - as the temp get set correctly

Though it could be the off. Let me try

ok I was wrong not the hvac.

I remove the set HVAC - just to set temp and turn on

Temp gets set correctly so it must be the turn on

AttributeError: 'BroadlinkPIDThermostat' object has no attribute '_last_on_operation'

2019-10-05 08:37:17 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=turn_on,
service_data=entity_id=['climate.underfloorheating']>
2019-10-05 08:37:17 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.ensuite_u
nderfloor_heating_on. Unknown error for call_service at pos 2:

You don’t have to use climate.turn_on. Just set the temperature and it will switch on in manual mode.

1 Like

Thanks @gt4020

Got it working final code - in the end I needed the off but not the on

- id: EnSuite underfloor heating on
  alias: EnSuite underfloor heating on
  trigger:
  - at: 06:30:00
    platform: time
  condition:
  - condition: and
    conditions:
    - condition: time
      weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
      - sun
    - below: 5
      condition: numeric_state
      entity_id: sensor.dark_sky_outside
  action:
    - service: climate.set_temperature
      entity_id: climate.underfloorheating
      data:
        temperature: 25
    - service: climate.set_hvac_mode
      data:
        hvac_mode: auto
- id: EnSuite underfloor heating off
  alias: EnSuite underfloor heating off
  trigger:
  - at: 07:00:00
    platform: time
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
    - sat
    - sun
  action:
    - service: climate.set_temperature
      entity_id: climate.underfloorheating
      data:
        temperature: 15
    - service: climate.turn_off
      entity_id: climate.underfloorheating
    - service: climate.set_hvac_mode
      data:
        hvac_mode: off

Please update component from hass-components/floureon at 71f6705f5a873b6f228fdb895da7fe0e671a6142 · algirdasc/hass-components · GitHub

Hi. I am looking to buy a wifi thermostat (water heat) that integrates with home assistant (220V)
I have found the following 2.
Can you tell me if I ir is ok to order them or suggest me another one who is actually works with HA?

1.https://www.amazon.co.uk/MOES-Thermostat-Temperature-Controller-Programmable,Works/dp/B07Q9QMFM6/ref=sr_1_8?keywords=wifi+water+heating+thermostat&qid=1570364551&sr=8-8

2.https://www.amazon.co.uk/Thermostat-Programmable-Temperature-Controller-Smartphone/dp/B076BNCYPN/ref=sr_1_7?crid=2KTUQBKQ7KWW&keywords=wifi+thermostat&qid=1570364172&sprefix=wifi+the%2Caps%2C223&sr=8-7

Hi all

Can you please let me know which component I have to use to connect my Thermostat to HA?
I bought mine together with floor heating mats a while ago, and I can connect my thermostat to my phone using Beca app. Please see below the image of mine thermostat

So far, I did try to use floureon component and hysenheating, and unfortunately, I was not able to connect. Please, can you advise?
Thanks

I bought the Beok BOT-313 thermostat. Please someone describe the first steps in order to integrate it to HA. Where from I can download the broadlink folder to apply it in custom_componets file?