elupus / esphome-nibe

Esphome components for nibe heat pumps
MIT License
57 stars 19 forks source link

What should I see in ESPhome log ( Using LilyGO T-CAN485 board) on succesfull connection #66

Closed Soiski71 closed 2 months ago

Soiski71 commented 2 months ago

Hi, I have adventured to try to use this to access my JÄSPI Tehowatti Air heat pump ( This is 99.9% same as NIBE ). I purchased the LilyGO board and got it running in ESPhome. I get the board online and I see this in log, but heat pump still goes to error state approx 5 seconds after turning MODBUS on in heat pump. Tried also swapping A/B cabels (no effect) Should I see some additional info on the LOG like discussion with heat pump ? image

This is ( the Yamal file I run ) with only very few modifications ( sorry for some reason <> code is not rending it correctly, at least in preview)

` esphome: name: tehowatti-air friendly_name: tehowatti_air

esp32: board: esp32dev framework: type: arduino

Enable logging

logger: baud_rate: 0

Enable Home Assistant API

api: encryption: key: "XXXXX"

ota: password: "XXXXX"

wifi: ssid: XXXX password: XXXXX fast_connect: true # Fast connect to connect to my hidden network

It is recommended to disable powersave mode on wifi, to make sure the device does not miss UDP requests sent.

power_save_mode: none

The device needs a static IP. Either do that here with the manual_ip node, or do it via another way (router)

Optional manual IP

manual_ip: static_ip: 192.168.11.112 gateway: 192.168.11.1 subnet: 255.255.255.0

Load nibe component

external_components:

Set pins required for LilyGo T-CAN485 board

output:

Configure uart that will be used

uart: rx_pin: GPIO21 tx_pin: GPIO22 baud_rate: 9600

Configure NibeGW

nibegw: udp:

The target address(s) to send data to. May be a multicast address.

# When using Home Assistant: this is your Home Assistant IP.
target:
  - ip: 192.168.11.51
    port: 9999 #The Nibe Home Assistant integration listens to 9999 by default 

# List of source address to accept data from, may be empty for no filter
source:
  - 192.168.11.51

# Optional port this device will listen to to receive read requests. Defaults to 9999
# read_port: 9999

# Optional port this device will listen to to receive write request. Defaults to 10000
# write_port: 10000

acknowledge:

Some helper functions to restart ESPHome from HA

button:

Soiski71 commented 2 months ago

Found it from the step-be step instructions