Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a setter for the circuit room temperature #108

Open
lu-zero opened this issue Jul 18, 2024 · 1 comment
Open

Provide a setter for the circuit room temperature #108

lu-zero opened this issue Jul 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lu-zero
Copy link

lu-zero commented Jul 18, 2024

The circuit room temperature would be nice to be able to set it from other HA sensors instead of just reading it if it is otherwise set.

@LavermanJJ LavermanJJ added the enhancement New feature or request label Jul 21, 2024
@LavermanJJ
Copy link
Owner

As a workaround you could utilize the Modbus integration and an automation.

You need a o replace the sensors the values are taken from.

alias: Solarfocus - Publish inside temperature and -humidity
description: ""
trigger:
  - platform: time_pattern
    minutes: "*"
condition: []
action:
  - service: modbus.write_register
    data_template:
      unit: 255
      value: "[{{ (states('sensor.inside_temperature')|float * 10) | int}}]"
      hub: solarfocus
      address: 32606
  - service: modbus.write_register
    data_template:
      unit: 255
      value: "[{{ states('sensor.inside_humidity') | int }}]"
      hub: solarfocus
      address: 32607
mode: single

And the modbus configuration:


---
modbus:
  - name: solarfocus
    type: tcp
    host: <ip-address>
    port: 502

    sensors:
# you need to include at least one sensor for the Modbus integration to work
      - name: waermepumpe.status
        slave: 1
        address: 2330
        input_type: input
        data_type: int16
        scan_interval: 0
 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants