Just coming back to this now, thanks for your feedback.
ESP-01 is fine can telnet and commands coming through in the console. When TX and RX connected together the app also connects and allows commands to be inputted.
Reconnecting the TX and RX cables back to the stove and reverts back to the same issue, have reversed cables also. App seems to connect but does not show any state or allow any commands to be sent and all inputs greyed out.
If it makes any difference I am using this adapter:-
Wellā¦ according info from duepi, they use the following color coding:
Connector is JP8
1 = White ā GND
2 = Orange ā RX
3 = Red ā TX
4 = Violet ā +5V
@morning_call I have an Artel Julia next, and if you read this thread from the beginning you can see I also struggled to make it work. I have encountered the exact same issues you have. But today, after reading your latest posts I decided to try again and maybe help each other. I also didnāt get any response in the console, and I did the same rx/tx switch, changed the ESP01 for a different one etc. Today was the same, no console output, until I restarted HA while the ESP01 was connected. Suddenly it worked! Really happy with this!,I am trying for over a year nowā¦ Check my previous posts, or ask me here if I can help you with anything. Now, I must make scripts for my stoveā¦ @aceindy thanks for this!
@mvroosmalen1970 , @kooibosmania Iāve got a user with a wemos, but weāre a bit struggling with the gpioās.
Since I donāt have one, could you share the EspLink settings for the wemos?
The problem is indeed in the settings on the wemos. I changed the refresh intervals. Need to check tonight the exact config. will post it later. Maybe check my post in mrt-22:
The only tweak I needed was to add 5ms timeout delay in the serial device settings of espeasy to get robust data from my pellet stove ( Duroflame Rembrand).
Seems we also have a ser2net available for ESPHome nowadays
I inmedeately abandoned ESPLInk
My esp configuration:
substitutions:
node_name: duepi-pelletstove # Use a unique name.
node_id: duepi1 # Use a unique id.
friendly_node_name: "Duepi Pelletstove"
esphome:
name: ${node_name}
comment: ${friendly_node_name}
platform: ESP8266
board: esp01_1m
external_components:
- source: github://oxan/esphome-stream-server
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_iotpw
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ${node_name} " FB"
password: "fallback"
captive_portal:
# Enable Home Assistant API
api:
encryption:
key: !secret api_encryption
# Enable Over The Air updates
ota:
# Disable logging
logger:
baud_rate: 0
logs:
sensor: ERROR
duty_cycle: ERROR
binary_sensor: ERROR
light: ERROR
# Enable Web server.
web_server:
port: 80
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: ${node_id}_homeassistant_time
# Binary Sensors.
binary_sensor:
- platform: status
name: ${friendly_node_name} Connection Status
id: ${node_id}_connection_status
- platform: stream_server
connected:
name: Connected
# Sensors.
sensor:
- platform: uptime
name: Uptime Sensor
id: ${node_id}_uptime_sensor
icon: mdi:clock-start
update_interval: 60s
- platform: wifi_signal
name: ${friendly_node_name} WiFi Signal
id: ${node_id}_wifi_signal
update_interval: 60s
- platform: stream_server
connection_count:
name: Number of connections
# Text Sensors.
text_sensor:
- platform: version
name: ${friendly_node_name} ESPHome Version
id: ${node_id}_esphome_version
- platform: wifi_info
ip_address:
name: ${friendly_node_name} IP Address
id: ${node_id}_ip_address
icon: mdi:ip-network
# Switches.
switch:
- platform: restart
name: ${friendly_node_name} Restart
id: ${node_id}_restart
icon: "mdi:restart"
- platform: shutdown
name: ${friendly_node_name} Shutdown
id: ${node_id}_shutdown
- platform: safe_mode
name: ${friendly_node_name} Restart (Safe Mode)"
id: ${node_id}_safe_mode
# Define UART pinout
uart:
id: uart_bus
tx_pin: 1
rx_pin: 3
baud_rate: 115200
stream_server:
uart_id: uart_bus
port: 23
After a few days i did went back to ESPLink, as it wasnāt as stable as I hoped it to beā¦
Installing ESP-Link has also become easier as I found an [online installer](Easiest way to install ESP-Link is to use this page from my GitHub site Install ESPLink) for it; just connect your ESP, and hit
(thanks go to Marcel Zuidwijk for that)
Hello, Iām currently running some tests. I flashed a WeMos D1 Mini with ESPEasy, set up a serial server, and configured it in Home Assistant. However, in the logs, Iām seeing this error: āTime-out while polling host.ā Is this because the WeMos isnāt connected to the stove yet, or is there an issue somewhere?
Inconclusive it is just that HA asked the stove for a status, but there is no answer from the stove within 5 seconds:
async def get_data(self, support_setpoint) -> None:
"""Get the data from the stove"""
try:
async with async_timeout.timeout(5):
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(3.0)
sock.connect((self._host, self._port))
# Get Burner status
~
~
except asyncio.TimeoutError:
_LOGGER.error("Time-out while polling host: %s", self._host)
sock.close()
return None
But it actually doesnāt say anything about the Wemos, it is just used as a serial2lan converter